:root {
    --primary: #00f2ff;
    --primary-700: #00b3ff;
    --accent-1: #4b6bff;
    --accent-2: #9b4bff;
    --accent-pink: #ff2ec6;
    --bg-dark1: #0a0f24;
    --bg-dark2: #020615;
    --card-gradient: linear-gradient(135deg, rgba(0,242,255,0.1), rgba(75,107,255,0.05));
    --glass: rgba(255, 255, 255, 0.06);
    --card-shadow: 0 8px 34px rgba(0, 0, 0, 0.5);
    --radius: 16px;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    min-height: 100vh;
    background: linear-gradient(180deg, var(--bg-dark1), var(--bg-dark2));
    color: #e6eef8;
    overflow-x: hidden;
    font-family: inherit;
}

/* Floating Orbs Background */
.orbs { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.6; }
.orb.a { width: 400px; height: 400px; left: -10%; top: -10%; background: radial-gradient(circle, var(--primary), transparent 60%); animation: float 10s ease-in-out infinite; }
.orb.b { width: 300px; height: 300px; right: -5%; bottom: 10%; background: radial-gradient(circle, var(--accent-1), transparent 60%); animation: float 12s ease-in-out infinite reverse; }
.orb.c { width: 200px; height: 200px; left: 40%; top: 40%; background: radial-gradient(circle, var(--accent-2), transparent 60%); animation: float 15s ease-in-out infinite; }

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -30px); }
}

/* Header */
header {
    position: fixed;
    top: 0; left: 0; right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 6vw;
    z-index: 100;
    backdrop-filter: blur(12px);
    background: rgba(10, 15, 36, 0.7);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.brand { display: flex; gap: 12px; align-items: center; }
.logo-box { width: 40px; height: 40px; background: var(--primary); border-radius: 8px; display: grid; place-items: center; font-weight: bold; color: #000; }

nav { display: flex; gap: 20px; align-items: center; }
nav a { color: rgba(230, 238, 248, 0.8); text-decoration: none; font-weight: 500; transition: 0.3s; font-size: 14px; cursor: pointer; }
nav a:hover { color: var(--primary); }

.btn { padding: 10px 20px; border-radius: 8px; font-weight: 600; border: none; cursor: pointer; transition: 0.3s; font-size: 14px; }
.btn-primary { background: linear-gradient(90deg, var(--primary), var(--accent-1)); color: #000; }
.btn-primary:hover { box-shadow: 0 0 15px var(--primary); transform: translateY(-2px); }
.btn-ghost { background: transparent; border: 1px solid rgba(255,255,255,0.2); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,0.1); }

/* Mobile Nav Toggle */
.menu-toggle { display: none; color: white; font-size: 24px; cursor: pointer; }

/* Main Layout */
main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 140px 6vw 80px 6vw;
    align-items: center;
    min-height: 90vh;
}

h1 {
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.15;
    margin-bottom: 24px;
    font-weight: 800;
    background: linear-gradient(120deg, #ffffff 30%, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 15px rgba(0, 242, 255, 0.3));
    padding-bottom: 10px;
}

.lead { 
    font-size: 18px; 
    color: rgba(230, 238, 248, 0.9);
    margin-bottom: 32px; 
    line-height: 1.6; 
    max-width: 540px; 
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.ctas { display: flex; gap: 16px; margin-bottom: 50px; }

/* Features Mini Cards */
.features-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.mini-card {
    background: var(--glass);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
}
.mini-card h3 { color: var(--primary); font-size: 14px; margin-bottom: 5px; }
.mini-card p { font-size: 12px; color: #ccc; }

/* 3D STAGE & CUBE */
.stage {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
    position: relative;
}

.scene {
    width: 220px;
    height: 220px;
    transform-style: preserve-3d;
    transform: rotateX(-20deg) rotateY(30deg);
    transition: transform 0.1s linear;
}

.cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: autoSpin 20s infinite linear;
}

.stage:hover .cube { animation-play-state: paused; }

.face {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(0, 242, 255, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: white;
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.1) inset;
    backdrop-filter: blur(4px);
    text-shadow: 0 0 10px var(--primary);
}

.face span { font-size: 40px; margin-bottom: 10px; display: block; }

.f-front  { transform: translateZ(110px); }
.f-back   { transform: rotateY(180deg) translateZ(110px); }
.f-right  { transform: rotateY(90deg) translateZ(110px); }
.f-left   { transform: rotateY(-90deg) translateZ(110px); }
.f-top    { transform: rotateX(90deg) translateZ(110px); }
.f-bottom { transform: rotateX(-90deg) translateZ(110px); }

@keyframes autoSpin {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
}

/* Services Section */
#services-page {
    padding: 80px 6vw;
    border-top: 1px solid rgba(255,255,255,0.05);
    background: rgba(0,0,0,0.2);
}

.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 36px; color: var(--primary); margin-bottom: 10px; }

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
    border-color: var(--primary);
    background: linear-gradient(180deg, rgba(0, 242, 255, 0.05), rgba(0,0,0,0));
}

.icon-box {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--accent-1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 242, 255, 0.3);
    font-size: 24px;
}

.svc-content h4 { margin-bottom: 6px; font-size: 18px; }
.svc-content p { font-size: 13px; color: rgba(230,238,248,0.6); line-height: 1.4; }

.service-card:nth-child(2) .icon-box { background: linear-gradient(135deg, #ff9bd6, #ff2ec6); box-shadow: 0 4px 12px rgba(255, 46, 198, 0.3); }
.service-card:nth-child(3) .icon-box { background: linear-gradient(135deg, #ffd66b, #ff9b2e); box-shadow: 0 4px 12px rgba(255, 155, 46, 0.3); }
.service-card:nth-child(4) .icon-box { background: linear-gradient(135deg, #6bd4ff, #00a8ff); box-shadow: 0 4px 12px rgba(0, 168, 255, 0.3); }
.service-card:nth-child(5) .icon-box { background: linear-gradient(135deg, #b6ff9e, #00f26e); box-shadow: 0 4px 12px rgba(0, 242, 110, 0.3); }
.service-card:nth-child(6) .icon-box { background: linear-gradient(135deg, #a18aff, #6b4bff); box-shadow: 0 4px 12px rgba(107, 75, 255, 0.3); }

/* OFFER TIMER */
.offer-card-3d {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at top left, rgba(0,242,255,0.18), rgba(10,15,36,0.95));
    box-shadow: 0 30px 80px rgba(0,0,0,0.7);
    transform-style: preserve-3d;
}
.offer-card-3d::before,
.offer-card-3d::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.5;
    z-index: -1;
}
.offer-card-3d::before {
    background: radial-gradient(circle, var(--primary), transparent 60%);
    top: -120px;
    right: -80px;
}
.offer-card-3d::after {
    background: radial-gradient(circle, var(--accent-pink), transparent 60%);
    bottom: -140px;
    left: -40px;
}
.offer-hero {
    text-align: center;
    margin-bottom: 24px;
    transform: translateZ(20px);
}
.offer-hero-small {
    margin-bottom: 12px;
}
.offer-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 999px;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.2);
    margin-bottom: 10px;
}
.offer-pill span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-pink);
    box-shadow: 0 0 10px var(--accent-pink);
}
.offer-timer {
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-pink);
    text-align: center;
    margin: 12px 0 18px;
    letter-spacing: 2px;
}
.offer-highlight {
    color: var(--primary);
    font-weight: 600;
}
.offer-register-btn {
    margin-top: 6px;
}
.offer-small-note {
    margin-top: 8px;
    font-size: 12px;
    color: rgba(255,255,255,0.6);
}
.offer-form {
    margin-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 18px;
    transform: translateZ(10px);
}
.offer-form-title {
    font-size: 18px;
    margin-bottom: 4px;
    text-align: left;
}
.offer-form-subtitle {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 16px;
    text-align: left;
}
.hidden {
    display: none;
}

/* AUTH MODALS STYLES */
.auth-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(2, 6, 21, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.auth-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.auth-card {
    background: rgba(20, 25, 45, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 24px;
    width: 90%;
    max-width: 420px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.auth-card.wide {
    max-width: 700px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 40px 50px;
}

.auth-card.wide::-webkit-scrollbar { width: 8px; }
.auth-card.wide::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); border-radius: 4px; }
.auth-card.wide::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 4px; }
.auth-card.wide::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.3); }

.policy-content { text-align: left; margin-top: 20px; }
.policy-content h3 { color: var(--primary); font-size: 18px; margin: 25px 0 10px 0; }
.policy-content p { font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.6; margin-bottom: 15px; }
.policy-content ul { margin-left: 20px; margin-bottom: 15px; }
.policy-content li { font-size: 14px; color: rgba(255,255,255,0.7); margin-bottom: 8px; }

.margin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    color: rgba(230, 238, 248, 0.9);
}
.margin-table th {
    text-align: left;
    padding: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.margin-table td {
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 14px;
}
.margin-table tr:last-child td {
    border-bottom: none;
}
.margin-table tr:hover td {
    background: rgba(255,255,255,0.03);
}

.download-section {
    padding: 80px 6vw;
    text-align: center;
    background: linear-gradient(180deg, rgba(0, 242, 255, 0.03), rgba(0,0,0,0));
    border-top: 1px solid rgba(255,255,255,0.05);
    position: relative;
    overflow: hidden;
}

.download-content {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.download-content h2 {
    font-size: 32px;
    color: white;
    margin-bottom: 12px;
}
.download-content h2 span { color: var(--primary); }

.download-content p {
    color: rgba(230, 238, 248, 0.7);
    margin-bottom: 30px;
    font-size: 16px;
}

.play-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    color: white;
    transition: 0.3s;
    backdrop-filter: blur(5px);
}

.play-store-btn:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 242, 255, 0.15);
    border-color: var(--primary);
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.btn-text span:first-child { font-size: 10px; text-transform: uppercase; opacity: 0.8; }
.btn-text .store-name { font-size: 20px; font-weight: 700; letter-spacing: 0.5px; }

.auth-overlay.active .auth-card {
    transform: scale(1);
}

.auth-card h2 {
    color: var(--primary);
    margin-bottom: 10px;
    text-align: center;
    font-size: 28px;
}

.auth-subtitle {
    text-align: center;
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    margin-bottom: 24px;
}

.input-group { margin-bottom: 16px; }
.input-group label { display: block; margin-bottom: 8px; font-size: 13px; color: rgba(255,255,255,0.8); }

.input-group input, .input-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    outline: none;
    font-size: 15px;
    transition: 0.3s;
    font-family: inherit;
}

.input-group textarea {
    resize: vertical;
    min-height: 100px;
}

.input-group input:focus, .input-group textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(0, 242, 255, 0.15); background: rgba(0, 0, 0, 0.4); }

.w-full { width: 100%; margin-top: 12px; font-size: 16px; }

.switch-auth {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}
.switch-auth a { color: var(--primary); text-decoration: none; font-weight: 600; cursor: pointer; }
.switch-auth a:hover { text-decoration: underline; }

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    font-size: 24px;
    cursor: pointer;
    transition: 0.2s;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.close-btn:hover { color: white; background: rgba(255,255,255,0.1); }

footer {
    padding: 40px 6vw;
    text-align: center;
    font-size: 14px;
    color: rgba(255,255,255,0.4);
    border-top: 1px solid rgba(255,255,255,0.05);
    background: rgba(0,0,0,0.2);
}

.social-links {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 24px;
}

.social-icon {
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.03);
}

.social-icon:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(0, 242, 255, 0.1);
    transform: translateY(-4px);
    box-shadow: 0 5px 15px rgba(0, 242, 255, 0.2);
}

@media (max-width: 900px) {
    main { grid-template-columns: 1fr; text-align: center; padding-top: 100px; }
    .lead, .ctas { margin-left: auto; margin-right: auto; justify-content: center; }
    .stage { height: 350px; order: -1; }
    .features-mini { display: none; }
    header { padding: 15px 20px; }
    nav { display: none; }
    .menu-toggle { display: block; }
}

/* MOBILE MENU */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100%;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(8px);
    padding: 20px;
    z-index: 9999;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 20px;
    color: #fff;
}

.mobile-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}

.mobile-menu-links a {
    display: block;
    padding: 12px 0;
    font-size: 15px;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.mobile-menu-links a:last-child {
    border-bottom: none;
}

.mobile-menu-links .login, .mobile-menu-links .signup{
    margin-top: 10px;
    text-align: center;
}

/* Hide Desktop nav on mobile */
@media (max-width: 768px) {
    header nav {
        display: none;
    }
    .menu-toggle {
        display: block !important;
    }
}

/* Desktop */
.menu-toggle {
    display: none;
    font-size: 26px;
    color: white;
    cursor: pointer;
}
