/* Theme Variables - Deep Blue & Vibrant Neon */
:root {
    --bg-dark: #0a0e17;
    --bg-card: #151a25;
    --primary: #00e5ff; /* Cyan Neon */
    --accent: #7000ff; /* Purple Neon */
    --text-main: #ffffff;
    --text-muted: #a0a8b8;
    --grad-main: linear-gradient(135deg, #00e5ff 0%, #7000ff 100%);
    --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --container-width: 1200px;
    --header-height: 70px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- Header (Double Bar) --- */
.top-bar {
    background: #000;
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 1px solid #222;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-links { display: flex; gap: 20px; color: var(--text-muted); }
.top-links a:hover { color: var(--primary); }

.main-header {
    background: rgba(10, 14, 23, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
.brand img { height: 40px; }

.nav-desk { display: flex; gap: 5px; }
.nav-desk a {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    color: var(--text-muted);
}
.nav-desk a:hover, .nav-desk a.active {
    background: rgba(255,255,255,0.05);
    color: var(--primary);
}

.auth-btns { display: flex; gap: 10px; }
.btn {
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.btn-ghost { border: 1px solid rgba(255,255,255,0.2); color: #fff; }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-grad { background: var(--grad-main); color: #fff; border: none; box-shadow: 0 4px 15px rgba(0,229,255,0.3); }
.btn-grad:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(112,0,255,0.4); }

.hamburger { display: none; background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; }

/* --- Mobile Menu (Overlay) --- */
.mobile-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    background: var(--bg-dark);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    padding: 20px;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-overlay.open { transform: translateY(0); }
.mo-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.mo-close { background: none; border: none; color: #fff; font-size: 28px; }
.mo-nav { display: flex; flex-direction: column; gap: 20px; text-align: center; }
.mo-nav a { font-size: 20px; font-weight: 600; }
.mo-nav a.active { color: var(--primary); }

/* --- Hero Section --- */
.hero-sec {
    position: relative;
    padding: 80px 0 120px;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    top: 0; right: 0; width: 50%; height: 100%;
    object-fit: cover;
    opacity: 0.4;
    mask-image: linear-gradient(to left, black, transparent);
    -webkit-mask-image: linear-gradient(to left, black, transparent);
    z-index: 0;
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}
.hero-tag {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(0,229,255,0.1);
    color: var(--primary);
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
}
.hero-sec h1 {
    font-size: 48px;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(to right, #fff, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-sec p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

/* --- Sections --- */
.section { padding: 80px 0; }
.container { width: 90%; max-width: var(--container-width); margin: 0 auto; }
.sec-head { text-align: center; margin-bottom: 50px; }
.sec-head h2 { font-size: 32px; margin-bottom: 10px; }
.sec-head p { color: var(--text-muted); }

/* Block: Grid Masonry */
.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.m-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
    border: 1px solid rgba(255,255,255,0.05);
}
.m-card:hover { transform: translateY(-5px); border-color: var(--primary); }
.m-img { height: 200px; overflow: hidden; }
.m-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.m-card:hover .m-img img { transform: scale(1.1); }
.m-body { padding: 25px; }
.m-body h3 { font-size: 20px; margin-bottom: 10px; color: #fff; }
.m-body p { color: var(--text-muted); font-size: 14px; }

/* Block: ZigZag */
.zigzag-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}
.zigzag-row.rev { flex-direction: row-reverse; }
.z-img { flex: 1; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.z-txt { flex: 1; }
.z-txt h3 { font-size: 28px; margin-bottom: 15px; color: var(--primary); }
.z-list li { margin-bottom: 10px; display: flex; gap: 10px; align-items: center; }
.z-list i { color: var(--accent); }

/* Block: Stats Counter */
.counter-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background: linear-gradient(90deg, #151a25, #0a0e17);
    padding: 60px;
    border-radius: 20px;
    text-align: center;
}
.cnt-item h4 { font-size: 42px; font-weight: 800; color: #fff; margin-bottom: 5px; }
.cnt-item span { color: var(--text-muted); text-transform: uppercase; font-size: 12px; letter-spacing: 1px; }

/* Block: FAQ Accordion */
.accordion { max-width: 800px; margin: 0 auto; }
.acc-item { margin-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.acc-head {
    padding: 20px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    font-size: 18px;
}
.acc-body {
    max-height: 0;
    overflow: hidden;
    transition: 0.3s;
    color: var(--text-muted);
}
.acc-item.active .acc-body { max-height: 200px; padding-bottom: 20px; }
.acc-item.active .acc-head { color: var(--primary); }

/* Footer */
footer {
    background: #05070a;
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.f-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}
.f-brand img { height: 50px; margin-bottom: 20px; opacity: 0.8; }
.f-brand p { color: var(--text-muted); font-size: 14px; max-width: 300px; }
.f-col h4 { color: #fff; margin-bottom: 20px; font-size: 16px; }
.f-links a { display: block; color: var(--text-muted); margin-bottom: 10px; font-size: 14px; }
.f-links a:hover { color: var(--primary); padding-left: 5px; }
.f-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 30px;
    color: #555;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.pay-icons { display: flex; gap: 15px; font-size: 20px; color: #888; }

/* Responsive */
@media (max-width: 1024px) {
    .nav-desk { display: none; }
    .hamburger { display: block; }
    .zigzag-row { flex-direction: column !important; gap: 40px; }
    .hero-bg { width: 100%; opacity: 0.2; }
    .hero-content { max-width: 100%; text-align: center; }
}
@media (max-width: 768px) {
    .top-bar { display: none; }
    .hero-sec h1 { font-size: 36px; }
    .counter-row { grid-template-columns: 1fr 1fr; }
    .f-grid { grid-template-columns: 1fr; }
    .auth-btns { display: flex; /* Keep visible on mobile */ }
    .auth-btns .btn span { display: none; } /* Hide text, show icon if needed, or just keep small */
    .btn { padding: 8px 16px; font-size: 13px; }
}

