/* Global Variables and Reset */
:root {
    --primary: #5e3bee;
    --primary-light: #7857f7;
    --primary-dark: #4a28d7;
    --primary-gradient: linear-gradient(to right, #5e3bee, #7857f7);
    --secondary: #f5f5f7;
    --text-primary: #333;
    --text-secondary: #666;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #ff5252;
    --light: #f8f9fa;
    --dark: #343a40;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-800: #343a40;
}

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

img {
    max-width: 100%;
    height: auto;
}

html {
    scroll-behavior: smooth;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    z-index: 1000;
    top: 36px;
    transition: top 0.3s ease;
}

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

.logo {
    font-weight: 700;
    font-size: 24px;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0.5rem 0;
}

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

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
}

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

.header-cta {
    background: var(--primary-gradient);
    color: white;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(94, 59, 238, 0.3);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Buttons */
.btn-primary {
    background: var(--primary-gradient);
    color: white;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(94, 59, 238, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    border: 1px solid var(--primary);
    margin-left: 12px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(94, 59, 238, 0.05);
}

/* Sections Global */
.section-heading {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    background-color: rgba(94, 59, 238, 0.1);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 36px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-description {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* Hero Base Styles */
.hero {
    background: var(--secondary);
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    padding-top: 160px;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 40px 0;
    width: 100%;
    margin-top: 0;
}

.hero-text {
    flex: 1;
    min-width: 0;
}

.hero-badge {
    background-color: rgba(94, 59, 238, 0.1);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-image {
    flex: 1;
    position: relative;
    height: 450px;
    min-width: 0;
    background-color: #e9ecef;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 16px;
    font-weight: 500;
}

.hero-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

/* Features */
.features {
    padding: 100px 0;
}

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

.feature-card {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(94, 59, 238, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: #6c757d;
    font-size: 24px;
    font-weight: 500;
}

.feature-title {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-description {
    font-size: 16px;
    color: var(--text-secondary);
}

/* Contact Styles */
.contact {
    background: var(--secondary);
    padding: 100px 0;
}

.contact-content {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
}

.contact-items {
    margin-top: 32px;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: rgba(94, 59, 238, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
    flex-shrink: 0;
}

.contact-form {
    flex: 1;
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.form-title {
    font-size: 24px;
    margin-bottom: 24px;
}

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

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

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.form-submit {
    background: var(--primary-gradient);
    color: white;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    width: 100%;
}

.form-submit:hover {
    box-shadow: 0 4px 12px rgba(94, 59, 238, 0.3);
}

/* Footer */
footer {
    background: var(--gray-800);
    padding: 40px 0;
    color: white;
}

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

.footer-info {
    display: flex;
    gap: 20px;
    align-items: center;
}

.footer-info p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: white;
}

/* Banner e Modal Global */
.top-banner {
    background: var(--primary-gradient);
    color: white;
    text-align: center;
    padding: 8px 0;
    font-size: 14px;
    font-weight: 500;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1001;
    transition: transform 0.3s ease;
}

.top-banner.hidden {
    transform: translateY(-100%);
}

.top-banner .container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.top-banner a {
    color: white !important;
    text-decoration: underline;
    transition: opacity 0.3s;
    font-weight: 600;
}

.top-banner a:hover {
    opacity: 0.8;
}

.top-banner-close {
    position: absolute;
    right: 20px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 4px;
    font-size: 18px;
    line-height: 1;
    opacity: 0.8;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive */
@media (max-width: 992px) {

    .hero-content,
    .nr1-content,
    .benefits-content,
    .contact-content {
        flex-direction: column;
    }

    .hero-image,
    .nr1-image,
    .benefits-image {
        height: 350px;
    }

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

    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 300px;
        background: white;
        flex-direction: column;
        padding: 80px 20px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .header-cta {
        display: none;
    }

    header {
        top: 0;
    }

    .hero {
        padding-top: 80px;
        min-height: auto;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 40px 0;
        margin-top: 76px;
    }

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

    .hero-description {
        margin: 0 auto 32px;
    }

    .hero-image {
        height: 300px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

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

    .hero-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 28px;
    }

    .feature-card {
        padding: 24px;
    }

    .logo {
        max-width: 150px;
    }
}

/* Dashboard Preview & Gallery (Shared Components) */
.dashboard-preview {
    padding: 100px 0;
}

.dashboard-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 48px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.dashboard-tab {
    padding: 12px 24px;
    background: var(--gray-100);
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.dashboard-tab.active {
    background: var(--primary);
    color: white;
}

.dashboard-image {
    position: relative;
    height: 600px;
    background-color: #e9ecef;
    border-radius: 12px;
    margin-top: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 16px;
    font-weight: 500;
    overflow: hidden;
}

.gallery-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gallery-slide {
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
}

.gallery-slide.active {
    display: flex;
}

.gallery-slide img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 12px;
    object-fit: contain;
}

.gallery-nav {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}

.gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

.gallery-prev,
.gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-prev:hover,
.gallery-next:hover {
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.gallery-prev {
    left: 20px;
}

.gallery-next {
    right: 20px;
}

.gallery-counter {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 5px 10px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
}

/* Comparison Table */
.comparison {
    background: var(--secondary);
    padding: 100px 0;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 48px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.comparison-table th,
.comparison-table td {
    padding: 16px 24px;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.comparison-table th {
    background: var(--primary-gradient);
    color: white;
    font-weight: 500;
}

.comparison-table tr:nth-child(even) {
    background-color: var(--gray-100);
}

.comparison-table td:first-child {
    font-weight: 500;
}

.check-cell {
    color: var(--success);
    font-weight: bold;
}

/* Legal & Content Body (for subpages) */
.content-section {
    padding: 120px 0 80px;
    min-height: 70vh;
}

.content-section h1 {
    font-size: 36px;
    margin-bottom: 32px;
    color: var(--text-primary);
}

.content-body {
    font-size: 16px;
    color: var(--text-secondary);
}

.content-body h2 {
    font-size: 22px;
    margin: 32px 0 16px;
    color: var(--text-primary);
}

.content-body p {
    margin-bottom: 16px;
}

/* NR-1 Styles */
.nr1-section {
    background: var(--secondary);
    padding: 100px 0;
}

.nr1-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.nr1-image {
    flex: 1;
    position: relative;
    height: 450px;
    background-color: #e9ecef;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 16px;
    font-weight: 500;
}

.nr1-text {
    flex: 1;
}

.nr1-list {
    margin-top: 24px;
    list-style-type: none;
}

.nr1-list li {
    padding: 12px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.check-icon {
    width: 24px;
    height: 24px;
    background-color: rgba(94, 59, 238, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: bold;
    flex-shrink: 0;
    font-size: 12px;
}

/* Benefits (Whitelabel) */
.benefits-section {
    background: var(--secondary);
    padding: 100px 0;
}

.benefits-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.benefits-image {
    flex: 1;
    position: relative;
    height: 450px;
    background-color: #e9ecef;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 16px;
    font-weight: 500;
}

.benefits-image img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 12px;
}

.benefits-text {
    flex: 1;
}

.benefits-list {
    margin-top: 24px;
    list-style-type: none;
}

.benefits-list li {
    padding: 12px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

/* FAQ Accordion */
.faq-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: rgba(94, 59, 238, 0.05);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-answer p {
    color: var(--text-secondary);
    padding-bottom: 20px;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-top: 0;
    padding-bottom: 20px;
}

.faq-container {
    max-width: 900px;
    margin: 40px auto;
}

.faq-toggle {
    font-size: 20px;
    transition: transform 0.3s;
}

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

/* Modals */
.choice-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.choice-modal.active {
    display: flex;
    opacity: 1;
}

.choice-modal-content {
    background: white;
    width: 92%;
    max-width: 500px;
    padding: 50px 40px;
    border-radius: 24px;
    position: relative;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(20px);
    transition: transform 0.4s ease-out;
}

.choice-modal.active .choice-modal-content {
    transform: translateY(0);
}

.choice-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
}

.choice-modal-logo img {
    height: 60px;
    margin-bottom: 20px;
}

.choice-modal-tagline {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.text-primary {
    color: var(--primary);
    font-weight: 700;
}

.choice-modal h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--text-primary);
}

.choice-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.choice-btn {
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    padding: 24px 30px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.choice-btn:hover {
    background: white;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.choice-btn strong {
    display: block;
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
}

.choice-btn span {
    font-size: 13px;
    color: var(--text-secondary);
}

@media (max-width: 600px) {
    .choice-buttons {
        grid-template-columns: 1fr;
    }
}