/* ============================================
   TWO STACK AI — STYLE SYSTEM
   Theme: Deep space, fire meets electricity
   ============================================ */

/* --- CSS Variables --- */
:root {
    /* Core palette from banner */
    --bg-deep: #0a0e1a;
    --bg-dark: #0d1224;
    --bg-card: #111832;
    --bg-card-hover: #161e3d;
    --bg-surface: #0f152a;

    /* Fire stack (software/orange) */
    --fire-500: #e8762a;
    --fire-400: #f59e44;
    --fire-300: #ffc172;
    --fire-glow: rgba(232, 118, 42, 0.25);

    /* Electric stack (AI/cyan-blue) */
    --electric-500: #1faee9;
    --electric-400: #4fc3f7;
    --electric-300: #87dbff;
    --electric-glow: rgba(31, 174, 233, 0.25);

    /* Fusion (where they meet) */
    --fusion-white: #fffbe6;
    --fusion-glow: rgba(255, 251, 230, 0.6);

    /* Neutrals */
    --text-primary: #e8ecf4;
    --text-secondary: #8b95b0;
    --text-muted: #5a6480;
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);

    /* Typography */
    --font-display: 'Orbitron', sans-serif;
    --font-heading: 'Rajdhani', sans-serif;
    --font-body: 'Exo 2', sans-serif;

    /* Spacing */
    --section-pad: 100px;
    --container-max: 1200px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
    font-family: var(--font-body);
    background: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

/* Particle background canvas */
#particles-bg {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.4;
}

a { color: var(--electric-400); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--electric-300); }

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

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

.accent { color: var(--electric-400); }
.accent-glow {
    background: linear-gradient(135deg, var(--fire-400), var(--fusion-white), var(--electric-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Navigation --- */
.main-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.4s var(--ease-out);
    background: transparent;
}

.main-nav.scrolled {
    background: rgba(10, 14, 26, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}

.nav-logo-text {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 2px;
}

.nav-logo-text .accent { color: var(--electric-400); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-links a {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s;
    letter-spacing: 0.5px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
    background: rgba(255,255,255,0.05);
}

.nav-cta {
    background: linear-gradient(135deg, var(--fire-500), var(--electric-500)) !important;
    color: #fff !important;
    font-weight: 600 !important;
    padding: 10px 24px !important;
    border-radius: 8px !important;
}

.nav-cta:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(232, 118, 42, 0.3);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    letter-spacing: 0.5px;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--fire-500), var(--fire-400));
    color: #fff;
    box-shadow: 0 4px 24px var(--fire-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(232, 118, 42, 0.4);
    color: #fff;
}

.btn-ghost {
    background: rgba(255,255,255,0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-hover);
}

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

.btn-lg { padding: 16px 40px; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; }

/* --- Hero Section --- */
.hero {
    position: relative;
    z-index: 1;
    padding-top: 72px; /* nav height */
}

.hero-banner {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    background: var(--bg-deep);
}

.hero-img {
    display: block;
    width: auto;
    height: auto;
    max-width: none;
    flex-shrink: 0;
}

.hero-banner-fade {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 120px;
    background: linear-gradient(180deg, transparent 0%, var(--bg-deep) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 48px 0 80px;
    text-align: center;
}

.hero-badge {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--fire-400);
    margin-bottom: 24px;
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid var(--fire-glow);
    border-radius: 100px;
    background: rgba(232, 118, 42, 0.08);
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
}

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

.hero-title .title-line:first-child {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--text-primary);
}

.hero-title .title-line:last-child {
    font-size: clamp(2.2rem, 5.5vw, 4rem);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

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

.stat-num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    display: inline;
}

.stat-plus {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--electric-400);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: var(--font-heading);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-hover);
}

/* --- Sections --- */
.section {
    padding: var(--section-pad) 0;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--electric-400);
    display: block;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.8;
}

/* --- Fusion Grid --- */
.fusion-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 32px;
    align-items: center;
}

.fusion-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.fusion-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    border-radius: 16px 16px 0 0;
}

.stack-software::before { background: linear-gradient(90deg, var(--fire-500), var(--fire-300)); }
.stack-ai::before { background: linear-gradient(90deg, var(--electric-500), var(--electric-300)); }

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

.stack-software:hover { box-shadow: 0 8px 40px var(--fire-glow); }
.stack-ai:hover { box-shadow: 0 8px 40px var(--electric-glow); }

.fusion-icon {
    width: 64px; height: 64px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.stack-software .fusion-icon {
    background: rgba(232, 118, 42, 0.1);
    color: var(--fire-400);
}

.stack-ai .fusion-icon {
    background: rgba(31, 174, 233, 0.1);
    color: var(--electric-400);
}

.fusion-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.fusion-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.fusion-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fusion-list li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding-left: 20px;
    position: relative;
}

.fusion-list li::before {
    content: '▹';
    position: absolute;
    left: 0;
}

.stack-software .fusion-list li::before { color: var(--fire-400); }
.stack-ai .fusion-list li::before { color: var(--electric-400); }

/* Fusion spark in the middle */
.fusion-spark {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.spark-orb {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--fusion-white), var(--fire-400), var(--electric-500));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-deep);
    animation: sparkPulse 3s ease-in-out infinite;
    box-shadow: 0 0 40px var(--fusion-glow), 0 0 80px rgba(232, 118, 42, 0.2), 0 0 80px rgba(31, 174, 233, 0.2);
}

@keyframes sparkPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 40px var(--fusion-glow); }
    50% { transform: scale(1.1); box-shadow: 0 0 60px var(--fusion-glow), 0 0 100px rgba(232, 118, 42, 0.3); }
}

.spark-label {
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 4px;
    background: linear-gradient(135deg, var(--fire-400), var(--electric-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Solutions Grid --- */
.solutions-section { background: var(--bg-surface); }

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.solution-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px;
    transition: all 0.4s var(--ease-out);
    position: relative;
}

.solution-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}

.solution-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--fire-500), var(--electric-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.4;
    margin-bottom: 16px;
}

.solution-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.solution-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.card-link {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--electric-400);
    transition: all 0.3s;
}

.card-link:hover { color: var(--electric-300); letter-spacing: 1px; }

/* --- CTA Section --- */
.cta-section { padding: 80px 0; }

.cta-box {
    text-align: center;
    padding: 80px 48px;
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(232, 118, 42, 0.08), rgba(31, 174, 233, 0.08)),
        var(--bg-card);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--fire-500), var(--fusion-white), var(--electric-500));
}

.cta-box h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 12px;
}

.cta-box p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

/* --- Page Hero (inner pages) --- */
.page-hero {
    padding: 160px 0 80px;
    position: relative;
    z-index: 1;
    text-align: center;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 200px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-hover), transparent);
}

.page-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.page-hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.8;
}

/* --- Detail Grid (Solutions page) --- */
.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.detail-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px;
    transition: all 0.4s var(--ease-out);
}

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

.detail-icon {
    width: 56px; height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.detail-icon.software-glow {
    background: rgba(232, 118, 42, 0.1);
    color: var(--fire-400);
}

.detail-icon.ai-glow {
    background: rgba(31, 174, 233, 0.1);
    color: var(--electric-400);
}

.detail-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.detail-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.detail-tags span {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 100px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    color: var(--text-muted);
}

/* --- Process Timeline (Services) --- */
.process-timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 28px; top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--fire-500), var(--fusion-white), var(--electric-500));
    opacity: 0.3;
}

.process-step {
    display: flex;
    gap: 32px;
    margin-bottom: 48px;
    position: relative;
}

.process-marker {
    flex-shrink: 0;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--border-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.process-marker span {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--electric-400);
}

.process-content h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.process-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* --- Tech Grid --- */
.tech-section { background: var(--bg-surface); }

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

.tech-category h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--electric-400);
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.tech-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-pills span {
    font-family: var(--font-body);
    font-size: 0.85rem;
    padding: 8px 16px;
    border-radius: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    transition: all 0.3s;
}

.tech-pills span:hover {
    border-color: var(--electric-400);
    color: var(--electric-400);
    background: rgba(31, 174, 233, 0.05);
}

/* --- Platform Visual --- */
.platform-visual {
    max-width: 800px;
    margin: 0 auto;
}

.platform-layer {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
}

.layer-label {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.layer-items {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.layer-items span {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    padding: 8px 20px;
    border-radius: 8px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    color: var(--text-secondary);
}

.platform-connector {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 0;
}

.connector-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-hover), transparent);
}

.connector-badge {
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 3px;
    padding: 6px 20px;
    border-radius: 100px;
    background: linear-gradient(135deg, rgba(232, 118, 42, 0.1), rgba(31, 174, 233, 0.1));
    border: 1px solid var(--border);
    color: var(--fusion-white);
}

.platform-cores {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.platform-core {
    border-radius: 16px;
    padding: 32px;
    border: 1px solid var(--border);
}

.core-software {
    background: linear-gradient(180deg, rgba(232, 118, 42, 0.06), var(--bg-card));
    border-top: 2px solid var(--fire-500);
}

.core-ai {
    background: linear-gradient(180deg, rgba(31, 174, 233, 0.06), var(--bg-card));
    border-top: 2px solid var(--electric-500);
}

.platform-core h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.core-software h3 { color: var(--fire-400); }
.core-ai h3 { color: var(--electric-400); }

.core-items { display: flex; flex-direction: column; gap: 16px; }

.core-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.core-item p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --- Advantage Grid --- */
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.advantage-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.4s var(--ease-out);
}

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

.advantage-num {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--fire-400), var(--electric-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.advantage-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.advantage-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* --- About Page --- */
.about-story {
    max-width: 800px;
    margin: 0 auto;
}

.story-block {
    margin-bottom: 64px;
}

.story-block h2 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.story-block p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.story-block strong { color: var(--text-primary); }

.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 32px;
}

.philosophy-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
}

.philosophy-item h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--electric-400);
    margin-bottom: 8px;
}

.philosophy-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* --- Values --- */
.values-section { background: var(--bg-surface); }

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.value-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px;
    text-align: center;
    transition: all 0.4s var(--ease-out);
}

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

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.value-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.value-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* --- Contact Page --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.req { color: var(--fire-400); }

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg-surface);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all 0.3s;
    outline: none;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--electric-400);
    box-shadow: 0 0 0 3px rgba(31, 174, 233, 0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%238b95b0' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

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

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

.form-success {
    text-align: center;
    padding: 60px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
}

.success-icon { color: #4ade80; margin-bottom: 20px; }

.form-success h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.form-success p {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.form-error-msg {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 24px;
    color: #fca5a5;
    font-size: 0.9rem;
}

.form-error-msg a { color: var(--electric-400); }

/* Contact info sidebar */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
}

.info-icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    background: rgba(31, 174, 233, 0.1);
    color: var(--electric-400);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.info-card h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.info-card p, .info-card a {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.info-card a:hover { color: var(--electric-300); }

.highlight-card {
    background: linear-gradient(135deg, rgba(232, 118, 42, 0.08), rgba(31, 174, 233, 0.08));
    border-color: rgba(255, 255, 255, 0.08);
}

.highlight-card h4 {
    color: var(--fusion-white);
}

/* --- Footer --- */
.site-footer {
    background: var(--bg-dark);
    padding: 80px 0 40px;
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border);
}

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

.footer-logo {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
    margin-bottom: 16px;
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.3s;
}

.footer-socials a:hover {
    color: var(--electric-400);
    border-color: var(--electric-400);
    background: rgba(31, 174, 233, 0.05);
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-col a {
    display: block;
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    transition: all 0.3s;
}

.footer-col a:hover { color: var(--electric-400); }

.footer-bottom {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    margin-top: 60px;
}

.footer-line {
    height: 1px;
    background: var(--border);
    margin-bottom: 24px;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
}

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

.hero-content > * {
    animation: fadeInUp 0.8s var(--ease-out) both;
}

.hero-badge { animation-delay: 0.1s; }
.hero-title { animation-delay: 0.2s; }
.hero-subtitle { animation-delay: 0.35s; }
.hero-actions { animation-delay: 0.5s; }
.hero-stats { animation-delay: 0.65s; }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .fusion-grid { grid-template-columns: 1fr; }
    .fusion-spark { flex-direction: row; padding: 16px 0; }
    .solutions-grid { grid-template-columns: 1fr; }
    .detail-grid { grid-template-columns: 1fr; }
    .advantage-grid { grid-template-columns: repeat(2, 1fr); }
    .platform-cores { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .tech-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    :root { --section-pad: 64px; }

    .nav-toggle { display: flex; }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: rgba(10, 14, 26, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        border-bottom: 1px solid var(--border);
    }

    .nav-links.open { display: flex; }

    .hero { padding-top: 60px; }
    .hero-content { padding: 32px 0 48px; }

    .hero-stats { gap: 20px; }
    .stat-divider { display: none; }

    .philosophy-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .advantage-grid { grid-template-columns: 1fr; }

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

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

    .cta-box { padding: 48px 24px; }
}
