:root {
    --color-bg: #0a0e1a;
    --color-bg-alt: #111827;
    --color-surface: #1a2234;
    --color-primary: #00d4a8;
    --color-primary-dark: #00a586;
    --color-accent: #4f8cff;
    --color-text: #f3f6fc;
    --color-text-muted: #9aa5bd;
    --color-border: rgba(255, 255, 255, 0.08);
    --font-sans: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --shadow-lg: 0 20px 60px -10px rgba(0, 0, 0, 0.5);
    --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== NAV ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 18px 0;
    background: rgba(10, 14, 26, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition), padding var(--transition);
}

.nav.scrolled {
    padding: 12px 0;
    border-bottom-color: var(--color-border);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 0.2em;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-muted);
    transition: color 0.25s ease;
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: inherit;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: #02121b;
    box-shadow: 0 8px 24px -8px var(--color-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px -6px var(--color-primary);
}

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

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-text);
    cursor: pointer;
    padding: 8px;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-bg::before,
.hero-bg::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    animation: float 20s infinite ease-in-out;
}

.hero-bg::before {
    width: 500px;
    height: 500px;
    background: var(--color-primary);
    top: -150px;
    left: -100px;
}

.hero-bg::after {
    width: 450px;
    height: 450px;
    background: var(--color-accent);
    bottom: -100px;
    right: -100px;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(60px, -40px) scale(1.1); }
    66% { transform: translate(-40px, 60px) scale(0.95); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 860px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(0, 212, 168, 0.1);
    border: 1px solid rgba(0, 212, 168, 0.25);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--color-primary);
    margin-bottom: 28px;
    font-weight: 500;
}

.hero-eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-primary);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 212, 168, 0.6); }
    50% { box-shadow: 0 0 0 8px rgba(0, 212, 168, 0); }
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.75rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    color: var(--color-text-muted);
    max-width: 640px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ===== SECTION ===== */
.section {
    padding: 100px 0;
    position: relative;
}

.section-alt {
    background: var(--color-bg-alt);
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 64px;
}

.section-eyebrow {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    line-height: 1.15;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
}

/* ===== STATS ===== */
.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.stat-card {
    padding: 40px 32px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    text-align: center;
    transition: transform var(--transition), border-color var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(0, 212, 168, 0.08));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 212, 168, 0.3);
}

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

.stat-number {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
    position: relative;
}

.stat-label {
    color: var(--color-text-muted);
    font-size: 1rem;
    font-weight: 500;
    position: relative;
}

/* ===== PRODUCTS ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 36px 28px;
    transition: transform var(--transition), border-color var(--transition);
    position: relative;
    overflow: hidden;
    cursor: default;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 212, 168, 0.35);
}

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

.product-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(0, 212, 168, 0.15), rgba(79, 140, 255, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: transform var(--transition);
}

.product-card:hover .product-icon {
    transform: scale(1.1) rotate(-5deg);
}

.product-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--color-primary);
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.product-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.product-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* ===== FEATURES ===== */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.feature {
    padding: 8px 0;
    border-top: 1px solid var(--color-border);
    padding-top: 28px;
}

.feature-number {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.15em;
    margin-bottom: 16px;
}

.feature h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature p {
    color: var(--color-text-muted);
    font-size: 0.98rem;
}

/* ===== CTA ===== */
.cta-banner {
    margin: 80px auto;
    padding: 64px 48px;
    background: linear-gradient(135deg, rgba(0, 212, 168, 0.1) 0%, rgba(79, 140, 255, 0.1) 100%);
    border: 1px solid rgba(0, 212, 168, 0.2);
    border-radius: 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0, 212, 168, 0.15), transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(79, 140, 255, 0.15), transparent 50%);
    animation: shift 15s infinite ease-in-out;
}

@keyframes shift {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -20px); }
}

.cta-banner > * {
    position: relative;
    z-index: 1;
}

.cta-banner h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-banner p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-bottom: 32px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== CONTACT ===== */
.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    line-height: 1.15;
}

.contact-info p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.contact-detail {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
    align-items: flex-start;
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(0, 212, 168, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-primary);
    fill: none;
    stroke-width: 2;
}

.contact-detail-label {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.contact-detail-value {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-text);
}

.contact-detail-value a:hover {
    color: var(--color-primary);
}

.contact-form {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 40px;
}

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    color: var(--color-text);
    font-family: inherit;
    font-size: 0.98rem;
    transition: border-color 0.25s ease, background-color 0.25s ease;
    color-scheme: dark;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239aa5bd' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 42px;
    cursor: pointer;
}

.form-group select option {
    background-color: #1a2234;
    color: var(--color-text);
    padding: 10px;
}

.form-group select option:disabled,
.form-group select option[value=""] {
    color: var(--color-text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(0, 212, 168, 0.03);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
    font-family: inherit;
}

.form-status {
    margin-top: 16px;
    padding: 14px;
    border-radius: 10px;
    font-size: 0.95rem;
    display: none;
}

.form-status.success {
    display: block;
    background: rgba(0, 212, 168, 0.12);
    border: 1px solid rgba(0, 212, 168, 0.3);
    color: var(--color-primary);
}

/* ===== PAGE HERO ===== */
.page-hero {
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(0, 212, 168, 0.1), transparent 60%);
    z-index: 0;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
}

.page-hero h1 {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 20px;
}

.page-hero p {
    color: var(--color-text-muted);
    font-size: 1.15rem;
    max-width: 620px;
    margin: 0 auto;
}

/* ===== ABOUT ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-text h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-text p {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.about-visual {
    aspect-ratio: 1;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--color-surface), var(--color-bg-alt));
    border: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-visual::before,
.about-visual::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
}

.about-visual::before {
    width: 240px;
    height: 240px;
    background: var(--color-primary);
    opacity: 0.3;
    top: 20%;
    left: 15%;
    animation: float 15s infinite ease-in-out;
}

.about-visual::after {
    width: 220px;
    height: 220px;
    background: var(--color-accent);
    opacity: 0.3;
    bottom: 15%;
    right: 15%;
    animation: float 18s infinite ease-in-out reverse;
}

.about-logo-mark {
    position: relative;
    z-index: 1;
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-top: 48px;
}

.value-card {
    padding: 32px 28px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    transition: transform var(--transition), border-color var(--transition);
}

.value-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 212, 168, 0.3);
}

.value-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 212, 168, 0.15), rgba(79, 140, 255, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.value-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-primary);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.value-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

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

/* ===== FOOTER ===== */
.footer {
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-top: 16px;
    max-width: 320px;
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text);
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.4s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
    .contact-wrap,
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .stats {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 720px) {
    .nav-toggle {
        display: block;
    }
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-bg-alt);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 16px 24px;
        border-bottom: 1px solid var(--color-border);
        transform: translateY(-10px);
        opacity: 0;
        pointer-events: none;
        transition: all 0.25s ease;
    }
    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    .nav-links a {
        padding: 14px 0;
        border-bottom: 1px solid var(--color-border);
    }
    .nav-links a:last-child {
        border-bottom: none;
    }
    .hero {
        padding: 120px 0 60px;
        min-height: auto;
    }
    .section {
        padding: 72px 0;
    }
    .cta-banner {
        padding: 48px 24px;
    }
    .contact-form {
        padding: 28px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .hero-actions {
        width: 100%;
    }
    .hero-actions .btn {
        flex: 1;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
}
