/* ==========================================================================
   Kilisoftware Inc. - Premium $1M SaaS Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* --- CSS Variables --- */
:root {
    /* Dynamic Brand Variables (Injected via Blade, defaults here) */
    --primary-color: #FF8C00;
    --primary-hover: #e07b00;

    /* Premium Dark Theme Core */
    --bg-base: #030712; /* Extreme dark / Slate 950 */
    --surface-base: #111827; /* Slate 900 */
    --surface-glass: rgba(17, 24, 39, 0.6);
    
    /* Text */
    --text-pure: #ffffff;
    --text-primary: #f3f4f6; /* Slate 100 */
    --text-secondary: #9ca3af; /* Slate 400 */
    
    /* Borders & Accents */
    --border-light: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(255, 140, 0, 0.3); /* Base primary glow, will be overridden dynamically if needed */

    /* Semantic status (available/taken, success/error states) */
    --color-success: #4ade80;
    --color-success-glow: rgba(74, 222, 128, 0.25);
    --color-danger: #f87171;
    --color-danger-glow: rgba(248, 113, 113, 0.25);

    /* Shadows */
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 20px 0 var(--border-glow);
    
    /* Animations */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Global Reset & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-base);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Subtle animated background gradient blobs */
body::before {
    content: '';
    position: fixed;
    top: -20%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--border-glow) 0%, transparent 70%);
    opacity: 0.15;
    z-index: -1;
    filter: blur(80px);
    animation: floatBlob 20s infinite alternate;
}

@keyframes floatBlob {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(10%, 10%) scale(1.2); }
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--text-pure);
    text-shadow: 0 0 8px var(--primary-color);
}

ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-pure);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(3rem, 6vw, 5rem); }
h2 { font-size: clamp(2.2rem, 4vw, 3.5rem); }
h3 { font-size: 1.75rem; letter-spacing: -0.02em; }
h4 { font-size: 1.25rem; font-weight: 600; }

p { margin-bottom: 1rem; color: var(--text-secondary); font-size: 1.125rem; }

/* Gradient Text Utility */
.text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #ffc107 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Layout --- */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section { padding: 6rem 0; }

/* --- Premium Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 999px; /* Pill shape for premium feel */
    transition: var(--transition-smooth);
    cursor: pointer;
    font-size: 1rem;
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--primary-color);
    color: white !important;
    border: none;
    box-shadow: 0 4px 15px var(--border-glow);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
    z-index: -1;
}

.btn-primary:hover::before {
    transform: translateX(100%);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--border-glow);
}

.btn-outline {
    background: transparent;
    color: var(--text-pure) !important;
    border: 1px solid var(--border-light);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: inset 0 0 20px rgba(255,255,255,0.02);
}

/* --- Sticky Glass Navigation --- */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    background: transparent;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(3, 7, 18, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
}

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

.nav-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-pure);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: -0.05em;
}

.nav-brand span { color: var(--primary-color); }

.nav-links {
    display: flex;
    gap: 1.85rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    padding: 0.5rem 1.75rem;
    border-radius: 999px;
    border: 1px solid var(--border-light);
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    white-space: nowrap;
}

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

/* Dropdown */
.dropdown-container { position: relative; }
.dropdown-menu {
    position: absolute;
    top: 150%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--surface-glass);
    backdrop-filter: blur(24px);
    border: 1px solid var(--border-light);
    border-radius: 1rem;
    padding: 0.5rem;
    min-width: 220px;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-glass);
}

.dropdown-container:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    border-radius: 0.5rem;
    transition: var(--transition-smooth);
}

.dropdown-menu a:hover {
    background: rgba(255,255,255,0.05);
    color: var(--primary-color);
}

.mobile-menu-btn { display: none; background: none; border: none; font-size: 1.5rem; color: var(--text-pure); cursor: pointer; }

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 6rem;
    position: relative;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    z-index: 2;
}

.hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 1.5rem auto 3rem;
}

/* --- Premium Grid & Cards --- */
.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.glass-card {
    background: var(--surface-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-light);
    border-radius: 1.5rem;
    padding: 3rem 2.5rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

.glass-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255,255,255,0.15);
    box-shadow: var(--shadow-glass);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    display: inline-flex;
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-light);
    color: var(--text-pure);
}

/* --- Product Showcase --- */
.product-showcase {
    display: flex;
    align-items: center;
    gap: 5rem;
    margin-bottom: 8rem;
}

.product-showcase:nth-child(even) { flex-direction: row-reverse; }

.product-content { flex: 1; }
.product-image {
    flex: 1;
    position: relative;
}

.mockup-container {
    background: linear-gradient(145deg, var(--surface-base), #000000);
    border: 1px solid var(--border-light);
    border-radius: 2rem;
    padding: 2rem;
    box-shadow: var(--shadow-glass);
    position: relative;
    overflow: hidden;
}

.mockup-container::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, var(--border-glow) 0%, transparent 50%);
    opacity: 0.1;
    animation: rotate 10s linear infinite;
}

@keyframes rotate { 100% { transform: rotate(360deg); } }

/* --- Feature List --- */
.feature-list { margin: 2rem 0; }
.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}
.feature-list i {
    color: var(--primary-color);
    background: rgba(255,255,255,0.05);
    padding: 0.5rem;
    border-radius: 50%;
    font-size: 0.875rem;
}

/* --- Dual Pricing Toggle --- */
.pricing-toggle-container {
    display: flex;
    justify-content: center;
    margin-bottom: 4rem;
}

.pricing-toggle {
    display: inline-flex;
    background: var(--surface-base);
    border: 1px solid var(--border-light);
    border-radius: 999px;
    padding: 0.5rem;
    position: relative;
}

.pricing-toggle button {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    white-space: nowrap;
    cursor: pointer;
    border-radius: 999px;
    transition: var(--transition-smooth);
    z-index: 2;
    position: relative;
}

.pricing-toggle button.active {
    color: #000;
    background: var(--primary-color);
}

.pricing-toggle-bg {
    position: absolute;
    top: 0.5rem; bottom: 0.5rem;
    background: var(--primary-color);
    border-radius: 999px;
    transition: var(--transition-smooth);
    z-index: 1;
}

/* --- Pricing Cards --- */
.pricing-card {
    background: var(--surface-glass);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-light);
    border-radius: 2rem;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    position: relative;
}

.pricing-card.popular {
    border-color: var(--primary-color);
    box-shadow: 0 0 30px rgba(255, 140, 0, 0.1);
    transform: scale(1.05);
    background: linear-gradient(180deg, rgba(255,140,0,0.05) 0%, var(--surface-glass) 100%);
}

.popular-badge {
    position: absolute;
    top: -15px; left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--primary-color), #ffc107);
    color: #000;
    padding: 0.5rem 1.5rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-pure);
    margin: 1.5rem 0 0.5rem;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.pricing-currency {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
}

/* --- Forms --- */
.form-group { margin-bottom: 2rem; position: relative; }

.service-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border: 1px solid var(--border-light);
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--text-secondary);
    background: rgba(255,255,255,0.02);
    transition: var(--transition-smooth);
}

.service-chip input[type="checkbox"] {
    accent-color: var(--primary-color);
    width: 1rem;
    height: 1rem;
    cursor: pointer;
}

.service-chip:has(input:checked) {
    border-color: var(--primary-color);
    color: var(--text-pure);
    background: rgba(255, 140, 0, 0.08);
}

.form-label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-light);
    border-radius: 1rem;
    color: var(--text-pure);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255,255,255,0.05);
    box-shadow: 0 0 0 4px rgba(255, 140, 0, 0.1);
}

/* --- Footer --- */
.footer {
    border-top: 1px solid var(--border-light);
    padding: 6rem 0 2rem;
    background: var(--bg-base);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 1px;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 100%);
    opacity: 0.5;
}

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

.footer-links h4 { font-size: 1.125rem; margin-bottom: 1.5rem; color: var(--text-pure); }
.footer-links ul li { margin-bottom: 1rem; }
.footer-links ul li a { color: var(--text-secondary); }
.footer-links ul li a:hover { color: var(--primary-color); }

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 992px) {
    .product-showcase { flex-direction: column !important; gap: 3rem; }
    .pricing-card.popular { transform: scale(1); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

.form-row {
    display: flex;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .footer-grid { grid-template-columns: 1fr; }
    h1 { font-size: 2.5rem; }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    /* The Alpine store toggles this "active" class on click, but nothing
       ever told the browser what it should look like once it's on — the
       menu button flipped state invisibly. This is that missing piece. */
    .nav-links.active {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
        position: fixed;
        top: 82px;
        left: 1rem;
        right: 1rem;
        background: rgba(3, 7, 18, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid var(--border-light);
        border-radius: 1rem;
        padding: 1rem 1.25rem;
        z-index: 1001;
        box-shadow: var(--shadow-glass);
    }
    .nav-links.active a { padding: 0.6rem 0; }
    .nav-links.active .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        width: 100%;
        margin: 0.25rem 0 0.5rem;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.03);
    }
    .nav-links.active .dropdown-container:hover .dropdown-menu,
    .nav-links.active .dropdown-menu { display: block; }
}

/* --- Floating Action Buttons (FABs) --- */
.fab-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 9999;
}

.fab-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #fff !important;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.fab-btn:hover {
    transform: scale(1.1) translateY(-5px);
}

.fab-whatsapp {
    background: #25D366;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}
.fab-whatsapp:hover {
    background: #128C7E;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.fab-call {
    background: #007bff;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}
.fab-call:hover {
    background: #0056b3;
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.6);
}

.fab-chat {
    background: var(--primary-color);
    box-shadow: 0 4px 15px var(--border-glow);
}
.fab-chat:hover {
    background: var(--primary-hover);
    box-shadow: 0 6px 20px var(--border-glow);
}

/* --- Split Hero (home page) --- */
.hero-split {
    position: relative;
    overflow: hidden;
}

.hero-split-content {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: center;
    text-align: left;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-split-content .hero-eyebrow {
    display: inline-block;
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    background: var(--border-glow);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-split-content h1 { margin: 0 0 1.25rem; }
.hero-split-content p { margin: 0 0 2.5rem; max-width: 520px; }
.hero-split-content .hero-actions { display: flex; gap: 1.25rem; flex-wrap: wrap; }

/* Decorative background shapes — soft glow blobs + rings with a visible "hole" */
.hero-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.hero-shape-blob {
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    opacity: 0.18;
    filter: blur(10px);
}

.hero-shape-ring {
    background: transparent;
    border: 28px solid var(--primary-color);
    opacity: 0.1;
}

.hero-shape-ring-thin {
    background: transparent;
    border: 2px solid var(--primary-color);
    opacity: 0.25;
}

/* Hero visual: floating product mockup card with layered shapes behind it */
.hero-visual {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
}

.hero-mockup-card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 380px;
    background: var(--surface-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-light);
    border-radius: 1.5rem;
    padding: 1.75rem;
    box-shadow: var(--shadow-glass);
    animation: heroFloat 6s ease-in-out infinite;
}

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

.hero-mockup-card .mockup-dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--primary-color);
}

.hero-mockup-card .mockup-bar {
    height: 10px;
    border-radius: 5px;
    background: rgba(255,255,255,0.08);
}

.hero-mockup-card .mockup-stat {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-light);
    border-radius: 0.75rem;
    padding: 1rem;
    text-align: center;
}

.hero-mockup-card .mockup-stat strong {
    display: block;
    font-size: 1.35rem;
    color: var(--text-pure);
}

.hero-mockup-card .mockup-stat span {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-badge-float {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--surface-base);
    border: 1px solid var(--border-light);
    border-radius: 999px;
    padding: 0.6rem 1.1rem;
    box-shadow: var(--shadow-glass);
    font-size: 0.85rem;
    font-weight: 600;
    animation: heroFloat 5s ease-in-out infinite reverse;
}

.hero-badge-float i { color: var(--primary-color); }

@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

@media (max-width: 900px) {
    .hero-split-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-split-content .hero-actions { justify-content: center; }
    .hero-split-content p { margin-left: auto; margin-right: auto; }
    .hero-visual { min-height: 320px; margin-top: 2rem; }
}

/* ─── Domain Search Page ─────────────────────────────────────────── */
.currency-switcher {
    display: inline-flex; align-items: center; gap: .6rem;
    background: var(--surface-glass); border: 1px solid var(--border-light);
    border-radius: 999px; padding: .55rem 1.25rem; color: var(--text-secondary); font-size: .9rem;
}
.currency-switcher i { color: var(--primary-color); }
.currency-switcher select {
    background: transparent; border: none; color: var(--text-pure); font-weight: 700;
    font-size: .9rem; outline: none; cursor: pointer;
}
.currency-switcher select option { background: #111827; color: #fff; }

.tld-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 1rem; max-width: 1000px; margin: 0 auto;
}
.tld-card {
    background: var(--surface-glass); backdrop-filter: blur(16px);
    border: 1px solid var(--border-light); border-radius: 1.25rem;
    padding: 1.5rem 1.25rem; text-align: center; transition: var(--transition-smooth);
}
.tld-card:hover { border-color: var(--primary-color); transform: translateY(-3px); }
.tld-ext { font-weight: 800; font-size: 1.1rem; color: var(--text-pure); margin-bottom: .6rem; }
.tld-price { display: flex; align-items: baseline; justify-content: center; gap: .35rem; flex-wrap: wrap; }
.tld-price-amount { font-weight: 800; font-size: 1.6rem; color: var(--text-pure); }
.tld-price-currency { font-size: .8rem; color: var(--text-secondary); font-weight: 500; }
.tld-renewal { color: var(--text-secondary); font-size: .78rem; margin: .4rem 0 0; }

/* Search bar - was hardcoded inline styles (#e5e7eb border, no focus/hover
   state, didn't share the glass/token system every other domain-search
   element already uses) - now a real, reusable, on-brand component. */
.domain-search-bar {
    display: flex; gap: .6rem; flex-wrap: wrap;
    background: var(--surface-glass); backdrop-filter: blur(16px);
    border: 1px solid var(--border-light); border-radius: 1.25rem;
    padding: .6rem; box-shadow: var(--shadow-glass);
}
.domain-search-input, .domain-search-select {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-light);
    border-radius: .9rem;
    color: var(--text-pure);
    font-size: 1rem;
    padding: .85rem 1.1rem;
    transition: var(--transition-smooth);
}
.domain-search-input { flex: 1 1 220px; }
.domain-search-select { flex: 0 0 auto; cursor: pointer; }
.domain-search-input::placeholder { color: var(--text-secondary); }
.domain-search-input:focus, .domain-search-select:focus {
    outline: none; border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--border-glow);
}
.domain-search-select option { background: var(--surface-base); color: var(--text-pure); }
.domain-search-bar .btn { flex: 0 0 auto; padding: .85rem 1.75rem; }

.domain-checking {
    display: flex; align-items: center; gap: .6rem;
    color: var(--text-secondary); font-size: .9rem; padding: .5rem .25rem;
}
.domain-checking-spinner {
    width: 16px; height: 16px; border-radius: 50%;
    border: 2px solid var(--border-light); border-top-color: var(--primary-color);
    animation: domain-spin .7s linear infinite;
}
@keyframes domain-spin { to { transform: rotate(360deg); } }

.domain-result-card {
    background: var(--surface-glass); backdrop-filter: blur(16px);
    border-radius: 1rem; padding: 1.25rem 1.5rem;
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
    animation: domain-result-in .35s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes domain-result-in {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}
.domain-result-card.is-available { border: 1px solid rgba(74, 222, 128, .35); box-shadow: 0 0 24px 0 var(--color-success-glow); }
.domain-result-card.is-taken { border: 1px solid rgba(248, 113, 113, .35); box-shadow: 0 0 24px 0 var(--color-danger-glow); }
.domain-result-name { font-size: 1.1rem; font-weight: 700; color: var(--text-pure); }
.domain-result-msg { font-size: .85rem; margin-top: .2rem; }
.domain-result-msg.is-available { color: var(--color-success); }
.domain-result-msg.is-taken { color: var(--color-danger); }
.domain-result-actions { display: flex; gap: .6rem; flex-wrap: wrap; }

/* ─── Billing-cycle toggle (light pill) ──────────────────────────────
   .btn-outline hardcodes white text for use directly on the dark page
   background - reusing it inside this light-gray pill made the inactive
   label nearly invisible (white-on-light-gray). This is its own local
   style instead, with dark text that's actually legible on a light pill. */
.billing-toggle-pill { background: #f4f5f7; border-radius: 999px; padding: .35rem; }
.billing-toggle-btn {
    border-radius: 999px !important; padding: .5rem 1.5rem; border: none !important;
    background: transparent; color: #4b5563 !important; font-weight: 600;
}
.billing-toggle-btn:hover { color: #111827 !important; }

/* ─── Cart page (white card on the dark page background) ───────────── */
.cart-count-pill {
    background: var(--surface-glass); border: 1px solid var(--border-light); color: var(--text-secondary);
    border-radius: 999px; padding: .35rem 1rem; font-size: .85rem; font-weight: 600;
}
.cart-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,.06); color: #0f172a; }
.cart-row { padding: 1.25rem 1.5rem; border-bottom: 1px solid #f0f1f3; }
.cart-item-icon {
    width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 140, 0, .1); color: var(--primary-color, #FF8C00);
    display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0;
}
.cart-item-name { font-size: 1rem; font-weight: 700; color: #0f172a; margin-bottom: .3rem; }
.cart-cycle-badge {
    display: inline-block; background: #f1f5f9; color: #475569; font-size: .72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .03em; border-radius: 999px; padding: .15rem .55rem; margin-right: .5rem;
}
.cart-item-meta { color: #6b7280; font-size: .85rem; }
.cart-qty-stepper {
    display: flex; align-items: center; gap: 0; border: 1px solid #e5e7eb; border-radius: 999px; overflow: hidden; flex-shrink: 0;
}
.cart-qty-btn {
    border: none; background: #f8f9fa; color: #0f172a; width: 32px; height: 32px; font-size: 1.1rem; font-weight: 700;
    line-height: 1; cursor: pointer; transition: background .15s;
}
.cart-qty-btn:hover { background: #eef0f3; }
.cart-qty-value { min-width: 32px; text-align: center; font-weight: 700; color: #0f172a; font-size: .9rem; }
.cart-item-total { font-weight: 700; min-width: 110px; text-align: right; color: #0f172a; }
.cart-remove-btn { border: none; background: none; color: #dc3545; padding: .25rem; }
.cart-remove-btn:hover { color: #b91c1c; }
.cart-subtotal-row { padding: 1.5rem; }
.cart-subtotal-label { font-weight: 700; font-size: 1.1rem; color: #0f172a; }
.cart-subtotal-amount { font-weight: 800; font-size: 1.3rem; color: #0f172a; }

