﻿/* ===== CSS Variables ===== */
:root {
    --primary: #0077b6;
    --primary-dark: #005a8c;
    --primary-light: #00b4d8;
    --accent: #ff6b35;
    --accent-dark: #e55a2b;
    --success: #06d6a0;
    --danger: #ef476f;
    --dark: #0a1628;
    --dark-card: #111d33;
    --text: #e0e6ed;
    --text-muted: #8899aa;
    --bg: #0d1b2a;
    --bg-light: #1b2838;
    --border: rgba(255,255,255,0.08);
    --glow: rgba(0, 119, 182, 0.3);
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 8px 32px rgba(0,0,0,0.3);
}

/* ===== Reset ===== */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #fff 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 50px;
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}
.navbar.scrolled {
    background: rgba(10, 22, 40, 0.98);
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    height: 64px;
    gap: 30px;
}
.nav-logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
}
.nav-links {
    display: flex;
    gap: 28px;
    flex: 1;
}
.nav-links a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--primary-light); }
.nav-cta {
    background: var(--accent);
    color: #fff;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
    white-space: nowrap;
}
.nav-cta:hover { background: var(--accent-dark); transform: translateY(-1px); }
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
}
.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,119,182,0.15) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 50%, rgba(0,180,216,0.08) 0%, transparent 50%);
    pointer-events: none;
}
.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.badge {
    display: inline-block;
    background: rgba(255,107,53,0.15);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(255,107,53,0.2);
}
.hero-text h1 {
    font-size: 3.2rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 20px;
}
.hero-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 480px;
}
.hero-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0,119,182,0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,119,182,0.4);
}
.btn-outline {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--border);
}
.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary-light);
}
.btn-danger {
    background: var(--danger);
    color: #fff;
}
.btn-danger:hover { background: #d63d63; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-xl { padding: 18px 44px; font-size: 1.15rem; border-radius: 10px; }

.hero-stats {
    display: flex;
    gap: 40px;
}
.hero-stat {
    display: flex;
    flex-direction: column;
}
.hero-stat-num {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
}
.hero-stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Phone Mockup */
.phone-mockup {
    width: 300px;
    height: 600px;
    background: #1a1a2e;
    border-radius: 36px;
    padding: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px var(--glow);
    margin: 0 auto;
    border: 2px solid rgba(255,255,255,0.1);
}
.phone-notch {
    width: 120px;
    height: 28px;
    background: #1a1a2e;
    border-radius: 0 0 16px 16px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.phone-screen {
    background: var(--dark-card);
    border-radius: 24px;
    height: calc(100% - 16px);
    overflow: hidden;
    margin-top: -14px;
    display: flex;
    flex-direction: column;
}
.screen-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 20px 16px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.screen-title { color: #fff; font-weight: 700; font-size: 0.95rem; }
.screen-status { color: rgba(255,255,255,0.8); font-size: 0.7rem; }
.screen-status.online { color: #90ee90; }
.screen-body {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.demo-port {
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    padding: 14px;
    border: 1px solid var(--border);
}
.port-name {
    font-weight: 700;
    font-size: 0.85rem;
    color: #fff;
    margin-bottom: 4px;
}
.port-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}
.port-progress .progress-bar {
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 6px;
}
.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 3px;
    transition: width 0.3s ease;
}
.progress-text {
    font-size: 0.7rem;
    color: var(--text-muted);
}
.demo-log {
    flex: 1;
    background: rgba(0,0,0,0.3);
    border-radius: 8px;
    padding: 10px;
    overflow-y: auto;
    max-height: 160px;
    font-family: 'Consolas', monospace;
    font-size: 0.65rem;
    color: var(--success);
}
.log-entry { margin-bottom: 3px; line-height: 1.4; }
.demo-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}
.demo-btn:hover { transform: scale(1.02); }

/* ===== Pain Points ===== */
.pain-points {
    padding: 80px 0;
    background: var(--bg-light);
}
.pain-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.pain-card {
    background: var(--dark-card);
    border-radius: var(--radius);
    padding: 30px 24px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}
.pain-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0,119,182,0.15);
}
.pain-icon { font-size: 2.5rem; margin-bottom: 16px; }
.pain-card h3 {
    font-size: 1.05rem;
    color: #fff;
    margin-bottom: 10px;
}
.pain-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===== Features ===== */
.features { padding: 100px 0; }
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature-card {
    background: var(--dark-card);
    border-radius: var(--radius);
    padding: 35px 28px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0,119,182,0.15);
}
.feature-icon { font-size: 2.5rem; margin-bottom: 18px; }
.feature-card h3 {
    font-size: 1.15rem;
    color: #fff;
    margin-bottom: 10px;
}
.feature-card > p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 16px;
    line-height: 1.7;
}
.feature-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
    background: rgba(0,119,182,0.15);
    color: var(--primary-light);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ===== How It Works ===== */
.how-it-works {
    padding: 100px 0;
    background: var(--bg-light);
}
.steps-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}
.step-flow {
    text-align: center;
    flex: 1;
}
.step-flow-num {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
    margin: 0 auto 16px;
}
.step-flow-content h3 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 8px;
}
.step-flow-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
}
.step-connector {
    font-size: 1.5rem;
    color: var(--primary-light);
}

/* ===== Demo Section ===== */
.demo-section { padding: 100px 0; }
.demo-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}
.demo-panel {
    background: var(--dark-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
}
.panel-header {
    padding: 16px 20px;
    background: rgba(0,0,0,0.3);
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #fff;
}
.panel-status {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.panel-status.running { color: var(--success); }
.panel-badge {
    font-size: 0.8rem;
    background: var(--primary);
    color: #fff;
    padding: 2px 10px;
    border-radius: 10px;
}
.panel-body { padding: 20px; }
.demo-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}
.demo-info-item {
    background: rgba(0,0,0,0.2);
    border-radius: var(--radius-sm);
    padding: 12px;
}
.info-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.info-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
}
.demo-console {
    background: rgba(0,0,0,0.4);
    border-radius: var(--radius-sm);
    padding: 14px;
    height: 200px;
    overflow-y: auto;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 0.8rem;
    margin-bottom: 16px;
    border: 1px solid var(--border);
}
.console-line {
    margin-bottom: 4px;
    line-height: 1.5;
}
.console-line.system { color: var(--primary-light); }
.console-line.success { color: var(--success); }
.console-line.warning { color: var(--accent); }
.console-line.error { color: var(--danger); }
.demo-controls {
    display: flex;
    gap: 12px;
}
.demo-controls .btn { flex: 1; justify-content: center; }
.booking-list {
    max-height: 280px;
    overflow-y: auto;
}
.empty-state {
    text-align: center;
    color: var(--text-muted);
    padding: 40px 0;
    font-size: 0.9rem;
}
.booking-item {
    background: rgba(0,0,0,0.2);
    border-radius: var(--radius-sm);
    padding: 14px;
    margin-bottom: 10px;
    border-left: 3px solid var(--success);
}
.booking-item .bi-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}
.booking-item .bi-port {
    font-weight: 600;
    color: #fff;
    font-size: 0.9rem;
}
.booking-item .bi-time {
    font-size: 0.75rem;
    color: var(--text-muted);
}
.booking-item .bi-detail {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===== Pricing ===== */
.pricing {
    padding: 100px 0;
    background: var(--bg-light);
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
    align-items: start;
}
.price-card {
    background: var(--dark-card);
    border-radius: var(--radius);
    padding: 35px 28px;
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}
.price-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}
.price-card.popular {
    border-color: var(--accent);
    box-shadow: 0 0 30px rgba(255,107,53,0.15);
    transform: scale(1.03);
}
.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    padding: 4px 18px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}
.price-header h3 {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 6px;
}
.price-header p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}
.price-amount {
    margin-bottom: 24px;
}
.currency { font-size: 1.2rem; color: var(--text-muted); }
.amount { font-size: 3rem; font-weight: 900; color: #fff; }
.period { font-size: 0.9rem; color: var(--text-muted); }
.price-features {
    text-align: left;
    margin-bottom: 28px;
}
.price-features li {
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
}
.price-features li:last-child { border-bottom: none; }
.price-btn { width: 100%; justify-content: center; }

/* ===== FAQ ===== */
.faq { padding: 100px 0; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    background: var(--dark-card);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    border: 1px solid var(--border);
    overflow: hidden;
}
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: none;
    border: none;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s;
}
.faq-question:hover { background: rgba(255,255,255,0.03); }
.faq-arrow {
    font-size: 1.2rem;
    color: var(--primary-light);
    transition: transform 0.3s;
}
.faq-item.open .faq-arrow { transform: rotate(45deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p {
    padding: 0 24px 20px;
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ===== CTA ===== */
.cta {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--dark) 100%);
    position: relative;
    overflow: hidden;
}
.cta::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0,180,216,0.1) 0%, transparent 70%);
    top: -200px;
    right: -100px;
}
.cta h2 {
    font-size: 2.4rem;
    color: #fff;
    margin-bottom: 12px;
    position: relative;
}
.cta > .container > p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
    position: relative;
}
.cta-note {
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
    position: relative;
}

/* ===== Footer ===== */
.footer {
    padding: 60px 0 30px;
    background: var(--dark);
    border-top: 1px solid var(--border);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 12px;
}
.footer-col h4 {
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 14px;
}
.footer-col p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--primary-light); }
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-desc { margin: 0 auto 30px; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { display: none; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .price-card:last-child { grid-column: span 2; max-width: 400px; margin: 0 auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta { display: none; }
    .mobile-menu-btn { display: block; }
    .hero-text h1 { font-size: 2.2rem; }
    .pain-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: 1fr; }
    .steps-flow { flex-direction: column; }
    .step-connector { transform: rotate(90deg); }
    .demo-container { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .price-card:last-child { grid-column: auto; max-width: none; }
    .footer-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 1.8rem; }
}

@media (max-width: 480px) {
    .hero-text h1 { font-size: 1.8rem; }
    .hero-stats { gap: 20px; }
    .pain-grid { grid-template-columns: 1fr; }
    .demo-info-grid { grid-template-columns: 1fr; }
}
