/* ============================================
   AI·RIDER™ - Intelligent Guidance Systems
   Premium Tech Aesthetic Stylesheet
   ============================================ */

/* CSS Variables */
:root {
    /* Colors - Deep Navy + Amber/Gold */
    --bg-primary: #05080d;
    --bg-secondary: #0a0f18;
    --bg-tertiary: #0f1520;
    --bg-card: rgba(15, 21, 32, 0.6);
    --bg-card-hover: rgba(20, 28, 42, 0.8);
    
    --accent-primary: #f0a500;
    --accent-secondary: #ffbe2e;
    --accent-tertiary: #ffd666;
    --accent-glow: rgba(240, 165, 0, 0.4);
    --accent-subtle: rgba(240, 165, 0, 0.1);
    
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --text-tertiary: #6b7a90;
    --text-muted: #4a5568;
    
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-accent: rgba(240, 165, 0, 0.3);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 5rem;
    --space-3xl: 8rem;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Effects */
    --blur-sm: 8px;
    --blur-md: 16px;
    --blur-lg: 32px;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px var(--accent-glow);
}

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

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

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

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

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

/* ============================================
   Navigation
   ============================================ */

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

.nav.scrolled {
    background: rgba(5, 8, 13, 0.9);
    backdrop-filter: blur(var(--blur-md));
    border-bottom: 1px solid var(--border-subtle);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-mark {
    color: var(--accent-primary);
    font-size: 1.5rem;
    filter: drop-shadow(0 0 8px var(--accent-glow));
}

.logo-text {
    letter-spacing: 0.1em;
}

.logo-dot {
    color: var(--accent-primary);
    font-size: 0.6em;
    vertical-align: middle;
    opacity: 0.7;
    margin: 0 0.02em;
}

.logo-tm {
    font-size: 0.5em;
    vertical-align: super;
    opacity: 0.5;
    margin-left: 0.1em;
}

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

.nav-links a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-primary);
    transition: var(--transition-base);
}

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

.nav-cta {
    padding: 0.6rem 1.25rem;
    background: var(--accent-subtle);
    border: 1px solid var(--border-accent);
    border-radius: 6px;
    color: var(--accent-primary) !important;
}

.nav-cta:hover {
    background: var(--accent-primary);
    color: var(--bg-primary) !important;
}

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-base);
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-3xl) var(--space-lg);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 650px;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0.5rem 1rem;
    background: var(--accent-subtle);
    border: 1px solid var(--border-accent);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--accent-secondary);
    margin-bottom: var(--space-lg);
    animation: fadeInUp 0.8s ease;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: var(--space-lg);
    animation: fadeInUp 0.8s ease 0.1s both;
}

.title-accent {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-tertiary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
    max-width: 540px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-cta-group {
    display: flex;
    gap: var(--space-md);
    animation: fadeInUp 0.8s ease 0.3s both;
}

/* Hero Visual */
.hero-visual {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    z-index: 1;
}

.visual-orb {
    position: relative;
    width: 100%;
    height: 100%;
}

.orb-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid var(--border-accent);
    border-radius: 50%;
    animation: rotateOrb 20s linear infinite;
}

.orb-ring-1 {
    width: 300px;
    height: 300px;
    animation-duration: 25s;
}

.orb-ring-2 {
    width: 380px;
    height: 380px;
    animation-duration: 35s;
    animation-direction: reverse;
    border-style: dashed;
    opacity: 0.5;
}

.orb-ring-3 {
    width: 460px;
    height: 460px;
    animation-duration: 45s;
    opacity: 0.3;
}

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

.orb-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, var(--accent-primary) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(30px);
    animation: pulseCore 4s ease-in-out infinite;
}

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

.orb-particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-primary);
    border-radius: 50%;
    animation: orbitParticle 8s linear infinite;
}

.orb-particles span:nth-child(1) { animation-delay: 0s; }
.orb-particles span:nth-child(2) { animation-delay: 1.3s; }
.orb-particles span:nth-child(3) { animation-delay: 2.6s; }
.orb-particles span:nth-child(4) { animation-delay: 3.9s; }
.orb-particles span:nth-child(5) { animation-delay: 5.2s; }
.orb-particles span:nth-child(6) { animation-delay: 6.5s; }

@keyframes orbitParticle {
    0% {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(0deg) translateX(180px);
        opacity: 0;
    }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(360deg) translateX(180px);
        opacity: 0;
    }
}

.hero-scroll-indicator {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

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

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; height: 60px; }
    50% { opacity: 1; height: 80px; }
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 0.9rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-base);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: var(--bg-primary);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 60px var(--accent-glow);
}

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

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

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

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

.btn-full {
    width: 100%;
}

/* ============================================
   Philosophy Section
   ============================================ */

.philosophy {
    padding: var(--space-3xl) 0;
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg, transparent, var(--bg-secondary) 30%, var(--bg-secondary) 70%, transparent);
}

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

.philosophy-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-primary);
    margin-bottom: var(--space-md);
}

.philosophy-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-lg);
}

.philosophy-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
}

.philosophy-principles {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.principle {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.principle-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-subtle);
    border: 1px solid var(--border-accent);
    border-radius: 12px;
}

.principle-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent-primary);
}

.principle-text {
    text-align: left;
}

.principle-text strong {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
}

.principle-text span {
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

/* ============================================
   Section Styles
   ============================================ */

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-2xl);
}

.section-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-primary);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   Systems Section
   ============================================ */

.systems {
    padding: var(--space-3xl) 0;
    position: relative;
    z-index: 2;
}

.system-layer {
    margin-bottom: var(--space-3xl);
}

.system-layer:last-child {
    margin-bottom: 0;
}

.layer-header {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--border-subtle);
}

.layer-number {
    font-family: var(--font-mono);
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-primary);
    line-height: 1;
    opacity: 0.4;
}

.layer-title {
    font-size: 1.75rem;
    margin-bottom: var(--space-xs);
}

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

.layer-products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-lg);
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: var(--space-xl);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), transparent);
    opacity: 0;
    transition: var(--transition-base);
}

.product-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-accent);
    transform: translateY(-4px);
}

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

.product-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-subtle);
    border: 1px solid var(--border-accent);
    border-radius: 14px;
    margin-bottom: var(--space-md);
}

.product-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--accent-primary);
}

.product-name {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.product-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.product-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.product-features li {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    padding-left: 1.25rem;
    position: relative;
}

.product-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 6px;
    height: 6px;
    background: var(--accent-primary);
    border-radius: 50%;
    opacity: 0.6;
}

/* ============================================
   Architecture Section
   ============================================ */

.architecture {
    padding: var(--space-3xl) 0;
    background: var(--bg-secondary);
    position: relative;
    z-index: 2;
}

.arch-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.arch-visual {
    display: flex;
    justify-content: center;
}

.arch-diagram {
    position: relative;
    width: 350px;
    height: 400px;
}

.arch-layer {
    position: absolute;
    left: 0;
    right: 0;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-base);
}

.arch-layer-1 {
    bottom: 0;
    background: linear-gradient(135deg, rgba(240, 165, 0, 0.2), rgba(240, 165, 0, 0.05));
    border: 1px solid var(--border-accent);
}

.arch-layer-2 {
    bottom: 120px;
    background: linear-gradient(135deg, rgba(240, 165, 0, 0.15), rgba(240, 165, 0, 0.03));
    border: 1px solid rgba(240, 165, 0, 0.2);
}

.arch-layer-3 {
    bottom: 240px;
    background: linear-gradient(135deg, rgba(240, 165, 0, 0.1), rgba(240, 165, 0, 0.02));
    border: 1px solid rgba(240, 165, 0, 0.15);
}

.arch-layer:hover {
    transform: translateX(10px);
    border-color: var(--accent-primary);
}

.arch-connector {
    position: absolute;
    left: 50%;
    bottom: 100px;
    width: 2px;
    height: 140px;
    background: linear-gradient(to top, var(--accent-primary), transparent);
    opacity: 0.3;
}

.arch-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: var(--space-lg);
}

.arch-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
}

.arch-stats {
    display: flex;
    gap: var(--space-xl);
}

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

.stat-value {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-primary);
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================
   Industries Section
   ============================================ */

.industries {
    padding: var(--space-3xl) 0;
    position: relative;
    z-index: 2;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.industry-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: var(--space-xl);
    text-align: center;
    transition: var(--transition-base);
}

.industry-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
}

.industry-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-subtle);
    border-radius: 16px;
    margin: 0 auto var(--space-md);
}

.industry-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--accent-primary);
}

.industry-card h4 {
    font-size: 1.1rem;
    margin-bottom: var(--space-sm);
}

.industry-card p {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    line-height: 1.6;
}

/* ============================================
   CTA Section
   ============================================ */

.cta-section {
    padding: var(--space-3xl) 0;
    position: relative;
    z-index: 2;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.cta-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-glow), transparent 70%);
    opacity: 0.3;
    pointer-events: none;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-md);
}

.cta-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

.contact-form {
    text-align: left;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    transition: var(--transition-base);
}

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

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

.form-group 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='%236b7a90' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 18px;
}

.form-group select option {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

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

.captcha-group {
    background: var(--bg-secondary);
    border-radius: 10px;
    padding: var(--space-md);
    border: 1px solid var(--border-subtle);
}

.captcha-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.captcha-label span {
    color: var(--accent-primary);
    font-weight: 600;
    font-family: var(--font-mono);
}

.captcha-group input {
    margin-bottom: 0;
}

/* ============================================
   Footer
   ============================================ */

.footer {
    padding: var(--space-2xl) 0;
    border-top: 1px solid var(--border-subtle);
    position: relative;
    z-index: 2;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-lg);
}

.footer-brand .logo {
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

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

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

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

.footer-legal {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ============================================
   Animations
   ============================================ */

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

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Form Success Notification */
.form-success-notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.95), rgba(22, 163, 74, 0.95));
    padding: var(--space-md) var(--space-lg);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    z-index: 10000;
    transform: translateX(calc(100% + 40px));
    transition: transform 0.3s ease;
}

.form-success-notification.visible {
    transform: translateX(0);
}

.success-content {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: white;
}

.success-content svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.success-content strong {
    display: block;
    font-size: 1rem;
}

.success-content span {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* Shake Animation */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta-group {
        justify-content: center;
    }
    
    .hero-visual {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 350px;
        height: 350px;
        margin-top: var(--space-xl);
    }
    
    .arch-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .arch-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-cta-group {
        flex-direction: column;
        align-items: center;
    }
    
    .philosophy-principles {
        flex-direction: column;
        align-items: center;
    }
    
    .layer-header {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .layer-number {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        align-items: center;
    }
    
    .arch-diagram {
        width: 280px;
        height: 320px;
    }
    
    .arch-layer {
        height: 80px;
    }
    
    .arch-layer-2 {
        bottom: 95px;
    }
    
    .arch-layer-3 {
        bottom: 190px;
    }
    
    .arch-connector {
        height: 110px;
        bottom: 80px;
    }
}

@media (max-width: 480px) {
    :root {
        --space-lg: 1.5rem;
        --space-xl: 2rem;
        --space-2xl: 3rem;
        --space-3xl: 5rem;
    }
    
    .hero-visual {
        width: 280px;
        height: 280px;
    }
    
    .orb-ring-1 { width: 200px; height: 200px; }
    .orb-ring-2 { width: 260px; height: 260px; }
    .orb-ring-3 { width: 320px; height: 320px; display: none; }
    
    .layer-products {
        grid-template-columns: 1fr;
    }
}
