/* ============================================
   SITEWEBFR — Dark AI Premium Theme
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ============================================
   1. VARIABLES
   ============================================ */
:root {
    --color-bg: #06060E;
    --color-bg-alt: #0C0C1D;
    --color-bg-card: rgba(15, 15, 35, 0.6);
    --color-bg-glass: rgba(15, 15, 35, 0.4);
    --color-surface: #111128;
    --color-border: rgba(124, 58, 237, 0.12);
    --color-border-light: rgba(255, 255, 255, 0.06);
    --color-primary: #7C3AED;
    --color-primary-light: #A78BFA;
    --color-primary-dark: #5B21B6;
    --color-cyan: #06B6D4;
    --color-cyan-light: #22D3EE;
    --color-pink: #EC4899;
    --color-green: #10B981;
    --color-text: #E2E8F0;
    --color-text-light: #94A3B8;
    --color-text-muted: #64748B;
    --color-white: #FFFFFF;
    --gradient-primary: linear-gradient(135deg, #7C3AED 0%, #06B6D4 100%);
    --gradient-hero: radial-gradient(ellipse at 20% 50%, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
                     radial-gradient(ellipse at 80% 20%, rgba(6, 182, 212, 0.1) 0%, transparent 40%),
                     radial-gradient(ellipse at 50% 100%, rgba(236, 72, 153, 0.08) 0%, transparent 40%);
    --gradient-card: linear-gradient(135deg, rgba(124, 58, 237, 0.08) 0%, rgba(6, 182, 212, 0.04) 100%);
    --gradient-glow: linear-gradient(135deg, #7C3AED, #06B6D4, #EC4899);
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.25rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.15);
    --shadow-glow-lg: 0 0 80px rgba(124, 58, 237, 0.2);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   2. RESET & BASE
   ============================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html, body { overflow-x: hidden; width: 100%; }
body {
    font-family: var(--font-body); font-size: 1.1rem; line-height: 1.7;
    color: var(--color-text); background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-cyan); }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
::selection { background: var(--color-primary); color: white; }

/* ============================================
   3. TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.15; color: var(--color-white); }
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.02em; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
.text-gradient { 
    background: var(--gradient-primary) !important; 
    -webkit-background-clip: text !important; 
    background-clip: text !important; 
    -webkit-text-fill-color: transparent !important; 
    color: transparent !important;
    display: inline-block;
}
.text-glow { text-shadow: 0 0 40px rgba(124, 58, 237, 0.5); }

/* ============================================
   4. LAYOUT
   ============================================ */
.container { width: 100%; max-width: 1600px; margin: 0 auto; padding: 0 2rem; box-sizing: border-box; }
.section { padding: 7rem 0; position: relative; }
.section--alt { background: var(--color-bg-alt); }

/* ============================================
   5. PARTICLES CANVAS
   ============================================ */
#particles-canvas { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; opacity: 0.6; }

/* ============================================
   6. NAVBAR
   ============================================ */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 2000; padding: 1.5rem 0; transition: all var(--transition); pointer-events: auto !important; }
.navbar.scrolled:not(.active) { background: rgba(6, 6, 14, 0.95); backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px); border-bottom: 1px solid var(--color-border-light); padding: 1rem 0; }
.navbar.active { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: none; }
.navbar__inner { display: flex; align-items: center; justify-content: space-between; }
.navbar__logo { display: flex; align-items: center; gap: 0.75rem; font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; color: var(--color-white); }
.navbar__logo-img, .footer__logo-img { height: 38px; width: auto; object-fit: contain; margin-right: 0.5rem; }
.navbar__links { display: flex; align-items: center; gap: 2rem; }
.navbar__link { font-size: 0.875rem; font-weight: 500; color: var(--color-text-light); transition: color var(--transition); position: relative; }
.navbar__link:hover, .navbar__link.active { color: var(--color-white); }
.navbar__link.active::after { content: ''; position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%); width: 4px; height: 4px; border-radius: 50%; background: var(--color-cyan); box-shadow: 0 0 10px var(--color-cyan); }
.navbar__toggle { display: none; flex-direction: column; gap: 5px; padding: 0.75rem; cursor: pointer; pointer-events: auto; }
.navbar__toggle span { display: block; width: 22px; height: 2px; background: var(--color-text); border-radius: 2px; transition: var(--transition); }
.navbar__toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.navbar__toggle.active span:nth-child(2) { opacity: 0; }
.navbar__toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.navbar__mobile { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(6, 6, 14, 0.98); backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px); padding: 8rem 2rem 2rem; flex-direction: column; gap: 1.5rem; z-index: 1000; }
.navbar__mobile.active { display: flex; }
.navbar__mobile a { font-size: 1.5rem; font-weight: 600; color: var(--color-text); padding: 1rem 0; border-bottom: 1px solid var(--color-border-light); }

/* ============================================
   7. BUTTONS
   ============================================ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.75rem 1.5rem; font-weight: 600; font-size: 0.875rem; border-radius: var(--radius-lg); transition: all var(--transition); border: none; cursor: pointer; white-space: nowrap; }
.btn--primary { background: var(--gradient-primary); color: white; box-shadow: 0 4px 20px rgba(124, 58, 237, 0.35); position: relative; overflow: hidden; }
.btn--primary::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%); opacity: 0; transition: opacity var(--transition); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(124, 58, 237, 0.5); color: white; }
.btn--primary:hover::before { opacity: 1; }
.btn--ghost { background: rgba(124, 58, 237, 0.1); color: var(--color-primary-light); border: 1px solid rgba(124, 58, 237, 0.3); }
.btn--ghost:hover { background: rgba(124, 58, 237, 0.2); border-color: var(--color-primary); color: white; transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--color-cyan); border: 1px solid rgba(6, 182, 212, 0.4); }
.btn--outline:hover { background: rgba(6, 182, 212, 0.1); border-color: var(--color-cyan); color: white; }
.btn--lg { padding: 1rem 2rem; font-size: 1rem; border-radius: var(--radius-xl); }
.btn--full { width: 100%; }

/* ─── CTA ATTRACTION ANIMATION ─── */
.btn--pulse {
    animation: btn-pulse 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.btn--pulse::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(30deg);
    animation: btn-shine 4s infinite;
    pointer-events: none;
}

@keyframes btn-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(124, 58, 237, 0.3); }
    50% { transform: scale(1.03); box-shadow: 0 0 30px rgba(124, 58, 237, 0.5); }
}

@keyframes btn-shine {
    0% { left: -60%; }
    20% { left: 140%; }
    100% { left: 140%; }
}

/* ============================================
   8. HERO
   ============================================ */
.hero { display: flex; align-items: center; padding: 10rem 0; position: relative; overflow: visible; min-height: 800px; }
.hero::before { content: ''; position: absolute; inset: 0; background: var(--gradient-hero); pointer-events: none; }
.hero__inner { position: relative; z-index: 10; width: 100%; pointer-events: none; }
.hero__content { max-width: 800px; }
.hero__content > * { pointer-events: auto; }
.hero__badge { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--color-bg-glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--color-border); padding: 0.5rem 1rem; border-radius: var(--radius-full); font-size: 0.8rem; font-weight: 600; color: var(--color-cyan); margin-bottom: 1.5rem; }
.hero__badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--color-cyan); box-shadow: 0 0 10px var(--color-cyan); animation: pulse-dot 2s ease-in-out infinite; }
@keyframes pulse-dot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.5); } }
.hero__title { margin-bottom: 1.5rem; }
.hero__subtitle { font-size: 1.25rem; color: var(--color-text-light); margin-bottom: 3rem; max-width: 650px; line-height: 1.8; }
.hero__buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__image { position: relative; display: flex; justify-content: center; }
.hero__image img { max-width: 480px; width: 100%; border-radius: var(--radius-2xl); animation: float 6s ease-in-out infinite; filter: drop-shadow(0 0 60px rgba(124, 58, 237, 0.3)); }

/* Spline 3D Viewer — background zone */
.hero__3d { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; transform: translateX(15%); }
.hero__3d spline-viewer { --spline-viewer-background: transparent; width: 100%; height: 100%; background: transparent !important; cursor: none !important; }
/* Hide "Built with Spline" watermark */
.hero__3d spline-viewer::part(logo) { display: none !important; }

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

/* ============================================
   9. SECTION HEADERS
   ============================================ */
.section-header { text-align: center; max-width: 700px; margin: 0 auto 4rem; }
.section-header__badge { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(124, 58, 237, 0.1); border: 1px solid rgba(124, 58, 237, 0.2); padding: 0.4rem 1rem; border-radius: var(--radius-full); font-size: 0.8rem; font-weight: 600; color: var(--color-primary-light); margin-bottom: 1rem; }
.section-header p { color: var(--color-text-light); font-size: 1.1rem; margin-top: 1rem; }

/* ============================================
   10. GLASS CARDS
   ============================================ */
.card { background: var(--color-bg-card); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: var(--radius-xl); padding: 2rem; border: 1px solid var(--color-border-light); transition: all var(--transition); position: relative; overflow: hidden; }
.card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.3), rgba(6, 182, 212, 0.3), transparent); }
.card:hover { transform: translateY(-6px); border-color: rgba(124, 58, 237, 0.2); box-shadow: var(--shadow-glow); }
.card__icon { width: 52px; height: 52px; border-radius: var(--radius-lg); background: rgba(124, 58, 237, 0.1); border: 1px solid rgba(124, 58, 237, 0.15); display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; font-size: 1.5rem; transition: all var(--transition); }
.card:hover .card__icon { background: rgba(124, 58, 237, 0.2); box-shadow: 0 0 20px rgba(124, 58, 237, 0.2); }
.card__title { margin-bottom: 0.75rem; font-size: 1.15rem; }
.card__text { color: var(--color-text-light); font-size: 0.9rem; line-height: 1.7; }

/* ============================================
   11. BENTO GRID
   ============================================ */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.bento__item--wide { grid-column: span 2; }
.bento__item--tall { grid-row: span 2; }
.bento__item { background: var(--color-bg-card); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--color-border-light); border-radius: var(--radius-xl); padding: 2rem; position: relative; overflow: hidden; transition: all var(--transition); }
.bento__item::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.3), transparent); }
.bento__item:hover { border-color: rgba(124, 58, 237, 0.2); box-shadow: var(--shadow-glow); }
.bento__item img { border-radius: var(--radius-lg); margin-bottom: 1.5rem; }

/* ─── MOCKUP SECTION ─── */
.section--mockup { padding: 6rem 0; background: rgba(6, 6, 14, 0.4); }
.mockup-header { text-align: center; max-width: 700px; margin: 0 auto 4rem; }
.mockup-marquee { overflow: hidden; width: 100vw; position: relative; margin-left: calc(50% - 50vw); margin-bottom: 4rem; mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent); }
.mockup-marquee__inner { display: flex; gap: 2rem; width: max-content; animation: mockup-scroll 40s linear infinite; padding: 1rem 0; }
.mockup-card { width: 450px; flex-shrink: 0; background: var(--color-bg-card); border: 1px solid var(--color-border-light); border-radius: var(--radius-xl); overflow: hidden; transition: all var(--transition); }
.mockup-card:hover { transform: translateY(-10px) scale(1.02); border-color: var(--color-primary); box-shadow: var(--shadow-glow); z-index: 10; }
.mockup-marquee:hover .mockup-marquee__inner { animation-play-state: paused; }

@keyframes mockup-scroll { 
    from { transform: translateX(0); } 
    to { transform: translateX(-50%); } 
}

.mockup-card__img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; border-bottom: 1px solid var(--color-border-light); }
.mockup-card__img--top { object-position: top center; }
.mockup-placeholder { width: 100%; aspect-ratio: 16/10; background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(124, 58, 237, 0.05)); display: flex; align-items: center; justify-content: center; position: relative; border: 2px dashed rgba(239, 68, 68, 0.3); border-radius: var(--radius-lg); margin-bottom: 0; }
.mockup-placeholder::after { content: 'APERCU'; position: absolute; font-family: var(--font-heading); font-weight: 800; font-size: 3rem; color: rgba(239, 68, 68, 0.05); letter-spacing: 0.2em; }
.mockup-placeholder__label { text-align: center; color: var(--color-text-muted); font-size: 0.85rem; font-weight: 500; z-index: 1; }
.mockup-placeholder__label span { color: var(--color-cyan); font-weight: 600; font-size: 0.75rem; }
.mockup-cta { text-align: center; }

@media (max-width: 768px) {
    .mockup-card { width: 300px; }
    .mockup-marquee { pointer-events: none; }
}

/* ─── PROCESS GRID (Tarifs) ─── */
.process-grid { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 1.5rem; 
    max-width: 1000px; 
    margin: 0 auto; 
}

.process-step {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: 800;
    color: white;
}

@media (max-width: 992px) {
    .process-grid { grid-template-columns: repeat(2, 1fr); }
}

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

/* ─── STACK GRID (About) ─── */
.stack-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .stack-grid { grid-template-columns: repeat(2, 1fr); }
}

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



/* ============================================
   12. PRICING
   ============================================ */
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; max-width: 1200px; margin: 0 auto; }
.pricing-card { background: var(--color-bg-card); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-radius: var(--radius-2xl); padding: 2.5rem; border: 1px solid var(--color-border-light); transition: all var(--transition); position: relative; overflow: hidden; }
.pricing-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--color-primary), var(--color-cyan)); opacity: 0; transition: opacity var(--transition); }
.pricing-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-glow-lg); }
.pricing-card:hover::before { opacity: 1; }
.pricing-card--featured { background: linear-gradient(160deg, rgba(124, 58, 237, 0.12) 0%, rgba(6, 182, 212, 0.08) 100%); border-color: rgba(124, 58, 237, 0.3); }
.pricing-card--featured::before { opacity: 1; }
.pricing-card__popular { position: absolute; top: 1.25rem; right: 1.25rem; background: var(--gradient-primary); color: white; padding: 0.25rem 0.75rem; border-radius: var(--radius-full); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.pricing-card__icon { font-size: 2.5rem; margin-bottom: 1rem; }
.pricing-card__name { font-size: 1rem; font-weight: 600; color: var(--color-text-light); margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.1em; }
.pricing-card__price { font-family: var(--font-heading); font-size: 3.5rem; font-weight: 800; line-height: 1; margin-bottom: 0.5rem; }
.pricing-card__price .text-gradient { font-size: inherit; }
.pricing-card__period { font-size: 0.85rem; color: var(--color-text-muted); margin-bottom: 2rem; }
.pricing-card__desc { font-size: 0.9rem; color: var(--color-text-light); margin-bottom: 2rem; line-height: 1.7; }
.pricing-card__features { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; }
.pricing-card__feature { display: flex; align-items: center; gap: 0.75rem; font-size: 0.875rem; color: var(--color-text-light); }
.pricing-card__feature .check { width: 20px; height: 20px; border-radius: 50%; background: rgba(16, 185, 129, 0.15); color: var(--color-green); display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 700; flex-shrink: 0; }

/* ============================================
   13. PORTFOLIO
   ============================================ */
.portfolio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; }
.portfolio-card { border-radius: var(--radius-xl); overflow: hidden; background: var(--color-bg-card); border: 1px solid var(--color-border-light); transition: all var(--transition); }
.portfolio-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-glow); border-color: rgba(124, 58, 237, 0.2); }
.portfolio-card__image-wrapper { overflow: hidden; }
.portfolio-card__image { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform var(--transition-slow); }
.portfolio-card:hover .portfolio-card__image { transform: scale(1.05); }
.portfolio-card__body { padding: 1.5rem; }
.portfolio-card__tag { display: inline-block; background: rgba(124, 58, 237, 0.1); color: var(--color-primary-light); padding: 0.2rem 0.6rem; border-radius: var(--radius-full); font-size: 0.7rem; font-weight: 600; margin-bottom: 0.75rem; }
.portfolio-card__title { font-size: 1.25rem; margin-bottom: 0.5rem; }
.portfolio-card__desc { color: var(--color-text-light); font-size: 0.85rem; }

/* ============================================
   14. STATS GRID (Home)
   ============================================ */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem; text-align: center; }
.stats-grid__item { display: flex; flex-direction: column; }

/* ============================================
   15. ABOUT
   ============================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 6rem; align-items: center; }
.about__visual { position: relative; border-radius: var(--radius-2xl); overflow: hidden; aspect-ratio: 4/5; }
.about__content h2 { margin-bottom: 1.5rem; }
.about__content p { color: var(--color-text-light); margin-bottom: 1rem; line-height: 1.8; }
.about__stats { display: flex; flex-wrap: wrap; gap: 2.5rem; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--color-border-light); }
.about__stat-number { font-family: var(--font-heading); font-size: 2rem; font-weight: 700; }
.about__stat-label { font-size: 0.85rem; color: var(--color-text-muted); }

/* ============================================
   15. CTA
   ============================================ */
.cta { background: var(--color-bg-card); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid var(--color-border-light); border-radius: var(--radius-2xl); padding: 5rem 2rem; display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; overflow: hidden; }
.cta::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, transparent 40%); pointer-events: none; }
.cta h2, .cta p { position: relative; }
.cta p { color: var(--color-text-light); margin-bottom: 2rem; font-size: 1.1rem; }

/* ============================================
   16. FOOTER
   ============================================ */
.footer { background: var(--color-bg-alt); padding: 5rem 0 2rem; border-top: 1px solid var(--color-border-light); }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer__logo { display: flex; align-items: center; gap: 0.75rem; font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; color: white; margin-bottom: 1rem; }

.footer__desc { font-size: 0.85rem; color: var(--color-text-muted); line-height: 1.8; max-width: 360px; }
.footer__heading { color: white; font-family: var(--font-heading); font-size: 0.9rem; font-weight: 600; margin-bottom: 1.25rem; text-transform: uppercase; letter-spacing: 0.1em; }
.footer__links { display: flex; flex-direction: column; gap: 0.75rem; }
.footer__links a { color: var(--color-text-muted); font-size: 0.875rem; }
.footer__links a:hover { color: var(--color-cyan); }
.footer__bottom { border-top: 1px solid var(--color-border-light); padding-top: 2rem; text-align: center; font-size: 0.75rem; color: var(--color-text-muted); }

/* ============================================
   17. FORM
   ============================================ */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--color-text-light); margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.05em; }
.form-input { width: 100%; padding: 0.875rem 1rem; background: rgba(15, 15, 35, 0.8); border: 1px solid var(--color-border-light); border-radius: var(--radius-lg); color: var(--color-text); font-size: 0.95rem; transition: all var(--transition); outline: none; }
.form-input:focus { border-color: var(--color-primary); box-shadow: 0 0 20px rgba(124, 58, 237, 0.15); }
.form-input::placeholder { color: var(--color-text-muted); }
textarea.form-input { resize: vertical; min-height: 120px; font-family: inherit; }
select.form-input { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ============================================
   18. ANIMATIONS
   ============================================ */
.fade-in { 
    opacity: 0; 
    transform: translateY(30px) scale(0.98); 
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    animation: force-visible 0.5s ease 2.5s forwards; 
}
@keyframes force-visible { to { opacity: 1; transform: translateY(0) scale(1); } }
.fade-in.visible { opacity: 1; transform: translateY(0) scale(1); animation: none; }
.fade-in-delay-1 { transition-delay: 0.2s; }
.fade-in-delay-2 { transition-delay: 0.4s; }
.fade-in-delay-3 { transition-delay: 0.6s; }
.fade-in-delay-4 { transition-delay: 0.8s; }

.fade-in-spline { opacity: 0; filter: blur(10px); transition: opacity 2s var(--transition-slow), filter 2s var(--transition-slow); }
.fade-in-spline.visible { opacity: 1; filter: blur(0); }

/* Marquee */
.marquee { overflow: hidden; white-space: nowrap; }
.marquee__inner { display: inline-flex; animation: marquee 30s linear infinite; gap: 3rem; padding-right: 3rem; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.marquee__item { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: var(--color-text-muted); opacity: 0.3; white-space: nowrap; }

/* Grid lines background */
.grid-bg { background-image: linear-gradient(rgba(124, 58, 237, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(124, 58, 237, 0.03) 1px, transparent 1px); background-size: 60px 60px; }

/* ============================================
   19. RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero__inner { grid-template-columns: 1fr; text-align: center; }
    .hero__subtitle { margin: 0 auto 2.5rem; }
    .hero__buttons { justify-content: center; }
    .hero__image, .hero__3d { order: -1; }
    .hero__image img { max-width: 340px; }
    .hero__3d { height: 450px; margin-right: 0; transform: translateX(0) scale(1); }
    .bento { grid-template-columns: 1fr 1fr; }
    .bento__item--wide { grid-column: span 1; }
    .about-grid { grid-template-columns: 1fr; }
    .about__stats { flex-direction: column !important; gap: 2rem !important; align-items: flex-start !important; width: 100% !important; }
    .stats-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 2rem !important; }
    .about__stat-item { width: 100% !important; margin-bottom: 1rem; }
    .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .section { padding: 4rem 0; }
    .navbar__links { display: none; }
    .navbar__toggle { display: flex; }
    .pricing-grid, .portfolio-grid, .bento { grid-template-columns: 1fr; }
    .hero__buttons { flex-direction: column; }
    .hero__buttons .btn { width: 100%; }
    .hero { flex-direction: column; min-height: auto; padding-top: 2rem; text-align: center; }
    .hero__inner { grid-template-columns: 1fr; width: 100%; display: flex; flex-direction: column; align-items: center; }
    .hero__content { width: 100%; }
    .hero__3d { width: 100%; display: flex; justify-content: center; position: relative; height: 800px; margin-top: -10rem; margin-bottom: -24rem; order: -1; overflow: visible; }
    .hero__3d spline-viewer { min-width: 300%; height: 100%; flex-shrink: 0; transform: scale(0.65) translateX(-20px); transform-origin: center; }
    .about__stats { flex-direction: column; gap: 2rem; align-items: flex-start; width: 100%; }
    .stats-grid { grid-template-columns: 1fr; }
    .footer__inner { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .navbar__cta { display: none; }
}
