/* ============================================
   INTERCOASTAL-AI DESIGN SYSTEM
   Theme: "Where the Current Meets the Code"
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    /* Colors */
    --deep-ocean: #0a1628;
    --deep-ocean-rgb: 10, 22, 40;
    --tidal-blue: #0d3b66;
    --tidal-blue-rgb: 13, 59, 102;
    --current-teal: #14b8a6;
    --current-teal-rgb: 20, 184, 166;
    --seafoam: #5eead4;
    --seafoam-rgb: 94, 234, 212;
    --coral-glow: #f97316;
    --coral-glow-rgb: 249, 115, 22;
    --salt-white: #f0f9ff;
    --salt-white-rgb: 240, 249, 255;
    --mist-gray: #94a3b8;
    --mist-gray-rgb: 148, 163, 184;
    --dark-surface: #0f2137;
    --card-bg: rgba(13, 59, 102, 0.25);
    --card-border: rgba(20, 184, 166, 0.15);
    --card-border-hover: rgba(20, 184, 166, 0.4);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;

    /* Sizing */
    --container-max: 1200px;
    --nav-height: 72px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-fast: 0.2s var(--ease-out);
    --transition-med: 0.4s var(--ease-out);
    --transition-slow: 0.6s var(--ease-out);

    /* Borders */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--deep-ocean);
    color: var(--salt-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    font-weight: 700;
}

a {
    color: var(--current-teal);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--seafoam);
}

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

ul {
    list-style: none;
}

/* --- Layout --- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.section {
    padding: var(--space-5xl) 0;
    position: relative;
}

/* --- Particle Canvas --- */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

/* --- Gradient Text --- */
.gradient-text {
    background: linear-gradient(135deg, var(--current-teal) 0%, var(--seafoam) 50%, var(--coral-glow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    transition: background var(--transition-med), box-shadow var(--transition-med);
}

.navbar.scrolled {
    background: rgba(10, 22, 40, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(20, 184, 166, 0.1);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-xl);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    z-index: 1001;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--salt-white);
}

.logo-accent {
    color: var(--current-teal);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--mist-gray);
    transition: color var(--transition-fast);
    padding: var(--space-sm) 0;
    position: relative;
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--salt-white);
}

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

.nav-cta {
    background: rgba(20, 184, 166, 0.12);
    border: 1px solid rgba(20, 184, 166, 0.3);
    padding: var(--space-sm) var(--space-lg) !important;
    border-radius: var(--radius-full);
    color: var(--current-teal) !important;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: rgba(20, 184, 166, 0.2);
    border-color: var(--current-teal);
    color: var(--seafoam) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(20, 184, 166, 0.2);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
    z-index: 1001;
}

.bar {
    width: 24px;
    height: 2px;
    background: var(--salt-white);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: var(--nav-height);
}

.hero-bg-mesh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(13, 59, 102, 0.6) 0%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(20, 184, 166, 0.12) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 50% 50%, rgba(249, 115, 22, 0.05) 0%, transparent 70%);
    animation: meshFloat 12s ease-in-out infinite alternate;
    z-index: 1;
}

@keyframes meshFloat {
    0% { transform: scale(1) translate(0, 0); }
    33% { transform: scale(1.05) translate(-10px, 5px); }
    66% { transform: scale(0.98) translate(5px, -5px); }
    100% { transform: scale(1.02) translate(-5px, 10px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: var(--space-3xl) var(--space-xl);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(20, 184, 166, 0.08);
    border: 1px solid rgba(20, 184, 166, 0.2);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--current-teal);
    margin-bottom: var(--space-xl);
    animation: fadeInUp 0.8s var(--ease-out) 0.2s both;
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.4); }
    50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(20, 184, 166, 0); }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-xl);
    animation: fadeInUp 0.8s var(--ease-out) 0.4s both;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--mist-gray);
    max-width: 580px;
    margin: 0 auto var(--space-2xl);
    line-height: 1.8;
    animation: fadeInUp 0.8s var(--ease-out) 0.6s both;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-4xl);
    animation: fadeInUp 0.8s var(--ease-out) 0.8s both;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--current-teal), #0d9488);
    color: var(--deep-ocean);
    box-shadow: 0 4px 24px rgba(20, 184, 166, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(20, 184, 166, 0.4);
    color: var(--deep-ocean);
}

.btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-arrow {
    transition: transform var(--transition-fast);
}

.btn-ghost {
    background: transparent;
    color: var(--mist-gray);
    border: 1px solid rgba(148, 163, 184, 0.3);
}

.btn-ghost:hover {
    color: var(--salt-white);
    border-color: var(--salt-white);
    background: rgba(240, 249, 255, 0.05);
}

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

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2xl);
    animation: fadeInUp 0.8s var(--ease-out) 1s both;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--current-teal);
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--current-teal);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--mist-gray);
    margin-top: var(--space-xs);
    white-space: nowrap;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(148, 163, 184, 0.2);
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    z-index: 2;
    animation: fadeIn 1s var(--ease-out) 1.5s both;
}

.hero-scroll-indicator span {
    font-size: 0.75rem;
    color: var(--mist-gray);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--current-teal), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; height: 40px; }
    50% { opacity: 0.4; height: 24px; }
}

/* ============================================
   SECTION HEADER
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: var(--space-4xl);
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--current-teal);
    margin-bottom: var(--space-md);
    padding: var(--space-xs) var(--space-md);
    background: rgba(20, 184, 166, 0.08);
    border-radius: var(--radius-full);
    border: 1px solid rgba(20, 184, 166, 0.15);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-lg);
}

.section-desc {
    font-size: 1.05rem;
    color: var(--mist-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    background:
        radial-gradient(ellipse 40% 50% at 0% 50%, rgba(13, 59, 102, 0.3) 0%, transparent 70%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: start;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.about-lead {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--salt-white);
    line-height: 1.7;
}

.about-text p {
    color: var(--mist-gray);
    font-size: 1rem;
}

.about-text strong {
    color: var(--current-teal);
    font-weight: 600;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.value-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    transition: all var(--transition-med);
}

.value-card:hover {
    border-color: var(--card-border-hover);
    background: rgba(13, 59, 102, 0.35);
    transform: translateX(4px);
}

.value-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(20, 184, 166, 0.1);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-md);
    color: var(--current-teal);
}

.value-card h3 {
    font-size: 1.1rem;
    margin-bottom: var(--space-sm);
    font-weight: 600;
}

.value-card p {
    font-size: 0.9rem;
    color: var(--mist-gray);
    line-height: 1.6;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    background:
        radial-gradient(ellipse 50% 40% at 100% 20%, rgba(13, 59, 102, 0.3) 0%, transparent 70%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.service-card {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    transition: all var(--transition-med);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--current-teal), transparent);
    opacity: 0;
    transition: opacity var(--transition-med);
}

.service-card:hover {
    border-color: var(--card-border-hover);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3), 0 0 40px rgba(20, 184, 166, 0.08);
}

.service-card:hover::before {
    opacity: 1;
}

.service-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: rgba(20, 184, 166, 0.08);
    position: absolute;
    top: var(--space-lg);
    right: var(--space-xl);
    line-height: 1;
}

.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(20, 184, 166, 0.08);
    border: 1px solid rgba(20, 184, 166, 0.15);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-xl);
    color: var(--current-teal);
    transition: all var(--transition-med);
}

.service-card:hover .service-icon {
    background: rgba(20, 184, 166, 0.15);
    box-shadow: 0 0 24px rgba(20, 184, 166, 0.15);
}

.service-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.service-desc {
    font-size: 0.95rem;
    color: var(--mist-gray);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.service-features li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.88rem;
    color: var(--mist-gray);
}

.service-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--current-teal);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ============================================
   TECHNOLOGY SECTION
   ============================================ */
.technology {
    background:
        radial-gradient(ellipse 60% 50% at 50% 80%, rgba(13, 59, 102, 0.25) 0%, transparent 70%);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-4xl);
}

.tech-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    text-align: center;
    transition: all var(--transition-med);
}

.tech-card:hover {
    border-color: var(--card-border-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.tech-icon-wrapper {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(20, 184, 166, 0.08);
    border-radius: var(--radius-sm);
    margin: 0 auto var(--space-md);
    color: var(--current-teal);
}

.tech-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.tech-card p {
    font-size: 0.85rem;
    color: var(--mist-gray);
    line-height: 1.5;
}

/* Approach */
.approach-card {
    background: linear-gradient(135deg, rgba(13, 59, 102, 0.3), rgba(20, 184, 166, 0.05));
    border: 1px solid var(--card-border);
    border-radius: var(--radius-xl);
    padding: var(--space-3xl);
}

.approach-card h3 {
    font-size: 1.8rem;
    margin-bottom: var(--space-2xl);
    text-align: center;
}

.approach-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.approach-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-md);
}

.step-number {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(20, 184, 166, 0.1);
    border: 2px solid var(--current-teal);
    border-radius: 50%;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--current-teal);
}

.step-content h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.step-content p {
    font-size: 0.88rem;
    color: var(--mist-gray);
    line-height: 1.6;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    background:
        radial-gradient(ellipse 40% 50% at 0% 100%, rgba(13, 59, 102, 0.3) 0%, transparent 70%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--space-3xl);
    align-items: start;
}

.contact-form {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--mist-gray);
    margin-bottom: var(--space-sm);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(10, 22, 40, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: var(--radius-sm);
    color: var(--salt-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(148, 163, 184, 0.4);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--current-teal);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.info-card:hover {
    border-color: var(--card-border-hover);
}

.info-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(20, 184, 166, 0.08);
    border-radius: var(--radius-sm);
    color: var(--current-teal);
    flex-shrink: 0;
}

.info-card h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.info-card p {
    font-size: 0.88rem;
    color: var(--mist-gray);
    line-height: 1.5;
}

.info-card a {
    color: var(--mist-gray);
}

.info-card a:hover {
    color: var(--current-teal);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    border-top: 1px solid rgba(20, 184, 166, 0.1);
    padding: var(--space-2xl) 0;
    position: relative;
    z-index: 2;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-xl);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-tagline {
    font-size: 0.85rem;
    color: var(--mist-gray);
    font-style: italic;
}

.footer-links {
    display: flex;
    gap: var(--space-xl);
}

.footer-links a {
    font-size: 0.88rem;
    color: var(--mist-gray);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--current-teal);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(148, 163, 184, 0.08);
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(148, 163, 184, 0.5);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }

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

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(10, 22, 40, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: var(--space-xl);
        padding: var(--space-3xl);
        transition: right var(--transition-med);
        border-left: 1px solid rgba(20, 184, 166, 0.1);
    }

    .nav-links.open {
        right: 0;
    }

    .hamburger {
        display: flex;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        gap: var(--space-lg);
    }

    .stat-number,
    .stat-suffix {
        font-size: 1.8rem;
    }

    .footer-content {
        flex-direction: column;
        gap: var(--space-xl);
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .tech-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto var(--space-4xl);
    }

    .approach-steps {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .hero-scroll-indicator {
        display: none;
    }
}

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

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

    .hero-title {
        font-size: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--space-lg);
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .contact-form {
        padding: var(--space-lg);
    }
}

/* ============================================
   FORM SUCCESS STATE
   ============================================ */
.form-success {
    text-align: center;
    padding: var(--space-3xl) var(--space-xl);
}

.form-success svg {
    color: var(--current-teal);
    margin-bottom: var(--space-lg);
}

.form-success h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
}

.form-success p {
    color: var(--mist-gray);
}
