:root {
    --bg-dark: #020612;
    --primary: #0066ff;
    --primary-glow: #00a2ff;
    --text-main: #ffffff;
    --text-muted: #8a9ab0;
    --border-glass: rgba(255, 255, 255, 0.1);
    --bg-glass: rgba(16, 25, 45, 0.6);
    --shopee: #ff4d00;
    --tiktok: #00f2fe;
    --lazada: #a300ff;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.5;
}

/* Background Effects */
.bg-glow {
    position: fixed;
    top: 50%;
    left: 70%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.15) 0%, rgba(0,0,0,0) 70%);
    z-index: -2;
    pointer-events: none;
}

.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    pointer-events: none;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.header {
    padding: 1.5rem 0;
    position: relative;
    z-index: 10;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #00a2ff, #0055ff);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    transform: skewX(-10deg);
}

.icon-a {
    color: white;
    font-weight: 900;
    font-style: italic;
    transform: skewX(10deg);
}

.icon-a.small {
    font-size: 12px;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-item {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-item:hover {
    color: var(--primary-glow);
}

.nav-item i {
    font-size: 0.7rem;
    margin-left: 4px;
}

.header-actions {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-glass);
    color: var(--text-main);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.2);
}

.btn-primary {
    background: var(--primary);
    border: none;
    color: white;
    box-shadow: 0 0 15px rgba(0, 102, 255, 0.4);
}

.btn-primary:hover {
    background: #0055ff;
    box-shadow: 0 0 25px rgba(0, 102, 255, 0.6);
}

/* Hero Section */
.hero {
    padding: 3rem 0;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Left Content */
.tagline {
    display: inline-block;
    background: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.2);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    color: var(--primary-glow);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.tagline i {
    margin-right: 6px;
}

.main-title {
    font-size: 6.5rem;
    font-weight: 900;
    font-style: italic;
    color: #fff;
    text-shadow: 0 0 10px rgba(255,255,255,0.8), 0 0 20px #0066ff, 0 0 40px #0066ff, 0 0 80px #0066ff;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    letter-spacing: -2px;
    -webkit-text-stroke: 1px rgba(255,255,255,0.5);
}

.sub-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.description {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 90%;
}

.text-shopee { color: var(--shopee); font-weight: 600; }
.text-tiktok { 
    background: linear-gradient(45deg, #00f2fe, #fe0979);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600; 
}
.text-lazada { color: var(--lazada); font-weight: 600; }

/* Countdown */
.countdown-container {
    background: transparent;
    border: 2px solid var(--primary-glow);
    border-radius: 12px;
    padding: 1rem 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.5), inset 0 0 20px rgba(0, 102, 255, 0.3);
    display: inline-flex;
    flex-direction: column;
}

.countdown-header {
    color: #a8c7fa;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.countdown-timer {
    display: grid;
    grid-template-columns: 145px 35px 145px 35px 145px 35px 145px;
    align-items: center;
}

.time-val {
    font-size: 5.5rem;
    font-weight: 800;
    font-style: italic;
    line-height: 1;
    color: #fff;
    text-shadow: 0 0 15px rgba(0, 102, 255, 0.8), 0 0 30px rgba(0, 102, 255, 0.5);
    letter-spacing: 2px;
    font-variant-numeric: tabular-nums;
    text-align: center;
    width: 100%;
}

.time-separator {
    font-size: 5.5rem;
    font-weight: 800;
    font-style: italic;
    line-height: 1;
    color: #fff;
    text-shadow: 0 0 15px rgba(0, 102, 255, 0.8), 0 0 30px rgba(0, 102, 255, 0.5);
    text-align: center;
    width: 100%;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.feature-item {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 1.2rem;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: rgba(0, 102, 255, 0.1);
    color: var(--primary-glow);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
}

.feature-text h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.feature-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* CTA Group */
.cta-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Subscribe Section */
.subscribe-section {
    background: rgba(0,0,0,0.3);
    border-top: 1px solid var(--border-glass);
    padding-top: 2rem;
}

.subscribe-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.subscribe-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
}

.input-wrapper {
    flex: 1;
    position: relative;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-glass);
    border-radius: 6px;
    display: flex;
    align-items: center;
    padding: 0 1rem;
}

.input-wrapper i {
    color: var(--text-muted);
}

.input-wrapper input {
    width: 100%;
    background: transparent;
    border: none;
    padding: 0.8rem;
    color: white;
    outline: none;
    font-family: inherit;
}

/* 3D Dashboard Replica */
.hero-graphic {
    perspective: 1200px;
    position: relative;
}

.dashboard-wrapper {
    transform: rotateY(-15deg) rotateX(5deg) scale(0.9);
    transform-style: preserve-3d;
    position: relative;
    transition: transform 0.5s ease;
}

.dashboard-wrapper:hover {
    transform: rotateY(-10deg) rotateX(2deg) scale(0.95);
}

.dashboard-mockup {
    background: linear-gradient(135deg, rgba(20, 25, 45, 0.9), rgba(10, 15, 30, 0.95));
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    display: flex;
    height: 500px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6), 0 0 40px rgba(0, 102, 255, 0.2);
    backdrop-filter: blur(10px);
}

.mock-sidebar {
    width: 200px;
    border-right: 1px solid var(--border-glass);
    padding: 1.5rem 1rem;
}

.mock-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.mock-menu {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.menu-item {
    padding: 0.6rem 1rem;
    border-radius: 6px;
    color: var(--text-muted);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.menu-item.active {
    background: rgba(0, 102, 255, 0.2);
    color: var(--primary-glow);
}

.mock-main {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mock-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mock-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

.mock-header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mock-date {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.mock-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.avatar {
    width: 32px;
    height: 32px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.user-info {
    display: flex;
    flex-direction: column;
    font-size: 0.8rem;
}

.user-info span {
    color: var(--text-muted);
    font-size: 0.7rem;
}

.mock-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.stat-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-title {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.stat-value {
    font-size: 1.2rem;
}

.stat-trend {
    font-size: 0.7rem;
}
.stat-trend.positive { color: #00ff88; }
.stat-trend.negative { color: #ff3366; }

.mock-charts {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
    flex: 1;
}

.chart-box {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
}

.chart-header {
    margin-bottom: 1rem;
}

.chart-header span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.chart-val {
    font-size: 1.4rem;
    font-weight: bold;
    margin: 5px 0;
}

.fake-chart-line {
    flex: 1;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 40" xmlns="http://www.w3.org/2000/svg"><path d="M0 30 Q 10 20, 20 25 T 40 15 T 60 20 T 80 5 T 100 10" fill="none" stroke="%2300a2ff" stroke-width="2"/><circle cx="80" cy="5" r="3" fill="%2300a2ff"/></svg>') no-repeat center bottom;
    background-size: 100% 80%;
}

.donut-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    flex: 1;
    justify-content: center;
}

.donut-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: conic-gradient(var(--shopee) 0% 42%, var(--tiktok) 42% 75%, var(--lazada) 75% 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.donut-circle::before {
    content: '';
    position: absolute;
    width: 90px;
    height: 90px;
    background: #111827;
    border-radius: 50%;
}

.donut-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.donut-inner strong { font-size: 1.1rem; }
.donut-inner span { font-size: 0.7rem; color: var(--text-muted); }

.donut-legend {
    width: 100%;
}

.legend-item {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    margin-bottom: 0.4rem;
    gap: 6px;
}

.legend-item small {
    margin-left: auto;
    color: var(--text-muted);
}

.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot.shopee { background: var(--shopee); }
.dot.tiktok { background: var(--tiktok); }
.dot.lazada { background: var(--lazada); }

/* Floating Cards */
.floating-cards {
    position: absolute;
    bottom: -60px;
    left: 20px;
    right: 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    transform: translateZ(50px);
}

.float-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 1.2rem;
    backdrop-filter: blur(15px);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.card-shopee {
    border-color: rgba(255, 77, 0, 0.4);
    box-shadow: 0 10px 30px rgba(255, 77, 0, 0.15);
}

.card-tiktok {
    border-color: rgba(0, 242, 254, 0.4);
    box-shadow: 0 10px 30px rgba(0, 242, 254, 0.15);
}

.card-lazada {
    border-color: rgba(163, 0, 255, 0.4);
    box-shadow: 0 10px 30px rgba(163, 0, 255, 0.15);
}

.fc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
}

.fc-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.fc-icon {
    width: 20px;
    height: 20px;
}

.fc-value {
    font-size: 1.8rem;
    font-weight: bold;
}

.fc-trend {
    font-size: 0.8rem;
}

.fc-chart {
    height: 40px;
    margin-top: 10px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 20" xmlns="http://www.w3.org/2000/svg"><path d="M0 15 L 20 5 L 40 10 L 60 2 L 80 8 L 100 5" fill="none" stroke="rgba(255,255,255,0.5)" stroke-width="2"/></svg>') no-repeat center bottom;
    background-size: 100% 100%;
}

.shopee-chart { background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 20" xmlns="http://www.w3.org/2000/svg"><path d="M0 15 L 20 5 L 40 10 L 60 2 L 80 8 L 100 5" fill="none" stroke="%23ff4d00" stroke-width="2"/></svg>'); }
.tiktok-chart { background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 20" xmlns="http://www.w3.org/2000/svg"><path d="M0 15 L 20 5 L 40 10 L 60 2 L 80 8 L 100 5" fill="none" stroke="%2300f2fe" stroke-width="2"/></svg>'); }
.lazada-chart { background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 20" xmlns="http://www.w3.org/2000/svg"><path d="M0 15 L 20 5 L 40 10 L 60 2 L 80 8 L 100 5" fill="none" stroke="%23a300ff" stroke-width="2"/></svg>'); }

/* Bottom text */
.launch-date-bottom {
    text-align: center;
    padding: 2rem 0;
    color: var(--text-muted);
    font-size: 1.1rem;
    position: relative;
    z-index: 10;
}

.launch-date-bottom .date-highlight {
    color: var(--primary-glow);
    font-weight: bold;
}
