/* ====================================
   CSS Variables & Root Styles
   ==================================== */
:root {
    /* Rich Dark Colors */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a25;

    /* Accent Colors - Deep & Vibrant */
    --accent-primary: #6c5ce7;
    --accent-secondary: #a29bfe;
    --accent-tertiary: #fd79a8;
    --accent-gold: #ffeaa7;

    /* Gradient Colors */
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --gradient-text: linear-gradient(135deg, #667eea 0%, #f093fb 50%, #f5576c 100%);
    --gradient-glow: linear-gradient(135deg, rgba(108, 92, 231, 0.3) 0%, rgba(253, 121, 168, 0.3) 100%);

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #b4b4c9;
    --text-muted: #6c6c8a;

    /* Border & Glass */
    --border-color: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);

    /* Spacing */
    --section-padding: 120px;
    --container-width: 1400px;

    /* Typography */
    --font-primary: 'Space Grotesk', sans-serif;
    --font-display: 'Syne', sans-serif;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ====================================
   Reset & Base Styles
   ==================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: none;
}

button {
    cursor: none;
    border: none;
    background: none;
    font-family: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* ====================================
   Custom Cursor
   ==================================== */
.cursor {
    position: fixed;
    width: 12px;
    height: 12px;
    background: var(--accent-primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    mix-blend-mode: difference;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease;
}

.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid var(--accent-primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease, background 0.3s ease;
}

.cursor.active {
    width: 50px;
    height: 50px;
}

.cursor-follower.active {
    width: 60px;
    height: 60px;
    background: rgba(108, 92, 231, 0.1);
}

/* ====================================
   Loader
   ==================================== */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.loader-content {
    text-align: center;
}

.loader-text {
    display: flex;
    gap: 4px;
    margin-bottom: 40px;
}

.loader-letter {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    opacity: 0;
    transform: translateY(50px);
}

.loader-progress {
    width: 200px;
    height: 2px;
    background: var(--bg-tertiary);
    border-radius: 2px;
    overflow: hidden;
}

.loader-bar {
    width: 0%;
    height: 100%;
    background: var(--gradient-1);
    border-radius: 2px;
}

/* ====================================
   Navigation
   ==================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 25px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    transition: all var(--transition-medium);
}

.nav.scrolled {
    padding: 15px 50px;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.nav-logo a {
    display: flex;
    align-items: center;
}

.logo-svg {
    width: 50px;
    height: 50px;
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

.logo-svg:hover {
    color: var(--accent-primary);
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link {
    position: relative;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    padding: 5px 0;
    overflow: hidden;
}

.nav-link::before {
    content: attr(data-text);
    position: absolute;
    top: 100%;
    left: 0;
    color: var(--accent-primary);
    transition: transform var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: transparent;
}

.nav-link:hover::before,
.nav-link.active::before {
    transform: translateY(-130%);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    z-index: 1001;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-fast);
}

/* ====================================
   Mobile Menu
   ==================================== */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: right var(--transition-slow);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.mobile-link {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-primary);
    opacity: 0;
    transform: translateY(30px);
    transition: color var(--transition-fast);
}

.mobile-link:hover {
    color: var(--accent-primary);
}

/* ====================================
   Buttons
   ==================================== */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    overflow: hidden;
    transition: all var(--transition-fast);
}

.btn-primary {
    background: var(--gradient-1);
    color: var(--text-primary);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(108, 92, 231, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--accent-primary);
    background: rgba(108, 92, 231, 0.1);
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    padding: 14px 0;
}

.btn-ghost:hover {
    color: var(--accent-primary);
}

.btn-ghost svg {
    width: 18px;
    height: 18px;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1rem;
}

.btn-arrow {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-fast);
}

.btn:hover .btn-arrow {
    transform: translate(5px, -5px);
}

.btn-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.btn:hover .btn-gradient {
    opacity: 1;
}

/* ====================================
   Container
   ==================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 50px;
}

.section {
    padding: var(--section-padding) 0;
}

/* ====================================
   Section Headers
   ==================================== */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent-primary);
    background: rgba(108, 92, 231, 0.1);
    border: 1px solid rgba(108, 92, 231, 0.3);
    border-radius: 50px;
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.section-title span {
    display: block;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ====================================
   Hero Section
   ==================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 100px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--accent-primary);
    top: -200px;
    right: -200px;
    animation: float 20s infinite ease-in-out;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-tertiary);
    bottom: -100px;
    left: -100px;
    animation: float 15s infinite ease-in-out reverse;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--accent-secondary);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 10s infinite ease-in-out;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(30px, -30px) rotate(5deg);
    }

    50% {
        transform: translate(-20px, 20px) rotate(-5deg);
    }

    75% {
        transform: translate(20px, 30px) rotate(3deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 100px 100px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

.hero-content {
    text-align: center;
    max-width: 1000px;
    padding: 0 20px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: blink 2s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.badge-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
}

.title-line {
    display: block;
    overflow: hidden;
}

.title-word {
    display: inline-block;
    transform: translateY(100%);
    opacity: 0;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0;
    transform: translateY(30px);
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(30px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
    opacity: 0;
    transform: translateY(30px);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-number::after {
    content: '+';
    color: var(--accent-primary);
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 5px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--accent-primary), transparent);
    animation: scrollLine 1.5s infinite ease-in-out;
}

@keyframes scrollLine {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    51% {
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

.scroll-text {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ====================================
   About Section
   ==================================== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: 20px;
    overflow: hidden;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    position: relative;
    overflow: hidden;
}

.image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.image-wrapper:hover .image-placeholder img {
    transform: scale(1.1);
}

.placeholder-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-primary);
    border-radius: 20px;
    z-index: -1;
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--bg-secondary);
    padding: 25px 35px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.exp-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.exp-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.about-intro {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 25px;
    line-height: 1.7;
}

.about-body {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-buttons {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

/* ====================================
   Work Section
   ==================================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.project-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    transition: all var(--transition-medium);
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
    box-shadow: 0 30px 60px rgba(108, 92, 231, 0.15);
}

.project-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.project-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-placeholder.gradient-1 {
    background: var(--gradient-1);
}

.project-placeholder.gradient-2 {
    background: var(--gradient-2);
}

.project-placeholder.gradient-3 {
    background: var(--gradient-3);
}

.project-placeholder.gradient-4 {
    background: var(--gradient-4);
}

.project-number {
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.3);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 15, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-link {
    width: 60px;
    height: 60px;
    background: var(--text-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0);
    transition: transform var(--transition-medium);
}

.project-link svg {
    width: 24px;
    height: 24px;
    color: var(--bg-primary);
}

.project-card:hover .project-link {
    transform: scale(1);
}

.project-info {
    padding: 30px;
}

.project-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.tag {
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--accent-primary);
    background: rgba(108, 92, 231, 0.1);
    border-radius: 50px;
}

.project-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    transition: color var(--transition-fast);
}

.project-card:hover .project-title {
    color: var(--accent-primary);
}

.project-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.work-cta {
    text-align: center;
    margin-top: 60px;
}

/* ====================================
   Skills Section
   ==================================== */
.skills-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px;
}

.category-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 40px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.skill-item {
    display: grid;
    grid-template-columns: 50px 1fr 1fr;
    align-items: center;
    gap: 20px;
}

.skill-icon {
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.skill-icon svg {
    width: 24px;
    height: 24px;
    color: var(--accent-primary);
}

.skill-name {
    font-weight: 500;
    color: var(--text-primary);
}

.skill-bar {
    height: 6px;
    background: var(--bg-tertiary);
    border-radius: 3px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-1);
    border-radius: 3px;
    width: 0;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.tools-section {
    margin-top: 80px;
    text-align: center;
}

.tools-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 40px;
}

.tools-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.tool-item {
    width: 100px;
    height: 100px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.tool-item:hover {
    border-color: var(--accent-primary);
    background: rgba(108, 92, 231, 0.1);
    transform: translateY(-5px);
}

.tool-icon {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.tool-item:hover .tool-icon {
    color: var(--accent-primary);
}

/* ====================================
   Contact Section
   ==================================== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.contact-intro {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    transition: all var(--transition-fast);
}

.contact-item:hover {
    border-color: var(--accent-primary);
    background: rgba(108, 92, 231, 0.05);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(108, 92, 231, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--accent-primary);
}

.contact-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.contact-value {
    font-weight: 500;
    color: var(--text-primary);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.social-link svg {
    width: 22px;
    height: 22px;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.social-link:hover {
    border-color: var(--accent-primary);
    background: rgba(108, 92, 231, 0.1);
}

.social-link:hover svg {
    color: var(--accent-primary);
}

/* ====================================
   Contact Form
   ==================================== */
.contact-form {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 50px;
}

.form-group {
    position: relative;
    margin-bottom: 35px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 0;
    font-size: 1rem;
    font-family: var(--font-primary);
    color: var(--text-primary);
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-color);
    outline: none;
    transition: border-color var(--transition-fast);
}

.form-group textarea {
    resize: none;
}

.form-group label {
    position: absolute;
    top: 15px;
    left: 0;
    font-size: 1rem;
    color: var(--text-muted);
    pointer-events: none;
    transition: all var(--transition-fast);
}

.form-group input:focus~label,
.form-group input:valid~label,
.form-group textarea:focus~label,
.form-group textarea:valid~label {
    top: -10px;
    font-size: 0.8rem;
    color: var(--accent-primary);
}

.input-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width var(--transition-fast);
}

.form-group input:focus~.input-line,
.form-group textarea:focus~.input-line {
    width: 100%;
}

.contact-form .btn {
    width: 100%;
    justify-content: center;
}

.contact-form .btn svg {
    width: 20px;
    height: 20px;
}

/* ====================================
   Footer
   ==================================== */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
}

.footer-logo {
    width: 60px;
    height: 60px;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.footer-tagline {
    color: var(--text-secondary);
    max-width: 300px;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-column a {
    display: block;
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ====================================
   Responsive Design
   ==================================== */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }

    .about-content,
    .contact-content {
        gap: 60px;
    }
}

@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .nav-menu,
    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: clamp(2.5rem, 6vw, 4rem);
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        max-width: 500px;
        margin: 0 auto;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .skills-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .skill-item {
        grid-template-columns: 50px 1fr;
    }

    .skill-bar {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 20px;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }

    .about-buttons {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .contact-form {
        padding: 30px;
    }

    .experience-badge {
        bottom: -20px;
        right: -10px;
        padding: 20px 25px;
    }

    .cursor,
    .cursor-follower {
        display: none;
    }

    body {
        cursor: auto;
    }

    a,
    button {
        cursor: pointer;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn-large {
        width: 100%;
        justify-content: center;
    }

    .tools-grid {
        gap: 10px;
    }

    .tool-item {
        width: 70px;
        height: 70px;
    }
}

/* ====================================
   Reveal Animations (for GSAP)
   ==================================== */
.reveal-up {
    opacity: 0;
    transform: translateY(50px);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
}

.stagger-item {
    opacity: 0;
    transform: translateY(30px);
}