/* ===== SPA Page Routing ===== */
.page {
    display: none;
}

.page.active {
    display: block;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Karla', sans-serif;
    line-height: 1.6;
    color: #54595F;
    background-color: #f9f9f9;
}

a {
    color: #024B40;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #5D353E;
}

/* ===== Container ===== */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Header & Navigation ===== */
.header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    padding: 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 70px;
}

.navbar-brand a {
    display: flex;
    align-items: center;
}

.navbar-brand img {
    display: block;
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 0;
}

.navbar-menu a {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    color: #000000;
    padding: 0 0 0 40px;
    line-height: 1.5em;
    transition: color 0.3s ease;
    display: block;
}

.navbar-menu a:hover {
    color: #AAAAAA;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: #024B40;
    color: white;
}

.btn-primary:hover {
    background-color: #5D353E;
    color: white;
}

.btn-secondary {
    background-color: transparent;
    color: #024B40;
    border: 2px solid #024B40;
}

.btn-secondary:hover {
    background-color: #024B40;
    color: white;
}

.btn-large {
    padding: 16px 48px;
    font-size: 16px;
}

.btn-block {
    display: block;
    width: 100%;
}

/* ===== Hero Section ===== */
.hero {
    color: white;
    text-align: center;
}

.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
    color: #FE5858;
}

.hero .lead {
    font-family: 'Karla', sans-serif;
    font-size: 22px;
    margin-bottom: 40px;
    opacity: 0.9;
    color: #5D353E;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero .btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.hero .btn-secondary:hover {
    background-color: white;
    color: #024B40;
}

/* ===== Sections ===== */
section {
    margin-top: 100px;
    padding: 80px 20px;
}

section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    margin-bottom: 40px;
    text-align: center;
    color: #024B40;
    font-weight: 700;
}

/* ===== About Section ===== */
.about {
    background-color: white;
}

.about p {
    font-size: 18px;
    margin-bottom: 20px;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #54595F;
}

/* ===== Stats Section ===== */
.stats {
    background-color: #f0f8ff;
}

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

.stat-card {
    text-align: center;
    padding: 30px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #FE5858;
    margin-bottom: 10px;
}

.stat-label {
    font-family: 'Karla', sans-serif;
    font-size: 16px;
    color: #54595F;
}

/* ===== Features Section ===== */
.features {
    background-color: white;
}

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

.feature-card {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid #024B40;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(2, 75, 64, 0.15);
}

.feature-card h3 {
    font-family: 'Montserrat', sans-serif;
    color: #024B40;
    margin-bottom: 15px;
    font-size: 17px;
    font-weight: 700;
}

.feature-card p {
    color: #54595F;
    line-height: 1.7;
}

/* ===== Packages Section ===== */
.packages {
    background-color: #f0f8ff;
}

.section-intro {
    text-align: center;
    font-size: 18px;
    margin-bottom: 50px;
    color: #54595F;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.package-card {
    background-color: white;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(2, 75, 64, 0.2);
}

.package-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    color: #024B40;
    margin-bottom: 20px;
    font-weight: 700;
}

.price {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    color: #FE5858;
    font-weight: 700;
    margin-bottom: 10px;
}

.price .period {
    font-size: 16px;
    color: #54595F;
}

.features-list {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.features-list li {
    padding: 10px 0;
    color: #54595F;
    border-bottom: 1px solid #eee;
}

.features-list li:before {
    content: "✓ ";
    color: #024B40;
    font-weight: bold;
    margin-right: 10px;
}

.trial-info {
    text-align: center;
    background-color: #e8f4f8;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
}

.trial-info p {
    color: #024B40;
    font-weight: 500;
}

/* ===== How It Works Section ===== */
.how-it-works {
    background-color: white;
}

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

.step-card {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    border-top: 4px solid #024B40;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.1);
}

.step-card h3 {
    font-family: 'Montserrat', sans-serif;
    color: #024B40;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.step-card h4 {
    font-family: 'Montserrat', sans-serif;
    color: #5D353E;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
}

.step-card p {
    color: #54595F;
    line-height: 1.7;
}

/* ===== Stream Integration Section ===== */
.stream-integration {
    background-color: #f0f8ff;
}

.stream-integration p {
    font-size: 18px;
    color: #54595F;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* ===== CTA Section ===== */
.cta-section {
    color: white;
    text-align: center;
}

.cta-section h2 {
    color: #FE5858;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
    color: black;
}

/* ===== Page Header ===== */
.page-header {
    color: black;
    padding: 60px 20px;
    text-align: center;
}

.page-header h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 42px;
    margin-bottom: 10px;
    font-weight: 700;
    color: #024b40;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

/* ===== Content Section ===== */
.content-section {
    background-color: white;
    padding: 60px 20px;
}

.content-box {
    max-width: 800px;
    margin: 0 auto;
}

.content-box h2 {
    text-align: left;
    margin-top: 40px;
    margin-bottom: 20px;
}

.content-box h3 {
    font-family: 'Montserrat', sans-serif;
    color: #024B40;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 700;
}

.content-box p {
    color: #54595F;
    line-height: 1.8;
    margin-bottom: 15px;
}

.info-box {
    background-color: #e8f4f8;
    padding: 25px;
    border-radius: 8px;
    margin-top: 30px;
    border-left: 4px solid #024B40;
}

.info-box h3 {
    margin-top: 0;
}

/* ===== Contact Section ===== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding-top: 20px;
}

.contact-info h2 {
    text-align: left;
    margin-top: 0;
}

.info-item {
    margin-bottom: 30px;
}

.info-item h4 {
    font-family: 'Montserrat', sans-serif;
    color: #024B40;
    margin-bottom: 10px;
    font-weight: 700;
}

.info-item p, .info-item ul {
    color: #54595F;
}

.info-item ul {
    list-style-position: inside;
}

.info-item ul li {
    margin-bottom: 8px;
}

/* ===== Contact Form ===== */
.contact-form-container h2 {
    text-align: left;
}

.form-note {
    background-color: #f0f8ff;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #024B40;
}

.contact-form {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #54595F;
    font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Karla', sans-serif;
    font-size: 16px;
    color: #54595F;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #024B40;
}

.form-group textarea {
    resize: vertical;
}

.form-group.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-group.checkbox input[type="checkbox"] {
    margin-top: 4px;
}

.form-group.checkbox label {
    margin: 0;
    font-size: 14px;
}

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

/* ===== Legal Content ===== */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    text-align: left;
    margin-top: 0;
}

.legal-content p {
    color: #54595F;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* ===== Footer ===== */
.footer {
    background-color: #b2d6ca;
    color: white;
    padding: 50px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 15px;
    color: #000000;
}

.footer-section p {
    font-size: 14px;
    color: #000000;
    margin-bottom: 10px;
}

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

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #000000;
}

.footer-section a:hover {
    color: #FE5858;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
    font-size: 14px;
    color: #000000;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        height: auto;
        padding: 10px 20px;
    }

    .navbar-menu {
        flex-direction: column;
        gap: 0;
        margin-top: 15px;
        width: 100%;
    }

    .navbar-menu a {
        padding: 8px 0;
        font-size: 12px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero .lead {
        font-size: 18px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        padding: 12px 20px;
        font-size: 13px;
    }

    section h2 {
        font-size: 28px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-info h2 {
        margin-top: 30px;
    }

    .contact-form-container h2:first-child {
        margin-top: 0;
    }
}

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

    .hero h1 {
        font-size: 28px;
    }

    .hero .lead {
        font-size: 16px;
    }

    section {
        padding: 40px 15px;
    }

    section h2 {
        font-size: 24px;
    }

    .navbar-brand a {
        font-size: 18px;
    }

    .navbar-menu {
        font-size: 12px;
    }
}
