/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #06b6d4;
    --accent: #f59e0b;
    --bg: #0a0a0f;
    --bg-2: #0f0f1a;
    --bg-3: #16162a;
    --card: #1a1a2e;
    --card-hover: #1e1e35;
    --border: rgba(99,102,241,0.15);
    --text: #e2e8f0;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 20px 60px rgba(0,0,0,0.4);
    --glow: 0 0 40px rgba(99,102,241,0.2);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Outfit', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ===== UTILITIES ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.gradient-text {
    background: linear-gradient(135deg, #6366f1, #06b6d4, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.section-badge {
    display: inline-block;
    background: rgba(99,102,241,0.12);
    border: 1px solid rgba(99,102,241,0.3);
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 16px;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 16px 0;
    background: rgba(10,10,15,0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 22px;
    font-weight: 700;
}

.logo-icon { font-size: 24px; }
.logo-text { color: var(--text); }
.logo-text strong { color: var(--primary); }

.logo-img {
    height: 120px;
    width: auto;
    display: block;
}

.logo-img--footer {
    height: 80px;
    margin-bottom: 12px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

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

.btn-nav {
    background: var(--primary) !important;
    color: white !important;
    padding: 10px 24px;
    border-radius: 100px;
    font-weight: 600 !important;
    transition: all 0.2s !important;
}

.btn-nav:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(99,102,241,0.4);
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px 80px 80px;
    position: relative;
    overflow: hidden;
    gap: 60px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: orbFloat 8s ease-in-out infinite;
}

.orb-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, #6366f1, transparent);
    top: -200px; left: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, #06b6d4, transparent);
    bottom: -100px; right: -100px;
    animation-delay: -3s;
}

.orb-3 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, #f59e0b, transparent);
    top: 50%; right: 30%;
    animation-delay: -6s;
    opacity: 0.15;
}

@keyframes orbFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}

.hero-content {
    position: relative;
    z-index: 1;
    flex: 1;
    max-width: 580px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(99,102,241,0.1);
    border: 1px solid rgba(99,102,241,0.25);
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px; height: 8px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 8px #22c55e;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.8); }
}

.hero-content h1 {
    font-size: clamp(42px, 5vw, 68px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

.hero-sub {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 36px;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat strong {
    font-size: 24px;
    font-weight: 800;
    color: var(--text);
}

.stat span {
    font-size: 12px;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: var(--border);
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    font-size: 17px;
    font-weight: 600;
    padding: 16px 36px;
    border-radius: 100px;
    transition: all 0.3s;
    box-shadow: 0 8px 30px rgba(99,102,241,0.4);
    margin-bottom: 16px;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(99,102,241,0.5);
}

.btn-hero svg { transition: transform 0.2s; }
.btn-hero:hover svg { transform: translateX(4px); }

.hero-note {
    font-size: 13px;
    color: var(--text-dim);
}

/* ===== PHONE MOCKUP ===== */
.hero-visual {
    position: relative;
    flex: 0 0 auto;
    width: 320px;
}

.phone-mockup {
    width: 280px;
    height: 480px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-radius: 40px;
    border: 2px solid rgba(99,102,241,0.3);
    box-shadow: var(--shadow), var(--glow);
    overflow: hidden;
    position: relative;
    margin: 0 auto;
    animation: phoneFloat 6s ease-in-out infinite;
}

@keyframes phoneFloat {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

.phone-screen {
    padding: 20px 16px;
    height: 100%;
    overflow: hidden;
}

.mock-chat { display: flex; flex-direction: column; gap: 12px; }

.mock-msg {
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.mock-msg.user {
    flex-direction: row-reverse;
}

.mock-avatar {
    width: 30px; height: 30px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.mock-bubble {
    background: rgba(99,102,241,0.15);
    border: 1px solid rgba(99,102,241,0.2);
    border-radius: 14px;
    border-bottom-left-radius: 4px;
    padding: 10px 12px;
    font-size: 11px;
    line-height: 1.5;
    color: var(--text);
    max-width: 200px;
}

.mock-msg.user .mock-bubble {
    background: rgba(99,102,241,0.25);
    border-radius: 14px;
    border-bottom-right-radius: 4px;
}

.mock-typing {
    display: flex;
    align-items: center;
    gap: 8px;
}

.typing-dots {
    background: rgba(99,102,241,0.15);
    border: 1px solid rgba(99,102,241,0.2);
    border-radius: 14px;
    border-bottom-left-radius: 4px;
    padding: 12px 16px;
    display: flex;
    gap: 4px;
    align-items: center;
}

.typing-dots span {
    width: 6px; height: 6px;
    background: var(--primary);
    border-radius: 50%;
    animation: typingBounce 1.2s ease-in-out infinite;
}
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
    30% { transform: translateY(-6px); opacity: 1; }
}

.floating-card {
    position: absolute;
    background: rgba(26,26,46,0.9);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text);
    white-space: nowrap;
    box-shadow: var(--shadow);
    animation: cardFloat 4s ease-in-out infinite;
}

.card-1 { top: 20px; right: -20px; animation-delay: 0s; }
.card-2 { top: 50%; right: -40px; animation-delay: -1.5s; }
.card-3 { bottom: 60px; right: -10px; animation-delay: -3s; }

@keyframes cardFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
    padding: 100px 0;
    background: var(--bg-2);
    text-align: center;
}

.how-it-works h2 {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 12px;
}

.section-sub {
    font-size: 17px;
    color: var(--text-muted);
    margin-bottom: 60px;
}

.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.step {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 32px;
    width: 280px;
    position: relative;
    transition: all 0.3s;
}

.step:hover {
    background: var(--card-hover);
    border-color: rgba(99,102,241,0.4);
    transform: translateY(-6px);
    box-shadow: var(--glow);
}

.step-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.step-number {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 12px;
}

.step h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.step p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.step-arrow {
    font-size: 28px;
    color: var(--primary);
    opacity: 0.4;
    font-weight: 300;
}

/* ===== CHAT SECTION ===== */
.chat-section {
    padding: 100px 0;
    background: var(--bg);
}

.chat-section h2 {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 12px;
    text-align: center;
}

.chat-section .section-sub { text-align: center; }

.chat-wrapper {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    margin-top: 40px;
}

/* ===== CHAT BOX ===== */
.chat-box {
    flex: 1;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
    min-height: 600px;
    max-height: 700px;
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    background: rgba(99,102,241,0.05);
    border-bottom: 1px solid var(--border);
}

.chat-avatar {
    position: relative;
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.online-dot {
    position: absolute;
    bottom: 2px; right: 2px;
    width: 10px; height: 10px;
    background: #22c55e;
    border-radius: 50%;
    border: 2px solid var(--card);
    animation: pulse 2s ease-in-out infinite;
}

.chat-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.chat-info strong {
    font-size: 16px;
    font-weight: 700;
}

.chat-info span {
    font-size: 12px;
    color: var(--text-muted);
}

.chat-reset {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    width: 36px; height: 36px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.chat-reset:hover {
    background: rgba(99,102,241,0.1);
    color: var(--primary);
    border-color: rgba(99,102,241,0.4);
}

/* ===== MESSAGES ===== */
.messages {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    scroll-behavior: smooth;
}

.message {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    animation: msgIn 0.3s ease;
}

@keyframes msgIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.message.user {
    flex-direction: row-reverse;
}

.msg-avatar {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.msg-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 75%;
}

.message.user .msg-content {
    align-items: flex-end;
}

.msg-bubble {
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: 18px;
    border-bottom-left-radius: 4px;
    padding: 14px 18px;
    font-size: 15px;
    line-height: 1.65;
    color: var(--text);
}

.message.user .msg-bubble {
    background: linear-gradient(135deg, rgba(99,102,241,0.25), rgba(99,102,241,0.15));
    border-color: rgba(99,102,241,0.35);
    border-radius: 18px;
    border-bottom-right-radius: 4px;
}

.msg-time {
    font-size: 11px;
    color: var(--text-dim);
    padding: 0 4px;
}

/* Booking CTA in messages */
.booking-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--accent), #f97316);
    color: white;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 100px;
    margin-top: 10px;
    transition: all 0.2s;
    box-shadow: 0 4px 15px rgba(245,158,11,0.3);
}

.booking-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245,158,11,0.4);
}

/* Typing indicator */
.typing-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
}

.typing-indicator .msg-bubble {
    padding: 16px 20px;
}

.dots {
    display: flex;
    gap: 4px;
    align-items: center;
}

.dots span {
    width: 7px; height: 7px;
    background: var(--primary);
    border-radius: 50%;
    animation: typingBounce 1.2s ease-in-out infinite;
}
.dots span:nth-child(2) { animation-delay: 0.2s; }
.dots span:nth-child(3) { animation-delay: 0.4s; }

/* ===== QUICK REPLIES ===== */
.quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 24px 16px;
}

.quick-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.2s;
}

.quick-btn:hover {
    background: rgba(99,102,241,0.1);
    border-color: rgba(99,102,241,0.4);
    color: var(--text);
}

/* ===== INPUT AREA ===== */
.chat-input-area {
    padding: 16px 24px 20px;
    border-top: 1px solid var(--border);
    background: rgba(0,0,0,0.2);
}

.input-wrapper {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    transition: border-color 0.2s;
}

.input-wrapper:focus-within {
    border-color: rgba(99,102,241,0.5);
    box-shadow: 0 0 0 3px rgba(99,102,241,0.08);
}

textarea {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text);
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    line-height: 1.5;
    resize: none;
    max-height: 120px;
    overflow-y: auto;
}

textarea::placeholder { color: var(--text-dim); }

.send-btn {
    width: 40px; height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
}

.send-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99,102,241,0.4);
}

.send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.input-hint {
    font-size: 11px;
    color: var(--text-dim);
    margin-top: 8px;
}

/* ===== SIDEBAR ===== */
.chat-sidebar {
    width: 260px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-shrink: 0;
}

.sidebar-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 20px;
    transition: all 0.2s;
}

.sidebar-card:hover {
    border-color: rgba(99,102,241,0.3);
}

.sidebar-card.highlight {
    border-color: rgba(245,158,11,0.3);
    background: rgba(245,158,11,0.04);
}

.sidebar-icon { font-size: 28px; margin-bottom: 10px; }

.sidebar-card h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
}

.sidebar-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

.popular-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.popular-list li {
    font-size: 13px;
    color: var(--text-muted);
    padding: 6px 0;
    border-bottom: 1px solid var(--border);
}

.popular-list li:last-child { border-bottom: none; }

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    padding: 60px 0 32px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.footer-brand .logo { margin-bottom: 12px; }
.footer-brand p { font-size: 14px; color: var(--text-muted); max-width: 280px; }

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col h5 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.footer-col a {
    font-size: 14px;
    color: var(--text-dim);
    transition: color 0.2s;
}

.footer-col a:hover { color: var(--text); }

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-bottom p { font-size: 13px; color: var(--text-dim); }
.affiliate-note { font-size: 11px !important; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero { padding: 100px 40px 60px; }
    .hero-visual { width: 260px; }
    .phone-mockup { width: 240px; height: 400px; }
    .floating-card { display: none; }
    .chat-sidebar { display: none; }
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        padding: 100px 24px 60px;
        text-align: center;
    }
    .hero-content h1 { font-size: 42px; }
    .hero-stats { justify-content: center; }
    .hero-visual { display: none; }
    .nav-links a:not(.btn-nav) { display: none; }
    .steps { flex-direction: column; }
    .step-arrow { transform: rotate(90deg); }
    .chat-wrapper { flex-direction: column; }
    .chat-box { min-height: 500px; }
    .footer-links { gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .hero { padding: 90px 16px 50px; }
    .hero-content h1 { font-size: 34px; }
    .hero-sub { font-size: 16px; }
    .container { padding: 0 16px; }
    .quick-replies { padding: 0 16px 12px; }
    .messages { padding: 16px; }
    .chat-input-area { padding: 12px 16px 16px; }
    .chat-header { padding: 16px; }
}
