/* Brand Colors - Dark Theme */
:root {
    --primary-dark: #111224;
    --secondary-dark: #1A2545;
    --tertiary-dark: #0F1B3A;
    --accent-teal: #5ABEAA;
    --accent-green: #71EDA9;
    --light-bg: #16192B;
    --lighter-bg: #1E2336;
    --white: #FFFFFF;
    --text-light: rgba(255, 255, 255, 0.9);
    --text-muted: rgba(255, 255, 255, 0.7);
    --border-color: rgba(255, 255, 255, 0.1);
    --card-bg: #1A1D2E;
    --footer-bg: #0A0D1A;
    --success-green: #71EDA9;
    /* Hero gradient colors */
    --bg-dark: #0a1020;
    --bg-mid: #0f1c2d;
    --glow-1: rgba(80, 160, 170, 0.25);
    --glow-2: rgba(120, 200, 190, 0.18);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-light);
    background-color: var(--primary-dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header/Navigation */
#header {
    background-color: #0A0D1A;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-image {
    height: 40px;
    width: auto;
    display: block;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.nav-menu a:hover {
    opacity: 0.8;
}

.mobile-cta {
    display: none;
    background: linear-gradient(135deg, var(--accent-teal) 0%, var(--accent-green) 100%);
    box-shadow: 0 4px 16px rgba(90, 190, 170, 0.4);
    font-weight: 700;
    padding: 14px 36px;
    animation: ctaPulse 2s ease-in-out infinite;
}

.mobile-cta:hover {
    box-shadow: 0 6px 24px rgba(113, 237, 169, 0.6);
    transform: translateY(-2px);
}

@keyframes ctaPulse {
    0%, 100% {
        box-shadow: 0 4px 16px rgba(90, 190, 170, 0.4);
    }
    50% {
        box-shadow: 0 6px 24px rgba(113, 237, 169, 0.6);
    }
}

/* Buttons */
.btn-primary {
    background-color: var(--accent-teal);
    color: var(--white);
    border: none;
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--accent-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(113, 237, 169, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: rgba(30, 136, 229, 0.1);
}

.btn-full {
    width: 100%;
}

/* Hero Section */
#hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    color: var(--white);
    display: flex;
    align-items: center;
    /* Base layered gradients */
    background:
        radial-gradient(1200px 600px at 70% 40%,
            var(--glow-1),
            transparent 60%),
        radial-gradient(900px 500px at 40% 60%,
            var(--glow-2),
            transparent 65%),
        linear-gradient(180deg,
            var(--bg-mid),
            var(--bg-dark));
}

/* Noise layer */
#hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(0deg,
            rgba(255, 255, 255, 0.015),
            rgba(255, 255, 255, 0.015) 1px,
            transparent 1px,
            transparent 2px);
    opacity: 0.35;
    pointer-events: none;
}

/* Vignette */
#hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center,
            transparent 55%,
            rgba(0, 0, 0, 0.55) 100%);
    pointer-events: none;
}

.hero-background {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
    background: linear-gradient(to right, #fff, #e0f2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 2rem;
    opacity: 0.85;
    color: #cbd5e1;
    line-height: 1.6;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-tagline {
    font-size: 0.95rem;
    opacity: 0.7;
    font-style: italic;
    color: rgba(255, 255, 255, 0.6);
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-chart {
    width: 100%;
    max-width: 400px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(113, 237, 169, 0.15));
}

#hero .btn-primary {
    background-color: #5ABEAA;
    color: var(--white);
}

#hero .btn-primary:hover {
    background-color: #71EDA9;
    transform: translateY(-2px);
}

#hero .btn-secondary {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
    background-color: transparent;
}

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

/* Social Proof / Metrics */
#social-proof {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-mid) 100%);
    padding: 80px 0;
    border-top: 1px solid rgba(90, 190, 170, 0.1);
    position: relative;
}

#social-proof::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(800px 400px at 50% 50%,
        rgba(90, 190, 170, 0.08),
        transparent 70%);
    pointer-events: none;
}

.metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    text-align: center;
}

.metric-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-green);
    margin-bottom: 0.5rem;
}

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

/* Features Section */
#features {
    padding: 100px 0;
    background: radial-gradient(1000px 800px at 30% 50%,
            rgba(90, 190, 170, 0.05),
            transparent 60%),
        linear-gradient(180deg, var(--bg-mid) 0%, var(--bg-dark) 100%);
    position: relative;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, #e0f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 3rem;
    letter-spacing: -0.01em;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: linear-gradient(135deg,
        rgba(26, 29, 46, 0.9) 0%,
        rgba(15, 28, 45, 0.8) 100%);
    border: 1px solid rgba(90, 190, 170, 0.15);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(90, 190, 170, 0.08),
        transparent 40%);
    opacity: 0;
    transition: opacity 0.4s;
}

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

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(90, 190, 170, 0.25);
    border-color: rgba(90, 190, 170, 0.4);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--accent-teal) 0%, var(--accent-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: #cbd5e1;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* Benefits Section */
#benefits {
    padding: 100px 0;
    background: radial-gradient(1200px 600px at 70% 50%,
            rgba(120, 200, 190, 0.06),
            transparent 65%),
        linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-mid) 50%, var(--bg-dark) 100%);
    position: relative;
}

.benefits-list {
    max-width: 900px;
    margin: 0 auto;
}

.benefit-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg,
        rgba(26, 29, 46, 0.6) 0%,
        rgba(15, 28, 45, 0.4) 100%);
    border-radius: 12px;
    border: 1px solid rgba(90, 190, 170, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.benefit-item:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 24px rgba(90, 190, 170, 0.2);
    border-color: rgba(90, 190, 170, 0.3);
    background: linear-gradient(135deg,
        rgba(26, 29, 46, 0.8) 0%,
        rgba(15, 28, 45, 0.6) 100%);
}

.benefit-check {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent-teal) 0%, var(--accent-green) 100%);
    color: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(90, 190, 170, 0.3);
}

.benefit-content h4 {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.benefit-content p {
    color: #cbd5e1;
    line-height: 1.7;
}

/* Demo Section */
#demo {
    padding: 100px 0;
    background: radial-gradient(1000px 700px at 50% 30%,
            rgba(80, 160, 170, 0.08),
            transparent 70%),
        linear-gradient(180deg, var(--bg-mid) 0%, var(--bg-dark) 100%);
    position: relative;
}

.demo-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.demo-info h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.demo-info p {
    font-size: 1.125rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.demo-features {
    list-style: none;
}

.demo-features li {
    padding: 0.75rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 2rem;
}

.demo-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: 700;
    font-size: 1.25rem;
}

/* Form Styles */
.demo-form-container {
    background: linear-gradient(135deg,
        rgba(26, 29, 46, 0.8) 0%,
        rgba(15, 28, 45, 0.6) 100%);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(90, 190, 170, 0.2);
    backdrop-filter: blur(10px);
}

.demo-form .form-group {
    margin-bottom: 1.5rem;
}

.demo-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-light);
}

.demo-form input,
.demo-form select,
.demo-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(90, 190, 170, 0.2);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: rgba(30, 35, 54, 0.6);
    color: var(--white);
}

.demo-form input::placeholder,
.demo-form textarea::placeholder {
    color: rgba(203, 213, 225, 0.5);
}

.demo-form input:focus,
.demo-form select:focus,
.demo-form textarea:focus {
    outline: none;
    border-color: var(--accent-teal);
    box-shadow: 0 0 0 4px rgba(90, 190, 170, 0.15);
    background: rgba(30, 35, 54, 0.8);
}

.demo-form textarea {
    resize: vertical;
}

.demo-form .btn-primary {
    background-color: var(--accent-teal);
    color: var(--white);
}

.demo-form .btn-primary:hover {
    background-color: var(--accent-green);
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 3rem;
}

.success-icon {
    width: 80px;
    height: 80px;
    background-color: var(--success-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 1.5rem;
    animation: successPop 0.5s ease;
}

@keyframes successPop {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.success-message h3 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.success-message p {
    font-size: 1.125rem;
    color: var(--text-muted);
}

/* Footer */
#footer {
    background-color: var(--footer-bg);
    color: var(--white);
    padding: 60px 0 20px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.footer-brand .logo-image {
    height: 50px;
}

.footer-brand p {
    opacity: 0.8;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

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

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-column a:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-cta {
        display: block;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-text {
        text-align: center;
    }

    .hero-visual {
        order: -1;
    }

    .hero-chart {
        max-width: 300px;
    }

    .hero-content {
        padding: 6rem 2rem 3rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-tagline {
        text-align: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .demo-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .metrics {
        gap: 2rem;
    }

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons button {
        width: 100%;
    }

    .demo-form-container {
        padding: 1.5rem;
    }
}