/* ========================================
   CSS Variables for Theming
   ======================================== */

:root {
    --primary: #1E3A8A;
    --primary-dark: #1E40AF;
    --primary-light: #DBEAFE;
    --bg-main: #FFFFFF;
    --bg-alt: #F8FAFC;
    --text-dark: #0F172A;
    --text-light: #475569;
    --border: rgba(30, 58, 138, 0.12);
    --shadow: rgba(30, 58, 138, 0.08);
}

/* ========================================
   Global Styles
   ======================================== */

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

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

main {
    scroll-snap-type: y mandatory;
}

.full-width-container {
    width: 100%;
}

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

/* ========================================
   Header Styles
   ======================================== */

header {
    background-color: var(--bg-main);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 3px var(--shadow);
    scroll-snap-align: start;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    width: 180px;
    height: auto;
    transition: opacity 0.3s ease;
}

.logo img:hover {
    opacity: 0.8;
}

.cta-button-header {
    background-color: transparent;
    color: var(--primary);
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary);
    border-radius: 5px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button-header:hover {
    background-color: var(--primary);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px var(--shadow);
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    padding: 6rem 0 8rem;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-main) 0%, var(--primary-light) 100%);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 3rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-cta {
    animation: fadeInUp 0.8s ease 0.4s both;
}

/* ========================================
   Button Styles
   ======================================== */

.cta-button {
    background-color: var(--primary);
    color: #FFFFFF;
    padding: 1rem 2.5rem;
    border-radius: 5px;
    border: none;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px var(--shadow);
}

/* ========================================
   Section Styles
   ======================================== */

section {
    padding: 5rem 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 1.5rem;
}

.section-intro {
    font-size: 1.2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--text-light);
}

/* ========================================
   Problem Section
   ======================================== */

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

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

.problem-card {
    background-color: var(--bg-main);
    padding: 2.5rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 2px 8px var(--shadow);
}

.problem-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px var(--shadow);
}

.problem-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.problem-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

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

/* ========================================
   Solution Section
   ======================================== */

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

.solution-highlight {
    background-color: var(--bg-main);
    padding: 3rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary);
    margin-top: 2rem;
    box-shadow: 0 4px 12px var(--shadow);
}

.solution-text h3 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.solution-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.check-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.check-list li {
    font-size: 1.1rem;
    color: var(--primary);
    padding: 0.5rem 0;
}

/* ========================================
   Features Section
   ======================================== */

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.feature-card {
    background-color: var(--bg-main);
    padding: 3rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px var(--shadow);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 50px var(--shadow);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.feature-card > p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
    margin-top: 1.5rem;
}

.feature-list li {
    font-size: 1rem;
    color: var(--text-light);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.feature-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* ========================================
   Traction Section
   ======================================== */

.traction-section {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    padding: 6rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    border: 2px solid #FFFFFF;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px var(--shadow);
}

.stat-card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 50px var(--shadow);
}

.stat-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1;
}

.stat-label {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 400;
}

/* ========================================
   Why Section
   ======================================== */

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

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

.why-card {
    background-color: var(--bg-main);
    padding: 2.5rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px var(--shadow);
}

.why-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px var(--shadow);
}

.why-card h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.why-card p {
    font-size: 1rem;
    line-height: 1.8;
}

/* ========================================
   CTA Section
   ======================================== */

.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 5rem 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    color: #FFFFFF;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.3rem;
    color: #FFFFFF;
    margin-bottom: 2rem;
}

.cta-section .cta-button {
    background-color: #FFFFFF;
    color: var(--text-dark);
    border: 2px solid #FFFFFF;
}

.cta-section .cta-button:hover {
    background-color: var(--primary-light);
    color: var(--text-dark);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px var(--shadow);
}

/* ========================================
   Footer
   ======================================== */

footer {
    background-color: var(--bg-main);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid var(--border);
    scroll-snap-align: end;
}

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

/* ========================================
   Modal Styles
   ======================================== */

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--bg-main);
    margin: 10% auto;
    padding: 3rem;
    border: 2px solid var(--primary);
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: slideIn 0.4s ease;
    box-shadow: 0 20px 60px var(--shadow);
}

.close-btn {
    color: var(--text-light);
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-btn:hover,
.close-btn:focus {
    color: var(--primary);
}

.modal-content h2 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.modal-content p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.notify-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.notify-form input[type="email"] {
    padding: 1rem;
    border: 2px solid var(--border);
    background-color: var(--bg-main);
    color: var(--text-dark);
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.notify-form input[type="email"]::placeholder {
    color: var(--text-light);
}

/* ========================================
   Animations
   ======================================== */

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

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .logo img {
        width: 200px;
    }

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

    .hero-subtitle {
        font-size: 1.1rem;
    }

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

    .section-intro {
        font-size: 1rem;
    }

    .problem-grid,
    .features-grid,
    .why-grid,
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .solution-highlight {
        padding: 2rem;
    }

    .check-list {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 3rem;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .cta-section p {
        font-size: 1.1rem;
    }

    .modal-content {
        margin: 20% auto;
        padding: 2rem;
    }

    section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero {
        padding: 4rem 0 5rem;
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .cta-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

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

    .problem-card,
    .feature-card,
    .why-card {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}
