/* ==============================================================
   Sub+ Premium Landing Page Style Sheet
   ============================================================== */

:root {
    --bg-color: #060813;
    --surface-color: rgba(255, 255, 255, 0.02);
    --surface-hover: rgba(255, 255, 255, 0.05);
    --border-color: rgba(255, 255, 255, 0.08);
    --primary-color: #00E5FF;
    --secondary-color: #BF5AF2;
    --primary-gradient: linear-gradient(135deg, #00C3FF 0%, #BF5AF2 100%);
    --text-primary: #FFFFFF;
    --text-secondary: #9FA2B4;
    --text-tertiary: #52556F;
    --font-inter: 'Inter', sans-serif;
    --font-outfit: 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

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

/* Background Glowing Orbs */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(150px);
    z-index: -1;
    opacity: 0.35;
}
.orb-1 {
    width: 450px;
    height: 450px;
    background: #00C3FF;
    top: -120px;
    left: -120px;
}
.orb-2 {
    width: 550px;
    height: 550px;
    background: #BF5AF2;
    top: 25%;
    right: -180px;
}
.orb-3 {
    width: 380px;
    height: 380px;
    background: #00E5FF;
    bottom: 50px;
    left: 10%;
}

/* Header & Navigation */
header {
    background: rgba(6, 8, 19, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 16px 0;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-family: var(--font-outfit);
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    color: #fff;
    cursor: default;
}
.logo-plus {
    color: var(--primary-color);
    margin-left: 2px;
    font-size: 28px;
}
nav {
    display: flex;
    align-items: center;
    gap: 32px;
}
nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s;
}
nav a:hover {
    color: #fff;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 28px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}
.btn-primary {
    background: var(--primary-gradient);
    color: #fff;
    box-shadow: 0 8px 24px rgba(191, 90, 242, 0.2);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(191, 90, 242, 0.35);
}
.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid var(--border-color);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}
.btn-outline {
    border: 1px solid var(--border-color);
    color: #fff;
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.04);
}

/* Hero Section */
.hero {
    padding: 100px 0;
    position: relative;
}
.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 60px;
}
.hero-content .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(0, 229, 255, 0.08);
    color: var(--primary-color);
    border-radius: 12px;
    font-weight: 700;
    font-size: 12px;
    margin-bottom: 24px;
}
.hero-content h1 {
    font-family: var(--font-outfit);
    font-size: 54px;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1px;
}
.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-desc {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 40px;
    max-width: 550px;
}

/* Download Container & Closed Beta status */
.download-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}
.btn-google-play {
    padding: 12px 28px;
    border-radius: 16px;
    background: #000;
    border: 1px solid var(--border-color);
}
.btn-google-play i {
    font-size: 24px;
    color: #fff;
}
.btn-google-play .btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
}
.btn-sub {
    font-size: 9px;
    color: var(--text-secondary);
    font-weight: 500;
}
.btn-main {
    font-size: 16px;
    font-weight: 700;
    font-family: var(--font-outfit);
}
.beta-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-secondary);
}
.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #34C759;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.7);
    animation: pulse 1.6s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(52, 199, 89, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(52, 199, 89, 0);
    }
}

/* Interactive Phone Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
}
.phone-mockup {
    width: 300px;
    height: 600px;
    background: #0b0d1a;
    border: 10px solid #23273e;
    border-radius: 44px;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6);
    padding: 10px;
    position: relative;
    overflow: hidden;
}
.phone-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 32px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* Status Bar Simulator */
.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 16px 8px 16px;
    font-size: 11px;
    font-weight: 600;
    font-family: var(--font-outfit);
    color: var(--text-secondary);
}
.status-indicators {
    display: flex;
    gap: 6px;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8px;
    margin-bottom: 16px;
}
.app-logo {
    font-family: var(--font-outfit);
    font-weight: 900;
    font-size: 18px;
    color: #fff;
}
.app-logo .text-primary {
    color: var(--primary-color);
}
.app-actions {
    display: flex;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 14px;
}

/* Tab Switching Screen Contents */
.screen-content {
    flex: 1;
    overflow: hidden;
    position: relative;
}
.screen-tab {
    display: none;
    flex-direction: column;
    height: 100%;
    animation: fadeIn 0.3s forwards;
}
.screen-tab.active {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Dashboard Tab Styles */
.app-balance-card {
    background: linear-gradient(135deg, rgba(0, 195, 255, 0.12) 0%, rgba(191, 90, 242, 0.12) 100%);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    padding: 16px;
    margin-bottom: 18px;
}
.card-label {
    font-size: 10px;
    color: var(--text-secondary);
    display: block;
}
.card-amount {
    font-size: 24px;
    font-weight: 800;
    display: block;
    margin: 2px 0 8px 0;
    font-family: var(--font-outfit);
}
.card-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-bottom: 8px;
}
.card-progress {
    height: 100%;
    background: var(--primary-color);
    border-radius: 2px;
}
.card-footer {
    font-size: 9px;
    color: var(--text-tertiary);
    display: block;
}
.app-section-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-tertiary);
    margin-bottom: 10px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.app-sub-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    padding: 10px;
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}
.sub-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}
.sub-icon.netflix {
    background: rgba(229, 9, 20, 0.12);
    color: #E50914;
}
.sub-icon.spotify {
    background: rgba(30, 215, 96, 0.12);
    color: #1ED760;
}
.sub-icon.shield {
    background: rgba(0, 195, 255, 0.12);
    color: #00C3FF;
}
.sub-details {
    margin-left: 10px;
    display: flex;
    flex-direction: column;
}
.sub-name {
    font-size: 12px;
    font-weight: 700;
}
.sub-date {
    font-size: 8px;
    color: var(--text-tertiary);
}
.sub-price {
    margin-left: auto;
    font-size: 12px;
    font-weight: 700;
    font-family: var(--font-outfit);
}

/* Analytics Tab Styles */
.analytics-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.chart-container {
    margin: 20px 0;
    position: relative;
    display: flex;
    justify-content: center;
}
.donut-chart {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: conic-gradient(
        #E50914 0% 54%,
        #BF5AF2 54% 76%,
        #00C3FF 76% 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
}
.donut-center {
    width: 100px;
    height: 100px;
    background: #000;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.donut-val {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    font-family: var(--font-outfit);
}
.donut-lbl {
    font-size: 9px;
    color: var(--text-tertiary);
}
.chart-legend {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.legend-item {
    font-size: 11px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}
.legend-item .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.legend-item .dot.red { background: #E50914; }
.legend-item .dot.purple { background: #BF5AF2; }
.legend-item .dot.blue { background: #00C3FF; }

/* Calendar Tab Styles */
.calendar-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 14px;
}
.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.cal-month {
    font-size: 12px;
    font-weight: 700;
}
.cal-nav {
    display: flex;
    gap: 10px;
    font-size: 10px;
    color: var(--text-secondary);
}
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    text-align: center;
    font-size: 10px;
}
.calendar-grid span {
    padding: 4px 0;
    color: var(--text-secondary);
}
.calendar-grid span:nth-child(-n+7) {
    font-weight: 700;
    color: var(--text-tertiary);
}
.calendar-grid .other-month {
    color: rgba(255, 255, 255, 0.1);
}
.calendar-grid .active-day {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    font-weight: 700;
    color: #fff;
    position: relative;
}
.calendar-grid .active-day::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 3px;
    border-radius: 50%;
}
.calendar-grid .has-event-netflix::after { background: #E50914; }
.calendar-grid .has-event-spotify::after { background: #1ED760; }
.calendar-grid .has-event-vpn::after { background: #00C3FF; }

/* Phone Bottom Navigation */
.app-navbar {
    height: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    text-align: center;
    background: #05060c;
    margin: 8px -12px -12px -12px;
    padding: 0 12px;
}
.nav-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
    cursor: pointer;
    transition: color 0.3s;
}
.nav-tab i {
    font-size: 12px;
    margin-bottom: 2px;
}
.nav-tab span {
    font-size: 8px;
    font-weight: 500;
}
.nav-tab.active {
    color: var(--primary-color);
}

/* Features Grid */
.features {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.005);
}
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px auto;
}
.section-header h2 {
    font-family: var(--font-outfit);
    font-size: 38px;
    font-weight: 900;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}
.section-header p {
    color: var(--text-secondary);
    font-size: 15px;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.feature-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 32px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.feature-card:hover {
    background: var(--surface-hover);
    transform: translateY(-4px);
    border-color: rgba(0, 229, 255, 0.15);
}
.feature-icon {
    width: 52px;
    height: 52px;
    background: rgba(0, 229, 255, 0.08);
    color: var(--primary-color);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 24px;
}
.feature-card h3 {
    font-family: var(--font-outfit);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}
.feature-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* Coupons Showcase */
.coupons {
    padding: 100px 0;
}
.coupons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.coupon-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 32px;
    position: relative;
    overflow: hidden;
}
.coupon-card::before {
    content: '';
    position: absolute;
    width: 6px;
    height: 100%;
    background: var(--primary-gradient);
    top: 0;
    left: 0;
}
.coupon-brand {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-tertiary);
    margin-bottom: 8px;
    text-transform: uppercase;
}
.coupon-value {
    font-family: var(--font-outfit);
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 12px;
}
.coupon-card p {
    color: var(--text-secondary);
    font-size: 13.5px;
    margin-bottom: 24px;
}
.coupon-code {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px dashed var(--border-color);
    border-radius: 12px;
    font-family: var(--font-outfit);
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1.5px;
}

/* Footer Section */
footer {
    background: #030408;
    padding: 48px 0;
    border-top: 1px solid var(--border-color);
}
.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.copyright {
    color: var(--text-tertiary);
    font-size: 13px;
}
.footer-links {
    display: flex;
    gap: 28px;
}
.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}
.footer-links a:hover {
    color: #fff;
}

/* Responsive Rules */
@media (max-width: 991px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    .download-container {
        align-items: center;
    }
    .footer-container {
        flex-direction: column;
        gap: 20px;
    }
    nav {
        display: none; /* Simplifies navbar on smaller screens */
    }
}
