/* ============================================
   NEUROPHA - Apple-Inspired Design System
   ============================================ */

/* CSS Variables */
:root {
    /* Colors - Sophisticated Palette */
    --color-black: #000000;
    --color-white: #ffffff;
    --color-gray-50: #fafafa;
    --color-gray-100: #f5f5f7;
    --color-gray-200: #e8e8ed;
    --color-gray-300: #d2d2d7;
    --color-gray-400: #86868b;
    --color-gray-500: #6e6e73;
    --color-gray-600: #424245;
    --color-gray-700: #2d2d2d;
    --color-gray-800: #1d1d1f;
    --color-gray-900: #0a0a0a;
    
    /* Accent Colors */
    --color-accent: #0071e3;
    --color-accent-hover: #0077ed;
    --color-gradient-start: #2997ff;
    --color-gradient-end: #5856d6;
    --color-warm-start: #ff6b6b;
    --color-warm-end: #feca57;
    
    /* Typography */
    --font-display: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    
    /* Spacing */
    --section-padding: 120px;
    --container-max: 1200px;
    --container-wide: 1400px;
    
    /* Animation */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --duration-fast: 0.3s;
    --duration-normal: 0.6s;
    --duration-slow: 1s;
}

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

/* ============================================
   INTRO ANIMATION
   ============================================ */
.intro-overlay {
    position: fixed;
    inset: 0;
    background: var(--color-black);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.intro-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.intro-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.fireworks-container {
    position: absolute;
    width: 300px;
    height: 300px;
}

.firework {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.firework:nth-child(1) {
    background: #2997ff;
    animation: firework1 2.5s ease-out forwards;
}
.firework:nth-child(2) {
    background: #5856d6;
    animation: firework2 2.5s ease-out forwards;
}
.firework:nth-child(3) {
    background: #ff6b6b;
    animation: firework3 2.5s ease-out forwards;
}
.firework:nth-child(4) {
    background: #feca57;
    animation: firework4 2.5s ease-out forwards;
}
.firework:nth-child(5) {
    background: #2997ff;
    animation: firework5 2.5s ease-out forwards;
}
.firework:nth-child(6) {
    background: #5856d6;
    animation: firework6 2.5s ease-out forwards;
}
.firework:nth-child(7) {
    background: #ff6b6b;
    animation: firework7 2.5s ease-out forwards;
}
.firework:nth-child(8) {
    background: #feca57;
    animation: firework8 2.5s ease-out forwards;
}

@keyframes firework1 {
    0% { transform: translate(-50%, -50%) rotate(0deg) translateX(0); opacity: 1; }
    50% { transform: translate(-50%, -50%) rotate(360deg) translateX(120px); opacity: 1; }
    80% { transform: translate(-50%, -50%) rotate(720deg) translateX(80px); opacity: 1; }
    100% { transform: translate(-50%, -50%) rotate(720deg) translateX(0); opacity: 0; }
}

@keyframes firework2 {
    0% { transform: translate(-50%, -50%) rotate(45deg) translateX(0); opacity: 1; }
    50% { transform: translate(-50%, -50%) rotate(405deg) translateX(120px); opacity: 1; }
    80% { transform: translate(-50%, -50%) rotate(765deg) translateX(80px); opacity: 1; }
    100% { transform: translate(-50%, -50%) rotate(765deg) translateX(0); opacity: 0; }
}

@keyframes firework3 {
    0% { transform: translate(-50%, -50%) rotate(90deg) translateX(0); opacity: 1; }
    50% { transform: translate(-50%, -50%) rotate(450deg) translateX(120px); opacity: 1; }
    80% { transform: translate(-50%, -50%) rotate(810deg) translateX(80px); opacity: 1; }
    100% { transform: translate(-50%, -50%) rotate(810deg) translateX(0); opacity: 0; }
}

@keyframes firework4 {
    0% { transform: translate(-50%, -50%) rotate(135deg) translateX(0); opacity: 1; }
    50% { transform: translate(-50%, -50%) rotate(495deg) translateX(120px); opacity: 1; }
    80% { transform: translate(-50%, -50%) rotate(855deg) translateX(80px); opacity: 1; }
    100% { transform: translate(-50%, -50%) rotate(855deg) translateX(0); opacity: 0; }
}

@keyframes firework5 {
    0% { transform: translate(-50%, -50%) rotate(180deg) translateX(0); opacity: 1; }
    50% { transform: translate(-50%, -50%) rotate(540deg) translateX(120px); opacity: 1; }
    80% { transform: translate(-50%, -50%) rotate(900deg) translateX(80px); opacity: 1; }
    100% { transform: translate(-50%, -50%) rotate(900deg) translateX(0); opacity: 0; }
}

@keyframes firework6 {
    0% { transform: translate(-50%, -50%) rotate(225deg) translateX(0); opacity: 1; }
    50% { transform: translate(-50%, -50%) rotate(585deg) translateX(120px); opacity: 1; }
    80% { transform: translate(-50%, -50%) rotate(945deg) translateX(80px); opacity: 1; }
    100% { transform: translate(-50%, -50%) rotate(945deg) translateX(0); opacity: 0; }
}

@keyframes firework7 {
    0% { transform: translate(-50%, -50%) rotate(270deg) translateX(0); opacity: 1; }
    50% { transform: translate(-50%, -50%) rotate(630deg) translateX(120px); opacity: 1; }
    80% { transform: translate(-50%, -50%) rotate(990deg) translateX(80px); opacity: 1; }
    100% { transform: translate(-50%, -50%) rotate(990deg) translateX(0); opacity: 0; }
}

@keyframes firework8 {
    0% { transform: translate(-50%, -50%) rotate(315deg) translateX(0); opacity: 1; }
    50% { transform: translate(-50%, -50%) rotate(675deg) translateX(120px); opacity: 1; }
    80% { transform: translate(-50%, -50%) rotate(1035deg) translateX(80px); opacity: 1; }
    100% { transform: translate(-50%, -50%) rotate(1035deg) translateX(0); opacity: 0; }
}

.intro-text {
    position: absolute;
    text-align: center;
    opacity: 0;
    animation: textReveal 1s ease-out 2s forwards;
}

.intro-line {
    display: block;
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.intro-line.accent {
    background: linear-gradient(135deg, var(--color-gradient-start) 0%, var(--color-gradient-end) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes textReveal {
    0% { 
        opacity: 0; 
        transform: scale(0.8);
    }
    100% { 
        opacity: 1; 
        transform: scale(1);
    }
}

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

body {
    font-family: var(--font-display);
    background: var(--color-white);
    color: var(--color-gray-800);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: background var(--duration-fast) ease;
}

.nav-container {
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 48px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-gray-800);
    text-decoration: none;
    letter-spacing: -0.02em;
    transition: opacity var(--duration-fast) ease;
}

.nav-logo:hover {
    opacity: 0.7;
}

.nav-links {
    display: flex;
    gap: 36px;
}

.nav-link {
    font-size: 0.875rem;
    color: var(--color-gray-600);
    text-decoration: none;
    transition: color var(--duration-fast) ease;
}

.nav-link:hover {
    color: var(--color-gray-800);
}

.nav-cta {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-white);
    background: var(--color-accent);
    padding: 8px 18px;
    border-radius: 980px;
    text-decoration: none;
    transition: all var(--duration-fast) ease;
}

.nav-cta:hover {
    background: var(--color-accent-hover);
    transform: scale(1.02);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(180deg, var(--color-gray-100) 0%, var(--color-white) 100%);
    overflow: hidden;
    padding-top: 52px;
}

.hero-content {
    text-align: center;
    z-index: 2;
    padding: 0 24px;
    max-width: 900px;
}

.hero-title {
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero-title-line {
    display: block;
}

.hero-title-line.accent {
    background: linear-gradient(135deg, var(--color-gradient-start) 0%, var(--color-gradient-end) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--color-gray-500);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Hero Visual - Floating Orb */
.hero-visual {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 1;
}

.hero-orb {
    position: relative;
    width: 500px;
    height: 500px;
    opacity: 0.15;
}

.orb-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--color-gradient-start) 0%, var(--color-gradient-end) 100%);
    border-radius: 50%;
    filter: blur(40px);
    animation: pulse 4s ease-in-out infinite;
}

.orb-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(41, 151, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: glow 6s ease-in-out infinite;
}

.orb-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(41, 151, 255, 0.2);
    border-radius: 50%;
    animation: spin 20s linear infinite;
}

.ring-1 { width: 250px; height: 250px; animation-duration: 25s; }
.ring-2 { width: 350px; height: 350px; animation-duration: 30s; animation-direction: reverse; }
.ring-3 { width: 450px; height: 450px; animation-duration: 35s; }

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

@keyframes glow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.2); }
}

@keyframes spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 2;
}

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

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, var(--color-gray-300) 0%, transparent 100%);
    animation: scrollLine 2s ease-in-out infinite;
}

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

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--color-white);
    background: var(--color-accent);
    border: none;
    border-radius: 980px;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease-out-quart);
}

.btn-primary:hover {
    background: var(--color-accent-hover);
    transform: scale(1.02);
    box-shadow: 0 4px 20px rgba(0, 113, 227, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--color-accent);
    background: transparent;
    border: 1px solid var(--color-accent);
    border-radius: 980px;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease-out-quart);
}

.btn-secondary:hover {
    background: var(--color-accent);
    color: var(--color-white);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--color-white);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 980px;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease-out-quart);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-primary.large,
.btn-secondary.large,
.btn-ghost.large {
    padding: 20px 44px;
    font-size: 1.125rem;
}

.full-width {
    width: 100%;
}

/* ============================================
   SECTION COMMON STYLES
   ============================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
}

.section-label.light {
    color: var(--color-gradient-start);
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.section-title.light {
    color: var(--color-white);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--color-gray-500);
    max-width: 600px;
    margin-bottom: 64px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-gradient-start) 0%, var(--color-gradient-end) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-warm {
    background: linear-gradient(135deg, var(--color-warm-start) 0%, var(--color-warm-end) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ============================================
   VISION SECTION
   ============================================ */
.vision {
    padding: var(--section-padding) 0;
    background: var(--color-white);
}

.vision-sticky {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    margin-bottom: 80px;
}

.vision-content {
    max-width: 800px;
}

.vision-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-gray-800);
    margin-bottom: 24px;
}

.vision-word-rotate {
    display: inline-block;
    position: relative;
    color: var(--color-accent);
}

.vision-word-rotate .word {
    display: none;
}

.vision-word-rotate .word.active {
    display: inline;
}

.vision-text {
    font-size: 1.25rem;
    color: var(--color-gray-500);
    line-height: 1.7;
}

.vision-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.vision-card {
    background: var(--color-gray-50);
    padding: 48px 36px;
    border-radius: 24px;
    transition: all var(--duration-normal) var(--ease-out-expo);
}

.vision-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.vision-card-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 24px;
    color: var(--color-accent);
}

.vision-card-icon svg {
    width: 100%;
    height: 100%;
}

.vision-card h3 {
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--color-gray-800);
}

.vision-card p {
    font-size: 1rem;
    color: var(--color-gray-500);
    line-height: 1.6;
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */
.products {
    padding: var(--section-padding) 0;
    background: var(--color-gray-100);
}

.products .container {
    text-align: center;
    margin-bottom: 80px;
}

.product-showcase {
    max-width: var(--container-wide);
    margin: 0 auto;
}

.product-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 80px 48px;
}

.product-item.reverse {
    direction: rtl;
}

.product-item.reverse > * {
    direction: ltr;
}

.product-visual {
    perspective: 1000px;
}

.product-screen {
    background: var(--color-white);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.08);
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform var(--duration-normal) var(--ease-out-expo);
}

.product-screen:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.product-screen.dark {
    background: var(--color-gray-900);
}

.product-screen.gradient {
    background: linear-gradient(135deg, var(--color-gradient-start) 0%, var(--color-gradient-end) 100%);
}

.screen-content {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Chat Demo */
.ai-chat-demo {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-bubble {
    padding: 16px 20px;
    border-radius: 20px;
    max-width: 85%;
    font-size: 0.9375rem;
}

.chat-bubble.user {
    background: var(--color-accent);
    color: var(--color-white);
    align-self: flex-end;
    border-bottom-right-radius: 6px;
}

.chat-bubble.ai {
    background: var(--color-gray-100);
    align-self: flex-start;
    border-bottom-left-radius: 6px;
}

.typing-indicator {
    display: flex;
    gap: 4px;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: var(--color-gray-400);
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 80%, 100% { transform: scale(0.8); opacity: 0.5; }
    40% { transform: scale(1); opacity: 1; }
}

/* Code Demo */
.code-demo {
    font-family: 'SF Mono', Monaco, 'Consolas', monospace;
    font-size: 0.875rem;
    text-align: left;
    width: 100%;
}

.code-line {
    padding: 4px 0;
    color: var(--color-gray-300);
}

.code-line.indent {
    padding-left: 20px;
}

.keyword { color: #ff79c6; }
.variable { color: #8be9fd; }
.function { color: #50fa7b; }
.property { color: #bd93f9; }
.string { color: #f1fa8c; }

/* Analytics Demo */
.analytics-demo {
    width: 100%;
    text-align: center;
    color: var(--color-white);
}

.metric {
    margin-bottom: 32px;
}

.metric-value {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.metric-label {
    font-size: 0.875rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.chart-bars {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: flex-end;
    height: 120px;
}

.bar {
    width: 40px;
    height: var(--height);
    background: rgba(255, 255, 255, 0.3);
    border-radius: 6px 6px 0 0;
    animation: barGrow 2s ease-out infinite alternate;
}

@keyframes barGrow {
    from { transform: scaleY(0.8); }
    to { transform: scaleY(1); }
}

/* Website Preview Styles */
.website-preview {
    width: 100%;
    height: 100%;
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-gray-200);
    margin-bottom: 24px;
}

.preview-dots {
    display: flex;
    gap: 6px;
}

.preview-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-gray-300);
}

.preview-dots span:first-child { background: #ff5f57; }
.preview-dots span:nth-child(2) { background: #febc2e; }
.preview-dots span:last-child { background: #28c840; }

.preview-dots.light span {
    opacity: 0.7;
}

.preview-url {
    font-size: 0.75rem;
    color: var(--color-gray-500);
    background: var(--color-gray-100);
    padding: 4px 12px;
    border-radius: 4px;
}

.preview-url.light {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.preview-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.preview-hero-text {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-gray-800);
    letter-spacing: -0.02em;
    line-height: 1;
}

.preview-hero-text.light {
    color: var(--color-white);
}

.preview-hero-subtext {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-gray-600);
    margin-bottom: 12px;
}

.preview-hero-subtext.light {
    color: rgba(255, 255, 255, 0.8);
}

.preview-tagline {
    font-size: 0.875rem;
    color: var(--color-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.preview-tagline.light {
    color: rgba(255, 255, 255, 0.6);
}

/* Next Project Card */
.next-project {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    min-height: 280px;
}

.next-icon {
    width: 80px;
    height: 80px;
    border: 2px dashed var(--color-gray-500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--color-gray-400);
    margin-bottom: 20px;
    animation: pulse 2s ease-in-out infinite;
}

.next-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 4px;
}

.next-subtext {
    font-size: 1rem;
    color: var(--color-gray-500);
}

/* Mac Browser Mockup */
.mac-browser-link {
    display: block;
    text-decoration: none;
    cursor: pointer;
}

.mac-browser {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    transition: all 0.5s var(--ease-out-expo);
}

.mac-browser:hover,
.mac-browser-link:hover .mac-browser {
    transform: translateY(-8px);
    box-shadow: 
        0 35px 60px -15px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(0, 0, 0, 0.05);
}

.mac-browser-link:hover .mac-browser::after {
    content: 'Click to visit →';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    z-index: 10;
}

.mac-browser-link .mac-browser {
    position: relative;
}

.mac-browser-link:hover .mac-browser-content::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
}

.mac-browser-link .mac-browser-content {
    position: relative;
}

.mac-browser-header {
    background: linear-gradient(180deg, #e8e8e8 0%, #d8d8d8 100%);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.mac-dots {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.mac-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.mac-dots .dot.red {
    background: linear-gradient(180deg, #ff5f57 0%, #e0443e 100%);
    box-shadow: inset 0 -1px 1px rgba(0, 0, 0, 0.1);
}

.mac-dots .dot.yellow {
    background: linear-gradient(180deg, #febc2e 0%, #dea123 100%);
    box-shadow: inset 0 -1px 1px rgba(0, 0, 0, 0.1);
}

.mac-dots .dot.green {
    background: linear-gradient(180deg, #28c840 0%, #1aab29 100%);
    box-shadow: inset 0 -1px 1px rgba(0, 0, 0, 0.1);
}

.mac-address-bar {
    flex: 1;
    background: #ffffff;
    border-radius: 6px;
    padding: 6px 12px;
    text-align: center;
    font-size: 0.8125rem;
    color: var(--color-gray-500);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.06);
}

.mac-browser-content {
    background: #f5f5f5;
    max-height: 400px;
    overflow: hidden;
}

.mac-browser-content img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: top;
}

/* Product Info */
.product-info h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--color-gray-800);
}

.product-info p {
    font-size: 1.125rem;
    color: var(--color-gray-500);
    line-height: 1.7;
    margin-bottom: 24px;
}

.product-features {
    list-style: none;
    margin-bottom: 32px;
}

.product-features li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 1rem;
    color: var(--color-gray-600);
}

.product-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
}

.product-link {
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--color-accent);
    text-decoration: none;
    transition: gap var(--duration-fast) ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.product-link:hover {
    gap: 8px;
}

/* ============================================
   TECHNOLOGY SECTION
   ============================================ */
.technology {
    padding: var(--section-padding) 0;
    background: var(--color-gray-900);
    position: relative;
    overflow: hidden;
}

.tech-bg {
    position: absolute;
    inset: 0;
    opacity: 0.15;
}

.grid-lines {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.technology .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.tech-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
    margin: 80px 0;
}

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

.stat-number {
    display: block;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-white) 0%, var(--color-gray-400) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.tech-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    text-align: left;
    margin-top: 80px;
}

.tech-feature {
    padding: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    transition: all var(--duration-normal) var(--ease-out-expo);
}

.tech-feature:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.tech-feature-number {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-gradient-start);
    margin-bottom: 20px;
    letter-spacing: 0.1em;
}

.tech-feature h3 {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 12px;
}

.tech-feature p {
    font-size: 1rem;
    color: var(--color-gray-400);
    line-height: 1.6;
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing {
    padding: var(--section-padding) 0;
    background: var(--color-white);
}

.pricing .container {
    text-align: center;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 64px;
}

.pricing-card {
    background: var(--color-gray-50);
    border: 1px solid var(--color-gray-200);
    border-radius: 24px;
    padding: 48px 36px;
    text-align: left;
    transition: all var(--duration-normal) var(--ease-out-expo);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.08);
}

.pricing-card.featured {
    background: var(--color-gray-900);
    border-color: transparent;
}

.pricing-card.featured:hover {
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--color-gradient-start) 0%, var(--color-gradient-end) 100%);
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-header {
    margin-bottom: 32px;
}

.pricing-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.pricing-card.featured .pricing-header h3 {
    color: var(--color-white);
}

.pricing-price {
    display: flex;
    align-items: baseline;
}

.pricing-price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-gray-600);
}

.pricing-price .amount {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--color-gray-800);
}

.pricing-price .period {
    font-size: 1rem;
    color: var(--color-gray-500);
    margin-left: 4px;
}

.pricing-card.featured .pricing-price .currency,
.pricing-card.featured .pricing-price .amount {
    color: var(--color-white);
}

.pricing-card.featured .pricing-price .period {
    color: var(--color-gray-400);
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    padding: 12px 0;
    font-size: 0.9375rem;
    color: var(--color-gray-600);
    border-bottom: 1px solid var(--color-gray-200);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-card.featured .pricing-features li {
    color: var(--color-gray-300);
    border-color: rgba(255, 255, 255, 0.1);
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
    padding: var(--section-padding) 0;
    background: var(--color-gray-100);
}

.testimonials .container {
    max-width: 900px;
    text-align: center;
}

.testimonial-slider {
    position: relative;
    min-height: 280px;
}

.testimonial {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--duration-normal) var(--ease-out-expo);
}

.testimonial.active {
    position: relative;
    opacity: 1;
    transform: translateY(0);
}

.testimonial blockquote {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 400;
    line-height: 1.5;
    color: var(--color-gray-800);
    margin-bottom: 40px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.author-avatar {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--color-gradient-start) 0%, var(--color-gradient-end) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-white);
}

.author-info {
    text-align: left;
}

.author-info strong {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-gray-800);
}

.author-info span {
    font-size: 0.875rem;
    color: var(--color-gray-500);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: var(--color-gray-300);
    cursor: pointer;
    transition: all var(--duration-fast) ease;
}

.dot:hover {
    background: var(--color-gray-400);
}

.dot.active {
    background: var(--color-accent);
    transform: scale(1.2);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
    padding: 160px 24px;
    background: linear-gradient(135deg, var(--color-gray-900) 0%, #1a1a2e 100%);
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.cta p {
    font-size: 1.25rem;
    color: var(--color-gray-400);
    margin-bottom: 40px;
    line-height: 1.6;
}

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--color-gray-900);
    padding: 80px 0 40px;
}

.footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.5fr 3fr;
    gap: 80px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-white);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9375rem;
    color: var(--color-gray-500);
    max-width: 250px;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
}

.footer-column h4 {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-gray-400);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.footer-column a {
    display: block;
    font-size: 0.9375rem;
    color: var(--color-gray-500);
    text-decoration: none;
    padding: 8px 0;
    transition: color var(--duration-fast) ease;
}

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

.footer-bottom {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 40px 24px 0;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--color-gray-500);
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray-500);
    transition: all var(--duration-fast) ease;
    border-radius: 50%;
}

.footer-social a:hover {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.08);
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
[data-scroll] {
    opacity: 0;
    transition: all var(--duration-slow) var(--ease-out-expo);
}

[data-scroll="fade-up"] {
    transform: translateY(60px);
}

[data-scroll="fade-left"] {
    transform: translateX(60px);
}

[data-scroll="fade-right"] {
    transform: translateX(-60px);
}

[data-scroll="scale-up"] {
    transform: scale(0.9);
}

[data-scroll].is-visible {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Stagger animation */
[data-scroll-delay="50"] { transition-delay: 50ms; }
[data-scroll-delay="100"] { transition-delay: 100ms; }
[data-scroll-delay="150"] { transition-delay: 150ms; }
[data-scroll-delay="200"] { transition-delay: 200ms; }
[data-scroll-delay="250"] { transition-delay: 250ms; }
[data-scroll-delay="300"] { transition-delay: 300ms; }

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .vision-cards {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .product-item {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .product-item.reverse {
        direction: ltr;
    }
    
    .tech-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tech-features {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }
    
    .nav-container {
        padding: 0 20px;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero-orb {
        width: 300px;
        height: 300px;
    }
    
    .orb-core {
        width: 120px;
        height: 120px;
    }
    
    .orb-glow {
        width: 250px;
        height: 250px;
    }
    
    .ring-1 { width: 150px; height: 150px; }
    .ring-2 { width: 220px; height: 220px; }
    .ring-3 { width: 280px; height: 280px; }
    
    .product-item {
        padding: 48px 24px;
    }
    
    .product-screen {
        transform: none;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-cta .btn-primary,
    .hero-cta .btn-secondary {
        width: 100%;
    }
    
    .tech-stats {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn-primary,
    .cta-buttons .btn-ghost {
        width: 100%;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    [data-scroll] {
        opacity: 1;
        transform: none;
    }
}
