/* --- GLOBAL DESIGN PARAMETERS --- */
:root {
    --bg-base: #030712;
    --bg-surface: #0f172a;
    --bg-card: #1e293b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent: #10b981;
    --accent-glow: rgba(16, 185, 129, 0.15);
    --border-color: #334155;
    --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-stack);
    background-color: var(--bg-base);
    color: var(--text-main);
}

body {
    overflow-x: hidden;
    line-height: 1.5;
    padding-top: 70px;
}

/* --- CINEMATIC INTRO SPLASH CURTAIN --- */
#intro-curtain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #020617;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: opacity 0.6s cubic-bezier(0.7, 0, 0.3, 1), visibility 0.6s;
}

.video-box-simulation {
    width: 100%;
    max-width: 500px;
    text-align: center;
}

.pulse-logo {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--accent), #0d9488);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 900;
    color: #030712;
    margin: 0 auto 24px auto;
    box-shadow: 0 0 40px rgba(16, 185, 129, 0.3);
    animation: logoZoomPulse 2s infinite ease-in-out;
}

.intro-title {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.intro-title span { color: var(--accent); }

.terminal-ticker {
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--accent);
    height: 20px;
    margin-bottom: 24px;
    opacity: 0.8;
}

.loader-track {
    width: 100%;
    max-width: 260px;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    margin: 0 auto;
    overflow: hidden;
}

.loader-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #0d9488, var(--accent));
    border-radius: 100px;
    animation: loadProgress 3s cubic-bezier(0.1, 0.8, 0.2, 1) forwards;
}

@keyframes logoZoomPulse {
    0%, 100% { transform: scale(0.98); }
    50% { transform: scale(1.05); }
}
@keyframes loadProgress { to { width: 100%; } }

/* --- FLOATING ACTION WHATSAPP HOOK --- */
.whatsapp-floating-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
    z-index: 9999;
    transition: var(--transition-smooth);
}

.whatsapp-floating-btn:hover { transform: translateY(-3px); }
.whatsapp-floating-btn svg { width: 24px; height: 24px; fill: white; }

/* --- ARCHITECTURE CONTAINERS --- */
.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- PLATFORM NAVBAR LAYOUT --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background-color: rgba(3, 7, 18, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-box {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 1.15rem;
}

.logo-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--accent), #0d9488);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #030712;
    font-weight: 900;
}

.logo-box span span { color: var(--accent); }
.nav-links { display: flex; gap: 24px; list-style: none; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 0.85rem; font-weight: 500; }
.btn-nav { padding: 8px 16px; border-radius: 10px; background: var(--accent); color: #030712; text-decoration: none; font-size: 0.8rem; font-weight: 700; }

/* --- HERO INTRO ELEMENTS --- */
.hero {
    padding: 60px 0 80px 0;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    padding: 6px 14px;
    background-color: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: 100px;
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
    
    /* Add the standard property first or alongside to appease the linter */
    background-clip: text; 
    -webkit-background-clip: text;
    
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 32px auto;
}

.cta-group { display: flex; flex-direction: column; gap: 12px; padding: 0 20px; }
.btn-primary, .btn-secondary { width: 100%; padding: 14px; text-align: center; border-radius: 12px; font-weight: 600; text-decoration: none; display: block; font-size: 0.95rem; }
.btn-primary { background-color: var(--accent); color: #030712; }
.btn-secondary { background-color: var(--bg-surface); color: var(--text-main); border: 1px solid var(--border-color); }

/* --- SERVICE GRID LAYOUTS --- */
.features-grid { display: grid; grid-template-columns: 1fr; gap: 16px; padding: 40px 0; }
.feature-card { background: rgba(30, 41, 59, 0.2); border: 1px solid rgba(51, 65, 85, 0.4); padding: 24px; border-radius: 16px; }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature-card p { font-size: 0.85rem; color: var(--text-muted); }

/* --- INTERACTIVE PROOF LAYOUT --- */
.proof-section { background-color: rgba(15, 23, 42, 0.2); padding: 60px 0; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.proof-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
.proof-text h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 12px; }
.proof-text h2 span { color: var(--accent); }
.proof-text p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 24px; }

.control-group { margin-bottom: 16px; }
.control-label { font-size: 0.7rem; text-transform: uppercase; color: var(--text-muted); font-weight: 700; margin-bottom: 8px; display: block; }
.selector-flex { display: flex; flex-wrap: wrap; gap: 6px; }

.selector-btn {
    padding: 8px 12px;
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.selector-btn.active { background: rgba(16, 185, 129, 0.1); border-color: var(--accent); color: var(--accent); }

/* --- INTERACTIVE TELEPHONY SIMULATOR --- */
.phone-wrapper { width: 100%; display: flex; justify-content: center; }
.phone-frame { width: 100%; max-width: 360px; background: none; border: none; padding: 0; }
.phone-screen { background: #070b12; border-radius: 20px; height: 440px; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--border-color); }

.phone-header { background: #0f172a; padding: 12px 16px; display: flex; align-items: center; gap: 10px; }
.avatar { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), #0d9488); display: flex; align-items: center; justify-content: center; font-weight: bold; color: #030712; font-size: 0.7rem; }
.status-info h4 { font-size: 0.75rem; }
.status-info span { font-size: 0.55rem; color: var(--accent); display: flex; align-items: center; gap: 3px; }

.chat-body { flex: 1; padding: 14px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; overflow-y: auto; }
.msg { max-width: 85%; padding: 8px 12px; border-radius: 12px; font-size: 0.75rem; opacity: 0; transform: translateY(8px); transition: all 0.3s ease forwards; }
.msg.visible { opacity: 1; transform: translateY(0); }
.msg.bot { background: #1e293b; color: #f1f5f9; align-self: flex-start; border-top-left-radius: 0; }
.msg.user { background: #059669; color: white; align-self: flex-end; border-top-right-radius: 0; }

.msg.options-grid { background: transparent; padding: 0; width: 100%; display: flex; flex-direction: column; gap: 4px; }
.chat-option { background: #1e293b; border: 1px solid var(--border-color); padding: 8px 12px; border-radius: 8px; color: var(--text-main); font-size: 0.7rem; }
.phone-footer { background: #090d16; padding: 10px; text-align: center; font-size: 0.6rem; color: var(--text-muted); }

/* --- REQUIREMENT SCOPER CODES --- */
.booking-section { padding: 60px 0; }
.section-header { text-align: center; max-width: 600px; margin: 0 auto 40px auto; }
.section-header h2 { font-size: 2rem; font-weight: 800; margin-bottom: 8px; }
.section-header p { color: var(--text-muted); font-size: 0.9rem; }

.config-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }

.matrix-list { display: flex; flex-direction: column; gap: 12px; }
.matrix-item { background: rgba(30, 41, 59, 0.1); border: 1px solid rgba(51, 65, 85, 0.4); padding: 16px; border-radius: 14px; cursor: pointer; display: flex; gap: 14px; transition: var(--transition-smooth); }
.matrix-item.selected { border-color: rgba(16, 185, 129, 0.5); background: rgba(16, 185, 129, 0.02); }

.checkbox-mock { width: 18px; height: 18px; border: 2px solid var(--border-color); border-radius: 50%; flex-shrink: 0; transition: var(--transition-smooth); }
.matrix-item.selected .checkbox-mock { background-color: var(--accent); border-color: var(--accent); }
.matrix-content h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 2px; }
.matrix-content p { font-size: 0.75rem; color: var(--text-muted); }

/* --- DATA PROCESSING CONTAINER TERMINAL --- */
.terminal-box { background-color: rgba(15, 23, 42, 0.5); border: 1px solid var(--border-color); border-radius: 16px; padding: 20px; }
.terminal-price-card { background: var(--bg-base); padding: 14px; border-radius: 10px; margin-bottom: 16px; text-align: center; border: 1px solid rgba(255,255,255,0.02); }
.lbl-top { font-size: 0.6rem; text-transform: uppercase; color: var(--text-muted); font-weight: 700; }
.lbl-bot { font-size: 0.75rem; color: var(--accent); margin-top: 2px; }

.form-group { margin-bottom: 12px; }
.form-group label { display: block; font-size: 0.65rem; text-transform: uppercase; color: var(--text-muted); margin-bottom: 6px; font-weight: 700; }
.form-control { width: 100%; background: var(--bg-base); border: 1px solid var(--border-color); padding: 12px; border-radius: 10px; color: var(--text-main); font-size: 0.8rem; transition: var(--transition-smooth); }
.form-control:focus { outline: none; border-color: var(--accent); }

.btn-submit { width: 100%; padding: 14px; background: var(--accent); color: #030712; border: none; border-radius: 10px; font-size: 0.85rem; font-weight: 700; cursor: pointer; transition: var(--transition-smooth); }
.btn-submit:hover { opacity: 0.9; }

/* --- TRANSACTION COMPLETE VIEW CARD --- */
.success-wrapper { text-align: center; padding: 24px 0; display: none; flex-direction: column; align-items: center; justify-content: center; }
.success-icon { width: 44px; height: 44px; border-radius: 50%; background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.3); color: var(--accent); display: flex; align-items: center; justify-content: center; margin: 0 auto 12px auto; }
.success-wrapper h4 { font-size: 1.15rem; margin-bottom: 6px; }
.success-wrapper p { font-size: 0.8rem; color: var(--text-muted); max-width: 300px; margin: 0 auto; }
.btn-reset-form { font-size: 0.7rem; color: var(--text-muted); background: none; border: none; text-decoration: underline; margin-top: 12px; cursor: pointer; }

footer { border-top: 1px solid rgba(255,255,255,0.05); padding: 32px 0; font-size: 0.7rem; color: rgba(255,255,255,0.3); text-align: center; }

/* --- DESKTOP ADAPTATION MEDIA QUERIES --- */
@media (min-width: 768px) {
    body { padding-top: 80px; }
    .navbar { height: 80px; }
    .hero { padding: 100px 0 120px 0; }
    .hero h1 { font-size: 3.8rem; max-width: 900px; }
    .hero p { font-size: 1.15rem; }
    .cta-group { flex-direction: row; justify-content: center; gap: 16px; padding: 0; }
    .btn-primary, .btn-secondary { width: auto; padding: 16px 32px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .proof-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
    .proof-text h2 { font-size: 2.4rem; }
    .config-grid { grid-template-columns: 7fr 5fr; gap: 40px; }
    .phone-frame { border: 4px solid #334155; border-radius: 36px; padding: 10px; background: #090d16; }
    .phone-screen { border-radius: 28px; }
}

@media (min-width: 1024px) {
    .features-grid { grid-template-columns: repeat(4, 1fr); }
}
