*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Base Design Tokens */
:root {
    --primary-color: #1a4f7c;
    --primary-light: #2c6da7;
    --accent-color: #00c2cb;
    --text-dark: #1f2937;
    --text-muted: #4b5563;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --white: #ffffff;
    --black: #000000;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --container-width: 1200px;
}

/* Reset-like base classes */
.site-body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.container-narrow {
    max-width: 900px;
}

.container-medium {
    max-width: 1000px;
}

/* Typography Overrides via classes */
.highlight {
    color: var(--primary-color);
    font-weight: 700;
}

/* Page Loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

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

.loader-brand-name {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(26, 79, 124, 0.1);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Ad Banner Top */
.ad-banner-top {
    background-color: #f3f4f6;
    padding: 10px 0;
    border-bottom: 1px solid #e5e7eb;
}

.ad-text-top {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    font-weight: 500;
}

/* Header */
.header-main {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo .logo-link {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: -1px;
}

.nav-desktop .nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    gap: 30px;
}

.nav-desktop .nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.95rem;
}

.nav-desktop .nav-link:hover {
    color: var(--primary-color);
}

.nav-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(26, 79, 124, 0.2);
}

.nav-cta-btn:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 79, 124, 0.3);
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 5px;
}

.hamburger-menu .bar {
    width: 28px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100vh;
    background-color: var(--bg-white);
    z-index: 2000;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
}

.mobile-nav-overlay.active {
    right: 0;
}

.mobile-nav-content {
    padding: 30px;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.mobile-nav-header .logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.close-menu {
    position: relative;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.close-bar {
    position: absolute;
    top: 14px;
    width: 100%;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 3px;
}

.close-bar-1 {
    transform: rotate(45deg);
}

.close-bar-2 {
    transform: rotate(-45deg);
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-item {
    margin-bottom: 25px;
}

.mobile-nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 1.25rem;
    font-weight: 600;
}

.mobile-cta-btn {
    display: block;
    background: var(--primary-color);
    color: var(--white);
    padding: 15px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    margin-top: 30px;
}

/* Hero Section */
.hero-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 60px;
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 4rem;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: var(--white);
    padding: 16px 36px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 10px 25px rgba(26, 79, 124, 0.2);
    border: 2px solid transparent;
}

.primary-btn:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(26, 79, 124, 0.3);
}

.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 16px 36px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
}

.secondary-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(26, 79, 124, 0.15);
}

.hero-image-box {
    position: relative;
}

.hero-img {
    width: 100%;
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    transform: perspective(1000px) rotateY(-5deg);
}

/* Section Header */
.section-header {
    margin-bottom: 60px;
}

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

.section-tag {
    display: inline-block;
    background: rgba(0, 194, 203, 0.1);
    color: var(--accent-color);
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.75rem;
    color: var(--text-dark);
    margin: 0;
    letter-spacing: -1px;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.featured-img {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

/* Why Us Section */
.why-us-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

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

.feature-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

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

.feature-icon-box {
    width: 60px;
    height: 60px;
    background: rgba(26, 79, 124, 0.05);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
}

.feature-icon {
    font-size: 1.75rem;
}

.feature-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.feature-desc {
    color: var(--text-muted);
    margin: 0;
}

/* Preview Card */
.preview-section {
    padding: 100px 0;
}

.preview-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0d2c48 100%);
    border-radius: 40px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    overflow: hidden;
    color: var(--white);
    box-shadow: 0 30px 60px rgba(13, 44, 72, 0.3);
}

.preview-img-box {
    height: 400px;
}

.preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-content {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.preview-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.preview-text {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.preview-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.preview-item {
    padding-left: 28px;
    position: relative;
    margin-bottom: 12px;
    font-weight: 500;
}

.preview-item::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 800;
}

.cta-banner-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 20px 40px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.25rem;
    text-align: center;
    transition: var(--transition);
}

.cta-banner-btn:hover {
    background: var(--white);
    transform: scale(1.02);
}

/* Testimonials */
.testimonials-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 20px;
    position: relative;
}

.testimonial-rating {
    color: #fbbf24;
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.testimonial-author {
    font-weight: 700;
}

/* FAQ */
.faq-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.faq-accordion {
    background: var(--bg-white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.faq-item {
    border-bottom: 1px solid #f3f4f6;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    padding: 25px 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(26, 79, 124, 0.02);
}

.faq-question .faq-q-text {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 600;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 300;
}

.faq-answer {
    padding: 0 35px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0, 1, 0, 1);
}

.faq-item.active .faq-answer {
    padding: 0 35px 30px 35px;
    max-height: 1000px;
    transition: all 0.5s cubic-bezier(1, 0, 1, 0);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* Footer */
.footer-main {
    background: #0d1e2d;
    color: var(--white);
    padding: 80px 0 40px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-logo {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    margin-bottom: 10px;
}

.footer-tagline {
    opacity: 0.7;
    margin-bottom: 30px;
}

.contact-item {
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.footer-links-group {
    display: flex;
    justify-content: space-between;
}

.footer-title {
    font-size: 1.25rem;
    margin-bottom: 25px;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list .footer-list-item {
    margin-bottom: 12px;
}

.footer-list .footer-link-a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-list .footer-link-a:hover {
    color: var(--accent-color);
}

.footer-ad-disclosure {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 16px;
    margin-bottom: 40px;
}

.ad-disclosure-text {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: center;
    opacity: 0.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    text-align: center;
}

.copyright {
    opacity: 0.5;
    font-size: 0.9rem;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 30px;
    left: 30px;
    right: 30px;
    max-width: 500px;
    background: var(--bg-white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    z-index: 3000;
    display: none;
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

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

.cookie-title {
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.cookie-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.cookie-btns {
    display: flex;
    gap: 15px;
}

.cookie-btn {
    flex: 1;
    padding: 12px;
    border-radius: 10px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.accept-btn {
    background: var(--primary-color);
    color: var(--white);
}

.reject-btn {
    background: #f3f4f6;
    color: var(--text-dark);
}

.accept-btn:hover {
    background: var(--primary-light);
}

.reject-btn:hover {
    background: #e5e7eb;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 4000;
    padding: 20px;
}

.modal-card {
    background: var(--bg-white);
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal-header {
    padding: 30px;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    margin: 0;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-muted);
}

.modal-body {
    padding: 40px;
    overflow-y: auto;
    font-size: 1.05rem;
}

.modal-text {
    margin-bottom: 20px;
}

/* Responsiveness */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.25rem;
    }

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

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

@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: -1;
    }

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

    .preview-card {
        grid-template-columns: 1fr;
    }

    .preview-img-box {
        height: 250px;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links-group {
        flex-direction: column;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 2rem;
    }

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

    .primary-btn,
    .secondary-btn {
        width: 100%;
        text-align: center;
    }

    .cookie-popup {
        left: 15px;
        right: 15px;
        bottom: 15px;
    }

    .cookie-btns {
        flex-direction: column;
    }
}