/* domain_r16-V2 — Karizanta visual refresh.
   Loaded after domains.css; override / additive only.
   Palette matches karizanta.com: violet #7c3aed -> cyan #06b6d4. */

:root {
    --v2-brand: #7c3aed;
    --v2-brand-2: #06b6d4;
    --v2-brand-deep: #6d28d9;
    --v2-gold: #f5b73c;
    --v2-ink: #16112b;
    --v2-muted: #6b6785;
    --v2-line: #e8e5f2;
    --v2-surface: #ffffff;
    --v2-soft: #f7f6fc;
    --v2-grad: linear-gradient(105deg, #7c3aed, #06b6d4);
    --v2-grad-deep: linear-gradient(120deg, #3b1178 0%, #6d28d9 45%, #0e7490 100%);
}

/* ============ Hero / search band ============ */
.domain-header {
    background: var(--v2-grad-deep);
    border-radius: 20px;
    padding: 58px 24px 50px;
    margin-bottom: 38px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 22px 50px rgba(59, 17, 120, .28);
}
.domain-header::before {
    content: "";
    position: absolute;
    left: -120px;
    bottom: -160px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(6, 182, 212, .38), transparent 70%);
    pointer-events: none;
}
.domain-header::after {
    content: "";
    position: absolute;
    right: -110px;
    top: -140px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle at 60% 60%, rgba(168, 85, 247, .40), transparent 70%);
    pointer-events: none;
}
.domain-header > * { position: relative; z-index: 1; }

.domain-header h1,
.domain-header .domain-search h1 {
    color: #fff;
    font-weight: 700;
    letter-spacing: -.5px;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .22);
}
.domain-header .domain-modes a {
    color: rgba(255, 255, 255, .85);
    padding: 6px 14px;
    margin: 0 4px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .28);
    background: rgba(255, 255, 255, .07);
    text-decoration: none;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
    display: inline-block;
}
.domain-header .domain-modes a:hover {
    color: #fff;
    background: rgba(255, 255, 255, .18);
    border-color: rgba(255, 255, 255, .55);
    transform: translateY(-1px);
}
.domain-input {
    box-shadow: 0 18px 40px rgba(20, 8, 48, .32);
    border-radius: 14px;
    overflow: hidden;
    transition: box-shadow .25s ease, transform .25s ease;
}
.domain-input:focus-within {
    box-shadow: 0 22px 48px rgba(6, 182, 212, .38);
    transform: translateY(-2px);
}
.domain-search-btn {
    background: var(--v2-grad);
    background-size: 160% 100%;
    border: 0;
    color: #fff;
    font-weight: 600;
    transition: background-position .35s ease, transform .18s ease, box-shadow .18s ease;
}
.domain-search-btn:hover {
    background-position: 100% 0;
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(124, 58, 237, .45);
}

/* ============ Feature cards ============ */
.v2-features { margin: 52px 0 44px; }
.v2-features-head {
    text-align: center;
    max-width: 660px;
    margin: 0 auto 32px;
}
.v2-features-head h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--v2-ink);
    margin: 0 0 10px;
    letter-spacing: -.4px;
}
.v2-features-head p {
    color: var(--v2-muted);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}
.v2-features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}
/* per-card colour theme (set on .v2-c1 ... .v2-c6) */
.v2-c1 { --c: #7c3aed; --c2: #a855f7; }   /* violet  */
.v2-c2 { --c: #0ea5e9; --c2: #06b6d4; }   /* sky     */
.v2-c3 { --c: #10b981; --c2: #34d399; }   /* emerald */
.v2-c4 { --c: #f59e0b; --c2: #f5b73c; }   /* amber   */
.v2-c5 { --c: #ec4899; --c2: #f472b6; }   /* pink    */
.v2-c6 { --c: #6366f1; --c2: #818cf8; }   /* indigo  */

.v2-feature {
    position: relative;
    background: var(--v2-surface);
    border: 1px solid var(--v2-line);
    border-radius: 16px;
    padding: 28px 24px 26px;
    overflow: hidden;
    isolation: isolate;
    transition: transform .28s cubic-bezier(.2, .7, .3, 1), box-shadow .28s ease, border-color .28s ease;
}
/* gradient wash that fades in on hover — tinted per card */
.v2-feature::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(135deg, var(--c) 0%, var(--c2) 100%);
    opacity: .07;
    transition: opacity .28s ease;
}
/* accent bar along the top edge — always visible, fills on hover */
.v2-feature::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 4px;
    width: 34%;
    background: linear-gradient(90deg, var(--c), var(--c2));
    transition: width .35s cubic-bezier(.2, .7, .3, 1);
}
.v2-feature:hover {
    transform: translateY(-6px);
    border-color: var(--c);
    box-shadow: 0 18px 38px rgba(22, 17, 43, .16);
    box-shadow: 0 18px 38px color-mix(in srgb, var(--c) 28%, transparent);
}
.v2-feature:hover::before { opacity: .13; }
.v2-feature:hover::after { width: 100%; }

.v2-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--c), var(--c2));
    color: #fff;
    font-size: 20px;
    box-shadow: 0 8px 18px rgba(22, 17, 43, .14);
    transition: transform .45s cubic-bezier(.2, .7, .3, 1), box-shadow .3s ease;
}
.v2-feature:hover .v2-feature-icon {
    transform: translateY(-2px) rotate(-6deg) scale(1.08);
    box-shadow: 0 12px 24px rgba(22, 17, 43, .22);
}
.v2-feature h3 {
    font-size: 16.5px;
    font-weight: 700;
    color: var(--v2-ink);
    margin: 0 0 8px;
    transition: color .25s ease;
}
.v2-feature:hover h3 { color: var(--c); }
.v2-feature p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--v2-muted);
    margin: 0;
}

/* keyboard focus parity with hover */
.v2-feature:focus-within {
    transform: translateY(-6px);
    border-color: var(--c);
    box-shadow: 0 18px 38px rgba(22, 17, 43, .16);
    outline: none;
}
.v2-feature:focus-within::after { width: 100%; }

@media (prefers-reduced-motion: reduce) {
    .v2-feature,
    .v2-feature-icon,
    .v2-feature::after,
    .domain-input,
    .domain-search-btn { transition: none; }
    .v2-feature:hover { transform: none; }
    .v2-feature:hover .v2-feature-icon { transform: none; }
}

/* ============ Pricing table ============ */
.domain-price { margin-top: 12px; }
.domain-price > h2 {
    font-size: 26px;
    font-weight: 700;
    color: var(--v2-ink);
    text-align: center;
    margin: 0 0 6px;
    letter-spacing: -.3px;
}
.domain-price > h2 { margin-bottom: 22px; }

/* table shell */
.v2-price-wrap {
    border: 1px solid var(--v2-line);
    border-radius: 16px;
    overflow: hidden;
    background: var(--v2-surface);
    box-shadow: 0 10px 30px rgba(22, 17, 43, .06);
}
.v2-price-scroll { overflow-x: auto; }
.v2-price-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14.5px;
}
.v2-price-table thead th {
    background: var(--v2-soft);
    color: var(--v2-ink);
    font-weight: 600;
    text-align: left;
    padding: 15px 18px;
    white-space: nowrap;
    border-bottom: 1px solid var(--v2-line);
    position: sticky;
    top: 0;
    z-index: 2;
}
.v2-price-table thead th .v2-th-note {
    display: block;
    font-weight: 400;
    font-size: 11.5px;
    color: var(--v2-muted);
    margin-top: 2px;
}
.v2-price-table tbody td {
    padding: 14px 18px;
    border-bottom: 1px solid #f1eff8;
    vertical-align: middle;
    color: var(--v2-ink);
}
.v2-price-table tbody tr:last-child td { border-bottom: 0; }
.v2-price-table tbody tr { transition: background .16s ease; }
.v2-price-table tbody tr:nth-child(even) { background: #fcfbff; }
.v2-price-table tbody tr:hover { background: rgba(124, 58, 237, .06); }

.v2-tld {
    font-weight: 700;
    font-size: 16px;
    color: var(--v2-brand-deep);
    letter-spacing: .2px;
}
.v2-price-amount {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.v2-price-period {
    display: block;
    font-size: 11.5px;
    color: var(--v2-muted);
    margin-top: 2px;
}
.v2-price-free {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    background: rgba(16, 185, 129, .12);
    color: #047857;
    font-weight: 700;
    font-size: 12.5px;
}
.v2-price-na { color: #b7b3c7; }
/* mobile: rows become cards */
@media (max-width: 680px) {
    .v2-price-table thead { display: none; }
    .v2-price-table tbody tr {
        display: block;
        padding: 14px 16px;
        border-bottom: 1px solid var(--v2-line);
    }
    .v2-price-table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 7px 0;
        border: 0;
        text-align: right;
    }
    .v2-price-table tbody td::before {
        content: attr(data-label);
        font-size: 12.5px;
        color: var(--v2-muted);
        font-weight: 600;
        text-align: left;
        margin-right: 14px;
    }
    .v2-price-table tbody td.v2-td-tld { padding-bottom: 10px; }
    .v2-price-table tbody td.v2-td-tld::before { content: ""; margin: 0; }
    .v2-price-period { display: inline; margin-left: 6px; }
}

/* ============ Spotlight ============ */
.spotlight-product {
    border-radius: 16px;
    border: 1px solid var(--v2-line);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.spotlight-product:hover {
    transform: translateY(-4px);
    border-color: rgba(124, 58, 237, .35);
    box-shadow: 0 16px 32px rgba(59, 17, 120, .14);
}
.spotlight-price { color: var(--v2-brand-deep); font-weight: 700; }
.spotlight-price.free { color: #047857; }

/* ============ Search result rows ============ */
.result-row {
    border-radius: 14px;
    transition: box-shadow .2s ease, transform .2s ease;
}
.result-row:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(22, 17, 43, .1);
}
.result-button.domain-register,
.result-button.result-cart {
    border-radius: 999px;
    font-weight: 600;
    background: var(--v2-grad);
    background-size: 160% 100%;
    color: #fff;
    border: 0;
    transition: background-position .35s ease, box-shadow .18s ease;
}
.result-button.domain-register:hover,
.result-button.result-cart:hover {
    background-position: 100% 0;
    box-shadow: 0 8px 20px rgba(124, 58, 237, .35);
}

/* ============ Responsive ============ */
@media (max-width: 991px) {
    .v2-features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .v2-features-grid { grid-template-columns: 1fr; }
    .domain-header { padding: 40px 16px 36px; border-radius: 16px; }
    .v2-features-head h2 { font-size: 22px; }
    .domain-price > h2 { font-size: 21px; }
}
