/* Golden Builder - Landing Page Styles */

/* ==================== Variables ==================== */
:root {
    --gl-primary: #f59e0b;
    --gl-primary-dark: #d97706;
    --gl-primary-light: #fbbf24;
    --gl-secondary: #6366f1;
    --gl-accent: #ec4899;
    --gl-gradient: linear-gradient(135deg, #f59e0b 0%, #ef4444 50%, #ec4899 100%);
    --gl-gradient-subtle: linear-gradient(135deg, rgba(245,158,11,0.1) 0%, rgba(239,68,68,0.05) 100%);
    --gl-bg: #030712;
    --gl-bg-2: #0f172a;
    --gl-bg-card: #111827;
    --gl-bg-card-hover: #1e293b;
    --gl-text: #f1f5f9;
    --gl-text-muted: #94a3b8;
    --gl-text-dim: #64748b;
    --gl-border: #1e293b;
    --gl-border-light: #334155;
    --gl-radius: 16px;
    --gl-radius-sm: 10px;
    --gl-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
    --gl-shadow-glow: 0 0 60px rgba(245,158,11,0.15);
    --gl-transition: 0.3s cubic-bezier(0.4,0,0.2,1);
    --gl-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans Arabic', sans-serif;
}

/* ==================== Reset ==================== */
.gl-wrapper {
    font-family: var(--gl-font);
    background: var(--gl-bg);
    color: var(--gl-text);
    margin: 0;
    padding: 0;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    box-sizing: border-box;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.gl-wrapper * {
    box-sizing: border-box;
}

.gl-wrapper[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

/* ==================== Section Commons ==================== */
.gl-section-inner {
    max-width: 1200px;
    width: 92%;
    margin: 0 auto;
}

.gl-section-title {
    font-size: 2.8rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    color: var(--gl-primary);
}

.gl-wrapper.gl-light .gl-section-title {
    color: #0f172a;
}

.gl-section-desc {
    text-align: center;
    color: var(--gl-text-muted);
    font-size: 1.15rem;
    margin-bottom: 56px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ==================== Buttons ==================== */
.gl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border: none;
    border-radius: var(--gl-radius-sm);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: var(--gl-transition);
    font-family: var(--gl-font);
    white-space: nowrap;
}

.gl-btn-sm {
    padding: 8px 18px;
    font-size: 0.9rem;
}

.gl-btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
    border-radius: 14px;
}

.gl-btn-block {
    width: 100%;
}

.gl-btn-primary {
    background: var(--gl-gradient);
    color: #fff;
    box-shadow: 0 4px 20px rgba(245,158,11,0.3);
}

.gl-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(245,158,11,0.4);
    filter: brightness(1.1);
    color: #fff;
    text-decoration: none;
}

.gl-btn-outline {
    background: rgba(255,255,255,0.12) !important;
    color: #ffffff !important;
    border: 2px solid rgba(255,255,255,0.85) !important;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    letter-spacing: 0.01em;
}

.gl-btn-outline:hover {
    border-color: var(--gl-primary);
    color: #fff;
    background: var(--gl-primary);
    text-decoration: none;
    text-shadow: none;
    box-shadow: 0 4px 20px rgba(245,158,11,0.3);
}

.gl-wrapper.gl-light .gl-btn-outline {
    background: transparent !important;
    color: #1e293b !important;
    border: 2px solid #64748b !important;
    text-shadow: none;
    font-weight: 700;
}

.gl-wrapper.gl-light .gl-btn-outline:hover {
    border-color: var(--gl-primary);
    color: #fff;
    background: var(--gl-primary);
    box-shadow: 0 4px 20px rgba(245,158,11,0.3);
}

.gl-btn-ghost {
    background: transparent;
    color: var(--gl-text-muted);
}

.gl-btn-ghost:hover {
    color: var(--gl-text);
    text-decoration: none;
}

/* ==================== NAVBAR ==================== */
.gl-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    background: rgba(3,7,18,0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--gl-border);
    padding: 0 20px;
}

.gl-wrapper.gl-light .gl-nav {
    background: rgba(248,250,252,0.9);
}

.gl-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.gl-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--gl-text);
    font-weight: 800;
    font-size: 1.2rem;
}

.gl-logo:hover { text-decoration: none; color: var(--gl-text); }

.gl-logo-img {
    max-height: 60px;
    width: auto;
    object-fit: contain;
}

.gl-logo-icon {
    font-size: 1.5rem;
}

.gl-logo-text {
    background: var(--gl-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gl-nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gl-nav-links a {
    color: #ffffff !important;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    transition: var(--gl-transition);
}

.gl-nav-links a:hover {
    color: #fff;
    background: rgba(255,255,255,0.15);
    text-decoration: none;
}

.gl-wrapper.gl-light .gl-nav-links a {
    color: #334155 !important;
    font-weight: 600;
}

.gl-wrapper.gl-light .gl-nav-links a:hover {
    color: #0f172a;
    background: rgba(0,0,0,0.06);
}

.gl-mobile-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--gl-border-light);
    color: var(--gl-text);
    font-size: 1.3rem;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 8px;
}

/* ==================== HERO ==================== */
.gl-hero {
    position: relative;
    padding: 140px 20px 100px;
    text-align: center;
    overflow: hidden;
}

.gl-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.gl-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
}

.gl-glow-1 {
    width: 600px;
    height: 600px;
    background: var(--gl-primary);
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.15;
}

.gl-glow-2 {
    width: 400px;
    height: 400px;
    background: var(--gl-accent);
    bottom: -100px;
    right: -100px;
    opacity: 0.1;
}

.gl-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(245,158,11,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245,158,11,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, black 30%, transparent 70%);
}

.gl-hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.gl-badge {
    display: inline-block;
    background: rgba(245,158,11,0.1);
    border: 1px solid rgba(245,158,11,0.2);
    color: var(--gl-primary-light);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 32px;
}

.gl-hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    color: var(--gl-primary);
}

.gl-wrapper.gl-light .gl-hero-title {
    color: #0f172a;
}

.gl-gradient-text {
    background: var(--gl-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gl-hero-desc {
    font-size: 1.25rem;
    color: var(--gl-text-muted);
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.gl-hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 64px;
    flex-wrap: wrap;
}

.gl-hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.gl-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.gl-stat-num {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gl-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gl-stat-label {
    font-size: 0.85rem;
    color: var(--gl-text-dim);
    font-weight: 500;
}

.gl-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--gl-border-light);
}

/* ==================== FEATURES ==================== */
.gl-features {
    padding: 100px 20px;
    background: var(--gl-bg-2);
}

.gl-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gl-feature-card {
    background: var(--gl-bg-card);
    border: 1px solid var(--gl-border);
    border-radius: var(--gl-radius);
    padding: 36px 28px;
    transition: var(--gl-transition);
}

.gl-feature-card:hover {
    border-color: rgba(245,158,11,0.3);
    transform: translateY(-4px);
    box-shadow: var(--gl-shadow-glow);
}

.gl-feature-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.gl-feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--gl-text);
}

.gl-feature-card p {
    color: var(--gl-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* ==================== PLANS ==================== */
.gl-plans {
    padding: 100px 20px;
}

.gl-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.gl-plan-card {
    background: var(--gl-bg-card);
    border: 1px solid var(--gl-border);
    border-radius: var(--gl-radius);
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--gl-transition);
}

.gl-plan-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--gl-shadow);
}

.gl-plan-popular {
    border-color: var(--gl-primary);
    box-shadow: 0 0 40px rgba(245,158,11,0.1);
}

.gl-plan-popular:hover {
    box-shadow: 0 0 60px rgba(245,158,11,0.15);
}

.gl-plan-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gl-gradient);
    color: #fff;
    padding: 6px 20px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}

.gl-wrapper[dir="rtl"] .gl-plan-badge {
    left: auto;
    right: 50%;
    transform: translateX(50%);
}

.gl-plan-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--gl-text);
}

.gl-plan-price {
    margin-bottom: 16px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.gl-price-amount {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gl-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gl-price-currency {
    font-size: 1.1rem;
    color: var(--gl-text-muted);
    font-weight: 600;
}

.gl-price-period {
    color: var(--gl-text-dim);
    font-size: 0.95rem;
}

.gl-plan-desc {
    color: var(--gl-text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.gl-plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
    flex: 1;
}

.gl-plan-features li {
    padding: 8px 0;
    color: var(--gl-text-muted);
    font-size: 0.95rem;
    border-bottom: 1px solid var(--gl-border);
}

.gl-plan-features li:last-child {
    border-bottom: none;
}

.gl-no-plans {
    text-align: center;
    color: var(--gl-text-dim);
    font-size: 1.1rem;
}

/* ==================== FAQ ==================== */
.gl-faq {
    padding: 100px 20px;
    background: var(--gl-bg-2);
}

.gl-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.gl-faq-item {
    background: var(--gl-bg-card);
    border: 1px solid var(--gl-border);
    border-radius: var(--gl-radius);
    padding: 28px;
}

.gl-faq-q {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--gl-text);
}

.gl-faq-a {
    color: var(--gl-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* ==================== AUTH ==================== */
.gl-auth {
    padding: 100px 20px;
}

.gl-auth-container {
    max-width: 520px;
    margin: 0 auto;
    background: var(--gl-bg-card);
    border: 1px solid var(--gl-border);
    border-radius: var(--gl-radius);
    padding: 40px 36px;
}

.gl-auth-tabs {
    display: flex;
    gap: 4px;
    background: var(--gl-bg);
    border-radius: var(--gl-radius-sm);
    padding: 4px;
    margin-bottom: 32px;
}

.gl-auth-tab {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--gl-text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--gl-transition);
    font-family: var(--gl-font);
}

.gl-auth-tab.active {
    background: var(--gl-bg-card-hover);
    color: var(--gl-text);
}

.gl-auth-form h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.gl-auth-subtitle {
    color: var(--gl-text-muted);
    margin-bottom: 28px;
    font-size: 0.95rem;
}

.gl-form-group {
    margin-bottom: 20px;
}

.gl-form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gl-text-muted);
    margin-bottom: 8px;
}

.gl-form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--gl-border-light);
    border-radius: var(--gl-radius-sm);
    background: var(--gl-bg);
    color: var(--gl-text);
    font-size: 1rem;
    font-family: var(--gl-font);
    transition: var(--gl-transition);
    outline: none;
}

.gl-form-group input:focus {
    border-color: var(--gl-primary);
    box-shadow: 0 0 0 3px rgba(245,158,11,0.1);
}

.gl-form-group input::placeholder {
    color: var(--gl-text-dim);
}

.gl-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.gl-form-message {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: var(--gl-radius-sm);
    font-size: 0.9rem;
    display: none;
}

.gl-form-message.gl-msg-error {
    display: block;
    background: rgba(239,68,68,0.1);
    border: 1px solid rgba(239,68,68,0.2);
    color: #fca5a5;
}

.gl-form-message.gl-msg-success {
    display: block;
    background: rgba(34,197,94,0.1);
    border: 1px solid rgba(34,197,94,0.2);
    color: #86efac;
}

/* ==================== CTA ==================== */
.gl-cta {
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.gl-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(245,158,11,0.08) 0%, transparent 60%);
    pointer-events: none;
}

.gl-cta h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
    color: var(--gl-primary);
}

.gl-wrapper.gl-light .gl-cta h2 {
    color: #0f172a;
}

.gl-cta p {
    color: var(--gl-text-muted);
    font-size: 1.15rem;
    margin-bottom: 36px;
    position: relative;
}

.gl-cta .gl-btn {
    position: relative;
}

/* ==================== FOOTER (hidden - use WP theme footer) ==================== */
.gl-footer { display: none !important; }
.gl-footer-inner, .gl-footer-brand, .gl-footer-copy { display: none !important; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .gl-nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(3,7,18,0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        border-bottom: 1px solid var(--gl-border);
    }

    .gl-nav-links.gl-nav-open {
        display: flex;
    }

    .gl-mobile-toggle {
        display: block;
    }

    .gl-hero-title {
        font-size: 2.5rem;
    }

    .gl-hero-desc {
        font-size: 1.05rem;
    }

    .gl-hero {
        padding: 100px 20px 60px;
    }

    .gl-section-title {
        font-size: 2rem;
    }

    .gl-features-grid {
        grid-template-columns: 1fr;
    }

    .gl-plans-grid {
        grid-template-columns: 1fr;
    }

    .gl-faq-grid {
        grid-template-columns: 1fr;
    }

    .gl-form-row {
        grid-template-columns: 1fr;
    }

    .gl-hero-stats {
        gap: 24px;
    }

    .gl-stat-divider {
        display: none;
    }

    .gl-auth-container {
        padding: 28px 20px;
    }

}

@media (max-width: 480px) {
    .gl-hero-title {
        font-size: 2rem;
    }

    .gl-hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .gl-hero-actions .gl-btn {
        width: 100%;
        max-width: 300px;
    }
}

/* ==================== Animations ==================== */
@keyframes gl-fade-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gl-hero-content > * {
    animation: gl-fade-up 0.7s ease forwards;
}

.gl-hero-content > *:nth-child(2) { animation-delay: 0.1s; }
.gl-hero-content > *:nth-child(3) { animation-delay: 0.2s; }
.gl-hero-content > *:nth-child(4) { animation-delay: 0.3s; }
.gl-hero-content > *:nth-child(5) { animation-delay: 0.4s; }

/* ==================== AI Hero Visual ==================== */
.gl-hero-visual {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0;
    animation: gl-fade-up 1s ease forwards;
    animation-delay: 0.5s;
    opacity: 0;
    perspective: 1000px;
}

.gl-code-window {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(245, 158, 11, 0.1);
    transform: rotateX(5deg) rotateY(-5deg) scale(0.95);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.gl-code-window:hover {
    transform: rotateX(0) rotateY(0) scale(1);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(245, 158, 11, 0.3), 0 0 40px rgba(245, 158, 11, 0.15);
}

.gl-window-header {
    background: rgba(0, 0, 0, 0.3);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.gl-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
}

.gl-wrapper[dir="rtl"] .gl-dot {
    margin-right: 0;
    margin-left: 8px;
}

.gl-dot-r { background: #ff5f56; }
.gl-dot-y { background: #ffbd2e; }
.gl-dot-g { background: #27c93f; }

.gl-window-title {
    margin-left: auto;
    margin-right: auto;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.gl-window-body {
    padding: 24px;
    font-family: 'Fira Code', 'Consolas', monospace;
    background: #0f172a;
    min-height: 200px;
    position: relative;
    overflow: hidden;
}

.gl-code-line {
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
}

.gl-code-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: gl-shimmer 2s infinite;
}

@keyframes gl-shimmer {
    100% { left: 100%; }
}

.gl-w-40 { width: 40%; }
.gl-w-50 { width: 50%; }
.gl-w-60 { width: 60%; }
.gl-w-70 { width: 70%; }
.gl-w-80 { width: 80%; }

.gl-indent {
    margin-left: 24px;
}
.gl-wrapper[dir="rtl"] .gl-indent {
    margin-left: 0;
    margin-right: 24px;
}

.gl-code-line:nth-child(1) { background: linear-gradient(90deg, #ec4899, transparent); opacity: 0.5; }
.gl-code-line:nth-child(2) { background: linear-gradient(90deg, #8b5cf6, transparent); opacity: 0.6; }
.gl-code-line:nth-child(3) { background: linear-gradient(90deg, #f59e0b, transparent); opacity: 0.7; }
.gl-code-line:nth-child(4) { background: linear-gradient(90deg, #10b981, transparent); opacity: 0.6; }
.gl-code-line:nth-child(5) { background: linear-gradient(90deg, #3b82f6, transparent); opacity: 0.5; }

.gl-ai-cursor {
    width: 10px;
    height: 20px;
    background: #f59e0b;
    margin-top: 12px;
    animation: gl-blink 1s step-end infinite;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.8);
}

@keyframes gl-blink {
    50% { opacity: 0; }
}

.gl-ai-floating-badge {
    position: absolute;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3), 0 0 20px rgba(245, 158, 11, 0.1);
    z-index: 2;
    animation: gl-float 4s ease-in-out infinite;
}

.gl-float-1 {
    top: -20px;
    left: -30px;
}

.gl-float-2 {
    bottom: 30px;
    right: -40px;
    animation-delay: -2s;
    border-color: rgba(236, 72, 153, 0.3);
}

.gl-wrapper[dir="rtl"] .gl-float-1 { left: auto; right: -30px; }
.gl-wrapper[dir="rtl"] .gl-float-2 { right: auto; left: -40px; }

.gl-badge-icon {
    font-size: 1.5rem;
}

.gl-badge-text {
    font-weight: 600;
    font-size: 0.9rem;
    background: var(--gl-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes gl-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@media (max-width: 768px) {
    .gl-hero-visual { display: none; }
}

/* ==================== FEATURE CARDS ENHANCEMENT ==================== */
.gl-feature-card {
    opacity: 0;
    animation: gl-fade-up 0.6s ease forwards;
}

.gl-feature-card:nth-child(1) { animation-delay: 0.1s; }
.gl-feature-card:nth-child(2) { animation-delay: 0.2s; }
.gl-feature-card:nth-child(3) { animation-delay: 0.3s; }
.gl-feature-card:nth-child(4) { animation-delay: 0.4s; }
.gl-feature-card:nth-child(5) { animation-delay: 0.5s; }
.gl-feature-card:nth-child(6) { animation-delay: 0.6s; }

/* ==================== LIGHT THEME ==================== */
.gl-wrapper.gl-light {
    --gl-bg: #f8fafc;
    --gl-bg-2: #f1f5f9;
    --gl-bg-card: #ffffff;
    --gl-bg-card-hover: #f8fafc;
    --gl-text: #1e293b;
    --gl-text-muted: #64748b;
    --gl-text-dim: #94a3b8;
    --gl-border: #e2e8f0;
    --gl-border-light: #cbd5e1;
    --gl-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.1);
    --gl-shadow-glow: 0 0 40px rgba(245,158,11,0.1);
}

.gl-wrapper.gl-light .gl-hero-glow { opacity: 0.08; }
.gl-wrapper.gl-light .gl-grid-overlay {
    background-image:
        linear-gradient(rgba(245,158,11,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245,158,11,0.05) 1px, transparent 1px);
}

.gl-wrapper.gl-light .gl-form-group input {
    background: #f8fafc;
}

.gl-wrapper.gl-light .gl-auth-tabs {
    background: #f1f5f9;
}

.gl-wrapper.gl-light .gl-auth-tab.active {
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.gl-wrapper.gl-light .gl-code-input {
    border-color: #cbd5e1 !important;
    background: #f8fafc !important;
    color: #1e293b !important;
}

.gl-wrapper.gl-light .gl-form-message.gl-msg-error {
    color: #dc2626;
}

.gl-wrapper.gl-light .gl-form-message.gl-msg-success {
    color: #16a34a;
}

/* ==================== FLOATING TOOLBAR ==================== */
.gl-toolbar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: var(--gl-bg-card);
    border: 1px solid var(--gl-border);
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    backdrop-filter: blur(12px);
}

.gl-wrapper[dir="rtl"] .gl-toolbar {
    right: auto;
    left: 20px;
}

.gl-toolbar-btn {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 12px;
    background: var(--gl-bg-card-hover);
    color: var(--gl-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: var(--gl-transition);
    position: relative;
    font-family: var(--gl-font);
}

.gl-toolbar-btn:hover {
    background: rgba(245,158,11,0.15);
    color: var(--gl-primary);
}

.gl-toolbar-btn.active {
    background: rgba(245,158,11,0.1);
    color: var(--gl-primary);
}

.gl-toolbar-btn-wide {
    width: auto;
    padding: 0 14px;
    font-size: 0.85rem;
    font-weight: 600;
    gap: 6px;
}

.gl-toolbar-btn .gl-toolbar-tooltip {
    position: absolute;
    right: 56px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--gl-bg-card);
    border: 1px solid var(--gl-border);
    color: var(--gl-text);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.gl-wrapper[dir="rtl"] .gl-toolbar-btn .gl-toolbar-tooltip {
    right: auto;
    left: 56px;
}

.gl-toolbar-btn:hover .gl-toolbar-tooltip {
    opacity: 1;
}

.gl-toolbar-divider {
    height: 1px;
    background: var(--gl-border);
    margin: 2px 6px;
}

@media (max-width: 768px) {
    .gl-toolbar {
        right: 10px;
        padding: 6px;
        gap: 4px;
    }
    .gl-toolbar-btn {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
    .gl-toolbar-btn .gl-toolbar-tooltip {
        display: none;
    }
}

/* ==================== GUEST STUDIO ==================== */
.gl-guest-studio {
    padding: 60px 0 40px;
}

.gl-guest-studio .gl-section-inner {
    margin-bottom: 24px;
}

/* ---- Guest Try Box ---- */
.gl-guest-try-box {
    max-width: 720px;
    margin: 0 auto;
    background: var(--gl-bg-card);
    border: 1px solid var(--gl-border);
    border-radius: var(--gl-radius);
    padding: 32px;
    box-shadow: var(--gl-shadow);
    position: relative;
    overflow: hidden;
}

.gl-guest-try-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(99,102,241,0.05) 0%, rgba(139,92,246,0.05) 100%);
    pointer-events: none;
}

.gl-guest-try-icon {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 16px;
}

.gl-guest-try-input-wrap {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    position: relative;
}

.gl-guest-try-input-wrap textarea {
    flex: 1;
    background: var(--gl-bg-2);
    border: 1px solid var(--gl-border-light);
    border-radius: var(--gl-radius-sm);
    color: var(--gl-text);
    padding: 14px 16px;
    font-size: 1rem;
    font-family: var(--gl-font);
    resize: none;
    outline: none;
    transition: border-color var(--gl-transition);
    line-height: 1.5;
}

.gl-guest-try-input-wrap textarea:focus {
    border-color: var(--gl-secondary);
    box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
}

.gl-guest-try-input-wrap textarea::placeholder {
    color: var(--gl-text-dim);
}

.gl-guest-send-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #fff;
    border: none;
    border-radius: var(--gl-radius-sm);
    padding: 14px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--gl-font);
    cursor: pointer;
    transition: all var(--gl-transition);
    white-space: nowrap;
    flex-shrink: 0;
}

.gl-guest-send-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(99,102,241,0.35);
}

.gl-guest-send-btn:active {
    transform: translateY(0);
}

.gl-guest-try-hints {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
    justify-content: center;
}

.gl-guest-try-hint {
    background: rgba(99,102,241,0.08);
    border: 1px solid rgba(99,102,241,0.15);
    color: var(--gl-text-muted);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--gl-font);
}

.gl-guest-try-hint:hover {
    background: rgba(99,102,241,0.15);
    color: var(--gl-text);
    border-color: rgba(99,102,241,0.3);
}

/* ---- Panels Container ---- */
.gl-gstudio-panels {
    display: flex;
    flex: 1;
    overflow: hidden;
    position: relative;
}

.gl-gstudio-panel {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* ---- Chat Panel ---- */
.gl-gstudio-chat {
    width: 35%;
    min-width: 280px;
    border-right: 1px solid var(--gl-border);
    position: relative;
}

.gl-wrapper[dir="rtl"] .gl-gstudio-chat {
    border-right: none;
    border-left: 1px solid var(--gl-border);
}

.gl-guest-chat-messages {
    padding: 16px;
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.gl-guest-msg {
    display: flex;
    gap: 10px;
    animation: gl-fade-up 0.3s ease;
}

.gl-guest-msg-user {
    flex-direction: row-reverse;
}

.gl-wrapper[dir="rtl"] .gl-guest-msg-user {
    flex-direction: row;
}

.gl-guest-msg-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gl-bg-2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    border: 1px solid var(--gl-border);
}

.gl-guest-msg-content {
    background: var(--gl-bg-2);
    padding: 10px 14px;
    border-radius: 10px;
    color: var(--gl-text);
    font-size: 0.85rem;
    line-height: 1.6;
    max-width: 85%;
    word-wrap: break-word;
}

.gl-guest-msg-user .gl-guest-msg-content {
    background: var(--gl-primary);
    color: #fff;
}

.gl-guest-msg-content pre {
    background: rgba(0,0,0,0.15);
    padding: 10px;
    border-radius: 6px;
    overflow-x: auto;
    margin: 6px 0;
    font-size: 0.8rem;
    line-height: 1.5;
}

.gl-guest-msg-content code {
    font-family: 'Fira Code', 'Cascadia Code', monospace;
    font-size: 0.82em;
}

.gl-guest-msg-content p { margin: 0 0 6px; }
.gl-guest-msg-content p:last-child { margin-bottom: 0; }

.gl-guest-chat-input-wrap {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid var(--gl-border);
    background: var(--gl-bg-2);
    flex-shrink: 0;
}

#gl-guest-input {
    flex: 1;
    resize: none;
    border: 1px solid var(--gl-border);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 0.85rem;
    background: var(--gl-bg-card);
    color: var(--gl-text);
    font-family: inherit;
    max-height: 100px;
    outline: none;
    transition: border-color 0.2s;
}

#gl-guest-input:focus { border-color: var(--gl-primary); }
#gl-guest-input::placeholder { color: var(--gl-text-dim); }

.gl-guest-send-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 10px;
    background: var(--gl-gradient);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, opacity 0.2s;
    flex-shrink: 0;
}

.gl-guest-send-btn:hover { transform: scale(1.05); }
.gl-guest-send-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.gl-guest-register-prompt {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, var(--gl-bg-card) 80%, transparent);
    padding: 30px 20px 20px;
    text-align: center;
    z-index: 10;
    animation: gl-fade-up 0.4s ease;
}

.gl-guest-register-icon { font-size: 2rem; margin-bottom: 10px; }
.gl-guest-register-prompt h3 { color: var(--gl-text); font-size: 1.1rem; margin: 0 0 6px; }
.gl-guest-register-prompt p { color: var(--gl-text-muted); font-size: 0.85rem; margin: 0 0 16px; }

/* ---- Resize Handle ---- */
.gl-gstudio-resize {
    width: 4px;
    background: var(--gl-border);
    cursor: col-resize;
    flex-shrink: 0;
    transition: background 0.15s;
}

.gl-gstudio-resize:hover,
.gl-gstudio-resize.gl-dragging {
    background: var(--gl-primary);
}

/* ---- Code Panel ---- */
.gl-gstudio-code {
    width: 35%;
    min-width: 200px;
    background: #1e1e2e;
    border-right: 1px solid var(--gl-border);
}

.gl-wrapper[dir="rtl"] .gl-gstudio-code {
    border-right: none;
    border-left: 1px solid var(--gl-border);
}

.gl-gstudio-code-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px;
    background: #181825;
    border-bottom: 1px solid #313244;
    flex-shrink: 0;
}

.gl-gstudio-code-filename {
    font-size: 0.8rem;
    color: #cdd6f4;
    font-family: 'Fira Code', monospace;
}

.gl-gstudio-copy-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    border: none;
    background: rgba(255,255,255,0.08);
    color: #a6adc8;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.15s;
}

.gl-gstudio-copy-btn:hover {
    background: rgba(255,255,255,0.15);
    color: #cdd6f4;
}

.gl-gstudio-code-content {
    flex: 1;
    overflow: auto;
    margin: 0;
    padding: 14px;
    color: #cdd6f4;
    font-family: 'Fira Code', 'Cascadia Code', monospace;
    font-size: 0.8rem;
    line-height: 1.7;
    tab-size: 2;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* ---- Preview Panel ---- */
.gl-gstudio-preview {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
}

.gl-gstudio-preview-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: var(--gl-bg-2);
    border-bottom: 1px solid var(--gl-border);
    flex-shrink: 0;
}

.gl-gstudio-url-bar {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--gl-bg-card);
    border: 1px solid var(--gl-border);
    border-radius: 8px;
    padding: 5px 12px;
    font-size: 0.78rem;
    color: var(--gl-text-muted);
}

.gl-gstudio-refresh-btn {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: var(--gl-text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
}

.gl-gstudio-refresh-btn:hover {
    background: rgba(245,158,11,0.1);
    color: var(--gl-primary);
}

.gl-gstudio-preview-frame {
    flex: 1;
    position: relative;
    background: #fff;
    overflow: hidden;
}

.gl-gstudio-preview-frame.gl-gstudio-mobile-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gl-bg-2);
}

.gl-gstudio-preview-frame.gl-gstudio-mobile-frame .gl-gstudio-iframe {
    width: 390px;
    height: 100%;
    max-height: 700px;
    border: 6px solid #333;
    border-radius: 36px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.gl-gstudio-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.gl-gstudio-preview-empty {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    background: var(--gl-bg-card);
}

.gl-gstudio-preview-empty-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    animation: gl-float 3s ease-in-out infinite;
}

.gl-gstudio-preview-empty h3 {
    color: var(--gl-text);
    font-size: 1.2rem;
    margin: 0 0 8px;
}

.gl-gstudio-preview-empty p {
    color: var(--gl-text-muted);
    font-size: 0.9rem;
    margin: 0;
    max-width: 320px;
}

/* ---- Typing Indicator ---- */
.gl-guest-typing {
    display: flex;
    gap: 4px;
    padding: 8px 0;
}

.gl-guest-typing span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gl-text-muted);
    animation: gl-typing-dot 1.4s infinite;
}

.gl-guest-typing span:nth-child(2) { animation-delay: 0.2s; }
.gl-guest-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes gl-typing-dot {
    0%, 60%, 100% { opacity: 0.3; transform: scale(0.8); }
    30% { opacity: 1; transform: scale(1); }
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .gl-gstudio {
        height: auto;
        min-height: 500px;
    }
    .gl-gstudio-panels {
        flex-direction: column;
    }
    .gl-gstudio-chat {
        width: 100% !important;
        min-height: 250px;
        max-height: 320px;
        border-right: none;
        border-bottom: 1px solid var(--gl-border);
    }
    .gl-wrapper[dir="rtl"] .gl-gstudio-chat {
        border-left: none;
        border-bottom: 1px solid var(--gl-border);
    }
    .gl-gstudio-resize { display: none; }
    .gl-gstudio-code {
        width: 100% !important;
        min-height: 200px;
        max-height: 250px;
        border-right: none;
        border-bottom: 1px solid var(--gl-border);
    }
    .gl-gstudio-preview {
        min-height: 350px;
    }
    .gl-gstudio-toolbar-center {
        overflow-x: visible;
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px;
    }
}

@media (max-width: 600px) {
    .gl-guest-studio { padding: 40px 0 20px; }
    .gl-guest-try-box {
        padding: 20px 16px;
        margin-left: 12px;
        margin-right: 12px;
        max-width: 100%;
    }
    .gl-guest-try-input-wrap {
        flex-direction: column;
        width: 100%;
    }
    .gl-guest-try-input-wrap textarea {
        width: 100% !important;
        min-height: 80px;
        font-size: 1rem;
        padding: 14px 16px;
    }
    .gl-guest-send-btn { width: 100%; justify-content: center; }
    .gl-guest-try-hint { font-size: 0.75rem; padding: 5px 10px; }
}

/* ==================== GUEST ADVANCED SETTINGS ==================== */
.gl-guest-adv-bar {
    margin-top: 16px;
    text-align: center;
}

.gl-guest-adv-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid var(--gl-border-light);
    border-radius: 100px;
    padding: 8px 20px;
    color: var(--gl-text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s;
    font-family: var(--gl-font);
}

.gl-guest-adv-toggle:hover {
    border-color: var(--gl-primary);
    color: var(--gl-primary);
    background: rgba(245,158,11,0.05);
}

.gl-guest-adv-toggle svg {
    flex-shrink: 0;
    opacity: 0.7;
}

.gl-guest-adv-arrow {
    font-size: 0.75rem;
    transition: transform 0.3s;
}

.gl-guest-adv-toggle.active .gl-guest-adv-arrow {
    transform: rotate(180deg);
}

.gl-guest-adv-panel {
    margin-top: 16px;
    padding: 20px;
    background: var(--gl-bg-2);
    border: 1px solid var(--gl-border);
    border-radius: var(--gl-radius-sm);
    animation: gl-fade-up 0.3s ease;
}

.gl-guest-adv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.gl-guest-adv-full {
    grid-column: 1 / -1;
}

.gl-guest-adv-item label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gl-text-muted);
    margin-bottom: 8px;
}

.gl-guest-adv-btns {
    display: flex;
    gap: 4px;
    background: var(--gl-bg-card);
    border-radius: 8px;
    padding: 3px;
    border: 1px solid var(--gl-border);
}

.gl-guest-adv-btn {
    flex: 1;
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: var(--gl-text-dim);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--gl-font);
    white-space: nowrap;
}

.gl-guest-adv-btn:hover {
    color: var(--gl-text);
}

.gl-guest-adv-btn.active {
    background: var(--gl-gradient);
    color: #fff;
    box-shadow: 0 2px 8px rgba(245,158,11,0.25);
}

.gl-guest-adv-colors {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.gl-guest-color-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 3px solid transparent;
    background: var(--dot-color);
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
    position: relative;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.gl-guest-color-dot:hover {
    transform: scale(1.15);
    box-shadow: 0 3px 12px rgba(0,0,0,0.3);
}

.gl-guest-color-dot.active {
    border-color: #fff;
    transform: scale(1.15);
    box-shadow: 0 0 0 2px var(--dot-color), 0 3px 12px rgba(0,0,0,0.3);
}

.gl-guest-adv-wrap {
    flex-wrap: wrap;
}

.gl-guest-adv-wrap .gl-guest-adv-btn {
    flex: 0 0 auto;
    padding: 6px 14px;
}

.gl-guest-adv-textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--gl-border);
    border-radius: 8px;
    background: var(--gl-bg-card);
    color: var(--gl-text);
    font-size: 0.82rem;
    font-family: var(--gl-font);
    resize: vertical;
    min-height: 50px;
    transition: border-color 0.2s;
}

.gl-guest-adv-textarea:focus {
    outline: none;
    border-color: var(--gl-primary);
    box-shadow: 0 0 0 3px rgba(245,158,11,0.12);
}

.gl-guest-adv-textarea::placeholder {
    color: var(--gl-text-dim);
    opacity: 0.7;
}

@media (max-width: 600px) {
    .gl-guest-adv-grid {
        grid-template-columns: 1fr;
    }
    .gl-guest-adv-full {
        grid-column: auto;
    }
}

/* ==================== PWA INSTALL BANNER ==================== */
.gl-pwa-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    padding: 0 16px 16px;
    animation: gl-slide-up 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes gl-slide-up {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.gl-pwa-banner-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 520px;
    margin: 0 auto;
    padding: 14px 18px;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.05);
    backdrop-filter: blur(20px);
}

.gl-wrapper.gl-light .gl-pwa-banner-inner {
    background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.04);
}

.gl-pwa-banner-icon {
    font-size: 2rem;
    flex-shrink: 0;
    line-height: 1;
}

.gl-pwa-banner-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.gl-pwa-banner-text strong {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
}

.gl-wrapper.gl-light .gl-pwa-banner-text strong {
    color: #0f172a;
}

.gl-pwa-banner-text span {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.3;
}

.gl-wrapper.gl-light .gl-pwa-banner-text span {
    color: #64748b;
}

.gl-pwa-banner-btn {
    flex-shrink: 0;
    padding: 10px 22px;
    background: var(--gl-gradient);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--gl-font);
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(245,158,11,0.3);
}

.gl-pwa-banner-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(245,158,11,0.4);
}

.gl-pwa-banner-close {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 50%;
    color: rgba(255,255,255,0.5);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s;
    line-height: 1;
}

.gl-wrapper.gl-light .gl-pwa-banner-close {
    background: rgba(0,0,0,0.06);
    color: #94a3b8;
}

.gl-pwa-banner-close:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

.gl-wrapper.gl-light .gl-pwa-banner-close:hover {
    background: rgba(0,0,0,0.1);
    color: #334155;
}

@media (max-width: 480px) {
    .gl-pwa-banner-inner {
        flex-wrap: wrap;
        gap: 10px;
        padding: 12px 14px;
    }
    .gl-pwa-banner-btn {
        flex: 1;
        text-align: center;
    }
}

/* ==================== SELECTED PLAN CARD ==================== */
.gl-selected-plan-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(245,158,11,0.08) 0%, rgba(239,68,68,0.05) 100%);
    border: 1px solid rgba(245,158,11,0.25);
    border-radius: var(--gl-radius-sm);
    padding: 14px 18px;
    margin-bottom: 24px;
    animation: gl-fade-up 0.4s ease;
}

.gl-selected-plan-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.gl-selected-plan-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.gl-selected-plan-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.gl-selected-plan-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gl-primary-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.gl-selected-plan-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gl-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gl-selected-plan-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.gl-selected-plan-price {
    font-size: 0.95rem;
    font-weight: 700;
    background: var(--gl-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

.gl-selected-plan-change {
    font-size: 0.8rem;
    color: var(--gl-text-dim);
    text-decoration: none;
    font-weight: 600;
    padding: 4px 12px;
    border: 1px solid var(--gl-border-light);
    border-radius: 6px;
    transition: all 0.2s;
    white-space: nowrap;
}

.gl-selected-plan-change:hover {
    border-color: var(--gl-primary);
    color: var(--gl-primary);
    text-decoration: none;
}

@media (max-width: 480px) {
    .gl-selected-plan-card {
        flex-direction: column;
        text-align: center;
    }
    .gl-selected-plan-left {
        justify-content: center;
    }
    .gl-selected-plan-right {
        justify-content: center;
    }
}

/* ==================== SECTION SUBTITLE ==================== */
.gl-section-subtitle {
    text-align: center;
    color: var(--gl-text-muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.7;
}
