/* ===== DESIGN TOKENS ===== */
:root {
    --primary: #1a3a6b;
    --primary-light: #2d5aa0;
    --primary-dark: #0f2447;
    --accent: #00c9a7;
    --accent-light: #33f0ce;
    --accent-dark: #00a88b;
    --surface: #ffffff;
    --surface-alt: #f4f7fb;
    --surface-glass: rgba(255,255,255,0.72);
    --text: #1a1d26;
    --text-secondary: #5a6178;
    --text-muted: #8b92a8;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 24px 60px rgba(0,0,0,0.16);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --gradient-primary: linear-gradient(135deg, #1a3a6b 0%, #2d5aa0 50%, #00c9a7 100%);
    --gradient-accent: linear-gradient(135deg, #00c9a7 0%, #00e6c3 100%);
    --gradient-hero: linear-gradient(160deg, #0a1628 0%, #1a3a6b 40%, #0f2447 100%);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--surface);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== UTILITIES ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px; border-radius: 50px; font-weight: 600;
    font-size: 0.95rem; border: none; cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}
.btn-primary {
    background: var(--gradient-accent);
    color: var(--primary-dark); box-shadow: 0 4px 20px rgba(0,201,167,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,201,167,0.5); }
.btn-ghost {
    background: rgba(255,255,255,0.1); color: #fff;
    border: 1px solid rgba(255,255,255,0.25); backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.2); }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* ===== NAVBAR ===== */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    padding: 16px 0; transition: all 0.4s ease;
}
.navbar.scrolled {
    background: var(--surface-glass); backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border); padding: 10px 0;
    box-shadow: var(--shadow-sm);
}
.nav-container {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.logo-icon {
    width: 38px; height: 38px; border-radius: 10px;
    background: var(--gradient-accent); display: flex; align-items: center;
    justify-content: center; font-weight: 800; font-size: 1.1rem;
    color: var(--primary-dark);
}
.logo-text { font-weight: 700; font-size: 1.15rem; color: #fff; }
.navbar.scrolled .logo-text { color: var(--primary); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: rgba(255,255,255,0.8); transition: color 0.3s; }
.nav-links a:hover { color: #fff; }
.navbar.scrolled .nav-links a { color: var(--text-secondary); }
.navbar.scrolled .nav-links a:hover { color: var(--primary); }
.nav-cta {
    background: var(--gradient-accent) !important; color: var(--primary-dark) !important;
    padding: 10px 24px !important; border-radius: 50px !important; font-weight: 600 !important;
}
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span {
    display: block; width: 24px; height: 2px; background: #fff;
    margin: 5px 0; transition: all 0.3s;
}
.navbar.scrolled .nav-toggle span { background: var(--primary); }

/* ===== HERO ===== */
.hero {
    position: relative; min-height: 100vh; background: var(--gradient-hero);
    display: flex; flex-direction: column; justify-content: center;
    padding: 120px 0 80px; overflow: hidden;
}
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.shape {
    position: absolute; border-radius: 50%; opacity: 0.08;
    background: var(--accent); filter: blur(80px);
}
.shape-1 { width: 600px; height: 600px; top: -200px; right: -100px; animation: float 20s ease-in-out infinite; }
.shape-2 { width: 400px; height: 400px; bottom: -100px; left: -100px; animation: float 25s ease-in-out infinite reverse; }
.shape-3 { width: 300px; height: 300px; top: 50%; left: 40%; animation: float 18s ease-in-out infinite; }
@keyframes float {
    0%, 100% { transform: translate(0,0) scale(1); }
    33% { transform: translate(30px,-30px) scale(1.05); }
    66% { transform: translate(-20px,20px) scale(0.95); }
}
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-badge {
    display: inline-block; padding: 8px 20px; border-radius: 50px;
    background: rgba(0,201,167,0.12); border: 1px solid rgba(0,201,167,0.25);
    color: var(--accent-light); font-size: 0.85rem; font-weight: 600;
    margin-bottom: 24px;
}
.hero h1 { font-size: 3.2rem; font-weight: 800; line-height: 1.15; color: #fff; margin-bottom: 20px; }
.hero h1 .gradient-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-subtitle { font-size: 1.1rem; color: rgba(255,255,255,0.7); line-height: 1.7; margin-bottom: 32px; max-width: 520px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; gap: 24px; align-items: center; }
.hero-stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.15); }
.stat-number { display: block; font-size: 1.6rem; font-weight: 800; color: var(--accent-light); }
.stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.5px; }

/* Hero visual */
.hero-visual { position: relative; }
.hero-dashboard-frame {
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-xl); border: 1px solid rgba(255,255,255,0.1);
    animation: heroSlideUp 1s ease-out 0.3s both;
}
.hero-dashboard-img { width: 100%; }
.hero-mobile-frame {
    position: absolute; bottom: -30px; right: -30px; width: 160px;
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-xl); border: 3px solid rgba(255,255,255,0.15);
    animation: heroSlideUp 1s ease-out 0.6s both;
}
.hero-mobile-img { width: 100%; }
@keyframes heroSlideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-scroll-indicator {
    position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    color: rgba(255,255,255,0.4); font-size: 0.75rem; letter-spacing: 1px;
}
.scroll-arrow {
    width: 20px; height: 20px; border-right: 2px solid rgba(255,255,255,0.4);
    border-bottom: 2px solid rgba(255,255,255,0.4); transform: rotate(45deg);
    animation: bounce 2s ease infinite;
}
@keyframes bounce { 0%,20%,50%,80%,100% { transform: rotate(45deg) translateY(0); } 40% { transform: rotate(45deg) translateY(6px); } 60% { transform: rotate(45deg) translateY(3px); } }

/* ===== SECTION HEADERS ===== */
.section-header { text-align: center; max-width: 660px; margin: 0 auto 60px; }
.section-tag {
    display: inline-block; padding: 6px 18px; border-radius: 50px;
    background: rgba(0,201,167,0.1); color: var(--accent-dark);
    font-size: 0.8rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 1px; margin-bottom: 16px;
}
.section-header h2 { font-size: 2.4rem; font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
.section-header p { color: var(--text-secondary); font-size: 1.05rem; }

/* ===== FEATURES ===== */
.features { padding: 120px 0; background: var(--surface-alt); }
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.feature-card {
    background: var(--surface); border-radius: var(--radius-lg);
    padding: 36px; border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative; overflow: hidden;
}
.feature-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--gradient-primary); opacity: 0; transition: opacity 0.4s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
    width: 56px; height: 56px; border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
}
.feature-icon-booking { background: #e8f4fd; color: #2d7dd2; }
.feature-icon-retention { background: #fef2f2; color: #e74c3c; }
.feature-icon-reputation { background: #fef9e7; color: #f39c12; }
.feature-icon-dashboard { background: #e8faf5; color: var(--accent-dark); }
.feature-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; }
.feature-card > p { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.65; margin-bottom: 20px; }
.feature-list { display: flex; flex-direction: column; gap: 8px; }
.feature-list li {
    font-size: 0.88rem; color: var(--text-secondary); padding-left: 24px;
    position: relative;
}
.feature-list li::before {
    content: '✓'; position: absolute; left: 0; color: var(--accent-dark); font-weight: 700;
}

/* ===== SHOWCASE ===== */
.showcase { padding: 120px 0; background: var(--surface); }
.showcase-tabs {
    display: flex; justify-content: center; gap: 8px;
    margin-bottom: 48px; flex-wrap: wrap;
}
.showcase-tab {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 24px; border-radius: 50px; border: 1px solid var(--border);
    background: var(--surface); font-size: 0.88rem; font-weight: 500;
    color: var(--text-secondary); cursor: pointer; transition: all 0.3s;
}
.showcase-tab:hover { border-color: var(--accent); color: var(--accent-dark); }
.showcase-tab.active {
    background: var(--primary); color: #fff; border-color: var(--primary);
}
.showcase-panel { display: none; animation: fadeInUp 0.5s ease; }
.showcase-panel.active { display: block; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.showcase-screens {
    position: relative; display: flex; align-items: flex-end;
    justify-content: center; margin-bottom: 40px;
}
.screen-desktop { flex: 0 0 80%; max-width: 900px; }
.desktop-frame {
    border-radius: var(--radius-lg); overflow: hidden;
    border: 1px solid var(--border); box-shadow: var(--shadow-lg);
    background: #f8fafc;
}
.screen-topbar {
    display: flex; gap: 6px; padding: 10px 16px;
    background: #f1f5f9; border-bottom: 1px solid var(--border);
}
.screen-topbar span {
    width: 10px; height: 10px; border-radius: 50%;
}
.screen-topbar span:nth-child(1) { background: #ff5f57; }
.screen-topbar span:nth-child(2) { background: #ffbd2e; }
.screen-topbar span:nth-child(3) { background: #28c840; }
.desktop-frame img { width: 100%; }

.screen-mobile {
    position: absolute; bottom: -20px; right: -10px;
    width: 180px; z-index: 2;
}
.mobile-frame {
    border-radius: 24px; overflow: hidden;
    border: 4px solid var(--primary-dark); box-shadow: var(--shadow-xl);
    background: #fff;
}
.mobile-frame img { width: 100%; }

.showcase-info { text-align: center; max-width: 640px; margin: 0 auto; }
.showcase-info h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 12px; }
.showcase-info p { color: var(--text-secondary); font-size: 1rem; line-height: 1.7; }

/* ===== BENEFITS ===== */
.benefits { padding: 120px 0; background: var(--gradient-hero); }
.benefits .section-tag { background: rgba(0,201,167,0.15); color: var(--accent-light); }
.benefits .section-header h2 { color: #fff; }
.benefits .section-header h2 .gradient-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.benefit-card {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg); padding: 40px 32px;
    transition: all 0.4s; backdrop-filter: blur(8px);
}
.benefit-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-4px); }
.benefit-number {
    font-size: 3rem; font-weight: 900; color: rgba(0,201,167,0.25);
    margin-bottom: 16px; line-height: 1;
}
.benefit-card h3 { font-size: 1.2rem; font-weight: 700; color: #fff; margin-bottom: 12px; }
.benefit-card p { color: rgba(255,255,255,0.65); font-size: 0.92rem; line-height: 1.65; }

/* ===== KPI ===== */
.kpi { padding: 120px 0; background: var(--surface-alt); }
.kpi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.kpi-card {
    text-align: center; padding: 48px 32px; border-radius: var(--radius-lg);
    background: var(--surface); border: 1px solid var(--border);
    transition: all 0.4s;
}
.kpi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.kpi-card-accent {
    background: var(--primary); border-color: var(--primary);
}
.kpi-card-accent .kpi-value, .kpi-card-accent .kpi-unit { color: var(--accent-light); }
.kpi-card-accent .kpi-label { color: #fff; }
.kpi-card-accent p { color: rgba(255,255,255,0.7); }
.kpi-value { font-size: 3.5rem; font-weight: 900; color: var(--primary); line-height: 1; }
.kpi-unit { font-size: 2rem; }
.kpi-label { font-size: 1.05rem; font-weight: 600; margin: 12px 0 8px; }
.kpi-card p { color: var(--text-secondary); font-size: 0.88rem; }

/* ===== CTA ===== */
.cta-section {
    padding: 120px 0;
    background: var(--surface);
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0,201,167,0.06) 0%, transparent 70%);
}
.cta-content { text-align: center; position: relative; max-width: 600px; margin: 0 auto; }
.cta-content h2 { font-size: 2.6rem; font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.cta-content > p { color: var(--text-secondary); font-size: 1.1rem; margin-bottom: 36px; }
.cta-actions { margin-bottom: 20px; }
.cta-note { color: var(--text-muted); font-size: 0.85rem; }

/* ===== FOOTER ===== */
.footer { padding: 48px 0; border-top: 1px solid var(--border); }
.footer-content { text-align: center; }
.footer-brand { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 8px; }
.footer .logo-text { color: var(--primary); }
.footer-tagline { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 20px; }
.footer-divider { height: 1px; background: var(--border); max-width: 200px; margin: 0 auto 20px; }
.footer-copy { color: var(--text-muted); font-size: 0.8rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { max-width: 700px; margin: 40px auto 0; }
    .hero h1 { font-size: 2.6rem; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .screen-mobile { width: 140px; }
}
@media (max-width: 768px) {
    .nav-links { 
        display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
        background: var(--primary-dark); flex-direction: column;
        justify-content: center; align-items: center; gap: 32px;
    }
    .nav-links.open { display: flex; }
    .nav-links a { color: #fff !important; font-size: 1.2rem; }
    .nav-toggle { display: block; z-index: 1001; }
    .hero { padding: 100px 0 60px; min-height: auto; }
    .hero h1 { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .hero-stat-divider { width: 40px; height: 1px; }
    .hero-mobile-frame { width: 120px; right: -10px; bottom: -15px; }
    .section-header h2 { font-size: 1.8rem; }
    .features-grid { grid-template-columns: 1fr; }
    .benefits-grid { grid-template-columns: 1fr; }
    .kpi-grid { grid-template-columns: 1fr; }
    .showcase-tabs { gap: 6px; }
    .showcase-tab { padding: 8px 14px; font-size: 0.8rem; }
    .screen-mobile { width: 110px; right: -5px; }
    .cta-content h2 { font-size: 2rem; }
    .hero-scroll-indicator { display: none; }
}
