/**
 * ============================================================================
 * ELEVATION AI SOLUTIONS - Main Stylesheet
 * ============================================================================
 *
 * TABLE OF CONTENTS:
 * 1. CSS Variables (Custom Properties)
 * 2. Reset & Base Styles
 * 3. Typography
 * 4. Layout Utilities
 * 5. Components
 *    - Buttons
 *    - Forms
 *    - Cards
 * 6. Navigation
 * 7. Hero Section
 * 8. Services Section
 * 9. About Section
 * 10. Process Section
 * 11. Contact Section
 * 12. Footer
 * 13. Animations
 * 14. Responsive Breakpoints
 *
 * RESPONSIVE BREAKPOINTS:
 * - Mobile: < 768px (default, mobile-first)
 * - Tablet: 768px - 1024px
 * - Desktop: > 1024px
 * - Large: > 1440px
 *
 * ============================================================================
 */

/* =============================================================================
   1. CSS VARIABLES
   ============================================================================= */

:root {
    /*
     * COLOR PALETTE
     * Primary: Deep space theme with cyan accents
     * The cyan (#00f0ff) is our signature "Elevation glow"
     */
    --color-bg-primary: #0a0e1a;
    --color-bg-secondary: #0f1424;
    --color-bg-tertiary: #151b2e;
    --color-bg-card: rgba(15, 20, 36, 0.8);

    --color-text-primary: #ffffff;
    --color-text-secondary: rgba(255, 255, 255, 0.7);
    --color-text-tertiary: rgba(255, 255, 255, 0.5);

    --color-accent-primary: #00f0ff;    /* Electric cyan - main accent */
    --color-accent-secondary: #ff6b4a;  /* Warm coral - CTAs */
    --color-accent-tertiary: #a855f7;   /* Purple - subtle highlights */

    --color-border: rgba(255, 255, 255, 0.1);
    --color-border-hover: rgba(0, 240, 255, 0.3);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--color-accent-primary), var(--color-accent-tertiary));
    --gradient-glow: radial-gradient(circle, var(--color-accent-primary) 0%, transparent 70%);
    --gradient-card: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 100%);

    /*
     * TYPOGRAPHY
     * Outfit: Geometric sans for headings - modern but distinctive
     * DM Sans: Clean body text with good readability
     */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Font sizes using clamp() for fluid typography */
    --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --text-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
    --text-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
    --text-lg: clamp(1.125rem, 1rem + 0.625vw, 1.25rem);
    --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
    --text-2xl: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
    --text-3xl: clamp(2rem, 1.5rem + 2.5vw, 3rem);
    --text-4xl: clamp(2.5rem, 1.75rem + 3.75vw, 4rem);
    --text-5xl: clamp(3rem, 2rem + 5vw, 5.5rem);

    /*
     * SPACING
     * Based on 8px grid system
     */
    --space-1: 0.25rem;   /* 4px */
    --space-2: 0.5rem;    /* 8px */
    --space-3: 0.75rem;   /* 12px */
    --space-4: 1rem;      /* 16px */
    --space-5: 1.5rem;    /* 24px */
    --space-6: 2rem;      /* 32px */
    --space-7: 2.5rem;    /* 40px */
    --space-8: 3rem;      /* 48px */
    --space-9: 4rem;      /* 64px */
    --space-10: 5rem;     /* 80px */
    --space-11: 6rem;     /* 96px */
    --space-12: 8rem;     /* 128px */

    /*
     * LAYOUT
     */
    --container-max: 1400px;
    --container-padding: var(--space-5);
    --nav-height: 80px;
    --section-padding: var(--space-11);

    /*
     * EFFECTS
     */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(0, 240, 255, 0.2);

    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
    --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* =============================================================================
   2. RESET & BASE STYLES
   ============================================================================= */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Prevent layout shift from scrollbar */
html {
    scrollbar-gutter: stable;
}

/* Custom scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--color-accent-primary);
    border-radius: var(--radius-full);
}

/* Selection styling */
::selection {
    background: var(--color-accent-primary);
    color: var(--color-bg-primary);
}

/* =============================================================================
   3. TYPOGRAPHY
   ============================================================================= */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

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

p {
    margin-bottom: var(--space-4);
}

p:last-child {
    margin-bottom: 0;
}

/* Utility classes for text */
.text-accent {
    color: var(--color-accent-primary);
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-heading);
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent-primary);
    margin-bottom: var(--space-4);
}

.section-tag::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--color-accent-primary);
}

.section-title {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-6);
}

/* =============================================================================
   4. LAYOUT UTILITIES
   ============================================================================= */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

section {
    padding: var(--section-padding) 0;
    position: relative;
}

/* =============================================================================
   5. COMPONENTS - Buttons
   ============================================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-6);
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: 0.02em;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn svg {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-base);
}

.btn--primary {
    background: var(--color-accent-secondary);
    color: var(--color-text-primary);
    box-shadow: 0 4px 20px rgba(255, 107, 74, 0.3);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 107, 74, 0.4);
}

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

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

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

.btn--full {
    width: 100%;
}

/* Button loading and success states */
.btn__loading,
.btn__success {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
}

.btn__loading svg {
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
}

.btn.is-loading .btn__text { opacity: 0; }
.btn.is-loading .btn__loading { opacity: 1; }
.btn.is-success .btn__text { opacity: 0; }
.btn.is-success .btn__success { opacity: 1; }
.btn.is-success { background: #22c55e; }

/* =============================================================================
   5. COMPONENTS - Forms
   ============================================================================= */

.form-group {
    margin-bottom: var(--space-5);
    position: relative;
}

.form-group--full {
    grid-column: 1 / -1;
}

.form-label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 500;
    margin-bottom: var(--space-2);
    color: var(--color-text-secondary);
}

.form-label .optional {
    font-weight: 400;
    color: var(--color-text-tertiary);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: var(--space-4);
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--color-text-primary);
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-accent-primary);
    box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--color-text-tertiary);
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--space-4) center;
    padding-right: var(--space-10);
}

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

.form-error {
    display: none;
    font-size: var(--text-xs);
    color: var(--color-accent-secondary);
    margin-top: var(--space-2);
}

.form-group.has-error .form-input,
.form-group.has-error .form-select,
.form-group.has-error .form-textarea {
    border-color: var(--color-accent-secondary);
}

.form-group.has-error .form-error {
    display: block;
}

/* =============================================================================
   6. NAVIGATION
   =============================================================================

   Navigation uses glass morphism effect with:
   - Backdrop blur for frosted glass appearance
   - Subtle border for depth
   - Fixed positioning with smooth transitions
   - Mobile hamburger transformation at < 768px
*/

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-4) 0;
    transition: all var(--transition-base);
}

/* Scrolled state - adds background blur */
.nav.is-scrolled {
    background: rgba(10, 14, 26, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
}

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

/* Logo styling with hover glow effect */
.nav__logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 700;
    letter-spacing: 0.1em;
}

.nav__logo-icon {
    width: 40px;
    height: 40px;
    color: var(--color-accent-primary);
    transition: filter var(--transition-base);
}

.nav__logo:hover .nav__logo-icon {
    filter: drop-shadow(0 0 10px var(--color-accent-primary));
}

/* Navigation links */
.nav__links {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    list-style: none;
}

.nav__link {
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--color-text-secondary);
    position: relative;
    padding: var(--space-2) 0;
    transition: color var(--transition-fast);
}

/* Hover underline effect */
.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent-primary);
    transition: width var(--transition-base);
}

.nav__link:hover {
    color: var(--color-text-primary);
}

.nav__link:hover::after {
    width: 100%;
}

/* CTA button in nav */
.nav__link--cta {
    padding: var(--space-3) var(--space-5);
    background: var(--color-accent-secondary);
    border-radius: var(--radius-full);
    color: var(--color-text-primary);
}

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

.nav__link--cta:hover {
    box-shadow: 0 4px 20px rgba(255, 107, 74, 0.4);
    transform: translateY(-1px);
}

/* Mobile menu toggle (hamburger) */
.nav__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.nav__toggle span {
    width: 100%;
    height: 2px;
    background: var(--color-text-primary);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

/* Hamburger to X transformation */
.nav__toggle.is-active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav__toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.nav__toggle.is-active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* =============================================================================
   7. HERO SECTION
   =============================================================================

   Split-layout hero with:
   - Left: Text content, CTAs, capability pills
   - Right: Animated AI orbital visualization
   - Particle canvas background (see JS)
   - Scroll indicator at bottom
*/

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: var(--nav-height);
    position: relative;
    overflow: hidden;
}

/* Particle canvas positioned behind content */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Two-column grid layout */
.hero__grid {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    padding-bottom: var(--space-10);
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    align-items: center;
}

.hero__text {
    max-width: 600px;
}

/* Overline with pulsing dot indicator */
.hero__overline {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-6);
    animation: fadeInUp 0.6s ease forwards;
}

.hero__overline-dot {
    width: 8px;
    height: 8px;
    background: var(--color-accent-primary);
    border-radius: var(--radius-full);
    animation: pulse 2s ease-in-out infinite;
}

/* Main title with staggered line animations */
.hero__title {
    font-size: var(--text-5xl);
    font-weight: 700;
    line-height: 1;
    margin-bottom: var(--space-6);
}

.hero__title-line {
    display: block;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.hero__title-line:nth-child(1) { animation-delay: 0.1s; }
.hero__title-line:nth-child(2) { animation-delay: 0.2s; }
.hero__title-line:nth-child(3) { animation-delay: 0.3s; }

.hero__title-line--accent {
    color: var(--color-accent-primary);
    text-shadow: 0 0 60px rgba(0, 240, 255, 0.5);
}

.hero__description {
    max-width: 540px;
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-8);
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

/* CTA button group */
.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.5s forwards;
}

/* Capability pills */
.hero__pills {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

.hero__pill {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    font-family: var(--font-heading);
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--color-text-secondary);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.hero__pill:hover {
    border-color: var(--color-border-hover);
    color: var(--color-accent-primary);
    background: rgba(0, 240, 255, 0.05);
}

.hero__pill svg {
    color: var(--color-accent-primary);
    opacity: 0.7;
}

/* Right: AI orbital visualization */
.hero__visual {
    display: none;
    position: relative;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.hero__orb {
    position: relative;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
}

.hero__orb-svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Glow effects behind the orb */
.hero__orb-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(0, 240, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: orbGlow 4s ease-in-out infinite;
}

.hero__orb-glow--secondary {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.08) 0%, transparent 60%);
    animation: orbGlow 6s ease-in-out infinite reverse;
}

/* Floating labels around the visualization */
.hero__float-label {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    font-family: var(--font-heading);
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--color-text-tertiary);
    background: rgba(10, 14, 26, 0.8);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    white-space: nowrap;
    opacity: 0;
}

.hero__float-label--1 {
    top: 8%;
    right: 5%;
    animation: floatIn 0.8s ease 0.8s forwards, floatY 6s ease-in-out 1.6s infinite;
}

.hero__float-label--2 {
    bottom: 20%;
    right: 0%;
    animation: floatIn 0.8s ease 1s forwards, floatY 7s ease-in-out 1.8s infinite;
}

.hero__float-label--3 {
    top: 25%;
    left: -5%;
    animation: floatIn 0.8s ease 1.2s forwards, floatY 5s ease-in-out 2s infinite;
}

.hero__float-label--4 {
    bottom: 10%;
    left: 5%;
    animation: floatIn 0.8s ease 1.4s forwards, floatY 8s ease-in-out 2.2s infinite;
}

.hero__float-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.hero__float-dot--cyan { background: var(--color-accent-primary); }
.hero__float-dot--coral { background: var(--color-accent-secondary); }
.hero__float-dot--purple { background: var(--color-accent-tertiary); }

/* Scroll indicator */
.hero__scroll {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    color: var(--color-text-tertiary);
    font-size: var(--text-xs);
    letter-spacing: 0.1em;
    opacity: 0;
    animation: fadeIn 1s ease 1s forwards;
}

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

/* =============================================================================
   8. SERVICES SECTION
   =============================================================================

   Asymmetric card grid layout:
   - Featured card spans full width on mobile, 2 columns on desktop
   - Cards reveal features list on hover
   - Staggered entrance animation on scroll
*/

.services {
    background: var(--color-bg-secondary);
}

.services__container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.services__header {
    max-width: 600px;
    margin-bottom: var(--space-10);
}

/* Card grid - uses CSS Grid for asymmetric layout */
.services__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

/* Service card styling */
.service-card {
    position: relative;
    padding: var(--space-8);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    overflow: hidden;
}

/* Gradient overlay on hover */
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-card);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.service-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

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

/* Card icon */
.service-card__icon {
    width: 48px;
    height: 48px;
    color: var(--color-accent-primary);
    margin-bottom: var(--space-5);
    position: relative;
    z-index: 1;
}

/* Card number label */
.service-card__number {
    position: absolute;
    top: var(--space-6);
    right: var(--space-6);
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    font-weight: 800;
    color: var(--color-border);
    line-height: 1;
    z-index: 0;
}

.service-card__title {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-4);
    position: relative;
    z-index: 1;
}

.service-card__description {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-5);
    position: relative;
    z-index: 1;
}

/* Features list - hidden by default, reveals on hover */
.service-card__features {
    list-style: none;
    margin-bottom: var(--space-5);
    position: relative;
    z-index: 1;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow);
}

.service-card:hover .service-card__features {
    max-height: 200px;
}

.service-card__features li {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) 0;
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}

.service-card__features li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--color-accent-primary);
    border-radius: var(--radius-full);
}

/* Card link */
.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-accent-primary);
    position: relative;
    z-index: 1;
}

.service-card__link svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-base);
}

.service-card__link:hover svg {
    transform: translateX(4px);
}

/* =============================================================================
   9. ABOUT SECTION
   =============================================================================

   Split layout:
   - Left: Text content with animated stats
   - Right: Abstract geometric visual composition
   - Stats use Intersection Observer for counting animation
*/

.about__container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-10);
    align-items: center;
}

.about__content {
    max-width: 600px;
}

.about__text {
    color: var(--color-text-secondary);
}

/* Pull quote styling */
.about__quote {
    padding-left: var(--space-6);
    border-left: 3px solid var(--color-accent-primary);
    font-size: var(--text-lg);
    font-style: italic;
    color: var(--color-text-secondary);
    margin: var(--space-8) 0;
}

/* Statistics grid */
.about__stats {
    display: flex;
    gap: var(--space-8);
    margin-top: var(--space-8);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat__number {
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--color-accent-primary);
    line-height: 1;
}

.stat__number::after {
    content: '+';
}

.stat__label {
    font-size: var(--text-xs);
    color: var(--color-text-tertiary);
    letter-spacing: 0.05em;
    margin-top: var(--space-2);
}

/* Visual composition - abstract shapes */
.about__visual {
    position: relative;
    height: 400px;
    display: none;
}

.about__visual-shape {
    position: absolute;
    border-radius: var(--radius-lg);
    opacity: 0.1;
}

.about__visual-shape--1 {
    width: 300px;
    height: 300px;
    background: var(--color-accent-primary);
    top: 0;
    right: 0;
    transform: rotate(15deg);
}

.about__visual-shape--2 {
    width: 200px;
    height: 200px;
    background: var(--color-accent-secondary);
    bottom: 20px;
    right: 100px;
    transform: rotate(-10deg);
}

.about__visual-shape--3 {
    width: 150px;
    height: 150px;
    border: 2px solid var(--color-accent-primary);
    background: transparent;
    top: 50px;
    right: 150px;
}

/* Orbiting dot animation */
.about__visual-orbit {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 1px dashed var(--color-border);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.about__visual-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--color-accent-primary);
    border-radius: 50%;
    top: -6px;
    left: 50%;
    margin-left: -6px;
    box-shadow: 0 0 20px var(--color-accent-primary);
    animation: orbit 8s linear infinite;
}

/* =============================================================================
   10. PROCESS SECTION
   =============================================================================

   Timeline design:
   - Horizontal scroll on large screens
   - Vertical stack on mobile
   - Connected by animated line
   - Step markers with hover effects
*/

.process {
    background: var(--color-bg-secondary);
    overflow: hidden;
}

.process__container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.process__header {
    max-width: 600px;
    margin-bottom: var(--space-10);
}

/* Timeline container */
.process__timeline {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
}

/* Connecting line */
.process__line {
    position: absolute;
    left: 24px;
    top: 60px;
    bottom: 60px;
    width: 2px;
    background: linear-gradient(to bottom,
        var(--color-accent-primary) 0%,
        var(--color-accent-tertiary) 100%
    );
    opacity: 0.3;
}

/* Individual step */
.process__step {
    position: relative;
    padding-left: 80px;
}

/* Step number marker */
.process__step-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 48px;
    height: 48px;
    background: var(--color-bg-primary);
    border: 2px solid var(--color-accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-accent-primary);
    transition: all var(--transition-base);
    z-index: 1;
}

.process__step:hover .process__step-marker {
    background: var(--color-accent-primary);
    color: var(--color-bg-primary);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.4);
}

.process__step-title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-3);
}

.process__step-description {
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
    max-width: 300px;
}

/* =============================================================================
   11. CONTACT SECTION
   =============================================================================

   Two-column layout:
   - Left: Contact info and direct methods
   - Right: Form with validation
   - Form has real-time validation feedback
*/

.contact__container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-10);
}

.contact__content {
    max-width: 500px;
}

.contact__text {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-6);
}

/* Direct contact methods */
.contact__methods {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.contact__method {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    transition: color var(--transition-fast);
}

.contact__method svg {
    width: 20px;
    height: 20px;
    color: var(--color-accent-primary);
}

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

/* Contact form */
.contact__form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: var(--space-8);
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}

/* =============================================================================
   12. FOOTER
   =============================================================================

   Compact footer with:
   - Brand column
   - Navigation links
   - Social icons
   - Legal links
*/

.footer {
    padding: var(--space-10) 0 var(--space-6);
    border-top: 1px solid var(--color-border);
}

.footer__container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    margin-bottom: var(--space-8);
}

/* Brand section */
.footer__logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-4);
}

.footer__logo svg {
    width: 32px;
    height: 32px;
    color: var(--color-accent-primary);
}

.footer__tagline {
    color: var(--color-text-tertiary);
    font-size: var(--text-sm);
}

/* Navigation groups */
.footer__nav {
    display: flex;
    gap: var(--space-10);
}

.footer__nav-group h4 {
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-4);
    color: var(--color-text-primary);
}

.footer__nav-group a {
    display: block;
    font-size: var(--text-sm);
    color: var(--color-text-tertiary);
    padding: var(--space-1) 0;
    transition: color var(--transition-fast);
}

.footer__nav-group a:hover {
    color: var(--color-accent-primary);
}

/* Social links */
.footer__social {
    display: flex;
    gap: var(--space-4);
}

.footer__social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text-secondary);
    transition: all var(--transition-fast);
}

.footer__social a svg {
    width: 18px;
    height: 18px;
}

.footer__social a:hover {
    border-color: var(--color-accent-primary);
    color: var(--color-accent-primary);
}

/* Bottom bar */
.footer__bottom {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--space-6) var(--container-padding) 0;
    border-top: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    font-size: var(--text-xs);
    color: var(--color-text-tertiary);
}

.footer__legal {
    display: flex;
    gap: var(--space-6);
}

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

/* =============================================================================
   13. ANIMATIONS
   ============================================================================= */

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

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

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

@keyframes scrollPulse {
    0%, 100% {
        transform: scaleY(1);
        opacity: 1;
    }
    50% {
        transform: scaleY(0.5);
        opacity: 0.5;
    }
}

@keyframes orbit {
    from {
        transform: rotate(0deg) translateX(100px) rotate(0deg);
    }
    to {
        transform: rotate(360deg) translateX(100px) rotate(-360deg);
    }
}

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

@keyframes orbGlow {
    0%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.1); }
}

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

@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Scroll-triggered animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================================================
   14. RESPONSIVE BREAKPOINTS
   =============================================================================

   Mobile-first approach:
   - Base styles are mobile
   - Tablet (768px+) adjustments
   - Desktop (1024px+) full layout
   - Large (1440px+) max widths
*/

/* ----------------------------------------------------------------------------
   TABLET BREAKPOINT (768px+)
   ---------------------------------------------------------------------------- */

@media (min-width: 768px) {
    :root {
        --container-padding: var(--space-8);
        --section-padding: var(--space-12);
    }

    /* Navigation - show full menu */
    .nav__toggle {
        display: none;
    }

    /* Hero - show visual on right */
    .hero__visual {
        display: flex;
    }

    .hero__grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-6);
    }

    /* Services grid - 2 columns */
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card--featured {
        grid-column: span 2;
    }

    /* About - side by side */
    .about__container {
        grid-template-columns: 1fr 1fr;
    }

    .about__visual {
        display: block;
    }

    /* Process - horizontal layout */
    .process__timeline {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-4);
    }

    .process__line {
        left: 0;
        right: 0;
        top: 24px;
        bottom: auto;
        width: auto;
        height: 2px;
        background: linear-gradient(to right,
            var(--color-accent-primary) 0%,
            var(--color-accent-tertiary) 100%
        );
    }

    .process__step {
        padding-left: 0;
        padding-top: 80px;
        text-align: center;
    }

    .process__step-marker {
        left: 50%;
        transform: translateX(-50%);
    }

    .process__step-description {
        max-width: none;
    }

    /* Contact - side by side */
    .contact__container {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }

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

    /* Footer - horizontal layout */
    .footer__container {
        grid-template-columns: 2fr 1fr 1fr;
    }

    .footer__bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* ----------------------------------------------------------------------------
   DESKTOP BREAKPOINT (1024px+)
   ---------------------------------------------------------------------------- */

@media (min-width: 1024px) {
    /* Hero - give text more room, enlarge visual */
    .hero__grid {
        grid-template-columns: 1.1fr 1fr;
        gap: var(--space-10);
    }

    .hero__visual {
        min-height: 560px;
    }

    .hero__orb {
        max-width: 580px;
    }

    /* Services grid - featured card alongside regular cards */
    .services__grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }

    .service-card--featured {
        grid-column: span 1;
        grid-row: span 2;
    }
}

/* ----------------------------------------------------------------------------
   LARGE SCREENS (1440px+)
   ---------------------------------------------------------------------------- */

@media (min-width: 1440px) {
    :root {
        --container-max: 1600px;
    }
}

/* ----------------------------------------------------------------------------
   MOBILE MENU STYLES
   ---------------------------------------------------------------------------- */

@media (max-width: 767px) {
    .nav__toggle {
        display: flex;
    }

    .nav__links {
        position: fixed;
        top: 0;
        right: 0;
        width: min(300px, 80vw);
        height: 100vh;
        flex-direction: column;
        justify-content: center;
        gap: var(--space-6);
        padding: var(--space-10);
        background: var(--color-bg-primary);
        border-left: 1px solid var(--color-border);
        transform: translateX(100%);
        transition: transform var(--transition-base);
    }

    .nav__links.is-open {
        transform: translateX(0);
    }

    .nav__link {
        font-size: var(--text-xl);
    }

    .nav__link--cta {
        text-align: center;
    }

    /* Overlay when menu is open */
    .nav__links::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
        opacity: 0;
        transition: opacity var(--transition-base);
        pointer-events: none;
    }

    .nav__links.is-open::before {
        opacity: 1;
        pointer-events: auto;
    }

    /* Stats stack on mobile */
    .about__stats {
        flex-direction: column;
        gap: var(--space-6);
    }
}

/* ----------------------------------------------------------------------------
   REDUCED MOTION PREFERENCES
   ---------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}
