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

:root {
    --color-primary: #0c6b82;
    --color-primary-dark: #094d5e;
    --color-primary-light: #ddf4f8;
    --color-accent: #06b6d4;
    --color-text: #1e293b;
    --color-text-light: #64748b;
    --color-bg: #ffffff;
    --color-bg-alt: #f8fafc;
    --color-border: #e2e8f0;
    --color-problem-bg: #fef7f0;
    --color-problem-border: #fde0c8;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --radius: 8px;
    --radius-lg: 12px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3 {
    line-height: 1.2;
}

/* === Sticky CTA Banner === */
.sticky-cta {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--color-primary);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.sticky-cta.visible {
    transform: translateY(0);
}

.sticky-cta-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.sticky-cta-text {
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
}

.sticky-cta-form .form-group {
    display: flex;
    gap: 6px;
}

.sticky-cta-form input[type="email"] {
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    outline: none;
    width: 220px;
    transition: border-color 0.2s;
}

.sticky-cta-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.sticky-cta-form input[type="email"]:focus {
    border-color: white;
    background: rgba(255, 255, 255, 0.15);
}

.sticky-cta-form button {
    padding: 8px 16px;
    background: white;
    color: var(--color-primary);
    border: none;
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}

.sticky-cta-form button:hover {
    background: #f0f9ff;
}

.sticky-cta .form-success {
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius);
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
}

/* === Nav === */
.nav {
    padding: 20px 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--color-primary);
}

.logo span {
    color: var(--color-accent);
}

/* === Badge === */
.badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}

/* === Hero === */
.hero {
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-bg) 60%);
    padding-bottom: 100px;
}

.hero-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 24px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero h1 {
    font-size: 3.25rem;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 16px;
}

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

.subtitle {
    font-size: 1.2rem;
    color: var(--color-text-light);
    margin-bottom: 32px;
    max-width: 500px;
}

/* === Hero Form Block === */
.hero-form-block {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 24px;
}

/* === Social Proof === */
.social-proof {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-top: 14px;
    font-weight: 500;
}

.social-proof::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    margin-right: 8px;
    vertical-align: middle;
}

/* === Newsletter Form === */
.newsletter-form .form-group {
    display: flex;
    gap: 8px;
    max-width: 480px;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 14px 18px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
    outline: none;
    min-width: 0;
}

.newsletter-form input[type="email"]:focus {
    border-color: var(--color-primary);
}

.newsletter-form button {
    padding: 14px 28px;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(12, 107, 130, 0.25);
}

.newsletter-form button:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(12, 107, 130, 0.3);
}

.newsletter-form button:active {
    transform: translateY(0);
}

.newsletter-form button:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
}

.btn-arrow {
    margin-left: 6px;
    display: inline-block;
    transition: transform 0.2s;
}

.newsletter-form button:hover .btn-arrow {
    transform: translateX(3px);
}

.form-privacy {
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-top: 10px;
    max-width: 480px;
}

.form-success {
    padding: 14px 18px;
    background: #ecfdf5;
    border: 2px solid #6ee7b7;
    border-radius: var(--radius);
    color: #065f46;
    font-weight: 500;
    max-width: 480px;
}

/* === Dashboard Mock (CSS-only) === */
.dashboard-mock {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.mock-header {
    background: #f1f5f9;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--color-border);
}

.mock-dots {
    display: flex;
    gap: 6px;
}

.mock-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
}

.mock-dot:first-child { background: #fca5a5; }
.mock-dot:nth-child(2) { background: #fcd34d; }
.mock-dot:nth-child(3) { background: #86efac; }

.mock-url {
    font-size: 0.7rem;
    color: var(--color-text-light);
    background: white;
    padding: 3px 12px;
    border-radius: 4px;
    border: 1px solid var(--color-border);
    flex: 1;
    text-align: center;
}

.mock-body {
    display: flex;
    min-height: 260px;
}

.mock-sidebar {
    width: 48px;
    background: #f8fafc;
    border-right: 1px solid var(--color-border);
    padding: 14px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.mock-nav-item {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    transition: background 0.2s, color 0.2s;
}

.mock-nav-item.active {
    background: var(--color-primary-light);
    color: var(--color-primary);
}

.mock-content {
    flex: 1;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mock-content-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.mock-title {
    height: 12px;
    width: 120px;
    border-radius: 4px;
    background: var(--color-text);
    opacity: 0.15;
}

.mock-badge-pill {
    font-size: 0.6rem;
    padding: 2px 8px;
    border-radius: 50px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    font-weight: 600;
}

.mock-cards-row {
    display: flex;
    gap: 10px;
}

.mock-stat-card {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
}

.mock-stat-label {
    height: 6px;
    width: 50%;
    border-radius: 3px;
    background: #e2e8f0;
    margin-bottom: 8px;
}

.mock-stat-value {
    height: 16px;
    width: 60%;
    border-radius: 4px;
}

.mock-stat-value.blue {
    background: linear-gradient(90deg, var(--color-primary-light) 0%, var(--color-accent) 100%);
    opacity: 0.5;
}

.mock-stat-value.green {
    background: linear-gradient(90deg, #d1fae5 0%, #6ee7b7 100%);
    opacity: 0.5;
}

.mock-row {
    height: 10px;
    border-radius: 4px;
    background: #f1f5f9;
}

.mock-row.short {
    width: 60%;
}

/* === Problems Section === */
.problems {
    padding: 100px 0;
    background: var(--color-bg);
}

.problems h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 48px;
}

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

.problem-card {
    padding: 28px;
    background: var(--color-problem-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-problem-border);
    transition: transform 0.2s, box-shadow 0.2s;
}

.problem-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.problem-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.problem-card h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: #9a3412;
}

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

.solution-banner {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    padding: 32px 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
}

.solution-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.08) 0%, transparent 60%);
    pointer-events: none;
}

.solution-banner p {
    position: relative;
}

.solution-banner strong {
    font-weight: 700;
}

/* === Features Section === */
.features {
    padding: 100px 0;
    background: var(--color-bg-alt);
}

.features h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 48px;
}

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

.feature-card {
    background: white;
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-primary-light);
    color: var(--color-primary);
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

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

/* === Trust Indicators === */
.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

.trust-item svg {
    color: #22c55e;
    flex-shrink: 0;
}

/* === How It Works === */
.how-it-works {
    padding: 100px 0;
    background: var(--color-bg);
}

.how-it-works h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 48px;
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 50%;
    transform: translateX(-50%);
    width: 55%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-border) 0%, var(--color-primary) 50%, var(--color-border) 100%);
    z-index: 0;
}

.step {
    text-align: center;
    flex: 0 1 240px;
    padding: 0 16px;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-primary);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 0 0 6px white;
}

.step h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.step p {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.step-connector {
    width: 60px;
    height: 2px;
    background: transparent;
    margin-top: 28px;
    flex-shrink: 0;
}

/* === CTA Section === */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.cta-urgency {
    font-size: 0.95rem;
    font-weight: 600;
    opacity: 0.85;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}

.cta > .container > p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.cta .newsletter-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta .newsletter-form .form-group {
    max-width: 480px;
    width: 100%;
}

.cta .newsletter-form input[type="email"] {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.cta .newsletter-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.cta .newsletter-form input[type="email"]:focus {
    border-color: white;
    background: rgba(255, 255, 255, 0.15);
}

.cta .newsletter-form button {
    background: white;
    color: var(--color-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.cta .newsletter-form button:hover {
    background: #f0f9ff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cta .form-privacy {
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

.cta .form-success {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    color: white;
}

/* === Footer === */
.footer {
    padding: 48px 0 24px;
    background: var(--color-text);
    color: #94a3b8;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 24px;
    border-bottom: 1px solid #334155;
}

.footer-brand .logo {
    color: white;
    display: inline-block;
    margin-bottom: 8px;
}

.footer-brand .logo span {
    color: var(--color-accent);
}

.footer-brand p {
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 24px;
    font-size: 0.8rem;
    text-align: center;
}

.footer-made-in {
    margin-top: 6px;
    color: #64748b;
}

/* === Scroll Animations === */
.fade-in-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-up.delay-1 {
    transition-delay: 0.15s;
}

.fade-in-up.delay-2 {
    transition-delay: 0.3s;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === Responsive === */
@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-visual {
        max-width: 400px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sticky-cta-text {
        display: none;
    }

    .sticky-cta-form input[type="email"] {
        width: 180px;
    }

    .steps::before {
        display: none;
    }
}

@media (max-width: 640px) {
    .hero {
        padding-bottom: 56px;
    }

    .hero-content {
        padding-top: 24px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1.05rem;
    }

    .newsletter-form .form-group {
        flex-direction: column;
    }

    .newsletter-form button {
        width: 100%;
    }

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

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

    .trust-indicators {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .steps {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .steps::before {
        display: none;
    }

    .step-connector {
        width: 2px;
        height: 32px;
        margin-top: 0;
    }

    .step-number {
        box-shadow: none;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
    }

    .problems, .features, .how-it-works, .cta {
        padding: 64px 0;
    }

    h2 {
        font-size: 1.6rem !important;
    }

    .hero-form-block {
        padding: 20px;
    }

    .sticky-cta-form .form-group {
        flex-direction: row;
    }

    .sticky-cta-form input[type="email"] {
        width: 160px;
    }

    .sticky-cta-form button {
        padding: 8px 12px;
    }
}
