:root {
    --primary-color: #0d47a1;
    /* Professional Blue */
    --primary-dark: #002171;
    --accent-color: #ff6f00;
    /* Action Orange */
    --accent-hover: #c43e00;
    --text-color: #333;
    --light-bg: #f4f6f8;
    --white: #ffffff;
    --success-green: #2e7d32;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: 0.3s ease;
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
}

/* Typography */
h1,
h2,
h3,
h4 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

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

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

.btn-block {
    width: 100%;
}

/* Layout */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

section {
    padding: 4rem 0;
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 800;
    font-size: 1.5rem;
}

.logo img {
    height: 60px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(13, 71, 161, 0.9), rgba(13, 71, 161, 0.9)), url('../assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 6rem 0;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

.cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

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

.card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.problem {
    border-left: 5px solid #d32f2f;
}

.solution {
    border-left: 5px solid var(--success-green);
}

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

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Demo Section */
.demo-section {
    background: linear-gradient(180deg, #ffffff 0%, #eef4ff 100%);
    border-top: 1px solid rgba(13, 71, 161, 0.08);
    border-bottom: 1px solid rgba(13, 71, 161, 0.08);
}

.demo-section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 2.75rem;
}

.demo-section-header p {
    color: #556070;
    font-size: 1.02rem;
    line-height: 1.7;
    margin: 0;
}

.demo-layout {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
}

.demo-copy-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(13, 71, 161, 0.08);
    box-shadow: 0 12px 28px rgba(13, 71, 161, 0.08);
    position: sticky;
    top: 96px;
}

.demo-copy-card h3 {
    margin-bottom: 0.9rem;
}

.demo-copy-card p {
    color: #556070;
}

.demo-points {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 1.6rem;
}

.demo-points li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.85rem;
    color: #334155;
}

.demo-points li::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-color);
    position: absolute;
    left: 0;
    top: 0.55rem;
}

.demo-frame-note {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 1rem;
    margin-bottom: 0;
}

.demo-frame-wrap {
    background: linear-gradient(180deg, #f7f9fc 0%, #edf2fb 100%);
    border: 1px solid rgba(13, 71, 161, 0.08);
    border-radius: 20px;
    padding: 1rem;
    box-shadow: 0 18px 40px rgba(13, 71, 161, 0.12);
}

.demo-frame-wrap iframe {
    width: 100%;
    height: 760px;
    border: 0;
    border-radius: 14px;
    display: block;
    background: #f6f1ee;
}

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

.pricing-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    border: 1px solid #eee;
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 1rem 0;
}

.period {
    font-size: 1rem;
    color: #666;
    font-weight: normal;
}

.features-list {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.features-list li {
    margin-bottom: 0.5rem;
    padding-left: 20px;
    position: relative;
}

.features-list li::before {
    content: "✔";
    color: var(--success-green);
    position: absolute;
    left: 0;
}

/* ── Contact Section ── */
.contact-section {
    background: linear-gradient(135deg, #f0f4ff 0%, #f8f9ff 50%, #f0f4ff 100%);
    border-top: 1px solid #e4e8f0;
}

.contact-section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3.5rem;
}

.section-badge {
    display: inline-block;
    background: rgba(13, 71, 161, 0.08);
    color: var(--primary-color);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    margin-bottom: 1rem;
    border: 1px solid rgba(13, 71, 161, 0.15);
}

.contact-section-header h2 {
    margin-bottom: 1rem;
}

.contact-section-subtext {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
}

/* Two-column layout */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 2.5rem;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

/* Info panel */
.contact-info-panel {
    background: var(--primary-dark);
    color: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    height: 100%;
}

.contact-info-title {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.contact-info-desc {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.contact-info-items {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-info-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.contact-info-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 0.2rem;
}

.contact-info-value {
    font-size: 0.97rem;
    color: var(--white);
    font-weight: 500;
    text-decoration: none;
}

.contact-info-value:hover {
    color: var(--accent-color);
}

/* Form card */
.contact-form {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06),
                0 8px 24px rgba(0, 0, 0, 0.1),
                0 2px 6px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.contact-form-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1565c0 100%);
    padding: 1.75rem 2rem;
    color: var(--white);
}

.contact-form-header h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 0.4rem;
}

.contact-form-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

.contact-form form {
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.45rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: #374151;
}

.required {
    color: #e53935;
}

.form-group input,
.form-group textarea,
.form-select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.97rem;
    font-family: inherit;
    color: var(--text-color);
    background: #fafafa;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.12);
    background: var(--white);
}

.form-privacy-note {
    text-align: center;
    font-size: 0.8rem;
    color: #888;
    margin: 1rem 0 0;
}

/* Button loading spinner */
.btn-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    vertical-align: middle;
    margin-right: 6px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Form success state */
.form-success {
    padding: 3rem 2rem;
    text-align: center;
}

.form-success-icon {
    font-size: 3rem;
    margin-bottom: 1.25rem;
}

.form-success h3 {
    color: var(--success-green);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.form-success p {
    color: #444;
    font-size: 0.97rem;
    margin-bottom: 0.5rem;
}

.form-success-note {
    margin-top: 1.25rem !important;
    font-size: 0.85rem !important;
    color: #888 !important;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

/* Inline form error */
.form-error-msg {
    color: #c62828;
    font-size: 0.88rem;
    text-align: center;
    margin: 0.75rem 0 0;
    padding: 0.6rem 1rem;
    background: #fff3f3;
    border: 1px solid #fcc;
    border-radius: 6px;
}

/* ── Footer ── */
footer {
    background: var(--primary-dark);
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.4fr;
    gap: 2.5rem;
    padding: 3rem 0 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.8rem;
}

.footer-logo {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: contain;
}

.footer-brand-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 0.3px;
}

.footer-about {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin: 0;
}

.footer-col-title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.footer-links a {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s;
    cursor: pointer;
}

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

.footer-address {
    font-style: normal;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.footer-address strong {
    color: var(--white);
    display: block;
    margin-bottom: 0.2rem;
}

.footer-email {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s;
}

.footer-email:hover {
    color: var(--white);
}

.footer-bottom {
    padding: 1.2rem 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 0.25rem;
}

.footer-delivery-note {
    font-size: 0.75rem !important;
    color: rgba(255, 255, 255, 0.3) !important;
}

/* ── Legal Modals ── */
.legal-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 9000;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.legal-modal.is-open {
    display: flex;
}

.legal-modal-box {
    background: var(--white);
    color: var(--text-color);
    border-radius: 10px;
    max-width: 700px;
    width: 100%;
    max-height: 82vh;
    overflow-y: auto;
    padding: 2.5rem 2.5rem 2rem;
    position: relative;
}

.legal-modal-box h2 {
    color: var(--primary-dark);
    font-size: 1.6rem;
    text-align: left;
    margin-bottom: 0.3rem;
}

.legal-modal-box h3 {
    color: var(--primary-color);
    font-size: 1rem;
    margin: 1.4rem 0 0.4rem;
}

.legal-modal-box p,
.legal-modal-box li {
    font-size: 0.9rem;
    line-height: 1.75;
    color: #444;
}

.legal-modal-box ul {
    padding-left: 1.4rem;
    margin-bottom: 1rem;
}

.legal-effective {
    font-size: 0.78rem !important;
    color: #888 !important;
    margin-bottom: 1.2rem !important;
}

.legal-modal-close {
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    background: none;
    border: none;
    font-size: 1.6rem;
    line-height: 1;
    color: #888;
    cursor: pointer;
    transition: color 0.2s;
}

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

/* Carousel */
.carousel-container {
    max-width: 800px;
    position: relative;
    margin: auto;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.carousel-slide {
    display: none;
    animation: fade 1.5s;
}

.carousel-slide img {
    width: 100%;
    height: 400px;
    /* Fixed height for consistency */
    object-fit: cover;
    vertical-align: middle;
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.3);
}

.prev {
    left: 0;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.caption {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active,
.dot:hover {
    background-color: var(--primary-color);
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 1rem;
        box-shadow: var(--shadow);
    }

    .nav-links.active {
        display: flex;
    }

    .hero {
        padding: 4rem 1rem;
    }

    h1 {
        font-size: 2rem;
    }

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

    .pricing-card.featured {
        transform: none;
    }

    .demo-layout {
        grid-template-columns: 1fr;
    }

    .demo-copy-card {
        position: static;
    }

    .demo-frame-wrap iframe {
        height: 680px;
    }

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

    .contact-info-panel {
        order: 2;
    }

    .contact-form {
        order: 1;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2.5rem 0 1.5rem;
    }

    .legal-modal-box {
        padding: 2rem 1.5rem 1.5rem;
    }
}

/* ── Legal Standalone Pages ── */
.legal-page-banner {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    padding: 3rem 0 2.5rem;
    text-align: center;
}

.legal-page-banner h1 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 0.4rem;
}

.legal-breadcrumb {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 0.6rem;
}

.legal-breadcrumb a {
    color: var(--accent-color);
}

.legal-banner-sub {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}

.legal-content-wrap {
    max-width: 760px;
    margin: 0 auto;
    padding: 2.5rem 1rem 4rem;
}

.legal-content-wrap .sec-heading {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-left: 3px solid var(--accent-color);
    padding-left: 0.7rem;
    margin: 2rem 0 0.6rem;
}

.legal-content-wrap p,
.legal-content-wrap li {
    font-size: 0.92rem;
    line-height: 1.85;
    color: #444;
}

.legal-content-wrap ul {
    padding-left: 1.4rem;
    margin-bottom: 1rem;
}

.legal-content-wrap a {
    color: var(--primary-color);
}

.legal-content-wrap a:hover {
    color: var(--accent-color);
}

.legal-content-wrap hr {
    border: none;
    border-top: 1px solid #e8e8e8;
    margin: 2rem 0;
}

.back-home-btn {
    display: inline-block;
    margin-bottom: 2rem;
    background: var(--light-bg);
    color: var(--primary-dark);
    border: 1px solid #ddd;
    font-size: 0.88rem;
}

.back-home-btn:hover {
    background: #dde3ea;
    color: var(--primary-dark);
}

/* ── About Section ── */
#about {
    padding: 5rem 0;
}

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

.about-text .section-badge {
    display: inline-block;
    margin-bottom: 1rem;
}

.about-text h2 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 1.25rem;
    line-height: 1.25;
}

.about-text p {
    color: #555;
    line-height: 1.75;
    margin-bottom: 1rem;
    font-size: 0.97rem;
}

.about-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 12px;
    border: 1px solid #e0e6ef;
}

.about-meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.about-meta-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #888;
}

.about-meta-value {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.about-meta-value a {
    color: var(--accent-color);
    text-decoration: none;
}

.about-highlight-box {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1565c0 100%);
    border-radius: 20px;
    padding: 3px;
}

.about-highlight-inner {
    background: var(--white);
    border-radius: 18px;
    padding: 2.5rem;
    text-align: center;
}

.about-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 1rem;
    border-radius: 16px;
}

.about-highlight-inner h3 {
    font-size: 1.6rem;
    color: var(--primary-dark);
    margin-bottom: 0.25rem;
}

.about-tagline {
    font-size: 0.82rem;
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.25rem;
}

.about-divider {
    border: none;
    border-top: 2px solid var(--light-bg);
    margin: 1.25rem 0;
}

.about-product-points {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.about-product-points li {
    font-size: 0.9rem;
    color: #444;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.about-product-points li::before {
    content: '✓';
    color: var(--accent-color);
    font-weight: 800;
    flex-shrink: 0;
}

.about-product-points li:last-child {
    border-bottom: none;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-meta {
        grid-template-columns: 1fr 1fr;
    }
}
