/* ===== CSS Variables ===== */
:root {
    --primary: #3b82f6;
    --primary-dark: #1d4ed8;
    --secondary: #f97316;
    --secondary-dark: #ea580c;
    --bg-dark: #0f172a;
    --bg-darker: #020617;
    --bg-card: rgba(30, 41, 59, 0.7);
    --bg-glass: rgba(255, 255, 255, 0.05);
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --text-dark: #64748b;
    --success: #22c55e;
    --warning: #eab308;
    --danger: #ef4444;
    --border: rgba(255, 255, 255, 0.1);
    --gradient-1: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --gradient-2: linear-gradient(135deg, #f97316 0%, #f43f5e 100%);
    --gradient-bg: linear-gradient(180deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
    --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --radius: 16px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg-darker);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input,
textarea {
    font-family: inherit;
}

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

/* ===== Typography ===== */
.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 14px;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    margin-bottom: 16px;
}

.section-description {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    color: var(--text);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-full {
    width: 100%;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gradient-1);
    border-radius: 10px;
}

.logo-icon svg {
    width: 22px;
    height: 22px;
    color: white;
}

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

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
}

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

.nav-links .nav-cta {
    padding: 10px 20px;
    background: var(--gradient-1);
    color: white;
    border-radius: var(--radius-sm);
}

.mobile-menu-btn {
    display: none;
    padding: 8px;
    color: var(--text);
}

.mobile-menu-btn svg {
    width: 28px;
    height: 28px;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        var(--bg-darker);
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 14px;
    margin-bottom: 24px;
}

.hero-badge svg {
    width: 16px;
    height: 16px;
    color: var(--secondary);
}

.hero-title {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-description {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
}

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

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.hero-scroll a {
    display: flex;
    color: var(--text-muted);
    animation: bounce 2s infinite;
}

.hero-scroll svg {
    width: 32px;
    height: 32px;
}

/* ===== Dashboard Mockup ===== */
.hero-visual {
    position: relative;
}

.dashboard-mockup {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--border);
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mockup-dots span:nth-child(1) {
    background: #ef4444;
}

.mockup-dots span:nth-child(2) {
    background: #eab308;
}

.mockup-dots span:nth-child(3) {
    background: #22c55e;
}

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

.mockup-content {
    display: flex;
}

.mockup-sidebar {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 8px;
    background: rgba(0, 0, 0, 0.2);
    border-right: 1px solid var(--border);
}

.sidebar-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    color: var(--text-muted);
    transition: var(--transition);
}

.sidebar-item.active {
    background: var(--primary);
    color: white;
}

.sidebar-item svg {
    width: 18px;
    height: 18px;
}

.mockup-main {
    flex: 1;
    padding: 16px;
}

.mockup-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.m-card {
    padding: 12px;
    border-radius: 10px;
    text-align: center;
}

.m-card.blue {
    background: rgba(59, 130, 246, 0.2);
    color: var(--primary);
}

.m-card.green {
    background: rgba(34, 197, 94, 0.2);
    color: var(--success);
}

.m-card.orange {
    background: rgba(249, 115, 22, 0.2);
    color: var(--secondary);
}

.m-card svg {
    width: 20px;
    height: 20px;
    margin-bottom: 4px;
}

.m-card-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
}

.m-card-label {
    font-size: 10px;
    opacity: 0.8;
}

.mockup-chart {
    background: var(--bg-glass);
    border-radius: 10px;
    padding: 16px;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 80px;
}

.bar {
    flex: 1;
    background: var(--gradient-1);
    border-radius: 4px 4px 0 0;
    transition: var(--transition);
}

.bar:hover {
    filter: brightness(1.2);
}

/* ===== Floating Cards ===== */
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    animation: float 3s ease-in-out infinite;
}

.floating-card svg {
    width: 18px;
    height: 18px;
}

.floating-card span {
    font-size: 13px;
    font-weight: 500;
}

.card-1 {
    top: 10%;
    right: -20px;
    animation-delay: 0s;
}

.card-1 svg {
    color: var(--success);
}

.card-2 {
    bottom: 30%;
    right: -40px;
    animation-delay: 1s;
}

.card-2 svg {
    color: var(--primary);
}

.card-3 {
    bottom: 10%;
    left: -30px;
    animation-delay: 2s;
}

.card-3 svg {
    color: var(--secondary);
}

/* ===== Problem & Solution ===== */
.problem-solution {
    padding: 120px 0;
    background: var(--bg-dark);
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: center;
}

.comparison-card {
    padding: 40px;
    border-radius: var(--radius);
}

.comparison-card.problem {
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.comparison-card.solution {
    background: rgba(34, 197, 94, 0.05);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.comparison-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.problem-icon {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.solution-icon {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success);
}

.comparison-icon svg {
    width: 28px;
    height: 28px;
}

.comparison-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.comparison-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.comparison-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-muted);
}

.comparison-list li svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.problem .comparison-list li svg {
    color: var(--danger);
}

.solution .comparison-list li svg {
    color: var(--success);
}

.comparison-vs {
    display: flex;
    align-items: center;
    justify-content: center;
}

.vs-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.vs-circle svg {
    width: 24px;
    height: 24px;
    color: white;
}

/* ===== Features Grid ===== */
.features {
    padding: 120px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    position: relative;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.feature-card>p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-list li {
    font-size: 14px;
    color: var(--text-dark);
    padding-left: 16px;
    position: relative;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

.feature-hover-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    opacity: 0;
    transition: var(--transition);
    color: var(--primary);
}

.feature-card:hover .feature-hover-icon {
    opacity: 1;
}

/* ===== Admin Showcase Tabs ===== */
.admin-showcase {
    padding: 120px 0;
    background: var(--bg-dark);
}

.showcase-tabs {
    margin-top: 40px;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    padding: 8px;
    background: var(--bg-glass);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
}

.tab-btn:hover {
    color: var(--text);
}

.tab-btn.active {
    background: var(--gradient-1);
    color: white;
}

.tab-btn svg {
    width: 18px;
    height: 18px;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

.tab-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.tab-info h3 {
    font-size: 28px;
    margin-bottom: 16px;
}

.tab-info>p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.tab-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tab-features li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.tab-features li svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.tab-features li strong {
    display: block;
    margin-bottom: 4px;
}

.tab-features li span {
    font-size: 14px;
    color: var(--text-muted);
}

.tab-visual {
    display: flex;
    justify-content: center;
}

.visual-card {
    padding: 24px;
    border-radius: var(--radius);
    background: var(--bg-glass);
    border: 1px solid var(--border);
    min-width: 360px;
}

.visual-card.glass {
    backdrop-filter: blur(10px);
}

.v-card-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.v-stat-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
}

.v-stat-card.accent {
    background: rgba(139, 92, 246, 0.1);
}

.v-stat-card.success {
    background: rgba(34, 197, 94, 0.1);
}

.v-stat-card.warning {
    background: rgba(249, 115, 22, 0.1);
}

.v-stat-card svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.v-stat-value {
    display: block;
    font-size: 20px;
    font-weight: 700;
}

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

.v-profit-card {
    padding: 20px;
    background: var(--gradient-1);
    border-radius: 12px;
    text-align: center;
}

.v-profit-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.v-profit-badge {
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 12px;
}

.v-profit-value {
    font-size: 28px;
    font-weight: 800;
}

/* Tab visual cards */
.v-tour-card {
    padding: 20px;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.v-tour-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.v-tour-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.v-tour-badge.active {
    background: rgba(34, 197, 94, 0.2);
    color: var(--success);
}

.v-tour-code {
    font-size: 12px;
    color: var(--text-muted);
}

.v-tour-card h4 {
    font-size: 18px;
    margin-bottom: 12px;
}

.v-tour-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 13px;
    color: var(--text-muted);
}

.v-tour-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.v-tour-meta svg {
    width: 14px;
    height: 14px;
}

.v-capacity-bar {
    height: 8px;
    background: var(--bg-glass);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 6px;
}

.v-capacity-fill {
    height: 100%;
    background: var(--gradient-1);
    border-radius: 4px;
}

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

.v-tour-staff {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-muted);
}

.v-staff-avatar {
    width: 28px;
    height: 28px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.v-staff-avatar svg {
    width: 14px;
    height: 14px;
    color: white;
}

/* Passenger list visual */
.v-passenger-list {
    margin-bottom: 20px;
}

.v-passenger-row {
    display: grid;
    grid-template-columns: 30px 1fr 60px 80px;
    gap: 12px;
    padding: 10px 12px;
    font-size: 13px;
    border-radius: 6px;
}

.v-passenger-row.header {
    background: var(--bg-glass);
    font-weight: 600;
    color: var(--text-muted);
}

.v-passenger-row:not(.header) {
    border-bottom: 1px solid var(--border);
}

.v-status {
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.v-status.paid {
    background: rgba(34, 197, 94, 0.2);
    color: var(--success);
}

.v-status.pending {
    background: rgba(234, 179, 8, 0.2);
    color: var(--warning);
}

.v-room-groups {
    padding: 16px;
    background: var(--bg-card);
    border-radius: 10px;
}

.v-room-title {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: block;
}

.v-rooms {
    display: flex;
    gap: 10px;
}

.v-room {
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 12px;
}

.v-room span {
    font-weight: 600;
}

.v-room.twin {
    background: rgba(59, 130, 246, 0.2);
    color: var(--primary);
}

.v-room.dbl {
    background: rgba(139, 92, 246, 0.2);
    color: #8b5cf6;
}

.v-room.sng {
    background: rgba(249, 115, 22, 0.2);
    color: var(--secondary);
}

/* Finance visual */
.v-finance-summary {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.v-finance-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: 12px;
}

.v-finance-row.income {
    background: rgba(34, 197, 94, 0.1);
}

.v-finance-row.expense {
    background: rgba(239, 68, 68, 0.1);
}

.v-finance-row.profit {
    background: var(--gradient-1);
}

.v-finance-row svg {
    width: 24px;
    height: 24px;
}

.v-finance-row.income svg {
    color: var(--success);
}

.v-finance-row.expense svg {
    color: var(--danger);
}

.v-finance-row.profit svg {
    color: white;
}

.v-finance-row .label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
}

.v-finance-row.profit .label {
    color: rgba(255, 255, 255, 0.7);
}

.v-finance-row .value {
    font-size: 20px;
    font-weight: 700;
}

.v-margin {
    margin-left: auto;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

/* Staff visual */
.v-staff-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.v-staff-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: var(--bg-card);
    border-radius: 10px;
    border: 1px solid var(--border);
}

.v-staff-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.v-staff-icon.guide {
    background: rgba(139, 92, 246, 0.2);
    color: #8b5cf6;
}

.v-staff-icon.driver {
    background: rgba(59, 130, 246, 0.2);
    color: var(--primary);
}

.v-staff-icon svg {
    width: 20px;
    height: 20px;
}

.v-staff-info {
    flex: 1;
}

.v-staff-info strong {
    display: block;
    font-size: 14px;
}

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

.v-staff-stats {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 12px;
}

.v-staff-stats span:first-child {
    color: var(--text-muted);
}

.v-staff-stats span:last-child {
    font-weight: 600;
    color: var(--success);
}

.v-vehicle-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: var(--bg-glass);
    border-radius: 10px;
}

.v-vehicle-card svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.v-vehicle-card strong {
    display: block;
}

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

/* ===== Timeline Highlights ===== */
.highlights {
    padding: 120px 0;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 60px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
    text-align: right;
}

.timeline-item:nth-child(odd) .timeline-content {
    padding-right: 60px;
    padding-left: 0;
}

.timeline-item:nth-child(even) .timeline-content {
    padding-left: 60px;
}

.timeline-icon {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 56px;
    height: 56px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    border: 4px solid var(--bg-darker);
}

.timeline-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.timeline-content {
    width: 50%;
}

.timeline-content h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.timeline-content p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.timeline-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.timeline-item:nth-child(odd) .timeline-tags {
    justify-content: flex-end;
}

.timeline-tags span {
    padding: 6px 14px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 12px;
    color: var(--text-muted);
}

/* ===== Public Site Showcase ===== */
.public-showcase {
    padding: 120px 0;
    background: var(--bg-dark);
}

.public-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.public-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.public-feature-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: var(--transition);
}

.public-feature-card:hover {
    border-color: var(--primary);
    transform: translateX(8px);
}

.pf-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pf-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.pf-content h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.pf-content p {
    font-size: 14px;
    color: var(--text-muted);
}

.public-mockup {
    position: relative;
    display: flex;
    justify-content: center;
}

.device-frame {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 12px;
    box-shadow: var(--shadow);
}

.device-screen {
    width: 360px;
    height: 480px;
    background: var(--bg-darker);
    border-radius: 12px;
    overflow: hidden;
}

.screen-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
}

.screen-logo {
    font-weight: 700;
    font-size: 14px;
}

.screen-nav {
    display: flex;
    gap: 12px;
    font-size: 11px;
    color: var(--text-muted);
}

.screen-hero {
    height: 180px;
    background: linear-gradient(135deg, #1e40af 0%, #7c3aed 100%);
    padding: 24px;
    display: flex;
    align-items: flex-end;
}

.screen-hero-text h5 {
    font-size: 16px;
    margin-bottom: 4px;
}

.screen-hero-text p {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.screen-hero-text button {
    padding: 6px 14px;
    background: white;
    color: #1e40af;
    border: none;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
}

.screen-tours {
    padding: 16px;
    display: flex;
    gap: 12px;
}

.screen-tour-card {
    flex: 1;
    height: 100px;
    background: var(--bg-card);
    border-radius: 8px;
}

.responsive-badges {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}

.r-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 12px;
    color: var(--text-muted);
}

.r-badge svg {
    width: 14px;
    height: 14px;
}

/* ===== Technical Features ===== */
.technical {
    padding: 120px 0;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.tech-card {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
}

.tech-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
}

.tech-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.tech-card h4 {
    font-size: 18px;
    margin-bottom: 16px;
}

.tech-card ul {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tech-card li {
    font-size: 14px;
    color: var(--text-muted);
    padding-left: 20px;
    position: relative;
}

.tech-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
}

/* ===== Benefits ===== */
.benefits {
    padding: 120px 0;
    background: var(--bg-dark);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.benefit-card {
    padding: 32px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
}

.benefit-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.benefit-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.benefit-card h3 {
    font-size: 18px;
    margin-bottom: 16px;
}

.benefit-card ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.benefit-card li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-muted);
}

.benefit-card li svg {
    width: 16px;
    height: 16px;
    color: var(--success);
    flex-shrink: 0;
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 120px 0;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.cta-text h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.cta-text>p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.cta-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
}

.cta-feature svg {
    width: 20px;
    height: 20px;
    color: var(--success);
}

.cta-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
}

.contact-form h3 {
    font-size: 24px;
    margin-bottom: 24px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 15px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-dark);
}

.form-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 12px;
    color: var(--text-muted);
}

.form-note svg {
    width: 14px;
    height: 14px;
}

/* ===== Footer ===== */
.footer {
    padding: 80px 0 24px;
    background: var(--bg-darker);
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 16px;
    display: inline-flex;
}

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

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-muted);
    transition: var(--transition);
}

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

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-muted);
}

.footer-contact svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: var(--text-dark);
}

/* ===== Mobile Menu ===== */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mobile-menu-close {
    position: absolute;
    top: 24px;
    right: 24px;
    color: var(--text);
    padding: 8px;
}

.mobile-menu-close svg {
    width: 32px;
    height: 32px;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.mobile-nav-links a {
    font-size: 24px;
    font-weight: 600;
    color: var(--text);
}

.mobile-nav-links .nav-cta {
    padding: 16px 32px;
    background: var(--gradient-1);
    border-radius: var(--radius-sm);
}

/* ===== Modal ===== */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 48px;
    text-align: center;
    max-width: 400px;
}

.modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-icon.success {
    background: rgba(34, 197, 94, 0.1);
}

.modal-icon svg {
    width: 40px;
    height: 40px;
    color: var(--success);
}

.modal-content h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.modal-content p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

.animate-fade-up {
    animation: fadeUp 0.8s ease forwards;
}

.animate-fade-left {
    animation: fadeUp 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

.delay-5 {
    animation-delay: 0.5s;
}

.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: all 0.8s ease;
}

.reveal-up {
    transform: translateY(50px);
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.reveal-up.active,
.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translate(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 1;
    }

    .hero-visual {
        order: 2;
        margin-top: 40px;
    }

    .hero-description {
        margin: 0 auto 32px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
    }

    .comparison-vs {
        transform: rotate(90deg);
        margin: 20px 0;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tab-content-grid {
        grid-template-columns: 1fr;
    }

    .tab-visual {
        order: -1;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item,
    .timeline-item:nth-child(odd) {
        flex-direction: column;
        text-align: left;
    }

    .timeline-icon {
        left: 30px;
    }

    .timeline-content,
    .timeline-item:nth-child(odd) .timeline-content {
        width: 100%;
        padding-left: 80px !important;
        padding-right: 0 !important;
    }

    .timeline-item:nth-child(odd) .timeline-tags {
        justify-content: flex-start;
    }

    .public-grid {
        grid-template-columns: 1fr;
    }

    .public-mockup {
        margin-top: 60px;
    }

    .tech-grid,
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-content {
        grid-template-columns: 1fr;
    }

    .cta-text {
        text-align: center;
    }

    .cta-features {
        align-items: center;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .stat-divider {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .tabs-nav {
        flex-direction: column;
        align-items: stretch;
    }

    .tab-btn {
        justify-content: center;
    }

    .visual-card {
        min-width: auto;
        width: 100%;
    }

    .device-screen {
        width: 100%;
        height: auto;
        aspect-ratio: 3/4;
    }

    .tech-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .floating-card {
        display: none;
    }

    .section-title {
        font-size: 28px;
    }

    .section-description {
        font-size: 16px;
    }
}