/* --------------------------------------------------
   CSS Design System & Variables (cPanel Domain Tracker)
   -------------------------------------------------- */
@layer reset, base, theme, components, layout, utilities;

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

@layer base {
    :root {
        --color-bg: #090d16;
        --color-surface: rgba(17, 25, 40, 0.65);
        --color-surface-hover: rgba(23, 33, 53, 0.8);
        --color-border: rgba(255, 255, 255, 0.08);
        --color-border-focus: #6366f1;
        
        /* Typography */
        --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
        --font-display: 'Outfit', sans-serif;
        
        /* Palettes */
        --color-text-primary: #f3f4f6;
        --color-text-secondary: #9ca3af;
        --color-text-muted: #6b7280;
        
        --color-primary: #6366f1;
        --color-primary-hover: #4f46e5;
        --color-primary-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
        --color-primary-glow: rgba(99, 102, 241, 0.15);
        
        --color-success: #10b981;
        --color-success-bg: rgba(16, 185, 129, 0.1);
        --color-warning: #f59e0b;
        --color-warning-bg: rgba(245, 158, 11, 0.1);
        --color-error: #ef4444;
        --color-error-bg: rgba(239, 68, 68, 0.1);
        
        /* Animation Speeds */
        --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    body {
        font-family: var(--font-sans);
        background-color: var(--color-bg);
        color: var(--color-text-primary);
        line-height: 1.5;
        -webkit-font-smoothing: antialiased;
        overflow-x: hidden;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
    }

    /* Ambient background glow */
    .bg-glow {
        position: fixed;
        top: -10%;
        left: 50%;
        transform: translateX(-50%);
        width: 1000px;
        height: 600px;
        background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, rgba(168, 85, 247, 0.05) 50%, rgba(0, 0, 0, 0) 100%);
        pointer-events: none;
        z-index: -1;
    }

    a {
        color: inherit;
        text-decoration: none;
        transition: color var(--transition-fast);
    }
}

@layer layout {
    .container {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 1.5rem;
    }

    .app-main-content {
        flex: 1;
        padding: 3rem 0;
    }

    /* Grid layout for domain spec details page */
    .domain-grid-layout, .admin-grid-layout {
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 2rem;
        align-items: start;
        margin-top: 2rem;
    }

    @media (max-width: 968px) {
        .domain-grid-layout, .admin-grid-layout {
            grid-template-columns: 1fr;
        }
    }
}

/* --------------------------------------------------
   Header & Navigation
   -------------------------------------------------- */
@layer components {
    .app-header {
        border-bottom: 1px solid var(--color-border);
        background-color: rgba(9, 13, 22, 0.8);
        backdrop-filter: blur(12px);
        position: sticky;
        top: 0;
        z-index: 100;
    }

    .header-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 80px;
        gap: 0.5rem;
    }

    .app-logo {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        font-family: var(--font-display);
        font-weight: 700;
        font-size: 1.45rem;
        flex-shrink: 0;
        line-height: 1;
    }

    .logo-mark {
        position: relative;
        text-decoration: none;
    }

    .logo-img {
        display: block;
        width: auto;
        object-fit: contain;
        object-position: left center;
    }

    .logo-img-dark {
        display: none;
    }

    html[data-theme="dark"] .logo-img-light {
        display: none;
    }

    html[data-theme="dark"] .logo-img-dark {
        display: block;
    }

    .logo-mark-header .logo-img {
        height: 64px;
        max-height: 64px;
    }

    .logo-mark-mobile .logo-img {
        height: 54px;
        max-height: 54px;
    }

    .logo-mark-footer .logo-img {
        height: 78px;
        max-height: 78px;
    }

    .logo-icon {
        color: var(--color-primary);
        display: flex;
        align-items: center;
    }

    .logo-text {
        letter-spacing: -0.5px;
    }

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

    .app-nav ul {
        display: flex;
        align-items: center;
        list-style: none;
        gap: 1.5rem;
    }

    .app-nav a {
        font-size: 0.95rem;
        font-weight: 500;
        color: var(--color-text-secondary);
        padding: 0.5rem 0.75rem;
        border-radius: 6px;
    }

    .app-nav a:hover, .app-nav a.active {
        color: var(--color-text-primary);
    }

    /* Buttons */
    .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0.75rem 1.5rem;
        border-radius: 8px;
        font-weight: 600;
        font-size: 0.95rem;
        cursor: pointer;
        transition: all var(--transition-fast);
        border: none;
        outline: none;
    }

    .btn-primary {
        background: var(--color-primary-gradient);
        color: #ffffff;
        box-shadow: 0 4px 14px 0 var(--color-primary-glow);
    }

    .btn-primary:hover {
        opacity: 0.95;
        transform: translateY(-1px);
        box-shadow: 0 6px 20px 0 var(--color-primary-glow);
    }

    .btn-secondary {
        background-color: rgba(255, 255, 255, 0.05);
        color: var(--color-text-primary);
        border: 1px solid var(--color-border);
    }

    .btn-secondary:hover {
        background-color: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.2);
    }

    .btn-nav {
        padding: 0.5rem 1rem !important;
        min-width: 100px;
        min-height: 40px;
        justify-content: center;
        background-color: rgba(99, 102, 241, 0.1);
        border: 1px solid rgba(99, 102, 241, 0.2);
        color: var(--color-primary) !important;
    }

    .btn-nav-accent {
        color: #ffffff !important;
        overflow: hidden;
    }

    .btn-nav-accent.is-changing {
        transform: translateY(-1px) scale(0.98);
        filter: brightness(1.08);
    }

    .btn-nav:hover {
        background-color: var(--color-primary);
        color: #ffffff !important;
    }

    .btn-sm {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
        border-radius: 6px;
    }

    .btn-large {
        padding: 1rem 2rem;
        font-size: 1.1rem;
        border-radius: 10px;
    }

    .w-full {
        width: 100%;
    }

    /* Mobile Menu Toggle */
    .menu-toggle {
        display: none;
        background: none;
        border: none;
        color: var(--color-text-primary);
        cursor: pointer;
        padding: 0.5rem;
    }

    @media (max-width: 1040px) {
        .app-nav {
            display: none;
        }
        .menu-toggle {
            display: block;
        }
    }

    @media (max-width: 640px) {
        .logo-mark-header .logo-img {
            height: 56px;
            max-height: 56px;
        }
        .header-actions .btn-nav,
        .header-actions .btn-nav-accent {
            display: none;
        }
    }
}

/* --------------------------------------------------
   Mobile Navigation Popover
   -------------------------------------------------- */
.mobile-nav-panel {
    border: none;
    background-color: rgba(9, 13, 22, 0.98);
    backdrop-filter: blur(20px);
    width: 100%;
    height: 100%;
    max-height: 100vh;
    padding: 1.5rem;
    color: var(--color-text-primary);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.menu-close {
    background: none;
    border: none;
    color: var(--color-text-primary);
    cursor: pointer;
}

.mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-menu a {
    font-size: 1.25rem;
    font-weight: 600;
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-border);
}

/* --------------------------------------------------
   Glassmorphic Panels (Cards)
   -------------------------------------------------- */
.glass-panel {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    backdrop-filter: blur(16px);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.glass-panel:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

/* --------------------------------------------------
   Landing Page (Home)
   -------------------------------------------------- */
.hero-section {
    text-align: center;
    padding: 4rem 0 3rem;
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 4rem;
    line-height: 1.15;
    letter-spacing: 0;
    margin-bottom: 1.5rem;
}

.hero-title span {
    background: var(--color-primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    max-width: 780px;
    margin: 0 auto 1.5rem;
    text-wrap: pretty;
}

.hero-free-strip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin: 0 auto 2.25rem;
    max-width: min(760px, 100%);
}

.hero-free-badge,
.hero-free-note {
    border: 1px solid var(--color-border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--color-text-secondary);
    border-radius: 999px;
    padding: 0.62rem 0.9rem;
    font-size: 0.86rem;
    line-height: 1.2;
}

.hero-free-badge {
    color: var(--color-success);
    border-color: rgba(16, 185, 129, 0.28);
    background: rgba(16, 185, 129, 0.08);
    font-weight: 700;
}

.hero-free-cta {
    white-space: normal;
    text-align: center;
    min-height: 42px;
}

/* Search bar with glass design */
.search-container-glass {
    max-width: 680px;
    margin: 0 auto 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
}

.input-group {
    display: flex;
    align-items: center;
    width: 100%;
}

.search-icon {
    padding: 0 1rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
}

.input-group input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    font-size: 1.1rem;
    color: var(--color-text-primary);
    padding: 0.8rem 0;
    font-family: var(--font-sans);
}

.input-group input::placeholder {
    color: var(--color-text-muted);
}

.btn-search {
    border-radius: 8px;
    padding: 0.8rem 2rem;
}

.search-tip {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1.08rem;
    }
    .hero-free-strip {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        margin-bottom: 1.75rem;
    }
    .hero-free-badge,
    .hero-free-note {
        border-radius: 10px;
    }
    .hero-free-cta {
        width: 100%;
    }
    .input-group {
        flex-direction: column;
        gap: 1rem;
        padding: 0.5rem;
    }
    .input-group input {
        width: 100%;
        text-align: center;
    }
    .btn-search {
        width: 100%;
    }
}

/* Steps Grid */
.info-section, .features-section, .premium-features-section, .home-pricing-section, .home-trending-section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--color-text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.step-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.step-num {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 4rem;
    color: rgba(99, 102, 241, 0.08);
    position: absolute;
    top: 10px;
    right: 20px;
}

.step-card h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.flight-display-title {
    display: inline-flex;
    min-height: 1.8rem;
    align-items: center;
    font-family: "Inter", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
    letter-spacing: 0;
    text-transform: uppercase;
    font-size: 1.08rem !important;
    line-height: 1.3;
    padding: 0.28rem 0.45rem;
    border-radius: 6px;
    background: rgba(15, 23, 42, 0.52);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.04);
}

html[data-theme="light"] .flight-display-title {
    background: rgba(15, 23, 42, 0.06);
    border-color: rgba(15, 23, 42, 0.1);
}

.step-card p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Features grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 2rem;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(99, 102, 241, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.feature-card p {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Home pricing plans */
.home-pricing-section {
    padding-top: 3.25rem;
}

.home-pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.home-plan-card {
    text-decoration: none;
    min-height: 100%;
}

.home-plan-card.featured {
    transform: translateY(-8px);
}

.home-plan-card:hover {
    text-decoration: none;
}

.home-plan-cta {
    margin-top: auto;
    justify-content: center;
    text-align: center;
    pointer-events: none;
}

.home-pricing-note {
    max-width: 720px;
    margin: 1.35rem auto 0;
    color: var(--color-text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
    text-align: center;
}

@media (max-width: 1120px) {
    .home-pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .home-plan-card.featured {
        transform: none;
    }
}

@media (max-width: 640px) {
    .home-pricing-grid {
        grid-template-columns: 1fr;
    }
}

/* Premium features on home */
.premium-features-section {
    position: relative;
}

.premium-section-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    margin-bottom: 0.85rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.24);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.premium-features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.premium-feature-card {
    position: relative;
    min-height: 230px;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
        var(--color-surface);
    overflow: hidden;
}

.premium-feature-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, #f59e0b, #10b981, #6366f1);
}

.premium-feature-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.35rem;
    border-radius: 10px;
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.22);
}

.premium-feature-card h3 {
    margin: 0 0 0.75rem;
    color: #ffffff;
    font-size: 1.18rem;
}

.premium-feature-card p {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: 0.92rem;
    line-height: 1.65;
}

.premium-feature-actions {
    margin-top: 2rem;
    text-align: center;
}

html[data-theme="light"] .premium-feature-card {
    background: rgba(255, 255, 255, 0.74);
    border-color: rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .premium-feature-card h3 {
    color: #0f172a;
}

@media (max-width: 860px) {
    .premium-features-grid {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------
   Domain Details Page Content
   -------------------------------------------------- */
.domain-title-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 1rem;
}

.domain-main-name {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1;
}

.domain-status-badge {
    display: inline-flex;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 0.75rem;
}

.domain-status-badge.registered {
    background-color: var(--color-error-bg);
    color: var(--color-error);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.domain-status-badge.available {
    background-color: var(--color-success-bg);
    color: var(--color-success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.follower-stats {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.follower-count-num {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

.follower-count-lbl {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

@media (max-width: 600px) {
    .domain-title-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    .follower-stats {
        align-items: flex-start;
    }
}

/* Countdown Card */
.countdown-card {
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.card-subtitle {
    color: var(--color-text-secondary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.countdown-timer {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.timer-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    min-width: 90px;
    padding: 1rem 0.5rem;
}

.timer-number {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 2.5rem;
    color: #ffffff;
    line-height: 1.1;
}

.timer-label {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    margin-top: 0.25rem;
}

@media (max-width: 500px) {
    .countdown-timer {
        gap: 0.75rem;
    }
    .timer-box {
        min-width: 70px;
        padding: 0.75rem 0.25rem;
    }
    .timer-number {
        font-size: 1.8rem;
    }
}

/* Expiration lifecycle bar */
.lifecycle-bar-container {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.lifecycle-bar {
    height: 100%;
    background: linear-gradient(to right, var(--color-primary), var(--color-error));
    border-radius: 10px;
}

.lifecycle-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* Specification details list/table */
.specs-card {
    margin-bottom: 2rem;
}

.specs-card h3 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    font-family: var(--font-display);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table td {
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.95rem;
}

.specs-table td:first-child {
    color: var(--color-text-secondary);
    font-weight: 500;
    width: 40%;
}

.specs-table td:last-child {
    color: #ffffff;
    font-weight: 600;
}

.specs-table tr:last-child td {
    border-bottom: none;
}

.highlight-text {
    color: var(--color-primary) !important;
}

.status-tags, .ns-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.status-tag {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-border);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--color-text-secondary) !important;
    font-family: var(--font-sans);
}

.ns-list code {
    background-color: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.1);
    color: #a5b4fc;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

/* History Timeline */
.history-timeline {
    list-style: none;
    position: relative;
    padding-left: 20px;
}

.history-timeline::before {
    content: '';
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 4px;
    width: 2px;
    background-color: var(--color-border);
}

.history-timeline li {
    position: relative;
    padding-bottom: 1.5rem;
}

.history-timeline li::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--color-text-muted);
    border: 2px solid var(--color-bg);
}

.history-timeline li:first-child::before {
    background-color: var(--color-primary);
}

.timeline-date {
    display: block;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: 0.25rem;
}

.timeline-event {
    font-size: 0.9rem;
    color: var(--color-text-primary);
}

/* Available TLD State styling */
.available-card {
    padding: 4rem 2rem;
}

.available-icon {
    width: 64px;
    height: 64px;
    background-color: var(--color-success-bg);
    color: var(--color-success);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 2rem;
}

.available-desc {
    color: var(--color-text-secondary);
    font-size: 1.1rem;
    margin: 1rem 0 2rem;
}

.available-desc code {
    color: var(--color-success);
    background-color: var(--color-success-bg);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 1.2rem;
    font-weight: bold;
}

.registration-cta-box {
    background-color: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 2.5rem;
    max-width: 500px;
    margin: 0 auto;
}

.cta-note {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-top: 1rem;
}

/* Follow & Sidebar Cards */
.follow-card, .affiliate-card {
    margin-bottom: 2rem;
}

.follow-card h3, .affiliate-card h3 {
    font-size: 1.2rem;
    font-family: var(--font-display);
    margin-bottom: 0.75rem;
}

.follow-card p, .affiliate-card p {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--color-text-secondary);
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: #ffffff;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    font-family: var(--font-sans);
    transition: all var(--transition-fast);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--color-border-focus);
    background-color: rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
    outline: none;
}

/* Form validation styling */
.form-group input:user-invalid {
    border-color: var(--color-error);
}

.follow-notice {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-top: 0.75rem;
    text-align: center;
}

/* Alert Boxes */
.alert {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
}

.alert-success {
    background-color: var(--color-success-bg);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.alert-error {
    background-color: var(--color-error-bg);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Affiliate layout */
.affiliate-badge {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 10px;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.affiliate-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.affiliate-btn {
    text-align: left;
    justify-content: flex-start;
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
    border-left: 3px solid var(--color-primary);
}

.affiliate-btn.hostinger {
    border-left-color: #673ab7;
}

.affiliate-btn.bluehost {
    border-left-color: #00bcd4;
}

.affiliate-btn-ssl {
    border-color: rgba(16, 185, 129, 0.36);
    border-left-color: #10b981;
    color: #a7f3d0;
}

html[data-theme="light"] .affiliate-btn-ssl {
    color: #047857;
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(4, 120, 87, 0.24);
    border-left-color: #10b981;
}

.available-domain-hero {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
    margin-bottom: 1.5rem;
}

.comparison-kicker {
    display: inline-block;
    color: var(--color-success);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
    margin-bottom: 0.25rem;
}

.available-primary-provider {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    text-align: left;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
}

.available-primary-provider strong {
    display: block;
    color: var(--color-text-primary);
    margin-bottom: 0.25rem;
}

.comparison-tabs {
    margin-top: 2rem;
    text-align: left;
}

.comparison-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 0.8rem;
    margin-bottom: 1rem;
}

.comparison-head h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--color-text-primary);
    margin: 0 0 0.25rem;
}

.comparison-head p {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    margin: 0;
}

.comparison-tab-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.comparison-tab {
    border: 1px solid var(--color-border);
    background: rgba(255, 255, 255, 0.035);
    color: var(--color-text-secondary);
    border-radius: 8px;
    padding: 0.62rem 0.75rem;
    cursor: pointer;
    font-weight: 700;
}

.comparison-tab.active {
    color: #ffffff;
    background: var(--color-primary-gradient);
    border-color: transparent;
}

.comparison-panel {
    display: none;
}

.comparison-panel.active {
    display: block;
}

.comparison-provider-list {
    display: grid;
    gap: 0.65rem;
}

.comparison-provider-row {
    display: grid;
    grid-template-columns: minmax(170px, 1fr) minmax(180px, 1.2fr) auto auto;
    gap: 0.75rem;
    align-items: center;
    padding: 0.8rem;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    color: inherit;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.025);
}

.comparison-provider-row:hover {
    border-color: rgba(99, 102, 241, 0.35);
    transform: translateY(-1px);
}

.comparison-provider-name {
    display: inline-flex;
    align-items: center;
    color: var(--color-text-primary);
    font-weight: 800;
}

.comparison-provider-desc {
    color: var(--color-text-muted);
    font-size: 0.82rem;
    line-height: 1.35;
}

.comparison-provider-row strong {
    color: var(--color-success);
    white-space: nowrap;
}

.comparison-provider-action {
    color: var(--color-primary);
    font-weight: 800;
    font-size: 0.82rem;
    white-space: nowrap;
}

.comparison-empty {
    border: 1px dashed var(--color-border);
    border-radius: 10px;
    padding: 1rem;
    color: var(--color-text-muted);
    text-align: center;
}

.suggested-domain-block {
    margin-top: 1rem;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
}

.suggested-domain-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid var(--color-border);
}

.suggested-domain-head h4 {
    margin: 0;
    color: var(--color-text-primary);
}

.suggested-domain-head span {
    color: var(--color-text-muted);
    font-size: 0.8rem;
}

.suggested-domain-list {
    display: grid;
    gap: 0;
}

.suggested-domain-list a {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    color: var(--color-text-primary);
    text-decoration: none;
    border-bottom: 1px solid var(--color-border);
}

.suggested-domain-list a:last-child {
    border-bottom: none;
}

.suggested-domain-list a::after {
    content: "Check";
    color: var(--color-primary);
    font-weight: 800;
    font-size: 0.8rem;
}

html[data-theme="light"] .comparison-tab {
    background: rgba(15, 23, 42, 0.03);
}

html[data-theme="light"] .comparison-tab.active {
    color: #fff;
    background: var(--color-primary-gradient);
    border-color: transparent;
}

html[data-theme="light"] .comparison-provider-row,
html[data-theme="light"] .available-primary-provider {
    background: rgba(255, 255, 255, 0.72);
}

@media (max-width: 760px) {
    .comparison-tab-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .comparison-provider-row {
        grid-template-columns: 1fr;
        gap: 0.35rem;
    }
    .available-primary-provider,
    .available-domain-hero,
    .suggested-domain-head {
        flex-direction: column;
        align-items: flex-start;
    }
    .available-primary-provider .btn {
        width: 100%;
        justify-content: center;
    }
}

/* --------------------------------------------------
   Trending Page Layout
   -------------------------------------------------- */
.trending-page, .docs-page {
    max-width: 1000px;
    margin: 0 auto;
}

.page-header {
    margin-bottom: 3rem;
}

.page-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    color: var(--color-text-secondary);
    font-size: 1.05rem;
}

.table-responsive-container {
    overflow-x: auto;
    padding: 0;
}

.trending-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.trending-table th, .trending-table td {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

.trending-table th {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background-color: rgba(255, 255, 255, 0.01);
}

.trending-table tr:last-child td {
    border-bottom: none;
}

.table-row-hover:hover {
    background-color: rgba(255, 255, 255, 0.01);
}

.domain-cell {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
}

.domain-icon-bullet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-primary);
    display: inline-block;
}

.countdown-badge {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    background-color: rgba(99, 102, 241, 0.1);
    color: #a5b4fc;
}

.countdown-badge.expired {
    background-color: var(--color-error-bg);
    color: var(--color-error);
}

.table-date-txt {
    color: var(--color-text-primary);
    font-size: 0.9rem;
}

.table-registrar-txt {
    color: var(--color-text-secondary);
    font-size: 0.85rem;
}

.follower-bubble {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-border);
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
    color: #ffffff;
}

.hide-mobile {
    display: table-cell;
}

@media (max-width: 768px) {
    .hide-mobile {
        display: none;
    }
}

/* --------------------------------------------------
   API Docs Layout
   -------------------------------------------------- */
.docs-grid-flex {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.95fr);
    gap: 1.5rem;
    align-items: start;
    margin-top: 2rem;
}

.docs-content,
.docs-sidebar-plans,
.pricing-plans-card,
.api-plans-vertical > div {
    min-width: 0;
}

.pricing-plans-card {
    overflow: hidden;
}

.api-plan-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    min-width: 0;
}

.api-plan-card-head strong {
    color: #ffffff;
    font-size: 1.05rem;
    line-height: 1.25;
    min-width: 0;
    overflow-wrap: anywhere;
}

.api-plan-card-head span {
    color: var(--color-text-secondary);
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: right;
    overflow-wrap: anywhere;
}

.api-plan-card-head .success-price {
    color: var(--color-success);
}

@media (max-width: 1100px) {
    .docs-grid-flex {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .api-method-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .endpoint-url,
    .docs-content pre {
        font-size: 0.82rem;
    }

    .api-plan-card-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .api-plan-card-head span {
        text-align: left;
    }
}

.api-method-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 2rem;
}

.method-badge {
    background-color: var(--color-primary);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
}

.endpoint-url {
    font-family: monospace;
    font-size: 1.1rem;
    color: #ffffff;
}

.endpoint-url span {
    color: #a5b4fc;
}

.docs-content h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.docs-content p {
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.docs-content h3 {
    margin: 2.5rem 0 1rem;
    font-family: var(--font-display);
    font-size: 1.25rem;
}

.docs-content pre {
    background-color: #0b0f19;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 1.25rem;
    overflow-x: auto;
    font-family: monospace;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    color: #e5e7eb;
}

/* --------------------------------------------------
   Admin Panel Layout
   -------------------------------------------------- */
.login-card {
    max-width: 420px;
    margin: 6rem auto;
}

.login-tip {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-align: center;
    margin-top: 1rem;
}

.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.stat-card {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.stat-lbl {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    margin-bottom: 0.5rem;
}

.stat-val {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

.form-section {
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.form-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.form-section h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    color: var(--color-primary);
}

/* Admin domain tracking panel items */
.admin-domains-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 550px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.admin-domain-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 0.75rem 1rem;
}

.dom-info {
    display: flex;
    flex-direction: column;
}

.dom-info strong {
    font-size: 0.95rem;
    color: #ffffff;
}

.dom-info span {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.dom-actions {
    display: flex;
    gap: 0.5rem;
}

/* Custom scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(99, 102, 241, 0.3);
}

/* Helper utility styles */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--color-text-muted); }
.margin-top { margin-top: 2rem; }

/* --------------------------------------------------
   Home Trending List (Compact grid)
   -------------------------------------------------- */
.trending-grid-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.trending-item-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all var(--transition-fast);
}

.trending-item-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.trending-meta {
    display: flex;
    flex-direction: column;
}

.trending-name {
    font-weight: 600;
    font-size: 1.05rem;
    color: #ffffff;
}

.trending-followers {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.25rem;
}

.trending-countdown {
    font-size: 0.8rem;
    font-weight: 700;
    color: #a5b4fc;
    background-color: rgba(99, 102, 241, 0.1);
    padding: 0.35rem 0.65rem;
    border-radius: 6px;
    text-align: right;
}

.trending-countdown.expired {
    background-color: var(--color-error-bg);
    color: var(--color-error);
}

/* Reliability Card styling */
.reliability-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(168, 85, 247, 0.03) 100%);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 20px;
    padding: 3rem;
}

.reliability-content h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.reliability-content p {
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 800px;
}

.reliability-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.badge-icon {
    width: 24px;
    height: 24px;
    background-color: rgba(16, 185, 129, 0.15);
    color: var(--color-success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* --------------------------------------------------
   App Footer Layout & Styling (Fixing Broken Footer)
   -------------------------------------------------- */
.app-footer {
    background: linear-gradient(180deg, rgba(9, 13, 22, 0.4) 0%, rgba(13, 19, 33, 0.95) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    padding: 5rem 0 2rem 0;
    margin-top: 6rem;
    color: var(--color-text-secondary);
    position: relative;
    overflow: hidden;
}

/* Accent glow inside footer top border */
.app-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, rgba(99, 102, 241, 0) 0%, rgba(99, 102, 241, 0.4) 50%, rgba(168, 85, 247, 0) 100%);
    filter: blur(1px);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-text-muted);
    max-width: 340px;
}

/* Pulsing status indicator badge */
.system-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.15);
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #34d399;
    width: fit-content;
    margin-top: 0.5rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-success);
    border-radius: 50%;
    display: inline-block;
}

.pulsing {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 2.5rem;
}

.link-group h4 {
    color: #ffffff;
    font-family: var(--font-display);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.link-group ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.link-group a {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    display: inline-block;
    transition: all var(--transition-fast);
}

.link-group a:hover {
    color: var(--color-primary);
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding-top: 2.5rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-meta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.meta-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .footer-links {
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
        gap: 2rem;
    }
    .footer-bottom-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* --------------------------------------------------
   Contact Page
   -------------------------------------------------- */
.contact-page-container {
    max-width: 1040px;
    margin: 4rem auto 1rem;
    padding: 0 1rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
    gap: 2rem;
    align-items: start;
}

.contact-copy {
    padding-top: 1.25rem;
}

.contact-kicker {
    display: inline-block;
    margin-bottom: 0.9rem;
    color: var(--color-primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 1px;
}

.contact-copy h1 {
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 4vw, 3.5rem);
    line-height: 1;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
}

.contact-copy p {
    color: var(--color-text-secondary);
    line-height: 1.7;
    max-width: 460px;
    margin-bottom: 1.25rem;
}

.contact-direct-mail {
    color: var(--color-primary);
    font-weight: 700;
}

.contact-form-panel {
    padding: 2rem;
}

.contact-form {
    display: grid;
    gap: 0.15rem;
}

.contact-hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

@media (max-width: 820px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-copy {
        padding-top: 0;
    }
}

/* --------------------------------------------------
   Auth Pages Layout
   -------------------------------------------------- */
.login-signup-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 0;
}

.auth-card {
    width: 100%;
    max-width: 440px;
}

.auth-tabs {
    display: flex;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 2rem;
}

.auth-tab {
    flex: 1;
    text-align: center;
    padding: 0.75rem 0;
    font-weight: 600;
    color: var(--color-text-secondary);
    border-bottom: 2px solid transparent;
    transition: all var(--transition-fast);
}

.auth-tab:hover, .auth-tab.active {
    color: var(--color-text-primary);
    border-bottom-color: var(--color-primary);
}

.auth-helper-txt {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-align: center;
    margin-top: 1.5rem;
}

.auth-helper-txt a {
    color: var(--color-primary);
    font-weight: 600;
}

.password-strength {
    margin-top: 0.75rem;
    border: 1px solid var(--color-border);
    background: rgba(255, 255, 255, 0.035);
    border-radius: 8px;
    padding: 0.75rem;
}

.password-strength-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.55rem;
    font-size: 0.78rem;
    color: var(--color-text-secondary);
}

.password-strength-head strong {
    color: #ef4444;
    font-size: 0.78rem;
}

.password-strength-bar {
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.password-strength-bar span {
    display: block;
    height: 100%;
    width: 25%;
    border-radius: inherit;
    background: #ef4444;
    transition: width var(--transition-normal), background var(--transition-normal);
}

.password-strength[data-score="fair"] .password-strength-bar span {
    background: #f59e0b;
}

.password-strength[data-score="fair"] .password-strength-head strong {
    color: #f59e0b;
}

.password-strength[data-score="good"] .password-strength-bar span {
    background: #3b82f6;
}

.password-strength[data-score="good"] .password-strength-head strong {
    color: #3b82f6;
}

.password-strength[data-score="strong"] .password-strength-bar span {
    background: #10b981;
}

.password-strength[data-score="strong"] .password-strength-head strong {
    color: #10b981;
}

.password-strength-rules {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem 0.75rem;
    margin: 0.7rem 0 0;
    padding: 0;
    list-style: none;
}

.password-strength-rules li {
    position: relative;
    padding-left: 1rem;
    font-size: 0.74rem;
    line-height: 1.25;
    color: var(--color-text-muted);
}

.password-strength-rules li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.42em;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
}

.password-strength-rules li.met {
    color: var(--color-text-secondary);
}

.password-strength-rules li.met::before {
    background: #10b981;
}

@media (max-width: 480px) {
    .password-strength-rules {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------
   User Initials Bubble & Dropdown
   -------------------------------------------------- */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.theme-dot {
    cursor: pointer;
    font-size: 1.25rem;
    user-select: none;
}

.user-bubble-dropdown {
    position: relative;
}

.user-initials-bubble {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-primary-gradient);
    color: #ffffff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.user-initials-bubble:hover {
    transform: scale(1.05);
    border-color: rgba(255,255,255,0.3);
    box-shadow: 0 0 12px var(--color-primary-glow);
}

.dropdown-menu-list {
    position: absolute;
    top: 50px;
    right: 0;
    background: rgba(17, 24, 39, 0.95);
    border: 1px solid var(--color-border);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    width: 200px;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
    z-index: 200;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.2s;
}

.dropdown-menu-list.show {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-username {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
}

.dropdown-divider {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: 0.5rem 0;
}

.dropdown-item {
    padding: 0.6rem 0.75rem;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    border-radius: 6px;
    transition: all var(--transition-fast);
}

.dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.item-logout {
    color: #ef4444 !important;
}

.item-logout:hover {
    background-color: rgba(239, 68, 68, 0.1) !important;
}

/* --------------------------------------------------
   Dashboard Layout Elements
   -------------------------------------------------- */
.dashboard-greet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2.5rem;
}

.greet-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 2.2rem;
    color: #ffffff;
    line-height: 1.1;
}

.greet-subtitle {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
}

.dashboard-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

@media (max-width: 768px) {
    .dashboard-greet-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    .dashboard-greet-header .btn {
        width: 100%;
    }
    .dashboard-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .dashboard-stats-grid {
        grid-template-columns: 1fr;
    }
}

.panel-stat-card {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
}

.panel-stat-card .stat-num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 2.5rem;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.panel-stat-card .stat-label {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

.expiring-warn {
    border-color: rgba(239, 68, 68, 0.3) !important;
    background: linear-gradient(135deg, rgba(17, 25, 40, 0.65) 0%, rgba(239, 68, 68, 0.03) 100%);
}

.expiring-warn .stat-num {
    color: var(--color-error);
}

.dashboard-main-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 2rem;
    align-items: start;
}

@media (max-width: 968px) {
    .dashboard-main-grid {
        grid-template-columns: 1fr;
    }
}

.content-list-card {
    padding: 1.75rem;
}

.card-header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 0.75rem;
}

.card-header-flex h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
}

.header-link-btn {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
}

.empty-list-notice {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    padding: 1rem 0;
}

.expiring-list-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.expiring-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(255,255,255,0.01);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 0.85rem 1rem;
    transition: all var(--transition-fast);
}

.expiring-list-item:hover {
    background-color: rgba(255,255,255,0.03);
    border-color: rgba(255,255,255,0.15);
    transform: translateX(3px);
}

.expiring-list-item .item-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: #ffffff;
}

.expiring-list-item .item-countdown {
    font-size: 0.8rem;
    font-weight: 700;
    color: #a5b4fc;
    background-color: rgba(99, 102, 241, 0.1);
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
}

.expiring-list-item .item-countdown.expired {
    background-color: var(--color-error-bg);
    color: var(--color-error);
}

/* Cloudflare Integration list status */
.integration-status-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.integration-icon-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cf-logo-icon {
    font-size: 1.8rem;
    color: #f38020;
}

.int-info {
    display: flex;
    flex-direction: column;
}

.int-info strong {
    font-size: 0.95rem;
    color: #ffffff;
}

.int-status-lbl {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.int-description {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* Favorites compact list */
.favorites-list-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.favorite-item {
    display: flex;
    align-items: center;
    background-color: rgba(255,255,255,0.01);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 0.75rem 1rem;
}

.fav-star-icon {
    color: #f59e0b;
    margin-right: 0.5rem;
}

.fav-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: #ffffff;
    flex: 1;
}

.fav-name:hover {
    color: var(--color-primary);
}

.fav-days {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* Activity Logs List */
.activity-subtitle {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
}

.activity-timeline-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.activity-bullet {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--color-primary);
    margin-top: 0.5rem;
    flex-shrink: 0;
}

.activity-text {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.4;
}

.activity-text strong {
    color: #ffffff;
    font-weight: 500;
}

.activity-time {
    display: block;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-top: 0.15rem;
}

/* --------------------------------------------------
   Domains List Layout Toolbar
   -------------------------------------------------- */
.toolbar-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.25rem 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.search-input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 0 1rem;
}

.search-input-wrapper input {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    color: #ffffff;
    padding: 0.65rem 0;
    margin-left: 0.5rem;
    font-family: var(--font-sans);
}

.toolbar-options {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.active-filter {
    background-color: rgba(245, 158, 11, 0.15) !important;
    border-color: rgba(245, 158, 11, 0.3) !important;
    color: #f59e0b !important;
}

.sort-selector-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

.sort-selector-wrapper select {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    color: #ffffff;
    padding: 0.4rem 1.5rem 0.4rem 0.5rem;
    outline: none;
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239CA3AF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
}

.layout-toggle-btns {
    display: flex;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 3px;
}

.layout-btn {
    border: none;
    background: none;
    color: var(--color-text-secondary);
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    border-radius: 6px;
    font-size: 1.1rem;
    transition: all var(--transition-fast);
}

.layout-btn.active, .layout-btn:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

@media (max-width: 968px) {
    .toolbar-controls {
        flex-direction: column;
        align-items: stretch;
        padding: 1.5rem;
    }
    .toolbar-options {
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .search-input-wrapper {
        width: 100%;
    }
}

/* --------------------------------------------------
   Domain Card Grid & Browser Mockup Preview
   -------------------------------------------------- */
.domains-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

/* Handle lists layout (flex instead of grid) */
.domains-cards-grid.list-view {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.domains-cards-grid.list-view .domain-info-card {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem 1.5rem;
}

.domains-cards-grid.list-view .card-screenshot-frame {
    display: none; /* Hide screenshot mockups in list view */
}

.domains-cards-grid.list-view .card-body-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 1.5rem;
}

.domains-cards-grid.list-view .card-title-row {
    width: 250px;
    margin-bottom: 0;
}

.domains-cards-grid.list-view .card-countdown-section {
    margin: 0;
}

.domains-cards-grid.list-view .card-meta-desc {
    margin: 0;
}

.domains-cards-grid.list-view .card-badge-row {
    margin: 0;
}

.domains-cards-grid.list-view .card-footer-info {
    margin: 0;
    border-top: none;
    padding-top: 0;
}

/* Card details standard */
.domain-info-card {
    padding: 0;
    overflow: hidden;
}

.card-screenshot-frame {
    width: 100%;
    height: 180px;
    background-color: #0b0f19;
    border-bottom: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.card-screenshot-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform var(--transition-normal);
}

.domain-info-card:hover .card-screenshot-frame img {
    transform: scale(1.03);
}

.card-body-content {
    padding: 1.75rem;
}

.card-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.card-domain-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    color: #ffffff;
}

.card-action-icons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.action-icon-btn {
    border: none;
    background: none;
    font-size: 1.15rem;
    cursor: pointer;
    color: var(--color-text-muted);
    padding: 4px;
    border-radius: 4px;
    transition: all var(--transition-fast);
}

.action-icon-btn:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.05);
}

.fav-btn.active {
    color: #f59e0b !important;
}

.delete-btn:hover {
    color: #ef4444 !important;
    background-color: rgba(239, 68, 68, 0.1) !important;
}

.card-countdown-section {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    margin-bottom: 0.75rem;
}

.days-remaining-num {
    font-family: var(--font-display);
    font-size: 2.10rem;
    font-weight: 800;
    color: var(--color-success);
    line-height: 1;
}

.days-remaining-num.expired {
    color: var(--color-error);
}

.days-remaining-lbl {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
}

.card-meta-desc {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 1.25rem;
}

.meta-dot {
    margin: 0 0.25rem;
    color: rgba(255,255,255,0.1);
}

.card-badge-row {
    margin-bottom: 1.5rem;
}

.card-badge {
    background-color: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.15);
    color: var(--color-success);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.card-footer-info {
    border-top: 1px solid var(--color-border);
    padding-top: 1rem;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.card-footer-info strong {
    color: var(--color-text-secondary);
}

/* Handle toggle previews view class */
.previews-hidden .card-screenshot-frame {
    display: none !important;
}

/* --------------------------------------------------
   Glassmorphism Overlay Dialog Modals
   -------------------------------------------------- */
.glass-modal {
    border: none;
    border-radius: 16px;
    background: rgba(17, 24, 39, 0.8);
    border: 1px solid var(--color-border);
    backdrop-filter: blur(25px);
    width: 90%;
    max-width: 480px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    margin: auto;
    padding: 0;
    color: var(--color-text-primary);
}

.glass-modal::backdrop {
    background-color: rgba(7, 10, 17, 0.7);
    backdrop-filter: blur(8px);
}

.modal-container {
    padding: 2.25rem;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.modal-header h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.4rem;
}

.modal-close-btn {
    border: none;
    background: none;
    color: var(--color-text-muted);
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.modal-close-btn:hover {
    color: #ffffff;
}

.modal-subtitle {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-bottom: 1.75rem;
}

.modal-tab-selector {
    display: flex;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 4px;
    margin-bottom: 1.75rem;
}

.modal-tab-btn {
    flex: 1;
    border: none;
    background: none;
    padding: 0.5rem 0;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    cursor: pointer;
    border-radius: 7px;
    transition: all var(--transition-fast);
}

.modal-tab-btn.active {
    background-color: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: var(--color-primary);
}

.input-helper {
    display: block;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-top: 0.4rem;
}

.label-row-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.csv-upload-lbl {
    font-size: 0.8rem;
    color: var(--color-primary);
    cursor: pointer;
    font-weight: 600;
}

/* Alert tags button selector styles */
.alert-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.alert-tag-btn {
    border: 1px solid var(--color-border);
    background-color: rgba(255, 255, 255, 0.02);
    color: var(--color-text-secondary);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.45rem 1.15rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.alert-tag-btn:hover {
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.alert-tag-btn.active {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 2px 10px var(--color-primary-glow);
}

.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2.25rem;
}

.modal-actions .btn {
    flex: 1;
}

/* Cloudflare Integration views styling */
.integration-provider-card {
    padding: 2rem;
}

.provider-main-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.provider-logo-title {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.cf-logo-orange {
    font-size: 2.5rem;
    color: #f38020;
    background-color: rgba(243, 128, 32, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.provider-logo-title h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: #ffffff;
}

.provider-desc-txt {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    margin-top: 0.25rem;
    line-height: 1.5;
}

.provider-status-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.status-badge-active {
    background-color: var(--color-success-bg);
    color: var(--color-success);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}

.connection-meta-details {
    border-top: 1px solid var(--color-border);
    margin-top: 2rem;
    padding-top: 1rem;
}

@media (max-width: 600px) {
    .provider-main-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    .provider-status-actions {
        width: 100%;
        justify-content: space-between;
    }
}

/* Language Dropdown Styles */
.lang-dropdown {
    position: relative;
    display: inline-block;
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text-primary);
    height: 36px;
    width: 75px;
    padding: 0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 500;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.25);
}

.lang-btn svg {
    color: var(--color-primary);
}

.lang-current-code {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 150px;
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    z-index: 1000;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.2s;
}

.lang-dropdown-menu.show {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.lang-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-text-secondary);
    padding: 0.6rem 0.75rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all var(--transition-fast);
}

.lang-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.lang-item.active {
    background: rgba(99, 102, 241, 0.15);
    color: var(--color-primary);
    font-weight: 600;
}

.flag-icon {
    font-size: 1.1rem;
    line-height: 1;
}

/* --------------------------------------------------
   Light Theme Color Overrides
   -------------------------------------------------- */
html[data-theme="light"] {
    --color-bg: #f8fafc;
    --color-surface: rgba(255, 255, 255, 0.85);
    --color-surface-hover: rgba(241, 245, 249, 0.9);
    --color-border: rgba(0, 0, 0, 0.08);
    --color-text-primary: #0f172a;
    --color-text-secondary: #475569;
    --color-text-muted: #64748b;
    --color-primary-glow: rgba(99, 102, 241, 0.08);
}

/* Specific light mode styling adjustments */
html[data-theme="light"] .bg-glow {
    background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, rgba(168, 85, 247, 0.03) 50%, rgba(0, 0, 0, 0) 100%);
}

html[data-theme="light"] .app-header {
    background-color: rgba(248, 250, 252, 0.8);
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] .app-footer {
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.4) 0%, rgba(226, 232, 240, 0.95) 100%);
    border-top-color: rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] .glass-panel {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 32px 0 rgba(15, 23, 42, 0.04);
}

html[data-theme="light"] .glass-panel:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.12);
}

html[data-theme="light"] input,
html[data-theme="light"] select,
html[data-theme="light"] textarea {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.1);
    color: #0f172a;
}

html[data-theme="light"] input:focus,
html[data-theme="light"] select:focus,
html[data-theme="light"] textarea:focus {
    background: #ffffff;
    border-color: var(--color-primary);
}

html[data-theme="light"] .logo-text {
    color: #0f172a;
}

html[data-theme="light"] .app-logo {
    color: #0f172a;
}

html[data-theme="light"] .trending-table th,
html[data-theme="light"] .specs-table td {
    color: var(--color-text-secondary);
}

html[data-theme="light"] .table-row-hover:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

html[data-theme="light"] .domain-main-name {
    color: #0f172a;
}

html[data-theme="light"] .card-subtitle {
    color: var(--color-text-secondary);
}

html[data-theme="light"] .timer-number {
    color: #0f172a;
}

html[data-theme="light"] .timer-box {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.05);
}

html[data-theme="light"] .history-timeline::before {
    background: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .timeline-event {
    color: var(--color-text-primary);
}

html[data-theme="light"] .btn-secondary {
    background: rgba(0, 0, 0, 0.04);
    color: #0f172a;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .btn-secondary:hover {
    background: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .btn-secondary.affiliate-btn-ssl {
    color: #047857;
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(4, 120, 87, 0.28);
    border-left-color: #10b981;
}

html[data-theme="light"] .btn-secondary.affiliate-btn-ssl:hover {
    color: #065f46;
    background: rgba(16, 185, 129, 0.18);
    border-color: rgba(4, 120, 87, 0.36);
}

/* --------------------------------------------------
   Theme Dropdown Picker Styles
   -------------------------------------------------- */
.theme-dropdown {
    position: relative;
    display: inline-block;
}

.theme-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text-primary);
    height: 36px;
    width: 75px;
    padding: 0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 500;
    transition: all var(--transition-fast);
    box-sizing: border-box;
}

.theme-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.25);
}

html[data-theme="light"] .theme-btn, html[data-theme="light"] .lang-btn {
    background: transparent;
    border-color: rgba(0, 0, 0, 0.08);
    color: #0f172a;
}

html[data-theme="light"] .theme-btn:hover, html[data-theme="light"] .lang-btn:hover {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.15);
}

.theme-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: rgba(17, 25, 40, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 0.5rem;
    width: 140px;
    display: none;
    flex-direction: column;
    gap: 4px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.theme-dropdown-menu.show {
    display: flex;
}

html[data-theme="light"] .theme-dropdown-menu {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.theme-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    color: var(--color-text-secondary);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: left;
    width: 100%;
    transition: all var(--transition-fast);
}

.theme-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-text-primary);
}

html[data-theme="light"] .theme-item {
    color: #475569;
}

html[data-theme="light"] .theme-item:hover {
    background: rgba(0, 0, 0, 0.04);
    color: #0f172a;
}

.theme-item.active {
    background: rgba(99, 102, 241, 0.15);
    color: #a5b4fc;
}

html[data-theme="light"] .theme-item.active {
    background: rgba(99, 102, 241, 0.1);
    color: var(--color-primary);
}

/* Social Media Icons Grid in Footer */
.social-icons-grid a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    transition: all var(--transition-fast);
}

.social-icons-grid a:hover {
    color: var(--color-primary);
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

html[data-theme="light"] .social-icons-grid a {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.06);
    color: var(--color-text-secondary);
}

html[data-theme="light"] .social-icons-grid a:hover {
    color: var(--color-primary);
    background: rgba(99, 102, 241, 0.08);
    border-color: var(--color-primary);
}

/* --------------------------------------------------
   Blog System Styles
   -------------------------------------------------- */
.blog-page-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

html[data-theme="light"] .blog-page-title {
    color: #0f172a;
}

.blog-page-desc {
    color: var(--color-text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 3rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.blog-card-image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--color-border);
}

.blog-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.blog-card:hover .blog-card-image {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.blog-category {
    background: rgba(99, 102, 241, 0.15);
    color: #a5b4fc;
    padding: 4px 10px;
    border-radius: 99px;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.2px;
}

html[data-theme="light"] .blog-category {
    background: rgba(99, 102, 241, 0.1);
    color: var(--color-primary);
}

.blog-card-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    transition: color var(--transition-fast);
}

.blog-card:hover .blog-card-title {
    color: var(--color-primary-hover);
}

html[data-theme="light"] .blog-card-title {
    color: #0f172a;
}

html[data-theme="light"] .blog-card:hover .blog-card-title {
    color: var(--color-primary);
}

.blog-card-text {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.blog-read-more {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
}

.blog-read-more svg {
    transition: transform var(--transition-fast);
}

.blog-card:hover .blog-read-more svg {
    transform: translateX(4px);
}

/* Blog Article Detail Layout */
.blog-detail-container {
    max-width: 800px;
    margin: 0 auto;
}

.blog-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2rem;
    transition: color var(--transition-fast);
}

.blog-detail-back:hover {
    color: var(--color-primary);
}

.blog-detail-hero-image-wrapper {
    width: 100%;
    height: 380px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 2.5rem;
    border: 1px solid var(--color-border);
}

.blog-detail-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-detail-header {
    margin-bottom: 2rem;
}

.blog-detail-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 2.8rem;
    line-height: 1.25;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

html[data-theme="light"] .blog-detail-title {
    color: #0f172a;
}

.blog-detail-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

.blog-detail-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
}

.blog-detail-body h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin: 2.5rem 0 1rem 0;
    letter-spacing: -0.5px;
}

html[data-theme="light"] .blog-detail-body h2 {
    color: #0f172a;
}

.blog-detail-body h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: #ffffff;
    margin: 2rem 0 0.75rem 0;
}

html[data-theme="light"] .blog-detail-body h3 {
    color: #0f172a;
}

.blog-detail-body p {
    margin-bottom: 1.5rem;
}

.blog-detail-body ul, .blog-detail-body ol {
    margin: 1rem 0 1.5rem 2rem;
}

.blog-detail-body li {
    margin-bottom: 0.5rem;
}

.blog-detail-body strong {
    color: #ffffff;
    font-weight: 600;
}

html[data-theme="light"] .blog-detail-body strong {
    color: #0f172a;
}

/* Light Theme overrides for Blog Cards */
html[data-theme="light"] .blog-card {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

html[data-theme="light"] .blog-card:hover {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .blog-detail-title {
        font-size: 2.2rem;
    }
    .blog-detail-hero-image-wrapper {
        height: 240px;
    }
}

/* --------------------------------------------------
   Home Blog Slider Section
   -------------------------------------------------- */
.home-blog-slider-section {
    padding: 6rem 0;
    position: relative;
    z-index: 2;
    background: radial-gradient(circle at bottom center, rgba(99, 102, 241, 0.03) 0%, transparent 70%);
}

.blog-slider-outer {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.blog-slider-container {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1.5rem 0.5rem;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    -webkit-overflow-scrolling: touch;
}

.blog-slider-container::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari, and Opera */
}

.blog-slider-card {
    flex: 0 0 350px;
    scroll-snap-align: start;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-medium);
    backdrop-filter: blur(10px);
}

.blog-slider-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.1);
}

.blog-card-image-link {
    position: relative;
    display: block;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.blog-card-image-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.blog-slider-card:hover .blog-card-image-link img {
    transform: scale(1.05);
}

.blog-card-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(99, 102, 241, 0.9);
    backdrop-filter: blur(4px);
    color: #ffffff;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.blog-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-date {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
}

.blog-card-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.blog-card-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.blog-slider-card:hover .blog-card-title a {
    color: var(--color-primary);
}

.blog-card-excerpt {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    margin-top: auto;
    width: fit-content;
}

.blog-card-link svg {
    transition: transform var(--transition-fast);
}

.blog-card-link:hover svg {
    transform: translateX(4px);
}

.blog-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.blog-slider-btn:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
    transform: translateY(-50%) scale(1.05);
}

.blog-slider-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.blog-slider-btn.prev {
    left: -1rem;
}

.blog-slider-btn.next {
    right: -1rem;
}

/* Light Mode Overrides */
html[data-theme="light"] .blog-slider-card {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] .blog-slider-card:hover {
    background: #ffffff;
    border-color: rgba(99, 102, 241, 0.25);
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.05);
}

html[data-theme="light"] .blog-card-title a {
    color: #0f172a;
}

html[data-theme="light"] .blog-slider-btn {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.08);
    color: #0f172a;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

html[data-theme="light"] .blog-slider-btn:hover {
    background: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
}

@media (max-width: 1250px) {
    .blog-slider-btn.prev {
        left: 0.5rem;
    }
    
    .blog-slider-btn.next {
        right: 0.5rem;
    }
}

@media (max-width: 768px) {
    .home-blog-slider-section {
        padding: 4rem 0;
    }
    
    .blog-slider-card {
        flex: 0 0 290px;
    }
    
    .blog-slider-btn {
        display: none; /* Hide buttons on mobile touch screens for gesture swipe navigation */
    }
}

/* Category badging links */
.blog-category-link {
    text-decoration: none;
    transition: opacity var(--transition-fast);
    display: inline-flex;
}

.blog-category-link:hover {
    opacity: 0.85;
}

/* --------------------------------------------------
   Upgrade Pricing Plans CSS
   -------------------------------------------------- */
.pricing-plans-section {
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.pricing-section-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.pricing-section-subtitle {
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.pricing-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all var(--transition-medium);
    overflow: hidden;
    backdrop-filter: blur(8px);
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    transition: background 0.3s;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Plan Specific Glow Borders and Tops */
.pricing-card.free-tier::before {
    background: var(--color-text-muted);
}
.pricing-card.free-tier.active {
    border-color: var(--color-text-muted);
    background: rgba(255, 255, 255, 0.03);
}

.pricing-card.bronze-tier::before {
    background: linear-gradient(90deg, #d97706, #f59e0b);
}
.pricing-card.bronze-tier.active {
    border-color: #d97706;
    background: rgba(217, 119, 6, 0.05);
    box-shadow: 0 0 20px rgba(217, 119, 6, 0.08);
}
.pricing-card.bronze-tier:hover {
    border-color: rgba(217, 119, 6, 0.4);
}

.pricing-card.silver-tier::before {
    background: linear-gradient(90deg, #94a3b8, #cbd5e1);
}
.pricing-card.silver-tier.active {
    border-color: #94a3b8;
    background: rgba(148, 163, 184, 0.05);
    box-shadow: 0 0 20px rgba(148, 163, 184, 0.08);
}
.pricing-card.silver-tier:hover {
    border-color: rgba(148, 163, 184, 0.4);
}

.pricing-card.gold-tier::before {
    background: linear-gradient(90deg, #eab308, #ca8a04);
}
.pricing-card.gold-tier.active {
    border-color: #eab308;
    background: rgba(234, 179, 8, 0.05);
    box-shadow: 0 0 25px rgba(234, 179, 8, 0.12);
}
.pricing-card.gold-tier:hover {
    border-color: rgba(234, 179, 8, 0.40);
}

/* Card Active States */
.pricing-card.active {
    border-width: 2px;
}

.pricing-card-header {
    margin-bottom: 1.5rem;
}

.pricing-badge {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-primary);
    background: rgba(99, 102, 241, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.free-tier .pricing-badge {
    color: var(--color-text-muted);
    background: rgba(255, 255, 255, 0.05);
}

.bronze-tier .pricing-badge {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
}

.silver-tier .pricing-badge {
    color: #94a3b8;
    background: rgba(148, 163, 184, 0.1);
}

.gold-tier .pricing-badge {
    color: #eab308;
    background: rgba(234, 179, 8, 0.1);
}

.pricing-plan-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: #ffffff;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
}

.pricing-price {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}

.pricing-period {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--color-text-secondary);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

.pricing-features li.feature-excluded {
    opacity: 0.4;
}

.feature-icon-check {
    color: var(--color-success);
    font-weight: bold;
    font-size: 1rem;
    margin-right: 0.25rem;
}

.feature-icon-cross {
    color: var(--color-error);
    font-weight: bold;
    font-size: 1rem;
    margin-right: 0.25rem;
}

.pricing-popular-tag {
    position: absolute;
    top: 12px;
    right: -32px;
    background: var(--color-success);
    color: #ffffff;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 0.25rem 2.5rem;
    transform: rotate(45deg);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 2;
}

.pricing-popular-tag.best-value {
    background: var(--color-primary);
}

.active-plan-btn {
    border-color: rgba(255, 255, 255, 0.08) !important;
    background: rgba(255, 255, 255, 0.03) !important;
    color: var(--color-text-muted) !important;
    cursor: not-allowed;
}

/* Light Theme Overrides */
html[data-theme="light"] .pricing-plans-section {
    border-color: rgba(0, 0, 0, 0.08);
}
html[data-theme="light"] .pricing-section-title {
    color: #0f172a;
}
html[data-theme="light"] .pricing-card {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(0, 0, 0, 0.08);
}
html[data-theme="light"] .pricing-card:hover {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}
html[data-theme="light"] .pricing-plan-name,
html[data-theme="light"] .pricing-price {
    color: #0f172a;
}
html[data-theme="light"] .pricing-card.free-tier.active {
    border-color: rgba(0, 0, 0, 0.15);
    background: rgba(0, 0, 0, 0.02);
}
html[data-theme="light"] .pricing-card.bronze-tier.active {
    border-color: #d97706;
    background: rgba(245, 158, 11, 0.02);
}
html[data-theme="light"] .pricing-card.silver-tier.active {
    border-color: #94a3b8;
    background: rgba(148, 163, 184, 0.02);
}
html[data-theme="light"] .pricing-card.gold-tier.active {
    border-color: #eab308;
    background: rgba(234, 179, 8, 0.02);
}

/* --------------------------------------------------
   Subheader / Second Row Navigation for Panel Users
   -------------------------------------------------- */
.header-subheader {
    border-bottom: 1px solid var(--color-border);
    background-color: rgba(9, 13, 22, 0.5);
    backdrop-filter: blur(12px);
    padding: 0.5rem 0;
}

html[data-theme="light"] .header-subheader {
    background-color: rgba(248, 250, 252, 0.5);
}

.subheader-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.subheader-nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 1rem;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.subheader-nav a {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.subheader-nav a:hover, .subheader-nav a.active {
    color: var(--color-text-primary);
    background: rgba(255, 255, 255, 0.05);
}

html[data-theme="light"] .subheader-nav a:hover, html[data-theme="light"] .subheader-nav a.active {
    background: rgba(0, 0, 0, 0.04);
}

@media (max-width: 768px) {
    .header-subheader {
        display: none;
    }
}


/* ==================================================
   Hero Section Entrance Animation
   Slides up + fades in on page load
   ================================================== */
@keyframes heroSlideUp {
    from { opacity: 0; transform: translateY(32px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-content {
    animation: heroSlideUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ==================================================
   Light Mode — Comprehensive Text Color Fixes
   All rules scoped to html[data-theme="light"]
   Dark mode is completely untouched.
   ================================================== */

/* Section titles */
html[data-theme="light"] .section-title   { color: #0f172a; }
html[data-theme="light"] .section-subtitle { color: #475569; }

/* Step cards (Three Steps for Your Peace of Mind) */
html[data-theme="light"] .step-card h3 { color: #0f172a; }
html[data-theme="light"] .step-card p  { color: #475569; }

/* Feature cards (Designed for Domain Enthusiasts) */
html[data-theme="light"] .feature-card h3 { color: #0f172a; }
html[data-theme="light"] .feature-card p  { color: #475569; }
html[data-theme="light"] .feature-card {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(0, 0, 0, 0.08);
}

/* Currently Trending — domain names */
html[data-theme="light"] .trending-name { color: #0f172a; }
html[data-theme="light"] .trending-item-card {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(0, 0, 0, 0.08);
}
html[data-theme="light"] .trending-item-card:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.14);
}

/* Reliability / infrastructure section */
html[data-theme="light"] .reliability-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.04) 0%, rgba(168, 85, 247, 0.02) 100%);
    border-color: rgba(99, 102, 241, 0.1);
}
html[data-theme="light"] .reliability-content h2 { color: #0f172a; }
html[data-theme="light"] .reliability-content p  { color: #475569; }
html[data-theme="light"] .badge-item { color: #0f172a; }

/* Footer headings */
html[data-theme="light"] .link-group h4  { color: #0f172a; }
html[data-theme="light"] .link-group a   { color: #475569; }
html[data-theme="light"] .link-group a:hover { color: var(--color-primary); }
html[data-theme="light"] .footer-desc    { color: #475569; }
html[data-theme="light"] .footer-bottom  { color: #64748b; }
html[data-theme="light"] .meta-badge {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.07);
    color: #64748b;
}

/* Generic: glass-panel headings (admin, panel, domain-sale, api pages) */
html[data-theme="light"] .glass-panel h2,
html[data-theme="light"] .glass-panel h3,
html[data-theme="light"] .glass-panel h4 { color: #0f172a; }
html[data-theme="light"] .glass-panel p  { color: #475569; }
html[data-theme="light"] .glass-panel strong { color: #0f172a; }

/* Trending table cells */
html[data-theme="light"] .trending-table td      { color: #334155; }
html[data-theme="light"] .trending-table td a    { color: #0f172a; }
html[data-theme="light"] .trending-table td a:hover { color: var(--color-primary); }

/* Page-level headings (domains-for-sale, api, etc.) */
html[data-theme="light"] h1 { color: #0f172a; }
html[data-theme="light"] h2 { color: #0f172a; }
html[data-theme="light"] h3 { color: #1e293b; }

/* Preserve gradient on hero title span */
html[data-theme="light"] .hero-title span {
    background: var(--color-primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Embedded Whop checkout */
.whop-checkout-box {
    border: 1px solid rgba(59, 130, 246, 0.24);
    border-radius: 12px;
    padding: 1.5rem;
    background: rgba(59, 130, 246, 0.07);
}

.whop-checkout-head {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.whop-dot {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    font-weight: 800;
}

.whop-checkout-head h4 {
    margin: 0 0 0.35rem;
    color: var(--color-text-primary);
}

.whop-checkout-head p {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
}

.whop-embed-frame {
    min-height: 640px;
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
}

html[data-theme="light"] .whop-checkout-box {
    background: rgba(59, 130, 246, 0.05);
    border-color: rgba(37, 99, 235, 0.18);
}

/* Specs / highlight */
html[data-theme="light"] .highlight-text  { color: #0f172a; }
html[data-theme="light"] .specs-table td  { color: #334155; }

/* Dashboard stat cards */
html[data-theme="light"] .panel-stat-card .stat-num   { color: #0f172a; }
html[data-theme="light"] .panel-stat-card .stat-label { color: #64748b; }

/* Admin table headers */
html[data-theme="light"] .trending-table th {
    color: #475569;
    background: rgba(0, 0, 0, 0.02);
}

/* Affiliate cards */
html[data-theme="light"] .affiliate-card h3 { color: #0f172a; }
html[data-theme="light"] .affiliate-card p  { color: #475569; }

/* Follow / watch card */
html[data-theme="light"] .follow-card h3,
html[data-theme="light"] .follow-card p { color: #0f172a; }
html[data-theme="light"] .follow-notice { color: #64748b; }

/* Countdown */
html[data-theme="light"] .timer-label { color: #64748b; }
html[data-theme="light"] .countdown-badge {
    background: rgba(99, 102, 241, 0.08);
    color: var(--color-primary);
}

/* Expiring & favorites list */
html[data-theme="light"] .expiring-list-item .item-name { color: #0f172a; }
html[data-theme="light"] .fav-name { color: #0f172a; }
html[data-theme="light"] .fav-days { color: #64748b; }

/* Activity log */
html[data-theme="light"] .activity-text strong { color: #0f172a; }
html[data-theme="light"] .activity-time { color: #64748b; }

/* Domain available state */
html[data-theme="light"] .available-card h2 { color: #0f172a; }
html[data-theme="light"] .available-desc    { color: #475569; }

/* API / docs page */
html[data-theme="light"] .docs-section h2,
html[data-theme="light"] .docs-section h3,
html[data-theme="light"] .docs-section p { color: #334155; }

/* Mobile nav */
html[data-theme="light"] .mobile-nav-panel {
    background-color: rgba(248, 250, 252, 0.98);
    color: #0f172a;
}
html[data-theme="light"] .mobile-menu a { color: #0f172a; }

/* Dashboard greeting */
html[data-theme="light"] .greet-title    { color: #0f172a; }
html[data-theme="light"] .greet-subtitle { color: #475569; }

/* Card header flex */
html[data-theme="light"] .card-header-flex h3 { color: #0f172a; }
html[data-theme="light"] .header-link-btn     { color: var(--color-primary); }

/* Integration info */
html[data-theme="light"] .int-description { color: #64748b; }
html[data-theme="light"] .int-info strong { color: #0f172a; }

/* Status tags / NS code */
html[data-theme="light"] .status-tag {
    background: rgba(0, 0, 0, 0.05);
    color: #334155;
    border-color: rgba(0, 0, 0, 0.08);
}
html[data-theme="light"] .ns-list code {
    background: rgba(0, 0, 0, 0.05);
    color: #334155;
    border-color: rgba(0, 0, 0, 0.08);
}

/* Alert banners */
html[data-theme="light"] .alert-success {
    background: rgba(16, 185, 129, 0.08);
    color: #065f46;
    border-color: rgba(16, 185, 129, 0.2);
}
html[data-theme="light"] .alert-error {
    background: rgba(239, 68, 68, 0.08);
    color: #991b1b;
    border-color: rgba(239, 68, 68, 0.2);
}

/* Domain-for-sale page inline headers */
html[data-theme="light"] .domains-sale-page h1,
html[data-theme="light"] .domains-sale-page h2,
html[data-theme="light"] .domains-sale-page h3,
html[data-theme="light"] .domains-sale-page p { color: #1e293b; }

/* Section title on pages outside glass-panel */
html[data-theme="light"] .page-title,
html[data-theme="light"] .page-subtitle { color: #0f172a; }

/* ==================================================
   Light Mode — Inline style overrides for
   domains_for_sale.php hardcoded color:#fff
   ================================================== */

/* Marketplace card headings (h3 with inline color:#fff) */
html[data-theme="light"] .marketplace-card h3 {
    color: #0f172a !important;
}
html[data-theme="light"] .marketplace-card .status-tag {
    background: rgba(0, 0, 0, 0.05) !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
    color: #334155 !important;
}
html[data-theme="light"] .marketplace-card .mkt-icon-badge {
    background: rgba(0, 0, 0, 0.04) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
}

/* domains-for-sale page intro h1 (inline color:#fff) */
html[data-theme="light"] .domains-for-sale-page .page-intro h1,
html[data-theme="light"] .domains-for-sale-page .glow-text {
    color: #0f172a !important;
    text-shadow: none !important;
}
html[data-theme="light"] .domains-for-sale-page .text-muted {
    color: #475569 !important;
}

/* Section headers inside domains-for-sale page */
html[data-theme="light"] .domains-for-sale-page h2,
html[data-theme="light"] .domains-for-sale-page h3 {
    color: #0f172a !important;
}

/* Glass panel inline-styled headings (color:#fff hardcoded) */
html[data-theme="light"] .glass-panel h1[style*="color"],
html[data-theme="light"] .glass-panel h2[style*="color"],
html[data-theme="light"] .glass-panel h3[style*="color"],
html[data-theme="light"] .glass-panel h4[style*="color"] {
    color: #0f172a !important;
}
html[data-theme="light"] .glass-panel p[style*="color: #"],
html[data-theme="light"] .glass-panel p[style*="color:#"] {
    color: #475569 !important;
}

/* API docs / integrations page headings */
html[data-theme="light"] .api-section h2,
html[data-theme="light"] .api-section h3,
html[data-theme="light"] .integrations-page h2,
html[data-theme="light"] .integrations-page h3 {
    color: #0f172a;
}

/* User dashboard activity log + content cards */
html[data-theme="light"] .content-list-card h3 { color: #0f172a; }
html[data-theme="light"] .activity-log-card h3  { color: #0f172a; }
html[data-theme="light"] .activity-log-card p   { color: #64748b; }

/* Admin panel section headers */
html[data-theme="light"] .admin-section h3,
html[data-theme="light"] .admin-section h4 { color: #0f172a; }

/* Trending table domain name cells (explicitly color:#fff inline) */
html[data-theme="light"] td[style*="color: #fff"],
html[data-theme="light"] td[style*="color:#fff"],
html[data-theme="light"] td[style*="color: #ffffff"],
html[data-theme="light"] td[style*="color:#ffffff"] {
    color: #0f172a !important;
}
html[data-theme="light"] a[style*="color: inherit"] {
    color: #0f172a !important;
}

/* Marketplace badge tag — adaptive to theme */
.mkt-badge-tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
}
html[data-theme="light"] .mkt-badge-tag {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #334155;
}
html[data-theme="light"] .mkt-icon-badge {
    background: rgba(0, 0, 0, 0.04) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
}

/* --------------------------------------------------
   Detective (Social Search & Domain Search) Styles
   -------------------------------------------------- */
.det-page-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

.det-brand-strip {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 720px;
    margin: 0 auto 1.75rem;
    padding: 1rem 1.2rem;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
}

.det-brand-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    flex-shrink: 0;
}

.det-brand-copy span {
    display: block;
    color: var(--color-text-primary);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.det-brand-copy p {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: 0.92rem;
    line-height: 1.5;
}

html[data-theme="light"] .det-brand-strip {
    background: rgba(255, 255, 255, 0.72);
}

.det-title-section {
    text-align: center;
    margin-bottom: 2.5rem;
}

.det-title-section h1 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    background: var(--color-primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.det-title-section p {
    color: var(--color-text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.det-search-panel {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    backdrop-filter: blur(16px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.25);
    margin-bottom: 2.5rem;
    transition: var(--transition-normal);
}

.det-input-group {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.det-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    padding: 1rem 1.25rem;
    color: var(--color-text-primary);
    border-radius: 12px;
    font-size: 1.05rem;
    outline: none;
    font-family: var(--font-sans);
    transition: var(--transition-fast);
}

.det-input:focus {
    border-color: var(--color-border-focus);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.det-action-btns {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.det-stats {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    opacity: 0;
    visibility: hidden;
    height: 0;
    overflow: hidden;
    transition: opacity 0.4s ease, height 0.3s ease;
}

.det-stats.active {
    opacity: 1;
    visibility: visible;
    height: auto;
    margin-top: 1.5rem;
}

.det-stat {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.det-progress {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-top: 1.5rem;
    overflow: hidden;
    display: none;
}

.det-progress-fill {
    height: 100%;
    background: var(--color-primary-gradient);
    width: 0%;
    transition: width 0.4s ease;
}

.det-share-row {
    display: none;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.det-share-btn {
    padding: 0.6rem 1.25rem;
    border-radius: 10px;
    border: none;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
    color: #fff;
}

.det-share-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.det-share-wa { background: #25D366; }
.det-share-tw { background: #1DA1F2; }
.det-share-li { background: #0077b5; }

.det-cta-banner {
    display: none;
    margin-top: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
}

.det-cta-banner p {
    margin: 0.25rem 0;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.det-cta-banner a {
    color: var(--color-primary);
    font-weight: 700;
}

.det-cta-banner a:hover {
    text-decoration: underline;
}

.det-results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.domain-search-comparison {
    margin-top: 2rem;
}

.domain-search-results-list {
    display: grid;
    gap: 0.65rem;
}

.domain-result-row {
    display: grid;
    grid-template-columns: auto minmax(180px, 1fr) auto auto;
    gap: 0.75rem;
    align-items: center;
    padding: 0.95rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: var(--color-surface);
    color: var(--color-text-primary);
    text-decoration: none;
}

.domain-result-row:hover {
    border-color: rgba(99, 102, 241, 0.35);
    transform: translateY(-1px);
}

.domain-result-status-dot {
    width: 0.72rem;
    height: 0.72rem;
    border-radius: 999px;
    background: var(--color-error);
}

.domain-result-row.available .domain-result-status-dot {
    background: var(--color-success);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.35);
}

.domain-result-row strong {
    font-family: var(--font-display);
    font-size: 1rem;
}

.domain-result-row span:not(.domain-result-status-dot) {
    color: var(--color-text-secondary);
    font-weight: 700;
}

.domain-result-row.available span:not(.domain-result-status-dot) {
    color: var(--color-success);
}

.domain-result-row em {
    color: var(--color-primary);
    font-style: normal;
    font-weight: 800;
    white-space: nowrap;
}

html[data-theme="light"] .domain-result-row {
    background: rgba(255, 255, 255, 0.72);
}

.det-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 1.25rem;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
    text-align: left;
}

.det-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.det-card.found {
    border-left: 4px solid var(--color-success);
}

.det-card.not-found {
    opacity: 0.6;
    border-left: 4px solid var(--color-error);
}

.det-card .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.det-card.found .dot {
    background: var(--color-success);
    box-shadow: 0 0 8px var(--color-success);
}

.det-card.not-found .dot {
    background: var(--color-error);
}

.det-card-label {
    font-size: 0.7rem;
    color: var(--color-text-secondary);
}

.det-card-title {
    font-weight: 700;
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--color-text-primary);
}

.det-card-status {
    font-size: 0.75rem;
    color: var(--color-text-secondary);
}

/* Scan Overlay / Lottie Scan styling */
.det-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(9, 13, 22, 0.85);
    backdrop-filter: blur(8px);
}

.det-overlay.active {
    display: flex;
}

.det-overlay #scanCanvas {
    width: 200px;
    height: 200px;
}

.det-overlay p {
    color: #fff;
    font-size: 1.1rem;
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 2px;
    margin-top: 1.5rem;
    text-transform: uppercase;
    animation: det-blink 1.4s infinite;
}

@keyframes det-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Light Theme overrides for Detective */
html[data-theme="light"] .det-input {
    background: rgba(0, 0, 0, 0.02);
    color: #0f172a;
}
html[data-theme="light"] .det-input:focus {
    background: rgba(0, 0, 0, 0.04);
}
html[data-theme="light"] .det-title-section p {
    color: #475569;
}
html[data-theme="light"] .det-stat {
    background: rgba(0, 0, 0, 0.02);
    color: #334155;
}
html[data-theme="light"] .det-cta-banner {
    background: rgba(0, 0, 0, 0.01);
}
html[data-theme="light"] .det-cta-banner p {
    color: #475569;
}
html[data-theme="light"] .det-card-label {
    color: #475569;
}
html[data-theme="light"] .det-card-title {
    color: #0f172a;
}
html[data-theme="light"] .det-card-status {
    color: #64748b;
}
html[data-theme="light"] .det-card:hover {
    background: rgba(0, 0, 0, 0.02);
}
html[data-theme="light"] .det-overlay {
    background: rgba(255, 255, 255, 0.85);
}
html[data-theme="light"] .det-overlay p {
    color: #0f172a;
}

@media (max-width: 640px) {
    .det-title-section h1 { font-size: 2rem; }
    .det-input-group { flex-direction: column; }
    .det-action-btns { flex-direction: column; align-items: stretch; }
    .det-action-btns .btn { width: 100%; }
    .det-stats { flex-wrap: wrap; }
    .det-results { grid-template-columns: 1fr; }
    .det-brand-strip { flex-direction: column; text-align: center; }
    .domain-result-row { grid-template-columns: auto 1fr; }
    .domain-result-row em { grid-column: 2; }
}

/* User Panel Shell Layout */
.user-shell {
    display: flex;
    gap: 0;
    min-height: calc(100vh - 160px);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    background: rgba(9, 13, 22, 0.2);
}
html[data-theme="light"] .user-shell {
    background: rgba(255, 255, 255, 0.05);
}

.user-sidebar {
    width: 220px;
    flex-shrink: 0;
    background: rgba(9, 13, 22, 0.6);
    backdrop-filter: blur(20px);
    border-right: 1px solid var(--color-border);
    padding: 1.5rem 0;
    display: flex;
    flex-direction: column;
}
html[data-theme="light"] .user-sidebar {
    background: rgba(241, 245, 249, 0.9);
}

.user-sidebar-logo {
    padding: 0 1.25rem 1.25rem;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 1rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.user-sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.6rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: all 0.15s ease;
    border-left: 3px solid transparent;
    text-decoration: none;
}
.user-sidebar-nav a:hover {
    color: var(--color-text-primary);
    background: rgba(99,102,241,0.06);
}
.user-sidebar-nav a.active {
    color: var(--color-primary);
    background: rgba(99,102,241,0.1);
    border-left-color: var(--color-primary);
    font-weight: 600;
}
html[data-theme="light"] .user-sidebar-nav a.active {
    background: rgba(99,102,241,0.08);
}

.user-main {
    flex: 1;
    padding: 2rem;
    overflow-x: hidden;
    min-width: 0;
}

.user-sidebar-toggle {
    display: none;
    background: none;
    border: 1px solid var(--color-border);
    color: var(--color-text-primary);
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    margin-bottom: 1rem;
    margin-left: 1.25rem;
    margin-right: 1.25rem;
}

@media (max-width: 900px) {
    .user-shell { flex-direction: column; }
    .user-sidebar { width: 100%; border-right: none; border-bottom: 1px solid var(--color-border); padding: 1rem 0 0.5rem; }
    .user-sidebar-toggle { display: block; }
    .user-sidebar-nav { display: none; }
    .user-sidebar-nav.open { display: block; }
}

.sidebar-section-label {
    padding: 0.4rem 1.25rem;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-text-muted);
    font-weight: 600;
    margin-top: 0.75rem;
}

.sidebar-bottom {
    margin-top: auto;
    padding: 1rem 1.25rem 0;
    border-top: 1px solid var(--color-border);
}

.code-editor {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    background: rgba(0, 0, 0, 0.25) !important;
    color: #a5b4fc !important;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 1rem;
    resize: vertical;
}
html[data-theme="light"] .code-editor {
    background: #f8fafc !important;
    color: #0f172a !important;
}

/* ═══════════════════════════════════════════════════════════════
   PREMIUM ÖZELLİKLER BÖLÜMİ  —  assets/css/style.css sonuna ekle
   ═══════════════════════════════════════════════════════════════ */

/* ── Bölüm Genel ──────────────────────────────────────────────── */
.premium-section {
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}

/* Arka plan parıltısı */
.premium-section::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(
    ellipse at center,
    rgba(99, 102, 241, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
}

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

/* ── Başlık ────────────────────────────────────────────────────── */
.premium-header {
  text-align: center;
  margin-bottom: 56px;
}

.premium-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent, #6366f1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 20px;
  background: rgba(99, 102, 241, 0.07);
}

.premium-title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-text, #f1f5f9);
  margin: 0 0 16px;
}

.premium-title-accent {
  background: linear-gradient(120deg, #818cf8, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.premium-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted, #94a3b8);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Kart Izgarası ─────────────────────────────────────────────── */
.premium-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

@media (max-width: 900px) {
  .premium-cards {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
}

/* ── Plan Kartı Temel ──────────────────────────────────────────── */
.plan-card {
  position: relative;
  border-radius: 20px;
  padding: 36px 28px 32px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(16px);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
  cursor: pointer;
}

.plan-card:hover {
  transform: translateY(-6px);
}

/* Light mode uyumu */
html[data-theme="light"] .plan-card {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(0, 0, 0, 0.09);
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}

html[data-theme="light"] .plan-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

/* ── Parıltı Efekti (arka plan) ────────────────────────────────── */
.plan-glow {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.25;
  pointer-events: none;
  transition: opacity 0.3s;
}

.plan-card:hover .plan-glow { opacity: 0.45; }

.plan-glow-bronze { background: #cd7f32; }
.plan-glow-silver { background: #6366f1; }
.plan-glow-gold   { background: #f59e0b; }

/* ── Rozet ─────────────────────────────────────────────────────── */
.plan-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted, #94a3b8);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 3px 10px;
  margin-bottom: 18px;
}

html[data-theme="light"] .plan-badge {
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.1);
  color: #64748b;
}

.plan-badge-featured {
  background: linear-gradient(120deg, rgba(99,102,241,0.25), rgba(56,189,248,0.18));
  border-color: rgba(99,102,241,0.4);
  color: #a5b4fc;
}

html[data-theme="light"] .plan-badge-featured {
  background: linear-gradient(120deg, rgba(99,102,241,0.15), rgba(56,189,248,0.1));
  color: #4f46e5;
}

/* ── Öne Çıkan Kart (Silver) ───────────────────────────────────── */
.plan-featured {
  border-color: rgba(99, 102, 241, 0.45);
  background: rgba(17, 24, 50, 0.75);
  transform: translateY(-8px);
  box-shadow: 0 0 0 1px rgba(99,102,241,0.3),
              0 24px 60px rgba(99,102,241,0.18);
}

.plan-featured:hover {
  transform: translateY(-14px);
}

html[data-theme="light"] .plan-featured {
  background: rgba(238, 242, 255, 0.9);
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 0 0 1px rgba(99,102,241,0.2), 0 24px 60px rgba(99,102,241,0.12);
}

/* ── İkon & İsim ───────────────────────────────────────────────── */
.plan-icon {
  font-size: 2rem;
  margin-bottom: 8px;
  display: block;
}

.plan-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-text, #f1f5f9);
  margin: 0 0 20px;
}

html[data-theme="light"] .plan-name { color: #0f172a; }

/* ── Fiyat ─────────────────────────────────────────────────────── */
.plan-price {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  margin-bottom: 28px;
}

.plan-currency {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text-muted, #94a3b8);
  line-height: 2.5;
}

.plan-amount {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  color: var(--color-text, #f1f5f9);
  letter-spacing: -0.03em;
}

html[data-theme="light"] .plan-amount { color: #0f172a; }

.plan-period {
  font-size: 0.9rem;
  color: var(--color-text-muted, #94a3b8);
  margin-bottom: 6px;
}

/* ── Özellik Listesi ───────────────────────────────────────────── */
.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--color-text, #cbd5e1);
}

html[data-theme="light"] .plan-features li { color: #374151; }

.feat-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(99,102,241,0.18);
  color: #818cf8;
  font-size: 0.7rem;
  font-weight: 900;
  flex-shrink: 0;
}

html[data-theme="light"] .feat-check {
  background: rgba(99,102,241,0.12);
  color: #4f46e5;
}

.feat-muted {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(100,116,139,0.12);
  color: #64748b;
  font-size: 0.7rem;
  flex-shrink: 0;
}

.feat-dim { opacity: 0.4; }

/* ── CTA Düğmeleri ─────────────────────────────────────────────── */
.plan-cta {
  display: block;
  text-align: center;
  padding: 13px 24px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.plan-cta:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.plan-cta-bronze {
  background: linear-gradient(135deg, #a97c50, #cd9e70);
  color: #fff;
  box-shadow: 0 4px 18px rgba(169,124,80,0.3);
}

.plan-cta-silver {
  background: linear-gradient(135deg, #6366f1, #38bdf8);
  color: #fff;
  box-shadow: 0 4px 22px rgba(99,102,241,0.45);
}

.plan-cta-gold {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  color: #1a1a00;
  box-shadow: 0 4px 18px rgba(245,158,11,0.35);
}

/* ── Alt Bilgi Notu ────────────────────────────────────────────── */
.premium-footer-note {
  text-align: center;
  margin-top: 40px;
  font-size: 0.85rem;
  color: var(--color-text-muted, #64748b);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}

.note-icon { font-size: 0.9rem; }

.note-link {
  color: var(--color-accent, #6366f1);
  text-decoration: none;
  font-weight: 600;
}

.note-link:hover { text-decoration: underline; }

/* ── Animasyon (sayfa yüklenince) ──────────────────────────────── */
@keyframes premiumCardIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.plan-card {
  animation: premiumCardIn 0.55s ease both;
}

.plan-card:nth-child(1) { animation-delay: 0.05s; }
.plan-card:nth-child(2) { animation-delay: 0.15s; }
.plan-card:nth-child(3) { animation-delay: 0.25s; }

/* ── Mevcut Plan Durumu ────────────────────────────────────────── */
.plan-cta[href*="checkout"]:not([class*="current"]) { /* normal görünüm */ }

/* Kullanıcı zaten bu plandaysa buton soluklaşır */
.plan-cta-current {
  background: rgba(100,116,139,0.2);
  color: var(--color-text-muted, #94a3b8);
  box-shadow: none;
  cursor: default;
  pointer-events: none;
}

/* ═════════════════════════════════════════ END PREMIUM CSS ═══ */
