@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&display=swap');

:root {
    --primary-navy: #0a192f;
    --secondary-navy: #112240;
    --accent-gold: #fbbf24;
    --accent-gold-hover: #f59e0b;
    --text-white: #e6f1ff;
    --text-gray: #8892b0;
    --pure-white: #ffffff;
    --bg-light: #f8fafc;
    --transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
    --container-width: 1100px;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--primary-navy);
    background-color: var(--pure-white);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3 {
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-gray);
}

/* Layout Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 100px 0;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--primary-navy);
    box-shadow: 0 10px 30px -10px rgba(251, 191, 36, 0.5);
}

.btn-primary:hover {
    background-color: var(--accent-gold-hover);
    transform: translateY(-3px);
    box-shadow: 0 20px 30px -15px rgba(251, 191, 36, 0.5);
}

/* Header */
header {
    height: 80px;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #e2e8f0;
}

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

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

/* Hero Section */
.hero {
    background-color: var(--primary-navy);
    color: var(--text-white);
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 150%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    max-width: 900px;
    margin-bottom: 2rem;
    color: #fff;
}

.hero p {
    font-size: 1.25rem;
    max-width: 700px;
    color: var(--text-gray);
    margin-bottom: 3rem;
}

.hero-cta {
    margin-bottom: 2rem;
}

/* Problem Section */
.problems {
    background-color: var(--bg-light);
}

.section-title {
    margin-bottom: 4rem;
}

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

.problem-card {
    background: #fff;
    padding: 0; /* Changed to allow image to cover top */
    border-radius: 16px;
    box-shadow: 0 10px 40px -15px rgba(0,0,0,0.05);
    transition: var(--transition);
    border: 1px solid #edf2f7;
    overflow: hidden; /* Ensure image doesn't overflow corners */
}

.problem-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px -20px rgba(0,0,0,0.1);
}

.problem-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.problem-card-content {
    padding: 2rem;
}

.problem-card h3 {
    font-size: 1.4rem;
    color: var(--primary-navy);
    margin-bottom: 1.5rem;
}

.problem-card p {
    font-size: 1rem;
}

/* Solution Section */
.solution {
    background-color: var(--pure-white);
}

.roadmap {
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.roadmap-item {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding: 2rem;
    border-left: 4px solid var(--accent-gold);
    background: var(--bg-light);
    border-radius: 0 16px 16px 0;
}

.roadmap-week {
    font-weight: 800;
    color: var(--accent-gold);
    font-size: 1.2rem;
    white-space: nowrap;
}

.roadmap-content h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.no-list {
    list-style: none;
    margin-top: 3rem;
}

.no-list li {
    padding: 1rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
}

.no-list li span {
    color: #ef4444;
}

/* Benefits Section */
.benefits {
    background-color: var(--primary-navy);
    color: var(--text-white);
}

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

.benefit-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.benefit-card h3 {
    color: var(--accent-gold);
}

/* Final CTA */
.final-cta {
    background-color: var(--bg-light);
    padding: 120px 0;
}

.cta-box {
    background: var(--pure-white);
    padding: 5rem 3rem;
    border-radius: 24px;
    box-shadow: 0 30px 60px -20px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
}

.trust-elements {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--text-gray);
}

.trust-item svg {
    color: #10b981;
}

/* Responsive */
@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .cta-box {
        padding: 3rem 1.5rem;
    }
    
    .roadmap-item {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Modal / Popup Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(8px);
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 1rem;
}

.modal-content {
    background: #fff;
    width: 100%;
    max-width: 500px;
    max-height: 90vh; /* Added to prevent overflow */
    overflow-y: auto; /* Added to allow scrolling if content is long */
    border-radius: 24px;
    padding: 3rem 2rem;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: modalIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalIn {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-gray);
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--primary-navy);
}

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

.modal-header h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .modal-content {
        padding: 2rem 1.5rem;
        width: 95%;
        border-radius: 20px;
    }
    
    .modal-header h2 {
        font-size: 1.5rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .modal-close {
        top: 1rem;
        right: 1rem;
    }
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-input {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.1);
}

textarea.form-input {
    resize: vertical;
    min-height: 100px;
}

.error-message {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 0.4rem;
    display: none;
}

.form-input.invalid {
    border-color: #ef4444;
}

.form-input.invalid + .error-message {
    display: block;
}

/* Images handling */
.solution-img-wrapper {
    margin-top: 3rem;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.solution-img {
    width: 100%;
    display: block;
}

.hero-img-overlay {
    margin-top: 4rem;
    max-width: 900px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
}

/* Sticky CTA Bar */
.sticky-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
    z-index: 999;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.sticky-cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.sticky-text {
    color: #fff;
}

.sticky-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0;
    color: var(--accent-gold);
}

.sticky-text p {
    font-size: 0.9rem;
    margin-bottom: 0;
    opacity: 0.8;
}

.sticky-cta-bar .btn {
    padding: 0.8rem 2rem;
    font-size: 0.95rem;
}

/* Adjust body padding so content isn't hidden by sticky bar */
body {
    padding-bottom: 80px;
}

@media (max-width: 768px) {
    .sticky-cta-bar {
        padding: 0.8rem 1rem;
    }
    
    .sticky-cta-container {
        padding: 0;
    }
    
    .sticky-text {
        display: none; /* Hide text on mobile to save space */
    }
    
    .sticky-cta-bar .btn {
        width: 100%;
        font-size: 1rem;
        text-align: center;
    }
    
    body {
        padding-bottom: 70px;
    }
}
.thank-you-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-light);
    padding: 2rem;
}

.thank-you-container {
    background: #fff;
    padding: 4rem 2rem;
    border-radius: 32px;
    box-shadow: 0 40px 100px -20px rgba(10, 25, 47, 0.1);
    max-width: 600px;
    width: 100%;
    text-align: center;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #10b981;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 2rem;
    box-shadow: 0 15px 30px -5px rgba(16, 185, 129, 0.4);
}

.thank-you-container h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-navy);
}

.thank-you-container p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--text-gray);
}

.social-cta {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
}

.social-cta h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}
