:root {
    --bg-primary: #07090e;
    --bg-secondary: #0d111a;
    --bg-surface: #161c28;
    --bg-surface-elevated: #1e2638;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --accent: #6366f1;
    --accent-light: #818cf8;
    --accent-glow: rgba(99, 102, 241, 0.35);
    --accent-hover: #4f46e5;
    --purple: #a855f7;
    --pink: #ec4899;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #0ea5e9;
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(99, 102, 241, 0.4);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

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

/* Background Particle Canvas */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.65;
}

/* Ambient Glow Orbs */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.4;
    animation: orbFloat 20s ease-in-out infinite alternate;
}
.orb-1 { top: -10%; left: 15%; width: 600px; height: 600px; background: #6366f1; }
.orb-2 { top: 35%; right: -10%; width: 650px; height: 650px; background: #a855f7; }
.orb-3 { bottom: -10%; left: 10%; width: 600px; height: 600px; background: #0ea5e9; }

@keyframes orbFloat {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, 70px) scale(1.1); }
    100% { transform: translate(-40px, -50px) scale(0.95); }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    backdrop-filter: blur(20px);
    background: rgba(7, 9, 14, 0.8);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}
.nav-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 22px;
}
.nav-logo-img {
    height: 38px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(99, 102, 241, 0.4));
}
.footer-logo-img {
    height: 44px;
    width: auto;
    object-fit: contain;
    margin-bottom: 12px;
}
.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
    mask-image: radial-gradient(circle, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle, black 30%, transparent 80%);
}
.logo-accent { color: var(--accent); }
.version-badge {
    font-size: 11px;
    background: rgba(99, 102, 241, 0.15);
    color: var(--accent-light);
    padding: 2px 8px;
    border-radius: 20px;
    border: 1px solid rgba(99, 102, 241, 0.3);
    font-family: monospace;
}
.nav-links {
    display: flex;
    gap: 32px;
}
.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-link:hover { color: #fff; }
.nav-actions {
    display: flex;
    gap: 12px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--purple));
    color: #fff;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}
.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}
.btn-glow {
    box-shadow: var(--shadow-glow);
}
.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
    border-radius: var(--radius-md);
}
.btn-sm {
    padding: 6px 14px;
    font-size: 12px;
    border-radius: 6px;
}

/* Hero Section */
.hero {
    position: relative;
    z-index: 1;
    padding: 170px 24px 70px;
    text-align: center;
}
.hero-container {
    max-width: 900px;
    margin: 0 auto;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 30px;
    font-size: 13px;
    color: var(--accent-light);
    font-weight: 600;
    margin-bottom: 28px;
    letter-spacing: 0.5px;
}
.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--accent);
}
.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 58px;
    font-weight: 900;
    line-height: 1.12;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}
.gradient-text {
    background: linear-gradient(135deg, #a855f7, #6366f1, #0ea5e9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 740px;
    margin-left: auto;
    margin-right: auto;
}

/* 59 Days Countdown Grid */
.countdown-box {
    background: rgba(13, 17, 26, 0.85);
    border: 1px solid var(--border);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    box-shadow: var(--shadow-glow);
    max-width: 680px;
    margin: 0 auto 36px;
}
.countdown-header {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--accent-light);
    margin-bottom: 20px;
}
.countdown-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
.countdown-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 18px 22px;
    min-width: 105px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.countdown-card.accent-card {
    border-color: rgba(99, 102, 241, 0.4);
    background: rgba(99, 102, 241, 0.12);
}
.countdown-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 46px;
    font-weight: 800;
    line-height: 1;
    color: #fff;
}
.countdown-unit {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 6px;
}
.countdown-colon {
    font-size: 32px;
    font-weight: 800;
    color: var(--accent);
}

/* Waitlist Form */
.waitlist-form-container {
    max-width: 580px;
    margin: 0 auto 28px;
}
.notify-form {
    display: flex;
    gap: 12px;
}
.notify-form input {
    flex: 1;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px 20px;
    color: #fff;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
}
.notify-form input:focus {
    border-color: var(--accent);
}

/* Social Proof Box */
.social-proof-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    font-size: 14px;
    color: var(--text-secondary);
}
.social-proof-avatars {
    display: flex;
    align-items: center;
}
.sp-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    border: 2px solid var(--bg-primary);
    margin-left: -8px;
}
.sp-avatar:first-child { margin-left: 0; }
.sp-count {
    background: var(--bg-surface);
    color: var(--accent-light);
    border-color: var(--accent);
}

/* Metrics Bar */
.metrics-bar {
    position: relative;
    z-index: 1;
    background: rgba(13, 17, 26, 0.7);
    border-y: 1px solid var(--border);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 30px 24px;
}
.metrics-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}
.metric-item {
    text-align: center;
}
.metric-value {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: #fff;
}
.metric-label {
    font-size: 13px;
    color: var(--text-muted);
}
.metric-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* Mac Window Simulator */
.mac-window {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6), var(--shadow-glow);
}
.mac-header {
    background: var(--bg-surface);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
}
.mac-dots { display: flex; gap: 8px; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.mac-address-bar {
    background: rgba(0,0,0,0.3);
    padding: 4px 24px;
    border-radius: 6px;
    font-size: 12px;
    color: var(--text-muted);
    font-family: monospace;
}
.mac-badge { font-size: 10px; font-weight: 700; background: rgba(16, 185, 129, 0.2); color: var(--success); padding: 3px 8px; border-radius: 12px; }

.mac-body { padding: 24px; }

/* Sections */
.features, .demo-section, .roadmap, .faq-section {
    position: relative;
    z-index: 1;
    padding: 100px 24px;
}
.section-container {
    max-width: 1240px;
    margin: 0 auto;
}
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-tag {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-light);
    margin-bottom: 8px;
    display: block;
}
.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 12px;
}
.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}
.feature-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: all 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: 0 16px 36px rgba(0,0,0,0.4);
}
.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}
.icon-purple { background: rgba(168, 85, 247, 0.15); }
.icon-blue { background: rgba(99, 102, 241, 0.15); }
.icon-orange { background: rgba(245, 158, 11, 0.15); }
.icon-green { background: rgba(16, 185, 129, 0.15); }
.icon-pink { background: rgba(236, 72, 153, 0.15); }
.icon-teal { background: rgba(20, 184, 166, 0.15); }

.feature-title { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.feature-desc { font-size: 14px; color: var(--text-secondary); }

/* Roadmap Timeline */
.roadmap-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.roadmap-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 30px;
    position: relative;
}
.roadmap-item.active {
    border-color: var(--accent);
    box-shadow: var(--shadow-glow);
}
.roadmap-date { font-size: 12px; font-weight: 700; color: var(--accent-light); margin-bottom: 10px; }
.roadmap-title { font-size: 19px; font-weight: 700; margin-bottom: 10px; }

/* Demo Tabs */
.demo-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.demo-tab {
    padding: 12px 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}
.demo-tab.active, .demo-tab:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.demo-view { display: none; }
.demo-view.active { display: block; }

.preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}
.preview-title { font-weight: 700; font-size: 17px; }

.table-responsive { overflow-x: auto; }
.preview-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 13px; }
.preview-table th, .preview-table td { padding: 14px; border-bottom: 1px solid var(--border); }
.preview-table th { color: var(--text-muted); font-weight: 600; }

.row-pending { border-left: 4px solid var(--warning); background: rgba(245, 158, 11, 0.04); }
.row-preparing { border-left: 4px solid var(--info); background: rgba(14, 165, 233, 0.04); }
.row-ready { border-left: 4px solid var(--success); background: rgba(16, 185, 129, 0.04); }
.row-completed { border-left: 4px solid var(--accent); background: rgba(99, 102, 241, 0.04); }

.badge { display: inline-block; padding: 3px 10px; border-radius: 4px; font-size: 11px; font-weight: 600; }
.badge-pending { background: rgba(245, 158, 11, 0.2); color: var(--warning); }
.badge-preparing { background: rgba(14, 165, 233, 0.2); color: var(--info); }
.badge-ready { background: rgba(16, 185, 129, 0.2); color: var(--success); }
.badge-completed { background: rgba(99, 102, 241, 0.2); color: var(--accent-light); }
.badge-success { background: rgba(16, 185, 129, 0.2); color: var(--success); }
.badge-danger { background: rgba(239, 68, 68, 0.2); color: var(--danger); }
.badge-info { background: rgba(99, 102, 241, 0.2); color: var(--accent-light); }

.client-chip { font-family: monospace; font-size: 11px; background: var(--bg-surface); padding: 2px 6px; border-radius: 4px; border: 1px solid var(--border); }
.sub-text { font-size: 11px; color: var(--text-muted); }

/* Floor Canvas */
.floor-canvas-preview {
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 20px 20px;
    position: relative;
    border-radius: var(--radius-md);
    border: 1px dashed var(--border);
}
.table-node {
    position: absolute;
    width: 125px;
    height: 95px;
    background: var(--bg-surface);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.node-occupied { border: 2px solid var(--danger); }
.node-available { border: 2px solid var(--success); }
.node-reserved { border: 2px solid var(--accent); }
.node-cleaning { border: 2px solid var(--warning); }

/* KDS */
.kds-tickets-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}
.kds-card {
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    padding: 18px;
    border: 1px solid var(--border);
}
.kds-card-head { display: flex; justify-content: space-between; margin-bottom: 12px; }

/* FAQ Accordion */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.faq-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}
.faq-answer {
    display: none;
    padding: 0 24px 20px;
    font-size: 15px;
    color: var(--text-secondary);
}

/* Footer */
.footer {
    border-top: 1px solid var(--border);
    padding: 60px 24px 40px;
    position: relative;
    z-index: 1;
    background: rgba(7, 9, 14, 0.95);
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
}
.footer-brand p { font-size: 14px; color: var(--text-muted); max-width: 450px; margin-top: 10px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-secondary); text-decoration: none; font-size: 14px; }
.footer-copy { font-size: 12px; color: var(--text-muted); }
