* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* Kills the grey/white flash WebKit and Chrome for Android paint on tap
       by default. On dark, gradient buttons like #btnCompleteOrder that flash
       reads as an ugly flicker; buttons keep their own :active feedback via
       CSS below instead. */
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img,
svg {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

a {
    color: var(--rose);
    text-decoration: none;
    transition: color .2s var(--ease);
}

a:hover {
    color: var(--coral);
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
}

hr {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 24px 0;
}

code, pre {
    font-family: 'SFMono-Regular', Menlo, Consolas, monospace;
    font-size: 13px;
}

pre {
    background: var(--bg-elevated);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px;
    overflow-x: auto;
}

::selection {
    background: rgba(255, 61, 119, .35);
}

:focus-visible {
    outline: 2px solid var(--rose);
    outline-offset: 3px;
    border-radius: 4px;
}

.wrap {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.wrap-wide {
    max-width: 1400px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 200;
    background: var(--rose);
    color: #fff;
    padding: 12px 22px;
    border-radius: 0 0 var(--radius) 0;
    font-weight: 600;
}

.skip-link:focus {
    left: 0;
    color: #fff;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.text-muted { color: var(--text-dim); }
.text-brand { color: var(--rose); }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.hidden { display: none !important; }

/* ===== HEADER / NAV ===== */
header.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--glass-panel);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: background var(--transition), backdrop-filter var(--transition);
}

.header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 20px;
    padding: 14px var(--gutter);
    max-width: var(--container);
    margin: 0 auto;
}

.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.desktop-top {
    transition: max-height 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
    max-height: 50px;
    opacity: 1;
    overflow: hidden;
}

header.site-header.is-scrolled .desktop-top {
    max-height: 0;
    opacity: 0;
    margin-bottom: -12px;
}

.desktop-top ul {
    display: flex;
    align-items: center;
    gap: 18px;
    list-style: none;
}

.logo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    white-space: nowrap;
}

.logo:hover {
    color: #fff;
}

.logo .spark {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: var(--gradient-brand-135);
    border-radius: 50%;
    animation: pulse 2s infinite;
    flex-shrink: 0;
}

.logo img {
    max-height: 34px;
    width: auto;
}

nav.desktop {
    display: flex;
    justify-content: center;
}

nav.desktop > ul {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    padding: 6px;
}

/* Inline SVG menu icons (includes/nav-icon.tpl). currentColor means they pick
   up whatever color the surrounding link/label already has, in every context
   below and in both themes, with no separate color rules needed. */
.nav-icon {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    vertical-align: -3px;
    opacity: .8;
}

nav.desktop a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--text-muted);
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 999px;
    transition: all var(--transition);
    position: relative;
    white-space: nowrap;
}

nav.desktop a:hover,
nav.desktop a:focus-visible,
nav.desktop li.active > a {
    color: #fff;
    background: var(--glass-panel);
}

.has-dropdown {
    position: relative;
}

.has-dropdown > a {
    display: flex;
    align-items: center;
    gap: 6px;
}

.has-dropdown > a .caret {
    font-size: 9px;
    opacity: .7;
    transition: transform var(--transition);
}

.has-dropdown:hover > a .caret,
.has-dropdown.open > a .caret {
    transform: rotate(180deg);
}

/* Invisible bridge: keeps :hover alive while the pointer travels from the
   trigger to the panel, otherwise the menu closes crossing the gap. */
.has-dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 18px;
    display: none;
}

.has-dropdown:hover::after,
.has-dropdown:focus-within::after,
.has-dropdown.open::after {
    display: block;
}

.dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    background: var(--glass-panel);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 10px 0;
    min-width: 220px;
    list-style: none;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px) scale(0.98);
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform-origin: top;
}

.dropdown-right {
    left: auto;
    right: 0;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.open .dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.dropdown a {
    display: flex;
    align-items: center;
    padding: 11px 20px;
    font-size: 13px;
    color: var(--text-muted);
    border-radius: 0;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.dropdown a i {
    width: 18px;
    text-align: center;
    margin-right: 12px;
    color: var(--rose);
    opacity: 0.7;
    font-size: 14px;
    transition: opacity 0.2s ease;
}

.dropdown a .nav-icon {
    width: 16px;
    height: 16px;
    margin-right: 14px;
    color: var(--rose);
    opacity: 0.75;
    transition: opacity 0.2s ease;
}

.dropdown a:hover .nav-icon {
    opacity: 1;
}

.dropdown a:hover,
.dropdown a:focus-visible {
    background: rgba(255, 61, 119, 0.08);
    color: #fff;
    padding-left: 26px;
}

.dropdown a:hover i {
    opacity: 1;
}

.dropdown .divider {
    height: 1px;
    background: var(--line);
    margin: 8px 0;
}

.dropdown .dropdown-header {
    padding: 6px 20px;
    font-size: 11px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--text-dim);
    font-weight: 600;
}

.dropdown .badge-count {
    float: right;
    background: var(--rose);
    color: #fff;
    border-radius: 10px;
    font-size: 11px;
    padding: 0 7px;
    line-height: 18px;
}

.cta-nav {
    background: var(--gradient-brand);
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 24px;
    font-weight: 600;
    box-shadow: var(--shadow-brand);
    transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}

.cta-nav:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-brand-hover);
    background: var(--gradient-brand);
}

.cart-link {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
}

.cart-count {
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    background: var(--gradient-brand);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
    box-shadow: var(--shadow-brand);
    transition: transform .25s var(--ease);
}

.cart-count.is-empty {
    background: var(--glass-strong);
    box-shadow: none;
    color: var(--text-dim);
}

.cart-count.is-bumped {
    transform: scale(1.35);
}

.mobile-nav .cart-count {
    margin-left: 8px;
}

.nav-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--gradient-brand-135);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    margin-right: 4px;
}

.bell-link {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    color: var(--text-muted);
    transition: color var(--transition);
}

.bell-link:hover {
    color: #fff;
}

:root {
    --neon-pink: #FF3D77;
    --neon-orange: #FF7E5F;
    --neon-purple: #AF43FF;
}

.neon-cart {
    color: var(--neon-pink) !important;
}

.cart-circle-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 12px;
    font-weight: bold;
}

.bell-badge-neon {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--neon-pink);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    min-width: 18px;
    padding: 0 5px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 0 10px rgba(255, 61, 119, 0.6);
}

.profile-pill {
    background: transparent !important;
    border-radius: 0 !important;
    padding: 6px 10px !important;
    display: flex !important;
    align-items: center;
    gap: 10px;
    color: var(--text) !important;
    box-shadow: none !important;
}
.profile-pill:hover {
    color: var(--rose) !important;
}

.profile-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

i.profile-avatar {
    width: auto;
    height: auto;
    background: transparent;
    font-size: 16px;
    margin-right: 4px;
}

.profile-text-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.profile-hello {
    font-size: 11px;
    font-weight: 600;
    opacity: 0.9;
}

.profile-name {
    font-size: 14px;
    font-weight: 700;
}

.profile-caret {
    font-size: 10px;
    opacity: 0.7;
    margin-left: 4px;
}

.mobile-actions {
    display: none;
    align-items: center;
    gap: 18px;
}

.nav-mobile-box {
    display: flex !important;
    align-items: center;
    gap: 13px;
    font-size: 14px;
    padding: 13px 16px !important;
    opacity: 0.9;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-bottom: 6px;
    background: rgba(255, 255, 255, 0.02);
}

.nav-mobile-box:hover {
    opacity: 1;
    border-color: rgba(255, 61, 119, .3);
}

.nav-mobile-main {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
}

.nav-mobile-main span {
    display: flex;
    align-items: center;
    gap: 13px;
}

.nav-mobile-arrow {
    font-size: 12px;
    opacity: 0.5;
    transition: transform .3s var(--ease);
}

.nav-mobile-main[aria-expanded="true"] .nav-mobile-arrow {
    transform: rotate(180deg);
    opacity: 1;
}

/* Grid-rows trick: animating 0fr -> 1fr gives a smooth height transition
   without JS ever measuring the submenu's real height. */
.nav-mobile-children {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .3s var(--ease);
}

.nav-mobile-children.is-open {
    grid-template-rows: 1fr;
}

.nav-mobile-children-inner {
    overflow: hidden;
    min-height: 0;
    padding: 4px 0 2px 14px;
    margin-left: 6px;
    border-left: 1px solid var(--line);
}

/* WHMCS renders "Abrir Ticket" twice for logged-in clients: once as its own
   top-level quick-action button, and again as a normal child inside the
   "Soporte" dropdown. Only the Soporte one should show — the direct-child
   selectors below target just the standalone top-level link (">"), leaving
   the nested copy inside .dropdown/.nav-mobile-children untouched. */
nav.desktop > ul > li > a[href*="submitticket.php"] {
    display: none;
}

.mobile-nav > a[href*="submitticket.php"] {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 16px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background: #ffffff;
    transition: var(--transition);
}

.hamburger.open span:nth-child(1), .hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2), .hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3), .hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 340px;
    height: 100vh;
    /* Theme's own branded gradient instead of a flat, off-palette near-black —
       matches the rose/purple identity used across the rest of the site. */
    background: var(--bg-featured);
    border-left: 1px solid var(--glass-border);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    padding: 100px 30px 30px;
    transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 99;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav a {
    color: var(--text-muted);
    font-size: 16px;
    padding: 12px 16px;
    border-radius: var(--radius);
    transition: all .2s var(--ease);
}

.mobile-nav a:hover {
    background: var(--glass);
    color: #fff;
}

.mobile-nav .cta-nav {
    text-align: center;
    margin-top: 10px;
}

.mobile-nav .group-title {
    font-size: 11px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--text-dim);
    padding: 16px 16px 4px;
    margin-top: 8px;
    border-top: 1px solid var(--line);
    font-weight: 600;
}

/* Same idea as .group-title but nested inside a submenu (e.g. "Soporte"
   grouping ticket links inside the account dropdown), so it's indented with
   the rest of that submenu instead of spanning full width. */
.nav-mobile-subgroup-title {
    font-size: 10px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--text-dim);
    padding: 10px 4px 4px;
    font-weight: 600;
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
    z-index: 98;
}

.overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* ===== SLIDER ===== */
.slider-full {
    width: 100%;
    min-height: 420px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.slider-track {
    display: flex;
    height: 420px;
    transition: transform .6s var(--ease);
}

.slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 40px;
}

.slide-content {
    max-width: 520px;
    animation: fadeUp .8s ease;
}

.slide .tag {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 14px;
    font-weight: 600;
    color: var(--text-tag);
}

.slide h2 {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 14px;
    line-height: 1.15;
}

.slide p {
    font-size: 15px;
    color: var(--text-soft);
}

.slide-btn {
    display: inline-block;
    margin-top: 22px;
    background: #fff;
    border: none;
    padding: 13px 28px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 13px;
    font-family: var(--font-body);
    cursor: pointer;
    color: var(--rose);
    transition: all .2s var(--ease);
}

.slide-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
    color: var(--rose);
}

.s1 { background: radial-gradient(circle at 50% 30%, rgba(255, 61, 119, 0.35), transparent 60%), #22071A; }
.s2 { background: radial-gradient(circle at 50% 30%, rgba(255, 122, 92, 0.30), transparent 60%), #22071A; }
.s3 { background: radial-gradient(circle at 50% 30%, rgba(185, 61, 255, 0.30), transparent 60%), #22071A; }
.s4 { background: radial-gradient(circle at 50% 30%, rgba(255, 61, 200, 0.30), transparent 60%), #22071A; }
.s5 { background: radial-gradient(circle at 50% 30%, rgba(255, 157, 61, 0.30), transparent 60%), #22071A; }

.slider-controls {
    position: absolute;
    bottom: 24px;
    right: 60px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 16px;
}

.slider-controls button {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    transition: all .2s var(--ease);
}

.slider-controls button:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.dots {
    position: absolute;
    bottom: 24px;
    left: 60px;
    display: flex;
    gap: 8px;
    z-index: 2;
}

.dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all var(--transition);
}

.dot.active {
    background: #fff;
    width: 24px;
    border-radius: 4px;
}

/* ===== HERO ===== */
.hero {
    text-align: center;
    padding: 70px 0 60px;
}

.hero h1 {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 44px;
    line-height: 1.15;
}

.hero h1 .g {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    max-width: 480px;
    margin: 20px auto 0;
    color: var(--text-muted);
    font-size: 15px;
}

.hero-actions {
    margin-top: 28px;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== SECTIONS ===== */
.section {
    padding: 60px 0;
}

.section-head {
    text-align: center;
    margin-bottom: 44px;
}

.section-head h2 {
    font-family: var(--font-display);
    font-size: 26px;
    margin-bottom: 8px;
}

.section-head .sub {
    color: var(--text-dim);
    font-size: 14px;
}

/* ===== DOMAIN SEARCH ===== */
.domain-search {
    background: radial-gradient(circle at 50% 0%, rgba(185, 61, 255, .22), transparent 60%), var(--bg-elevated);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 56px 0;
}

.domain-form {
    display: flex;
    gap: 10px;
    max-width: 720px;
    margin: 0 auto;
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-pill);
    padding: 8px;
}

.domain-form input[type="text"] {
    flex: 1;
    background: none;
    border: 0;
    color: #fff;
    font-size: 15px;
    padding: 12px 20px;
    font-family: var(--font-body);
}

.domain-form input[type="text"]::placeholder {
    color: var(--text-dim);
}

.domain-form input[type="text"]:focus {
    outline: none;
}

.domain-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.domain-tab {
    background: none;
    border: 1px solid var(--line-strong);
    color: var(--text-muted);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all .2s var(--ease);
}

.domain-tab.active,
.domain-tab:hover {
    background: var(--gradient-brand);
    border-color: transparent;
    color: #fff;
}

.tld-strip {
    display: flex;
    justify-content: center;
    gap: 26px;
    margin-top: 26px;
    flex-wrap: wrap;
    color: var(--text-dim);
    font-size: 13px;
}

.tld-strip strong {
    color: #fff;
    font-family: var(--font-display);
}

/* ===== PRICING ===== */
.pricing {
    padding: 60px 0 100px;
}

.pricing h2 {
    text-align: center;
    font-family: var(--font-display);
    font-size: 26px;
    margin-bottom: 8px;
}

.pricing .sub {
    text-align: center;
    color: var(--text-dim);
    font-size: 14px;
    margin-bottom: 44px;
}

.plans {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.plans-3 { grid-template-columns: repeat(3, 1fr); }
.plans-2 { grid-template-columns: repeat(2, 1fr); }
.plans-1 { grid-template-columns: minmax(0, 360px); justify-content: center; }

.plan {
    background: var(--bg-elevated);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 28px 22px;
    transition: transform var(--transition), border-color var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.plan:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 61, 119, 0.3);
}

.plan.featured {
    border: 1px solid var(--rose);
    background: var(--bg-featured);
    transform: scale(1.03);
}

.plan.featured:hover {
    transform: scale(1.05) translateY(-6px);
}

.plan h3 {
    font-family: var(--font-display);
    font-size: 17px;
    margin-bottom: 8px;
}

.plan .plan-desc {
    font-size: 13px;
    color: var(--text-dim);
    min-height: 38px;
}

.plan .price {
    font-size: 30px;
    font-weight: 700;
    margin: 14px 0 4px;
    font-family: var(--font-display);
    line-height: 1.1;
}

.plan .price small {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-dim);
    font-family: var(--font-body);
}

.plan .setup-fee {
    font-size: 12px;
    color: var(--text-dim);
}

.plan ul {
    list-style: none;
    margin: 20px 0;
    flex: 1;
}

.plan li {
    font-size: 13px;
    padding: 8px 0;
    color: var(--text-muted);
    border-top: 1px solid var(--line);
}

.plan .btn-plan {
    width: 100%;
    padding: 12px;
    border-radius: 20px;
    border: 1px solid var(--rose);
    background: none;
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all .2s var(--ease);
    display: block;
    text-align: center;
}

.plan .btn-plan:hover {
    background: rgba(255, 61, 119, 0.1);
    color: #fff;
}

.plan.featured .btn-plan {
    background: var(--gradient-brand);
    border: none;
    box-shadow: var(--shadow-brand);
}

.plan.featured .btn-plan:hover {
    box-shadow: 0 6px 24px rgba(255, 61, 119, 0.5);
    transform: scale(1.02);
}

.plan-ribbon {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-brand);
    color: #fff;
    font-size: 10px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 12px;
    white-space: nowrap;
}

.billing-toggle {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.billing-toggle button {
    background: none;
    border: 1px solid var(--line-strong);
    color: var(--text-muted);
    padding: 7px 16px;
    border-radius: 18px;
    font-size: 12px;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all .2s var(--ease);
}

.billing-toggle button.active {
    background: var(--gradient-brand);
    border-color: transparent;
    color: #fff;
}

/* ===== FEATURE CARDS ===== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.feature-card {
    background: var(--bg-elevated);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 28px 22px;
    transition: transform var(--transition), border-color var(--transition);
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 61, 119, 0.3);
}

.feature-card .icon {
    width: 46px;
    height: 46px;
    border-radius: var(--radius);
    background: rgba(255, 61, 119, .12);
    color: var(--rose);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 26px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--line-strong);
    background: none;
    color: #fff;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    text-align: center;
    transition: all .2s var(--ease);
}

.btn-primary {
    background: var(--gradient-brand);
    border: none;
    box-shadow: var(--shadow-brand);
    color: #fff;
}

.btn-outline {
    border: 1px solid var(--rose);
}

.btn-light {
    background: #fff;
    color: var(--rose);
    border: none;
}

.btn-danger {
    border-color: var(--danger);
    color: var(--danger);
}

.btn:active {
    transform: scale(.97);
}

/* Hover-only effects, gated to devices that actually have a mouse. Without
   this, touch browsers apply :hover the instant you tap (and only clear it on
   the NEXT tap elsewhere), so buttons with a transform/shadow hover — like
   #btnCompleteOrder — visibly jump/flash on every tap. */
@media (hover: hover) and (pointer: fine) {
    .btn:hover {
        color: #fff;
        background: var(--glass);
        border-color: rgba(255, 61, 119, .4);
    }

    .btn-primary:hover {
        background: var(--gradient-brand);
        transform: translateY(-2px);
        box-shadow: var(--shadow-brand-hover);
        color: #fff;
    }

    .btn-outline:hover {
        background: rgba(255, 61, 119, .1);
    }

    .btn-light:hover {
        background: #fff;
        color: var(--rose);
        transform: scale(1.04);
    }

    .btn-danger:hover {
        background: var(--danger-bg);
        color: var(--danger);
    }
}

.btn-sm {
    padding: 7px 16px;
    font-size: 12px;
}

.btn-lg {
    padding: 15px 34px;
    font-size: 15px;
}

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

.btn[disabled],
.btn.disabled {
    opacity: .5;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* ===== FOOTER ===== */
footer.site-footer {
    border-top: 1px solid var(--line);
    background: #16040D;
    color: var(--text-dim);
    font-size: 13px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr) 1.4fr;
    gap: 34px;
    padding: 54px 0 40px;
}

.footer-top.footer-cols-4 {
    grid-template-columns: 1.4fr repeat(2, 1fr) 1.4fr;
}

.footer-top.footer-cols-3 {
    grid-template-columns: 1.4fr repeat(1, 1fr) 1.4fr;
}

.footer-top.footer-cols-2 {
    grid-template-columns: 1.4fr 1.4fr;
}

.footer-top.footer-cols-1 {
    grid-template-columns: 1.4fr;
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 14px;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: .4px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-col a {
    color: var(--text-dim);
    font-size: 13px;
}

.footer-col a:hover {
    color: var(--rose);
}

.footer-brand .logo {
    margin-bottom: 14px;
}

.footer-brand p {
    font-size: 13px;
    color: var(--text-dim);
    max-width: 260px;
}

.social {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.social a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--glass);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all .2s var(--ease);
}

.social a:hover {
    background: var(--gradient-brand);
    color: #fff;
    border-color: transparent;
    transform: translateY(-2px);
}

.newsletter-form {
    display: flex;
    gap: 8px;
    margin-top: 6px;
}

.newsletter-form input {
    flex: 1;
    min-width: 0;
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--line-strong);
    border-radius: 20px;
    padding: 10px 16px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 13px;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--rose);
}

.newsletter-form button {
    background: var(--gradient-brand);
    border: 0;
    color: #fff;
    border-radius: 20px;
    padding: 0 18px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-body);
}

.footer-bottom {
    border-top: 1px solid var(--line);
    padding: 22px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13px;
}

.footer-bottom .legal {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-bottom a {
    color: var(--text-dim);
}

.footer-bottom a:hover {
    color: var(--rose);
}

.footer-simple {
    padding: 34px var(--gutter);
    border-top: 1px solid var(--line);
    text-align: center;
    color: var(--text-dim);
    font-size: 13px;
}

.lang-select {
    background: var(--bg-elevated);
    border: 1px solid var(--line-strong);
    color: var(--text-muted);
    border-radius: 18px;
    padding: 6px 12px;
    font-family: var(--font-body);
    font-size: 12px;
}

/* ===== PAGE HEADER ===== */
.page-head {
    border-bottom: 1px solid var(--line);
    background: radial-gradient(circle at 20% 0%, rgba(255, 61, 119, .18), transparent 55%), var(--bg-elevated);
    padding: 40px 0 34px;
}

.page-head h1 {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
}

.page-head .desc {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 8px;
}

.breadcrumb {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: var(--text-dim);
    margin-bottom: 12px;
}

.breadcrumb li + li::before {
    content: "/";
    margin-right: 8px;
    opacity: .5;
}

.breadcrumb a {
    color: var(--text-dim);
}

.breadcrumb a:hover {
    color: var(--rose);
}

/* ===== LAYOUT ===== */
.main-body {
    /* Vertical spacing only — .wrap already supplies the left/right gutter,
       and a shorthand `padding: 40px 0 70px` here would zero it out since
       .wrap and .main-body land on the same element (class="wrap main-body")
       and this rule comes later in the cascade. */
    padding-top: 40px;
    padding-bottom: 70px;
    min-height: 50vh;
}

.layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 30px;
    align-items: start;
}

.layout-no-sidebar {
    grid-template-columns: minmax(0, 1fr);
}

.layout-narrow {
    max-width: 520px;
    margin: 0 auto;
}

.layout-medium {
    max-width: 820px;
    margin: 0 auto;
}

.verification-banner {
    background: var(--warning-bg);
    border-bottom: 1px solid rgba(255, 178, 61, .3);
    color: var(--warning);
    font-size: 13px;
}

.verification-banner .wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 12px;
    padding-bottom: 12px;
    flex-wrap: wrap;
}

.verification-banner .text {
    flex: 1;
    min-width: 200px;
}

.verification-banner .btn {
    border-color: currentColor;
    color: inherit;
}

.verification-banner .btn:hover {
    background: rgba(255, 178, 61, .15);
    color: inherit;
}

.verification-banner .banner-close {
    background: none;
    border: 0;
    color: inherit;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
}

#backToTop {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 90;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    background: rgba(34, 7, 26, .92);
    backdrop-filter: blur(8px);
    color: #fff;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: all var(--transition);
}

#backToTop.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

#backToTop:hover {
    background: var(--gradient-brand);
    border-color: transparent;
    box-shadow: var(--shadow-brand);
}
