:root {
    /* Cloud Dancer - PANTONE 11-4201 */
    --cloud-dancer: #F0EDE5;
    --cloud-dancer-dark: #E5E0D5;
    --cloud-dancer-light: #F8F6F1;

    /* Background Colors - Inverted for Cloud Dancer primary */
    --primary-bg: #FAFAF8;
    --secondary-bg: #F5F3EE;
    --surface-1: #FFFFFF;
    --surface-2: #F0EDE5;
    --surface-3: #E8E4DB;

    /* Accent Colors - Complementary to Cloud Dancer */
    --primary-accent: #2D3748;
    --secondary-accent: #D4AF37;
    --tertiary-accent: #8B7355;
    --warm-accent: #C17767;
    --cool-accent: #5A7C99;

    /* Text Colors */
    --text-primary: #1A1A1A;
    --text-secondary: #4A5568;
    --text-muted: #718096;

    /* Gradients with Cloud Dancer */
    --gradient-primary: linear-gradient(135deg, #2D3748 0%, #1A202C 100%);
    --gradient-secondary: linear-gradient(135deg, #D4AF37 0%, #B8941F 100%);
    --gradient-tertiary: linear-gradient(135deg, #8B7355 0%, #6B5642 100%);
    --gradient-warm: linear-gradient(135deg, #C17767 0%, #A65E4F 100%);

    /* Shadows - Softer for light background */
    --shadow-glow: 0 0 40px rgba(45, 55, 72, 0.08);
    --shadow-strong: 0 20px 60px rgba(0, 0, 0, 0.12);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.06);

    /* Border */
    --border-gradient: linear-gradient(135deg, rgba(45, 55, 72, 0.15) 0%, rgba(139, 115, 85, 0.15) 100%);
    --border-color: rgba(45, 55, 72, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Sora', sans-serif;
    background: var(--primary-bg);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Advanced Background Effects */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(45, 55, 72, 0.08) 0%, transparent 70%);
    top: -300px;
    right: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.06) 0%, transparent 70%);
    bottom: -250px;
    left: -100px;
    animation-delay: -7s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 115, 85, 0.05) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(100px, -100px) scale(1.1);
    }
    66% {
        transform: translate(-100px, 100px) scale(0.9);
    }
}

.grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(45, 55, 72, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(45, 55, 72, 0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 80%);
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* Enhanced Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    animation: slideDown 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
    cursor: pointer;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.nav-links {
    display: flex;
    gap: 48px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover {
    color: var(--primary-accent);
}

.nav-links a:hover::before {
    width: 100%;
}

.nav-cta {
    background: var(--gradient-primary);
    color: var(--cloud-dancer);
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(45, 55, 72, 0.15);
    cursor: pointer;
    border: none;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(45, 55, 72, 0.25);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 28px;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    z-index: 999;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.mobile-menu.active {
    display: block;
    animation: slideDown 0.3s ease-out;
}

.mobile-menu a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.mobile-menu a:hover {
    color: var(--primary-accent);
    padding-left: 24px;
    background: var(--cloud-dancer-light);
}

/* Hero Section - Enhanced */
.hero {
    padding: 200px 0 120px;
    position: relative;
    overflow: hidden;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(45, 55, 72, 0.06);
    border: 1px solid rgba(45, 55, 72, 0.15);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-accent);
    margin-bottom: 40px;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s backwards;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--secondary-accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
    }
    50% {
        opacity: 0.8;
        box-shadow: 0 0 0 8px rgba(212, 175, 55, 0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(48px, 8vw, 92px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 32px;
    letter-spacing: -2px;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s backwards;
}

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

.hero-description {
    font-size: clamp(18px, 2.5vw, 22px);
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 48px;
    line-height: 1.7;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s backwards;
    font-weight: 300;
}

.hero-cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.8s backwards;
    margin-bottom: 80px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--cloud-dancer);
    padding: 18px 48px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 30px rgba(45, 55, 72, 0.15);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(45, 55, 72, 0.25);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    padding: 18px 48px;
    border: 2px solid rgba(45, 55, 72, 0.2);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-secondary:hover {
    background: rgba(45, 55, 72, 0.06);
    border-color: var(--primary-accent);
    transform: translateY(-4px);
}

/* Stats Grid - Enhanced */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 80px;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1s backwards;
}

.stat-card {
    background: var(--surface-1);
    backdrop-filter: blur(10px);
    padding: 40px 32px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-card);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 12px 40px rgba(45, 55, 72, 0.12);
}

.stat-card:hover::before {
    opacity: 0.05;
}

.stat-content {
    position: relative;
    z-index: 1;
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 56px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 12px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.stat-sublabel {
    color: var(--text-muted);
    font-size: 11px;
    margin-top: 4px;
    font-weight: 400;
}

/* Section Styling */
section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-label {
    display: inline-block;
    background: rgba(139, 115, 85, 0.08);
    border: 1px solid rgba(139, 115, 85, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    color: var(--tertiary-accent);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.section-description {
    color: var(--text-secondary);
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 300;
}

/* AI Project Adviser Section */
.ai-adviser-section {
    background: linear-gradient(135deg, rgba(139, 115, 85, 0.04) 0%, rgba(212, 175, 55, 0.04) 100%);
    border-radius: 32px;
    padding: 80px 60px;
    margin: 60px 0;
    border: 1px solid rgba(139, 115, 85, 0.15);
    position: relative;
    overflow: hidden;
}

.ai-adviser-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.ai-adviser-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.ai-adviser-left h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
}

.ai-adviser-left p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 32px;
}

.ai-features {
    display: grid;
    gap: 16px;
    margin-bottom: 32px;
}

.ai-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

.ai-feature-icon {
    width: 24px;
    height: 24px;
    background: var(--gradient-tertiary);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.ai-adviser-right {
    background: var(--surface-1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
}

.ai-chat-preview {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-bubble {
    background: rgba(45, 55, 72, 0.04);
    border: 1px solid rgba(45, 55, 72, 0.12);
    padding: 16px 20px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.6;
    animation: slideIn 0.6s ease-out backwards;
}

.chat-bubble:nth-child(1) { animation-delay: 0.2s; }
.chat-bubble:nth-child(2) { animation-delay: 0.4s; }
.chat-bubble:nth-child(3) { animation-delay: 0.6s; }

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.chat-bubble strong {
    color: var(--primary-accent);
    font-weight: 600;
}

/* Filters */
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 60px;
}

.filter-btn {
    background: var(--surface-1);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 14px 28px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Sora', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-card);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-accent);
    color: var(--cloud-dancer);
    border-color: var(--primary-accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(45, 55, 72, 0.2);
}

/* Project Grid - Enhanced */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 32px;
    margin-bottom: 80px;
}

.project-card {
    background: var(--surface-1);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
    box-shadow: var(--shadow-card);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover {
    transform: translateY(-12px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 20px 60px rgba(45, 55, 72, 0.15);
}

.project-card:hover::before {
    transform: scaleX(1);
}

.project-image {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, rgba(45, 55, 72, 0.04) 0%, rgba(212, 175, 55, 0.04) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45, 55, 72, 0.04) 0%, rgba(212, 175, 55, 0.04) 100%);
}

.project-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(212, 175, 55, 0.08) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.project-card:hover .project-image::after {
    opacity: 1;
}

.project-content {
    padding: 32px;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 16px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.tag {
    background: rgba(45, 55, 72, 0.06);
    border: 1px solid rgba(45, 55, 72, 0.15);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    color: var(--primary-accent);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.project-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.project-description {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 24px;
    font-weight: 300;
}

.project-stats {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.project-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.project-stat-value {
    font-family: 'Fira Code', monospace;
    font-size: 16px;
    font-weight: 700;
    color: var(--secondary-accent);
}

.project-stat-label {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project-status {
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10B981;
    animation: pulse 2s ease-in-out infinite;
}

.status-dot.development {
    background: #F59E0B;
}

.project-link {
    color: var(--secondary-accent);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-link:hover {
    gap: 12px;
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-warm);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
    box-shadow: 0 4px 16px rgba(193, 119, 103, 0.3);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    z-index: 2000;
    overflow-y: auto;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.modal-content {
    background: var(--surface-1);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-strong);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background: var(--warm-accent);
    color: white;
    border-color: var(--warm-accent);
    transform: rotate(90deg);
}

.modal-header {
    padding: 60px 60px 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-body {
    padding: 40px 60px 60px;
}

.modal-project-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, rgba(45, 55, 72, 0.05) 0%, rgba(212, 175, 55, 0.05) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 120px;
    margin-bottom: 32px;
}

.detail-section {
    margin-bottom: 40px;
}

.detail-section h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--secondary-accent);
}

.detail-section p,
.detail-section ul {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 15px;
}

.detail-section ul {
    list-style: none;
    padding-left: 0;
}

.detail-section ul li {
    padding-left: 24px;
    position: relative;
    margin-bottom: 12px;
}

.detail-section ul li::before {
    content: '\2192';
    position: absolute;
    left: 0;
    color: var(--secondary-accent);
    font-weight: 700;
}

.tech-stack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}

.tech-item {
    background: rgba(45, 55, 72, 0.04);
    border: 1px solid rgba(45, 55, 72, 0.12);
    padding: 12px 16px;
    border-radius: 12px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-accent);
}

/* Discovery Call Popup */
.discovery-popup {
    display: none;
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 400px;
    background: var(--surface-1);
    border: 1px solid rgba(45, 55, 72, 0.2);
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--shadow-strong);
    z-index: 1500;
    animation: slideInRight 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.discovery-popup.active {
    display: block;
}

.popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 20px;
    cursor: pointer;
    padding: 4px;
    transition: color 0.3s ease;
}

.popup-close:hover {
    color: var(--warm-accent);
}

.popup-header h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.popup-header p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 24px;
}

.popup-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: var(--cloud-dancer-light);
    border: 1px solid var(--border-color);
    padding: 14px 16px;
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 14px;
    font-family: 'Sora', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-accent);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.popup-submit {
    background: var(--gradient-primary);
    color: var(--cloud-dancer);
    padding: 16px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 8px;
}

.popup-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(45, 55, 72, 0.2);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, rgba(45, 55, 72, 0.03) 0%, rgba(212, 175, 55, 0.03) 100%);
    border-radius: 32px;
    padding: 100px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(45, 55, 72, 0.12);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.06) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
}

.cta-description {
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
footer {
    background: var(--surface-2);
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-color);
    margin-top: 120px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-section h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.footer-section p,
.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    line-height: 2;
    transition: color 0.3s ease;
    font-weight: 300;
}

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

.footer-links {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.social-link {
    width: 44px;
    height: 44px;
    background: rgba(45, 55, 72, 0.06);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-accent);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-accent);
    color: var(--cloud-dancer);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(45, 55, 72, 0.15);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 13px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .ai-adviser-content {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 160px 0 80px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .ai-adviser-section {
        padding: 60px 32px;
    }

    .cta-section {
        padding: 80px 32px;
    }

    .modal-header,
    .modal-body {
        padding: 40px 32px;
    }

    .discovery-popup {
        width: calc(100% - 32px);
        left: 16px;
        right: 16px;
        bottom: 16px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .hero-cta-group {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
.loading {
    opacity: 0;
    transform: translateY(30px);
}
