/* ============ RESET & VARIABLES - STUDIO DARK THEME ============ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    background: #0B0D10;
    color: #E9EEF5;
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    width: 100%;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(64, 224, 255, 0.03) 0%, transparent 45%),
                radial-gradient(circle at 80% 70%, rgba(64, 224, 255, 0.03) 0%, transparent 45%);
    pointer-events: none;
    z-index: 0;
}

main {
    flex: 1;
    position: relative;
    z-index: 1;
    width: 100%;
}

:root {
    --primary: #40E0FF;
    --primary-dark: #00B8D4;
    --primary-light: rgba(64, 224, 255, 0.15);
    --primary-glow: rgba(64, 224, 255, 0.25);
    --surface-0: #0B0D10;
    --surface-1: #151A21;
    --surface-2: #1E2630;
    --surface-3: #273140;
    --text-primary: #E9EEF5;
    --text-secondary: #C0C8D2;
    --text-tertiary: #9AA5B5;
    --text-muted: #6B7A8F;
    --border: #273140;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 16px 32px rgba(0, 0, 0, 0.7);
    --shadow-glow: 0 0 30px rgba(64, 224, 255, 0.25);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --cyan-gradient: linear-gradient(135deg, #40E0FF, #00B8D4);
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
    position: relative;
    z-index: 2;
}

@media (min-width: 640px) {
    .container { padding: 0 24px; }
}

/* ===== HEADER STYLES ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: all 0.3s ease;
    background: rgba(11, 13, 16, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #273140;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
    position: relative;
    padding: 4px 0;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--cyan-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0B0D10;
    font-size: 1.2rem;
    box-shadow: 0 0 20px rgba(64, 224, 255, 0.3);
    transition: var(--transition);
}

.logo-link:hover .logo-icon {
    transform: rotate(5deg) scale(1.05);
    box-shadow: 0 0 30px rgba(64, 224, 255, 0.5);
}

.brand-name {
    font-size: 1.3rem;
    font-weight: 800;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #E9EEF5;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.brand-name span {
    color: #40E0FF;
    font-weight: 800;
    position: relative;
}

.brand-name span::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--cyan-gradient);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: right;
}

.logo-link:hover .brand-name span::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Desktop Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: nowrap;
    justify-content: center;
    margin: 0 auto;
    padding: 4px 8px;
    background: rgba(21, 26, 33, 0.6);
    border-radius: 60px;
    border: 1px solid #273140;
    backdrop-filter: blur(8px);
}

@media (max-width: 1200px) {
    .main-nav { display: none; }
}

.nav-link {
    color: #9AA5B5;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
    padding: 8px 14px;
    border-radius: 40px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
    border: 1px solid transparent;
}

.nav-link i {
    font-size: 0.8rem;
    color: #6B7A8F;
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: #40E0FF;
    background: rgba(64, 224, 255, 0.1);
    border-color: rgba(64, 224, 255, 0.2);
    transform: translateY(-1px);
}

.nav-link:hover i {
    color: #40E0FF;
    transform: scale(1.1);
}

.nav-link.active {
    background: var(--cyan-gradient);
    color: #0B0D10;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(64, 224, 255, 0.3);
}

.nav-link.active i {
    color: #0B0D10;
}

.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #151A21;
    border-radius: 16px;
    padding: 8px;
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    border: 1px solid #273140;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 1000;
    backdrop-filter: blur(12px);
}

.nav-dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    color: #9AA5B5;
    text-decoration: none;
    font-size: 0.8rem;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.dropdown-menu a i {
    width: 18px;
    color: #40E0FF;
    font-size: 0.9rem;
}

.dropdown-menu a:hover {
    background: rgba(64, 224, 255, 0.1);
    color: #40E0FF;
    transform: translateX(4px);
}

.dropdown-group-title {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: #40E0FF;
    padding: 8px 12px 4px;
    margin-top: 4px;
    border-bottom: 1px solid #273140;
}

.dropdown-group-title:first-of-type {
    margin-top: 0;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* Auth Button Styles */
.auth-btn {
    padding: 8px 16px;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 600;
    background: #1E2630;
    border: 1px solid #273140;
    color: #E9EEF5;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: var(--transition);
    height: 44px;
}

.auth-btn i {
    font-size: 0.8rem;
    color: #40E0FF;
}

.auth-btn:hover {
    background: var(--cyan-gradient);
    border-color: transparent;
    color: #0B0D10;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(64, 224, 255, 0.3);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #1E2630;
    border: 1px solid #273140;
    border-radius: 60px;
    padding: 3px 3px 3px 10px;
    transition: var(--transition);
    height: 44px;
}

.user-profile:hover {
    border-color: #40E0FF;
    background: rgba(64, 224, 255, 0.1);
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--cyan-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0B0D10;
    font-weight: 600;
    font-size: 0.9rem;
}

.sign-out-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: #9AA5B5;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.sign-out-btn:hover {
    color: #FF5252;
    transform: scale(1.1);
    background: rgba(255, 82, 82, 0.1);
}

/* Ko-fi Button */
.kofi-link {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #1E2630;
    border: 1px solid #273140;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    text-decoration: none;
}

.kofi-link:hover {
    transform: translateY(-3px) scale(1.05);
    border-color: #40E0FF;
    background: var(--cyan-gradient);
    box-shadow: 0 5px 20px rgba(64, 224, 255, 0.4);
}

.coffee-cup {
    position: relative;
    width: 22px;
    height: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cup-body {
    position: relative;
    width: 18px;
    height: 16px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    animation: cupFill 2s ease-in-out infinite alternate;
}

.cup-body::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 14px;
    height: 12px;
    background: linear-gradient(135deg, #FFE55C, #FFB347);
    border-radius: 0 0 6px 6px;
    opacity: 0.8;
}

.cup-handle {
    position: absolute;
    top: 2px;
    right: -5px;
    width: 5px;
    height: 8px;
    border: 2px solid #FFD700;
    border-left: none;
    border-radius: 0 4px 4px 0;
    opacity: 0.8;
}

.coffee-liquid {
    position: absolute;
    top: -2px;
    left: 2px;
    width: 14px;
    height: 3px;
    background: linear-gradient(90deg, #8B4513, #A0522D);
    border-radius: 2px;
    animation: liquidWave 2s ease-in-out infinite;
}

.coffee-steam {
    position: absolute;
    top: -8px;
    left: 5px;
    display: flex;
    gap: 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.kofi-link:hover .coffee-steam { opacity: 1; }

.coffee-steam span {
    width: 2px;
    height: 8px;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.8), transparent);
    border-radius: 1px;
    animation: steam 1.5s ease-in-out infinite;
}

.coffee-steam span:nth-child(1) { animation-delay: 0s; }
.coffee-steam span:nth-child(2) { animation-delay: 0.3s; }
.coffee-steam span:nth-child(3) { animation-delay: 0.6s; }

@keyframes cupFill {
    0% { transform: scaleY(1); }
    100% { transform: scaleY(1.05); }
}

@keyframes liquidWave {
    0%, 100% { transform: translateX(0) scaleX(1); }
    25% { transform: translateX(1px) scaleX(1.05); }
    75% { transform: translateX(-1px) scaleX(0.95); }
}

@keyframes steam {
    0% { transform: translateY(0) scaleX(1); opacity: 0.8; }
    50% { transform: translateY(-5px) scaleX(1.5); opacity: 0.4; }
    100% { transform: translateY(-10px) scaleX(2); opacity: 0; }
}

.kofi-tooltip {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%) scale(0.8);
    background: var(--cyan-gradient);
    color: #0B0D10;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 5px 15px rgba(64, 224, 255, 0.4);
    pointer-events: none;
    z-index: 10;
}

.kofi-tooltip::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 8px;
    height: 8px;
    background: #40E0FF;
    border-radius: 2px;
}

.kofi-link:hover .kofi-tooltip {
    opacity: 1;
    visibility: visible;
    bottom: -40px;
    transform: translateX(-50%) scale(1);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #1E2630;
    border: 1px solid #273140;
    display: none;
    align-items: center;
    justify-content: center;
    color: #40E0FF;
    transition: var(--transition);
    flex-shrink: 0;
    cursor: pointer;
}

.mobile-menu-btn i { font-size: 1.1rem; }

.mobile-menu-btn:hover {
    background: var(--cyan-gradient);
    color: #0B0D10;
    transform: translateY(-2px);
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(64, 224, 255, 0.3);
}

@media (max-width: 1200px) {
    .mobile-menu-btn { display: flex; }
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: #151A21;
    z-index: 1000;
    transition: right 0.3s ease;
    padding: 80px 20px 20px;
    border-left: 1px solid #273140;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
}

.mobile-menu.active { right: 0; }

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.mobile-menu-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1E2630;
    border: 1px solid #273140;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #40E0FF;
    cursor: pointer;
    transition: var(--transition);
}

.mobile-menu-close:hover {
    background: var(--cyan-gradient);
    color: #0B0D10;
    transform: rotate(90deg);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 20px;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    color: #9AA5B5;
    text-decoration: none;
    font-size: 0.95rem;
    border-radius: 12px;
    transition: var(--transition);
}

.mobile-nav-link i {
    width: 20px;
    color: #40E0FF;
}

.mobile-nav-link:hover {
    background: rgba(64, 224, 255, 0.1);
    color: #40E0FF;
    transform: translateX(5px);
}

.mobile-nav-link.active {
    background: rgba(64, 224, 255, 0.15);
    color: #40E0FF;
    font-weight: 600;
}

.mobile-nav-link-sub {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px 12px 48px;
    color: #9AA5B5;
    text-decoration: none;
    font-size: 0.85rem;
    border-radius: 10px;
    transition: var(--transition);
}

.mobile-nav-link-sub i {
    width: 18px;
    color: #40E0FF;
    font-size: 0.8rem;
}

.mobile-nav-link-sub:hover {
    background: rgba(64, 224, 255, 0.1);
    color: #40E0FF;
    transform: translateX(5px);
}

.mobile-accordion-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    color: #9AA5B5;
    font-size: 0.95rem;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.mobile-accordion-header:hover {
    background: rgba(64, 224, 255, 0.05);
    color: #40E0FF;
}

.mobile-accordion-header i:first-child {
    width: 20px;
    color: #40E0FF;
}

.mobile-accordion-header i:last-child {
    margin-left: auto;
    transition: transform 0.3s ease;
}

.mobile-accordion-header i:last-child.rotated {
    transform: rotate(180deg);
}

.mobile-accordion-content {
    overflow: hidden;
    transition: all 0.3s ease;
}

.mobile-divider {
    height: 1px;
    background: #273140;
    margin: 16px 0;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.new-badge {
    margin-left: auto;
    font-size: 0.6rem;
    background: var(--cyan-gradient);
    color: #0B0D10;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 600;
}

@media (min-width: 1201px) {
    .mobile-menu, .mobile-menu.active, .mobile-menu-overlay, .mobile-menu-overlay.active {
        display: none;
    }
}

@media (max-width: 768px) {
    .header-container { padding: 12px 16px; }
    .brand-name { font-size: 1.1rem; }
    .logo-icon { width: 36px; height: 36px; font-size: 1rem; }
    .kofi-link { width: 40px; height: 40px; }
    .mobile-menu-btn { width: 40px; height: 40px; }
    .auth-btn { padding: 6px 12px; height: 40px; font-size: 0.75rem; }
    .user-profile { padding: 2px 2px 2px 8px; height: 40px; }
    .user-avatar { width: 32px; height: 32px; font-size: 0.8rem; }
    .sign-out-btn { width: 32px; height: 32px; }
}

@media (max-width: 480px) {
    .header-container { padding: 10px 12px; }
    .brand-name { font-size: 1rem; }
    .logo-icon { width: 32px; height: 32px; font-size: 0.9rem; }
    .kofi-link { width: 36px; height: 36px; }
    .mobile-menu-btn { width: 36px; height: 36px; }
    .auth-btn { padding: 6px 10px; height: 36px; font-size: 0.7rem; }
    .auth-btn span { display: none; }
    .auth-btn i { font-size: 0.9rem; margin: 0; }
    .user-profile { padding: 2px; height: 36px; }
    .user-avatar { width: 28px; height: 28px; font-size: 0.7rem; }
    .sign-out-btn { width: 28px; height: 28px; }
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 70px 0 40px;
}

.hero-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

@media (min-width: 1024px) {
    .hero-grid {
        display: grid;
        grid-template-columns: 1.2fr 0.8fr;
        gap: 40px;
        align-items: center;
    }
}

.hero-content {
    background: #151A21;
    backdrop-filter: blur(12px);
    border: 1px solid #273140;
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
}

.tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(64, 224, 255, 0.1);
    border: 1px solid #273140;
    padding: 6px 14px;
    border-radius: 60px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #40E0FF;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 2rem;
    font-weight: 800;
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #E9EEF5;
}

@media (min-width: 480px) {
    .hero-title { font-size: 2.2rem; }
}

@media (min-width: 768px) {
    .hero-title { font-size: 2.8rem; }
}

.gradient-text {
    background: var(--cyan-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 0.95rem;
    color: #9AA5B5;
    margin-bottom: 24px;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .hero-description { font-size: 1rem; }
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 24px;
}

.stat-item {
    background: #1E2630;
    border-radius: var(--radius-md);
    padding: 16px 8px;
    text-align: center;
    border: 1px solid #273140;
    transition: var(--transition);
}

.stat-item:hover {
    border-color: #40E0FF;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(64, 224, 255, 0.1);
}

.stat-number {
    font-size: 1.6rem;
    font-weight: 800;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--cyan-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 4px;
}

@media (min-width: 480px) {
    .stat-number { font-size: 2rem; }
}

.stat-label {
    font-size: 0.65rem;
    color: #9AA5B5;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (min-width: 480px) {
    .hero-cta { flex-direction: row; }
}

.cta-primary, .cta-secondary, .install-cta {
    padding: 14px 24px;
    border-radius: 60px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    width: 100%;
}

@media (min-width: 480px) {
    .cta-primary, .cta-secondary, .install-cta { width: auto; }
}

.cta-primary {
    background: var(--cyan-gradient);
    color: #0B0D10;
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(64, 224, 255, 0.4);
}

.cta-secondary {
    background: #1E2630;
    color: #E9EEF5;
    border: 1px solid #273140;
}

.cta-secondary:hover {
    background: rgba(64, 224, 255, 0.1);
    border-color: #40E0FF;
    transform: translateY(-2px);
}

.install-cta {
    background: var(--cyan-gradient);
    color: #0B0D10;
}

.install-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(64, 224, 255, 0.4);
}

/* Hero Visual */
.hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.cube-container {
    position: relative;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 800px;
}

@media (min-width: 480px) {
    .cube-container {
        height: 280px;
        perspective: 1000px;
    }
}

@media (min-width: 768px) {
    .cube-container { height: 320px; }
}

.cube {
    position: relative;
    width: 140px;
    height: 140px;
    transform-style: preserve-3d;
    animation: rotateCube 20s infinite linear;
}

@media (min-width: 480px) {
    .cube { width: 180px; height: 180px; }
}

@media (min-width: 768px) {
    .cube { width: 200px; height: 200px; }
}

.cube-face {
    position: absolute;
    width: 140px;
    height: 140px;
    background: rgba(30, 38, 48, 0.9);
    backdrop-filter: blur(4px);
    border: 2px solid #40E0FF;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    color: #40E0FF;
    box-shadow: 0 0 30px rgba(64, 224, 255, 0.2);
    transition: var(--transition);
}

@media (min-width: 480px) {
    .cube-face {
        width: 180px;
        height: 180px;
        font-size: 2.2rem;
    }
}

@media (min-width: 768px) {
    .cube-face {
        width: 200px;
        height: 200px;
        font-size: 2.4rem;
        border-radius: 20px;
    }
}

.cube-face.front  { transform: translateZ(70px); }
.cube-face.back   { transform: rotateY(180deg) translateZ(70px); }
.cube-face.right  { transform: rotateY(90deg) translateZ(70px); }
.cube-face.left   { transform: rotateY(-90deg) translateZ(70px); }
.cube-face.top    { transform: rotateX(90deg) translateZ(70px); }
.cube-face.bottom { transform: rotateX(-90deg) translateZ(70px); }

@media (min-width: 480px) {
    .cube-face.front  { transform: translateZ(90px); }
    .cube-face.back   { transform: rotateY(180deg) translateZ(90px); }
    .cube-face.right  { transform: rotateY(90deg) translateZ(90px); }
    .cube-face.left   { transform: rotateY(-90deg) translateZ(90px); }
    .cube-face.top    { transform: rotateX(90deg) translateZ(90px); }
    .cube-face.bottom { transform: rotateX(-90deg) translateZ(90px); }
}

@keyframes rotateCube {
    from { transform: rotateX(0) rotateY(0); }
    to { transform: rotateX(360deg) rotateY(360deg); }
}

.cube-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(64, 224, 255, 0.15), transparent 70%);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    filter: blur(40px);
    z-index: -1;
}

.font-tags {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.font-tag {
    padding: 6px 16px;
    background: #1E2630;
    border: 1px solid #273140;
    border-radius: 40px;
    font-size: 0.85rem;
    color: #9AA5B5;
    transition: var(--transition);
}

.font-tag:hover {
    border-color: #40E0FF;
    color: #40E0FF;
    transform: translateY(-2px);
}

/* ===== WHY FONT CHOICE MATTERS SECTION ===== */
.why-matters-section {
    background: #151A21;
    border-radius: var(--radius-xl);
    margin: 40px 0;
    overflow: hidden;
    border: 1px solid #273140;
}

.why-header {
    background: var(--cyan-gradient);
    padding: 40px 30px;
    text-align: center;
    color: #0B0D10;
}

.why-header h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: #0B0D10;
}

@media (min-width: 768px) {
    .why-header h2 { font-size: 2.2rem; }
}

.why-header p {
    color: rgba(11, 13, 16, 0.8);
    max-width: 700px;
    margin: 0 auto;
    font-size: 0.95rem;
}

.why-content {
    padding: 40px 30px;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .why-grid { grid-template-columns: repeat(3, 1fr); gap: 40px; }
}

.why-card {
    background: #1E2630;
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    border: 1px solid #273140;
    transition: var(--transition);
}

.why-card:hover {
    transform: translateY(-5px);
    border-color: #40E0FF;
    box-shadow: var(--shadow-glow);
}

.why-icon {
    width: 60px;
    height: 60px;
    background: rgba(64, 224, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.why-icon i {
    font-size: 1.6rem;
    color: #40E0FF;
}

.why-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #E9EEF5;
}

.why-card p {
    font-size: 0.9rem;
    color: #9AA5B5;
    line-height: 1.6;
    margin-bottom: 16px;
}

.why-stat {
    font-size: 0.8rem;
    color: #40E0FF;
    font-weight: 600;
    border-top: 1px solid #273140;
    padding-top: 12px;
    margin-top: 12px;
}

/* ===== CASE STUDY SECTION ===== */
.case-study {
    background: linear-gradient(135deg, #1E2630, #151A21);
    border-radius: var(--radius-xl);
    margin: 40px 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid #273140;
    position: relative;
}

.case-study::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--cyan-gradient);
}

.case-study-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

@media (min-width: 768px) {
    .case-study-grid { grid-template-columns: 1fr 1fr; }
}

.case-study-content {
    padding: 40px 30px;
}

.case-study-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 82, 82, 0.15);
    color: #FF5252;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 82, 82, 0.3);
}

.case-study h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #E9EEF5;
}

.case-study p {
    font-size: 0.95rem;
    color: #9AA5B5;
    line-height: 1.7;
    margin-bottom: 20px;
}

.case-study-quote {
    background: rgba(64, 224, 255, 0.05);
    border-left: 4px solid #40E0FF;
    padding: 20px;
    margin: 24px 0;
    border-radius: var(--radius-md);
}

.case-study-quote i {
    color: #40E0FF;
    font-size: 1.2rem;
    margin-bottom: 8px;
    display: inline-block;
}

.case-study-quote p {
    font-style: italic;
    margin-bottom: 0;
    font-size: 0.9rem;
}

.case-study-lesson {
    background: rgba(76, 175, 80, 0.1);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-top: 20px;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.case-study-lesson strong {
    color: #4CAF50;
}

.case-study-visual {
    background: linear-gradient(135deg, #1E2630, #151A21);
    padding: 40px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid #273140;
}

.font-comparison {
    width: 100%;
    max-width: 300px;
}

.bad-font, .good-font {
    padding: 20px;
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    text-align: center;
    transition: var(--transition);
}

.bad-font {
    background: rgba(255, 82, 82, 0.1);
    border: 1px solid rgba(255, 82, 82, 0.3);
}

.good-font {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.bad-font-label, .good-font-label {
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.bad-font-label { color: #FF5252; }
.good-font-label { color: #4CAF50; }

.bad-font-sample {
    font-family: 'Comic Sans MS', cursive;
    font-size: 1.4rem;
    font-weight: 700;
    color: #E9EEF5;
}

.good-font-sample {
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #E9EEF5;
}

/* ===== TOOLS SECTION ===== */
.section-padding {
    padding: 60px 0;
}

@media (min-width: 768px) {
    .section-padding { padding: 80px 0; }
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2rem;
    color: #E9EEF5;
    font-family: 'Plus Jakarta Sans', sans-serif;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .section-header h2 { font-size: 2.5rem; }
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(64, 224, 255, 0.1);
    border: 1px solid #273140;
    padding: 6px 18px;
    border-radius: 60px;
    font-size: 0.75rem;
    color: #40E0FF;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tools-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 2rem 0;
}

@media (min-width: 640px) {
    .tools-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (min-width: 1024px) {
    .tools-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
}

.tool-card {
    background: #151A21;
    border-radius: var(--radius-lg);
    padding: 24px;
    text-decoration: none;
    border: 1px solid #273140;
    transition: var(--transition);
    position: relative;
    display: block;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(64, 224, 255, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-5px);
    border-color: #40E0FF;
    box-shadow: 0 10px 30px rgba(64, 224, 255, 0.15);
}

.tool-card:hover::before { opacity: 1; }

.tool-icon {
    width: 56px;
    height: 56px;
    background: rgba(64, 224, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.6rem;
    color: #40E0FF;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.tool-card:hover .tool-icon {
    transform: scale(1.1) rotate(5deg);
    color: #0B0D10;
    background: var(--cyan-gradient);
}

.tool-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #E9EEF5;
    position: relative;
    z-index: 1;
}

.tool-card p {
    color: #9AA5B5;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 12px;
    border-radius: 40px;
    font-size: 0.65rem;
    font-weight: 600;
    color: #0B0D10;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-hot { background: linear-gradient(135deg, #FF5252, #FF1744); }
.badge-new { background: linear-gradient(135deg, #40E0FF, #00B8D4); color: #0B0D10; }
.badge-ai { background: linear-gradient(135deg, #40E0FF, #00B8D4); color: #0B0D10; }
.badge-enterprise { background: linear-gradient(135deg, #FFB74D, #FF9800); }

/* ===== FEATURES SECTION ===== */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 2rem 0;
}

@media (min-width: 640px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (min-width: 1024px) {
    .features-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
}

.feature-item {
    background: #151A21;
    border: 1px solid #273140;
    border-radius: var(--radius-md);
    padding: 24px;
    transition: var(--transition);
}

.feature-item:hover {
    border-color: #40E0FF;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(64, 224, 255, 0.1);
}

.feature-item i {
    font-size: 1.8rem;
    color: #40E0FF;
    margin-bottom: 16px;
}

.feature-item h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #E9EEF5;
}

.feature-item p {
    color: #9AA5B5;
    font-size: 0.85rem;
}

/* ===== STATS SECTION ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 2rem 0;
}

@media (min-width: 640px) {
    .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.stat-card {
    background: #151A21;
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    border: 1px solid #273140;
    transition: var(--transition);
}

.stat-card:hover {
    border-color: #40E0FF;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(64, 224, 255, 0.1);
}

.stat-card .number {
    font-size: 1.8rem;
    font-weight: 800;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--cyan-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-card .label {
    color: #9AA5B5;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== GUIDES PREVIEW SECTION ===== */
.guides-preview {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.02);
    margin-top: 60px;
}

.guides-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 40px;
}

@media (min-width: 768px) {
    .guides-grid { grid-template-columns: repeat(3, 1fr); }
}

.guide-card {
    padding: 30px;
    background: rgba(64, 224, 255, 0.05);
    border: 1px solid #273140;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.guide-card:hover {
    background: rgba(64, 224, 255, 0.1);
    border-color: #40E0FF;
    transform: translateY(-4px);
}

.guide-card h3 {
    margin: 0 0 10px 0;
    color: #40E0FF;
    font-size: 1.2rem;
}

.guide-card p {
    margin: 0;
    color: #9AA5B5;
    line-height: 1.5;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: #151A21;
    border-radius: var(--radius-xl);
    padding: 60px 30px;
    text-align: center;
    margin: 60px 0;
    border: 1px solid #273140;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(64, 224, 255, 0.1), transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(64, 224, 255, 0.1), transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, 20px); }
}

.cta-section h2 {
    font-size: 2rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    margin-bottom: 16px;
    color: #E9EEF5;
    position: relative;
    z-index: 1;
}

.cta-section p {
    color: #9AA5B5;
    font-size: 1rem;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.cta-section .hero-cta {
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* ===== MOBILE VIEW - CENTER ALL TEXT ===== */
@media (max-width: 768px) {
    /* Hero Section - Center everything */
    .hero-content {
        text-align: center;
    }
    
    .tech-badge {
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
    }
    
    .hero-title {
        text-align: center;
    }
    
    .hero-description {
        text-align: center;
    }
    
    .hero-stats {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }
    
    .stat-item {
        flex: 1;
        min-width: 90px;
    }
    
    .hero-cta {
        align-items: center;
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    
    .cta-primary, .cta-secondary, .install-cta {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        text-align: center;
    }
    
    .hero-cta {
        gap: 12px;
    }
    
    /* Hero Visual Center */
    .hero-visual {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    
    .cube-container {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    
    .cube {
        margin: 0 auto;
    }
    
    .font-tags {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    /* Why Section - Center text */
    .why-header {
        text-align: center;
    }
    
    .why-header h2 {
        text-align: center;
    }
    
    .why-header p {
        text-align: center;
    }
    
    .why-card {
        text-align: center;
    }
    
    .why-icon {
        margin-left: auto;
        margin-right: auto;
    }
    
    .why-stat {
        text-align: center;
    }
    
    /* Case Study Section - Center text */
    .case-study-content {
        text-align: center;
    }
    
    .case-study-badge {
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
    }
    
    .case-study-quote {
        text-align: center;
    }
    
    .case-study-lesson {
        text-align: center;
    }
    
    .font-comparison {
        margin-left: auto;
        margin-right: auto;
    }
    
    .bad-font, .good-font {
        text-align: center;
    }
    
    /* Tools Section - Center */
    .section-header {
        text-align: center;
    }
    
    .section-badge {
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
    }
    
    .section-header h2 {
        text-align: center;
    }
    
    .section-header p {
        text-align: center;
    }
    
    .tool-card {
        text-align: center;
    }
    
    .tool-icon {
        margin-left: auto;
        margin-right: auto;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    /* Features Section - Center */
    .feature-item {
        text-align: center;
    }
    
    .feature-item i {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    /* Stats Section - Center */
    .stat-card {
        text-align: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    /* Guides Section - Center */
    .guide-card {
        text-align: center;
    }
    
    .guide-card h3 {
        text-align: center;
    }
    
    .guide-card p {
        text-align: center;
    }
    
    .guides-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    /* CTA Section - Center */
    .cta-section {
        text-align: center;
    }
    
    .cta-section h2 {
        text-align: center;
    }
    
    .cta-section p {
        text-align: center;
    }
}

/* Extra small devices (480px and below) */
@media (max-width: 480px) {
    .hero-content {
        padding: 20px;
    }
    
    .hero-title {
        font-size: 1.4rem;
    }
    
    .hero-description {
        font-size: 0.85rem;
    }
    
    .stat-number {
        font-size: 1.2rem;
    }
    
    .stat-label {
        font-size: 0.6rem;
    }
    
    .why-header {
        padding: 25px 15px;
    }
    
    .why-header h2 {
        font-size: 1.3rem;
    }
    
    .why-header p {
        font-size: 0.85rem;
    }
    
    .why-card {
        padding: 20px 15px;
    }
    
    .case-study-content {
        padding: 25px 15px;
    }
    
    .case-study h3 {
        font-size: 1.2rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .tool-card {
        padding: 18px;
    }
    
    .tool-card h3 {
        font-size: 1rem;
    }
    
    .tool-card p {
        font-size: 0.75rem;
    }
    
    .feature-item {
        padding: 18px;
    }
    
    .stat-card {
        padding: 15px;
    }
    
    .stat-card .number {
        font-size: 1.3rem;
    }
    
    .guide-card {
        padding: 20px;
    }
    
    .cta-section {
        padding: 30px 15px;
    }
    
    .cta-section h2 {
        font-size: 1.3rem;
    }
    
    .cta-primary, .cta-secondary, .install-cta {
        padding: 10px 16px;
        font-size: 0.8rem;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes profileSlideIn {
    from { opacity: 0; transform: translateX(10px); }
    to { opacity: 1; transform: translateX(0); }
}

.user-profile {
    animation: profileSlideIn 0.3s ease-out;
}

/* ===== PWA DISPLAY MODE ===== */
@media (display-mode: standalone) {
    header { 
        padding-top: env(titlebar-area-inset-top, 12px); 
        -webkit-app-region: drag; 
    }
    header .logo-link, header .nav-link, header .action-buttons button, 
    header .action-buttons a, header .mobile-menu-btn, .kofi-link { 
        -webkit-app-region: no-drag; 
    }
    .header-container { 
        padding-left: max(24px, env(titlebar-area-inset-left)); 
        padding-right: max(24px, env(titlebar-area-inset-right)); 
    }
    body { padding-top: 0; }
    header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: env(titlebar-area-inset-top, 12px);
        background: transparent;
        pointer-events: none;
    }
}

/* ===== TOAST NOTIFICATION ===== */
.toast {
    position: fixed;
    bottom: 20px;
    left: 16px;
    right: 16px;
    transform: translateY(100px);
    background: var(--cyan-gradient);
    color: #0B0D10;
    padding: 14px 20px;
    border-radius: 60px;
    font-size: 0.85rem;
    z-index: 9999;
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

@media (min-width: 768px) {
    .toast {
        left: 50%;
        right: auto;
        transform: translateX(-50%) translateY(100px);
        width: auto;
        min-width: 300px;
    }
}

.toast.show {
    transform: translateY(0);
}

@media (min-width: 768px) {
    .toast.show { transform: translateX(-50%) translateY(0); }
}

.toast.error {
    background: linear-gradient(135deg, #FF5252, #FF1744);
    color: white;
}

.toast.info {
    background: linear-gradient(135deg, #40E0FF, #00B8D4);
    color: #0B0D10;
}

/* ===== ACCESSIBILITY ===== */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

button:focus-visible, a:focus-visible, .tool-card:focus-visible {
    outline: 3px solid #40E0FF;
    outline-offset: 2px;
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .cube {
        animation: none;
        transform: rotateX(30deg) rotateY(30deg);
    }
    
    .cta-section::before,
    .cta-section::after {
        animation: none;
    }
}

/* ===== [x-cloak] for Alpine.js ===== */
[x-cloak] { display: none !important; }

/* ========== PERSISTENT SIGN IN BANNER ========== */
.persistent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    background: linear-gradient(135deg, #151A21 0%, #1E2630 100%);
    border-top: 2px solid #40E0FF;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.4);
    transform: translateY(0);
    transition: transform 0.3s ease;
    backdrop-filter: blur(8px);
}

.persistent-banner.hidden {
    transform: translateY(100%);
}

.persistent-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 24px;
    max-width: 1400px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.banner-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #40E0FF, #00B8D4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    animation: pulseGlow 2s ease-in-out infinite;
}

.banner-icon i {
    font-size: 1.4rem;
    color: #0B0D10;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(64, 224, 255, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(64, 224, 255, 0);
    }
}

.banner-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.banner-text strong {
    font-size: 0.95rem;
    color: #40E0FF;
    font-weight: 700;
}

.banner-text span {
    font-size: 0.8rem;
    color: #9AA5B5;
    line-height: 1.4;
}

.banner-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.banner-btn {
    padding: 10px 24px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    white-space: nowrap;
}

.banner-btn.primary {
    background: var(--cyan-gradient);
    color: #0B0D10;
}

.banner-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(64, 224, 255, 0.4);
}

.banner-btn.secondary {
    background: transparent;
    color: #9AA5B5;
    border: 1px solid #273140;
}

.banner-btn.secondary:hover {
    background: rgba(64, 224, 255, 0.1);
    color: #40E0FF;
    border-color: #40E0FF;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .persistent-banner-content {
        flex-direction: column;
        text-align: center;
        padding: 16px 20px;
        gap: 12px;
    }
    
    .banner-icon {
        width: 44px;
        height: 44px;
    }
    
    .banner-icon i {
        font-size: 1.2rem;
    }
    
    .banner-text strong {
        font-size: 0.85rem;
    }
    
    .banner-text span {
        font-size: 0.7rem;
    }
    
    .banner-actions {
        width: 100%;
        justify-content: center;
        gap: 10px;
    }
    
    .banner-btn {
        padding: 8px 20px;
        font-size: 0.8rem;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .persistent-banner-content {
        padding: 12px 16px;
    }
    
    .banner-actions {
        flex-wrap: wrap;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .banner-icon {
        animation: none;
    }
}

/* Hide header on PWA installed mode */
@media (display-mode: standalone) {
    .persistent-banner {
        display: none;
    }
}

/* Body padding when banner is visible to prevent content hiding behind banner */
body.has-persistent-banner {
    padding-bottom: 80px;
}

@media (max-width: 768px) {
    body.has-persistent-banner {
        padding-bottom: 120px;
    }
}