/* Reset & Base Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --color-brand-primary: #211b52;
    --color-brand-secondary: #005a71;
    --color-brand-accent: #49b596;
    --color-brand-cta: #ffff35;
    --color-text-white: #ffffff;
    --color-text-slate-300: #cbd5e1;
    --color-text-slate-400: #94a3b8;
    --color-text-slate-500: #64748b;
    
    --font-sans: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--color-brand-primary);
    color: var(--color-text-white);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.5;
}

/* Background Effects */
.bg-grid-white {
    position: fixed;
    inset: 0;
    background-size: 40px 40px;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    opacity: 0.2;
    pointer-events: none;
    z-index: 0;
}

.ambient-glow {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 500px;
    background-color: rgba(0, 90, 113, 0.3);
    filter: blur(100px);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.content-wrapper {
    position: relative;
    z-index: 10;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
header {
    padding: 1.5rem 0;
    display: flex;
    justify-content: center;
}

.logo {
    height: 3rem;
    object-fit: contain;
    filter: drop-shadow(0 10px 8px rgb(0 0 0 / 0.04)) drop-shadow(0 4px 3px rgb(0 0 0 / 0.1));
}

/* Hero Section */
.hero-section {
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
    padding-top: 1rem;
}

/* Pill Badge */
.pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    border: 1px solid rgba(73, 181, 150, 0.3);
    background-color: rgba(0, 90, 113, 0.2);
    backdrop-filter: blur(4px);
    margin-bottom: 2rem;
}

.pulse-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: var(--color-brand-accent);
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.pill-badge span {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--color-brand-accent);
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .pill-badge span {
        font-size: 0.875rem;
    }
}

/* Typography */
.headline {
    font-size: 2.25rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .headline {
        font-size: 3.75rem;
    }
}

.text-brand-cta { color: var(--color-brand-cta); }
.text-brand-accent { color: var(--color-brand-accent); }
.text-brand-secondary { color: var(--color-brand-secondary); }
.text-white { color: var(--color-text-white); }
.text-slate-500 { color: var(--color-text-slate-500); }

.subheadline {
    font-size: 1.125rem;
    color: var(--color-text-slate-300);
    max-width: 42rem;
    margin: 0 auto;
    line-height: 1.625;
}

@media (min-width: 768px) {
    .subheadline {
        font-size: 1.25rem;
    }
}

/* Mockup Card */
.mockup-card {
    margin: 3rem auto 0;
    max-width: 24rem;
    background-color: #1a1540;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s;
}

@media (min-width: 768px) {
    .mockup-card {
        max-width: 28rem;
    }
}

.mockup-card:hover {
    border-color: rgba(73, 181, 150, 0.3);
}

.glow-effect {
    position: absolute;
    top: 0;
    right: 0;
    width: 8rem;
    height: 8rem;
    background-color: rgba(0, 90, 113, 0.2);
    filter: blur(48px);
    border-radius: 50%;
    pointer-events: none;
}

.mockup-header {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-text-slate-400);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    text-align: center;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.metric-card {
    background-color: #252055;
    border-radius: 0.75rem;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.bg-accent-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(73, 181, 150, 0.05);
    pointer-events: none;
}

.metric-label {
    font-size: 0.625rem;
    color: var(--color-text-slate-400);
    text-transform: uppercase;
    text-align: center;
    line-height: 1.25;
    margin-bottom: 0.25rem;
}

.metric-value {
    font-size: 1.25rem;
    font-weight: 700;
}

.metric-sub {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.5625rem;
    margin-top: 0.25rem;
}

.icon-xs {
    width: 0.5rem;
    height: 0.5rem;
}

/* Chart Section */
.chart-section {
    background-color: #252055;
    border-radius: 0.75rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.chart-header {
    font-size: 0.625rem;
    color: var(--color-text-slate-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    text-align: center;
}

.chart-bars {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.chart-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.chart-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-text-slate-300);
    width: 3rem;
}

.chart-track {
    flex: 1;
    height: 0.5rem;
    background-color: rgba(51, 65, 85, 0.5);
    border-radius: 9999px;
    overflow: hidden;
}

.chart-fill {
    height: 100%;
    border-radius: 9999px;
}

.chart-value {
    font-size: 0.75rem;
    font-weight: 700;
}

/* Form Section */
.form-container {
    max-width: 28rem;
    margin: 3rem auto 0;
}

.form-card {
    background-color: rgba(42, 36, 86, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.icon-sm {
    width: 1.25rem;
    height: 1.25rem;
}

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

.form-header p {
    font-size: 0.875rem;
    color: var(--color-text-slate-400);
}

.form-group {
    margin-bottom: 1.25rem;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-brand-accent);
    margin-bottom: 0.5rem;
    margin-left: 0.25rem;
}

.form-group input {
    width: 100%;
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    background-color: #1e1945;
    border: 1px solid #475569;
    color: var(--color-text-white);
    font-family: var(--font-sans);
    outline: none;
    transition: all 0.2s;
}

.form-group input::placeholder {
    color: #64748b;
}

.form-group input:focus {
    border-color: transparent;
    box-shadow: 0 0 0 2px var(--color-brand-accent);
}

button {
    width: 100%;
    background-color: var(--color-brand-cta);
    color: var(--color-brand-primary);
    font-weight: 900;
    font-size: 1.125rem;
    padding: 1.25rem;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(255, 255, 53, 0.3);
    transition: transform 0.1s, background-color 0.2s;
    margin-top: 1rem;
    font-family: var(--font-sans);
}

button:hover {
    background-color: #fde047; /* yellow-300 */
    transform: translateY(-4px);
}

button:active {
    transform: translateY(0);
}

button:disabled {
    cursor: default;
    transform: none;
}

button.success {
    background-color: #22c55e; /* green-500 */
    color: white;
    box-shadow: none;
}

/* Benefits Section */
.benefits-grid {
    max-width: 64rem;
    margin: 3rem auto 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.benefit-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 1rem;
    backdrop-filter: blur(4px);
    transition: background-color 0.2s;
}

.benefit-card:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.benefit-icon {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--color-brand-accent);
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-text-white);
    margin-bottom: 0.5rem;
}

.benefit-card p {
    font-size: 0.875rem;
    color: var(--color-text-slate-400);
    line-height: 1.625;
}

/* Social Proof */
.social-proof {
    margin-top: 3rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2.5rem;
}

.social-proof h2 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-brand-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2.5rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 56rem;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.testimonial-card {
    background-color: #2a2456;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: border-color 0.2s;
}

.testimonial-card:hover {
    border-color: rgba(73, 181, 150, 0.3);
}

.stars-badge {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-brand-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.stars {
    display: flex;
    gap: 0.25rem;
    color: var(--color-brand-cta);
}

.star-icon {
    width: 0.875rem;
    height: 0.875rem;
    fill: currentColor;
}

.testimonial-card p {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--color-text-white);
    margin-bottom: 1rem;
    line-height: 1.625;
}

.author {
    font-weight: 700;
    color: var(--color-brand-accent);
}

/* Footer */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(26, 21, 64, 0.5);
    padding: 3rem 0;
    font-size: 0.75rem;
    color: var(--color-text-slate-500);
    margin-top: 5rem;
}

.footer-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.footer-links a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

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

.disclaimer {
    max-width: 42rem;
    margin: 0 auto;
    line-height: 1.625;
    opacity: 0.6;
}

/* Animations */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.fade-in-scale {
    opacity: 0;
    transform: scale(0.95);
    animation: fadeInScale 0.6s ease-out forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

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

@keyframes fadeInScale {
    to {
        opacity: 1;
        transform: scale(1);
    }
}
