/* info.na - Namibian flag palette stylesheet */

:root {
    --blue: #003580;
    --red: #D21034;
    --green: #009543;
    --gold: #FFD100;
    --white: #FFFFFF;
    --dark: #1A1A2E;
    --light-bg: #F8F9FA;
    --text: #1A1A2E;
    --text-muted: #4A4A6A;
    --border: #E2E8F0;
    --radius: 8px;
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --max-width: 1140px;
}

/* === RESET & BASE === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
}

a {
    color: var(--blue);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

/* === NAV === */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-info {
    color: var(--blue);
}

.logo-dot {
    color: var(--red);
}

.logo-na {
    color: var(--green);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
}

.nav-links a {
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: var(--radius);
    transition: background 0.15s, color 0.15s;
}

.nav-links a:hover {
    background: var(--light-bg);
    color: var(--blue);
    text-decoration: none;
}

.nav-links a.nav-active {
    color: var(--blue);
    background: var(--light-bg);
    font-weight: 600;
}

.nav-links a.nav-audit {
    color: var(--green);
    font-weight: 600;
}

.nav-links a.nav-audit.nav-active {
    background: #F0FDF4;
    color: var(--green);
}

.nav-cta {
    flex-shrink: 0;
    margin-left: auto;
}

.nav-cta-mobile {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-left: auto;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
}

/* === HERO === */
.hero {
    background: linear-gradient(135deg, var(--blue) 0%, #005bb5 60%, #0069cc 100%);
    color: var(--white);
    padding: 80px 24px 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% -10%, rgba(255,209,0,0.10) 0%, transparent 70%),
        radial-gradient(ellipse 60% 80% at 90% 110%, rgba(0,149,67,0.12) 0%, transparent 60%);
    pointer-events: none;
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.hero h1 {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    position: relative;
}

.hero h1 .accent-red {
    color: var(--gold);
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

/* === SEARCH BOX === */
.search-box {
    background: var(--white);
    border-radius: 12px;
    padding: 8px;
    display: flex;
    gap: 8px;
    max-width: 640px;
    margin: 0 auto 32px;
    box-shadow: var(--shadow-lg);
}

.search-box input[type="text"] {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    padding: 12px 16px;
    color: var(--text);
    background: transparent;
    font-family: inherit;
}

.search-box input[type="text"]::placeholder {
    color: var(--text-muted);
}

.search-box button {
    white-space: nowrap;
    flex-shrink: 0;
}

.search-tld-hint {
    font-size: 0.85rem;
    opacity: 0.75;
    margin-top: -24px;
    margin-bottom: 24px;
}

/* === SECTION === */
.section {
    padding: 88px 24px;
}

.section-alt {
    background: var(--light-bg);
}

.section-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 12px;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--green);
    margin-bottom: 8px;
}

/* === CARD GRID === */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.card-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.card-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* === CARD === */
.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
    box-shadow: var(--shadow);
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
    box-shadow: 0 12px 32px rgba(0,53,128,0.13);
    transform: translateY(-4px);
    border-color: rgba(0,53,128,0.15);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

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

.card-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--blue);
    margin-top: 16px;
    line-height: 1;
}

.card-price span {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-muted);
}

/* === CARD FEATURED === */
.card-featured {
    background: linear-gradient(160deg, #003580 0%, #004faa 100%);
    color: var(--white);
    border-color: transparent;
    position: relative;
    box-shadow: 0 8px 32px rgba(0,53,128,0.22);
    border-top: 4px solid var(--gold);
}

.card-featured:hover {
    background: linear-gradient(160deg, #003580 0%, #0058c4 100%);
    box-shadow: 0 16px 48px rgba(0,53,128,0.32);
    transform: translateY(-6px);
}

.card-featured h3,
.card-featured p {
    color: var(--white);
}

.card-featured .card-price {
    color: var(--gold);
}

.card-featured .card-price span {
    color: rgba(255,255,255,0.7);
}

.card-featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--dark);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s ease, box-shadow 0.15s ease;
    text-decoration: none;
    line-height: 1;
}

.btn:hover {
    text-decoration: none;
    transform: translateY(-2px);
}

.btn:active {
    transform: scale(0.97) translateY(0);
}

.btn:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

.btn-primary {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
}

.btn-primary:hover {
    background: #004a9f;
    border-color: #004a9f;
    box-shadow: 0 6px 20px rgba(0,53,128,0.30);
}

.btn-green {
    background: var(--green);
    color: var(--white);
    border-color: var(--green);
}

.btn-green:hover {
    background: #007a38;
    border-color: #007a38;
    box-shadow: 0 0 18px rgba(0,149,67,0.40);
}

.btn-outline {
    background: transparent;
    color: var(--blue);
    border-color: var(--blue);
}

.btn-outline:hover {
    background: var(--blue);
    color: var(--white);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--blue);
}

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

.btn-sm {
    font-size: 0.85rem;
    padding: 8px 16px;
}

.btn-lg {
    font-size: 1.05rem;
    padding: 16px 32px;
}

/* === TRUST BAR === */
.trust-bar {
    background: linear-gradient(90deg, #0d1b2e 0%, #1a2a45 50%, #0d1b2e 100%);
    color: var(--white);
    padding: 18px 24px;
    text-align: center;
    border-top: 1px solid rgba(255,209,0,0.2);
}

.trust-bar-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.95;
    letter-spacing: 0.01em;
}

.trust-item .trust-icon {
    color: var(--gold);
    font-size: 1rem;
}

/* === DOMAIN RESULTS === */
.domain-results {
    margin-top: 16px;
    display: none;
}

.domain-results.visible {
    display: block;
    animation: fadeInUp 0.3s ease forwards;
}

.domain-result {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 20px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    animation: fadeInUp 0.25s ease forwards;
}

.domain-result.available {
    border-color: var(--green);
    background: #f0fdf4;
    box-shadow: 0 0 0 1px rgba(0,149,67,0.25), 0 4px 16px rgba(0,149,67,0.1);
}

.domain-result.available:hover {
    box-shadow: 0 0 0 2px rgba(0,149,67,0.4), 0 6px 20px rgba(0,149,67,0.15);
    transform: translateY(-2px);
}

.domain-result.taken {
    border-color: var(--border);
    background: var(--light-bg);
    opacity: 0.55;
    filter: saturate(0.5);
}

.domain-result-name {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text);
}

.domain-result.available .domain-result-name {
    color: var(--green);
}

.domain-result-status {
    font-size: 0.8rem;
    font-weight: 600;
}

.domain-result.available .domain-result-status {
    color: var(--green);
}

.domain-result.taken .domain-result-status {
    color: var(--text-muted);
}

.domain-result-price {
    font-weight: 700;
    color: var(--blue);
    font-size: 0.95rem;
}

.domain-result-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* === BADGES === */
.badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    line-height: 1.4;
}

.badge-green {
    background: #dcfce7;
    color: #166534;
}

.badge-blue {
    background: #dbeafe;
    color: #1e40af;
}

.badge-gold {
    background: #fef9c3;
    color: #854d0e;
}

.badge-red {
    background: #fee2e2;
    color: #991b1b;
}

/* === STEPS === */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    counter-reset: steps;
}

.step {
    text-align: center;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--blue);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.step h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.step p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* === TLD TABLE === */
.tld-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.tld-table th,
.tld-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.tld-table th {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--light-bg);
}

.tld-table tr:hover td {
    background: var(--light-bg);
}

.tld-featured td {
    font-weight: 600;
}

/* === FOOTER === */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.8);
    padding: 72px 24px 0;
    border-top: 3px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--green), var(--gold), var(--red));
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
}

.footer-logo {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-tagline {
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 16px;
    opacity: 0.75;
}

.footer-badge {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    color: var(--gold);
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-col ul li a,
.footer-col ul li {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.7);
    transition: color 0.15s;
}

.footer-col ul li a:hover {
    color: var(--white);
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.8rem;
    opacity: 0.6;
}

.footer-legal a {
    color: inherit;
}

.footer-legal a:hover {
    opacity: 1;
    color: var(--white);
    text-decoration: none;
}

/* === WHOIS LINK IN RESULTS === */
.whois-link {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-decoration: underline;
    margin-left: 0.5rem;
    vertical-align: middle;
    transition: color 0.15s;
}
.whois-link:hover { color: var(--blue); }

/* === WHOIS MODAL === */
.whois-modal-overlay {
    display: none;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5); z-index: 1000;
    align-items: center; justify-content: center;
    padding: 1rem;
    backdrop-filter: blur(2px);
}
.whois-modal-overlay.active { display: flex; }
.whois-modal-content {
    background: white; border-radius: 12px; padding: 1.75rem;
    max-width: 520px; width: 100%; position: relative;
    box-shadow: 0 16px 48px rgba(0,0,0,0.2);
    animation: scorePopIn 0.25s ease both;
    max-height: 80vh; overflow-y: auto;
}
.whois-modal-close {
    position: absolute; top: 0.75rem; right: 1rem;
    background: none; border: none; font-size: 1.5rem;
    color: var(--text-muted); cursor: pointer; line-height: 1;
}
.whois-modal-close:hover { color: var(--text); }
.whois-modal-content .whois-label {
    font-size: 0.7rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.05em; color: var(--text-muted); margin-bottom: 0.15rem;
}
.whois-modal-content .whois-badge {
    display: inline-block; padding: 0.2rem 0.6rem; border-radius: 20px;
    font-size: 0.7rem; font-weight: 600;
}
.whois-modal-content .badge-active { background: #DEF7EC; color: #059669; }
.whois-modal-content .badge-expired { background: #FEE2E2; color: #991B1B; }
.whois-modal-content .badge-available { background: #EFF6FF; color: #2563EB; }
.whois-modal-content .whois-privacy-tag {
    display: inline-block; font-size: 0.65rem; padding: 1px 5px;
    background: #F0FDF4; color: #059669; border-radius: 4px;
    margin-left: 0.3rem; font-weight: 500;
}
.whois-modal-content .whois-ns {
    display: inline-block; background: var(--light-bg); padding: 0.15rem 0.5rem;
    border-radius: 4px; font-size: 0.8rem; font-family: monospace;
    margin: 0.1rem 0.2rem 0.1rem 0;
}

/* === SEARCH LOADING STATE === */
.search-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background: white;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-top: 1rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
    animation: fadeInUp 0.3s ease both;
}

/* === SPINNER ANIMATION === */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(0,0,0,0.15);
    border-top-color: var(--blue);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    vertical-align: middle;
}

.spinner-white {
    border-color: rgba(255,255,255,0.3);
    border-top-color: var(--white);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* === MISC UTILITIES === */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-green { color: var(--green); }
.text-blue { color: var(--blue); }
.text-red { color: var(--red); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
}

/* === ALERT / NOTICE === */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    margin-bottom: 16px;
    border-left: 4px solid;
}

.alert-info {
    background: #eff6ff;
    border-color: var(--blue);
    color: #1e3a5f;
}

.alert-success {
    background: #f0fdf4;
    border-color: var(--green);
    color: #14532d;
}

.alert-error {
    background: #fef2f2;
    border-color: var(--red);
    color: #7f1d1d;
}

/* === CONTAINER === */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

/* === HERO TITLE / SUBTITLE === */
.hero-title {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    position: relative;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

/* === SEARCH FORM === */
.search-form {
    background: var(--white);
    border-radius: 12px;
    padding: 8px;
    max-width: 640px;
    margin: 0 auto 32px;
    box-shadow: var(--shadow-lg);
}

.search-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    padding: 12px 16px;
    color: var(--text);
    background: transparent;
    font-family: inherit;
    min-width: 150px;
}

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

.search-tld {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 12px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text);
    background: var(--white);
    cursor: pointer;
}

.search-btn {
    white-space: nowrap;
    flex-shrink: 0;
}

.search-results {
    margin-top: 16px;
}

/* === HERO DIVIDER === */
.hero-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.3);
    width: 50%;
    margin: 28px auto 20px;
}

/* === AI SEARCH === */
.ai-search-wrap {
    margin-top: 16px;
    opacity: 0.9;
}

.ai-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 10px;
    opacity: 0.7;
}

.ai-form {
    display: flex;
    gap: 8px;
    max-width: 560px;
    margin: 0 auto;
    background: rgba(255,255,255,0.15);
    border-radius: 10px;
    padding: 6px;
}

.ai-input {
    background: transparent;
    color: var(--white);
}

.ai-input::placeholder {
    color: rgba(255,255,255,0.6);
}

/* === TRUST BAR INNER === */
.trust-bar-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.trust-text {
    font-size: 0.85rem;
    opacity: 0.9;
}

.trust-divider {
    opacity: 0.4;
}

/* === SECTION TITLE / SUBTITLE === */
.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 12px;
    text-align: center;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto 40px;
    text-align: center;
}

/* === STEPS GRID === */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    counter-reset: steps;
}

.step-card {
    text-align: center;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
    box-shadow: var(--shadow);
}

.step-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* === CARDS GRID === */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

/* === CARD HEADER / TITLE / PERIOD / FEATURES / SETUP / BADGE === */
.card-header {
    margin-bottom: 16px;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.card-featured .card-title {
    color: var(--white);
}

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

.card-featured .card-period {
    color: rgba(255,255,255,0.7);
}

.card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.card-features li {
    font-size: 0.9rem;
    color: var(--text-muted);
    padding-left: 1.25rem;
    position: relative;
}

.card-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
}

.card-featured .card-features li {
    color: rgba(255,255,255,0.85);
}

.card-featured .card-features li::before {
    color: var(--gold);
}

.card-setup {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.card-featured .card-setup {
    color: rgba(255,255,255,0.65);
}

.card-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--dark);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

/* === CTA SECTION === */
.cta-section {
    background: var(--blue);
    color: var(--white);
}

.cta-inner {
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.cta-inner h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-inner p {
    font-size: 1.05rem;
    opacity: 0.9;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* === TLD GRID / CARD === */
.tld-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
}

.tld-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: box-shadow 0.2s, transform 0.2s;
}

.tld-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.tld-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 6px;
}

.tld-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.tld-price {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
}

.tld-period {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-muted);
}

.tld-btn {
    width: 100%;
}

/* === PRICING TABLE === */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.pricing-table th,
.pricing-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.pricing-table th {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--light-bg);
}

.pricing-table tr:hover td {
    background: var(--light-bg);
}

.pricing-note {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 16px;
    text-align: center;
}

/* === BLOG CONTENT === */
.blog-content {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text);
}

.blog-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 2rem 0 0.75rem;
    color: var(--text);
}

.blog-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 1.5rem 0 0.5rem;
    color: var(--text);
}

.blog-content p {
    margin-bottom: 1rem;
}

.blog-content ul,
.blog-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.blog-content li {
    list-style: disc;
    margin-bottom: 0.4rem;
}

.blog-content ol li {
    list-style: decimal;
}

.blog-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.blog-content th,
.blog-content td {
    padding: 10px 14px;
    border: 1px solid var(--border);
    text-align: left;
}

.blog-content th {
    background: var(--light-bg);
    font-weight: 600;
}

.blog-content a {
    color: var(--blue);
    text-decoration: underline;
}

.blog-content hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 2rem 0;
}

.blog-content code {
    background: var(--light-bg);
    padding: 0.1rem 0.35rem;
    border-radius: 3px;
    font-size: 0.875em;
}

.blog-content pre {
    background: var(--light-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        align-items: stretch;
        padding: 8px 16px 16px;
        gap: 2px;
        box-shadow: var(--shadow-lg);
    }

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

    .nav-links a {
        padding: 12px 16px;
        font-size: 1rem;
    }

    .nav-cta {
        display: none;
    }

    .nav-links.open .nav-cta-mobile {
        display: block;
        margin-top: 8px;
        padding: 4px 16px 8px;
    }

    .nav-container {
        position: relative;
    }

    .hero h1 {
        font-size: 1.9rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .search-box {
        flex-direction: column;
    }

    .search-box button {
        width: 100%;
    }

    .card-grid-3,
    .card-grid-4 {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .trust-bar-container {
        gap: 20px;
    }

    .section {
        padding: 48px 16px;
    }

    .domain-result {
        flex-wrap: wrap;
    }

    .steps,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .tld-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-inner h2 {
        font-size: 1.5rem;
    }

    .hero-title {
        font-size: 1.9rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .search-form {
        flex-direction: column;
    }

    .search-form button {
        width: 100%;
    }

    .trust-bar-inner {
        gap: 16px;
    }

    .tld-table {
        font-size: 0.85rem;
    }

    .tld-table th,
    .tld-table td {
        padding: 10px 12px;
    }
}

/* === UPSELL NUDGE === */
.upsell-nudge {
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    background: var(--light-bg);
    border-radius: var(--radius);
    border-left: 4px solid var(--green);
    color: var(--text-muted);
    font-size: 0.95rem;
}
.upsell-nudge a { color: var(--blue); font-weight: 600; }

/* === DOMAIN URGENCY NOTE === */
.domain-urgency-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    text-align: center;
}

/* === TESTIMONIALS === */
.testimonial-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-left: 4px solid var(--green);
    background: var(--white);
    position: relative;
    padding-top: 40px;
}

.testimonial-card::before {
    content: "\201C";
    position: absolute;
    top: 12px;
    left: 20px;
    font-size: 4rem;
    line-height: 1;
    color: var(--green);
    opacity: 0.3;
    font-family: Georgia, serif;
    font-weight: 700;
}

.testimonial-quote {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    font-style: italic;
    margin-bottom: 1.25rem;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 0.9rem;
}

.testimonial-author strong {
    color: var(--blue);
}

.testimonial-company {
    color: var(--text-muted);
}

/* === MBP: NO CONTRACT NOTE === */
.no-contract-note {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
}

/* === MBP: SETUP COMPARE === */
.setup-compare {
    padding: 1.25rem 1.5rem;
    background: var(--light-bg);
    border-radius: var(--radius);
    border-left: 4px solid var(--green);
}
.setup-compare-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* === FAQ === */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.faq-item {
    padding: 1.25rem 1.5rem;
    background: var(--light-bg);
    border-radius: var(--radius);
    border-left: 4px solid var(--blue);
}
.faq-question {
    font-size: 1rem;
    font-weight: 600;
    color: var(--blue);
    margin: 0 0 0.5rem 0;
}
.faq-answer {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* === CONTACT PAGE === */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}
.contact-item {
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: var(--radius);
}
.contact-item h3 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin: 0 0 0.5rem 0;
}
.contact-item a {
    color: var(--blue);
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
}
.contact-item a:hover { text-decoration: underline; }
.contact-item p {
    color: var(--text-dark);
    font-size: 1.05rem;
    margin: 0;
}
.contact-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 1.5rem;
}
@media (max-width: 600px) {
    .contact-grid { grid-template-columns: 1fr; }
}

/* === DOMAIN TRANSFER PAGE === */
.transfer-steps {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 640px;
    margin: 0 auto 2rem auto;
}
.transfer-step {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.25rem 1.5rem;
    background: var(--light-bg);
    border-radius: var(--radius);
}
.transfer-step-num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: var(--blue);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
}
.transfer-step-content h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--blue);
    margin: 0 0 0.35rem 0;
}
.transfer-step-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

/* =============================================
   VISUAL POLISH — added for premium look/feel
   ============================================= */

/* --- Page load fade-in --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-container,
.hero .container {
    animation: fadeInUp 0.55s ease both;
}

/* --- Scroll margin for sticky nav --- */
.section,
[id] {
    scroll-margin-top: 72px;
}

/* --- Input focus states --- */
input[type="text"]:focus-visible,
input[type="email"]:focus-visible,
input[type="search"]:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 0;
}

.search-input:focus {
    outline: none;
}

.search-form:focus-within {
    box-shadow: 0 0 0 3px rgba(0,53,128,0.20), var(--shadow-lg);
}

.search-tld:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 0;
}

/* --- TLD card hover lift --- */
.tld-card {
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.tld-card:hover {
    box-shadow: 0 12px 32px rgba(0,53,128,0.13);
    transform: translateY(-4px);
    border-color: rgba(0,53,128,0.2);
}

/* --- Step card hover --- */
.step-card {
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.step-card:hover {
    box-shadow: 0 10px 28px rgba(0,53,128,0.10);
    transform: translateY(-3px);
}

/* --- CTA section upgrade --- */
.cta-section {
    background: linear-gradient(135deg, var(--blue) 0%, #004faa 60%, #006acc 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 90% at 80% 50%, rgba(255,209,0,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.cta-inner {
    position: relative;
}

/* --- Card body line-height --- */
.card p,
.step-card p,
.tld-card .tld-label {
    line-height: 1.7;
}

/* --- Non-featured cards slightly muted on featured siblings --- */
.cards-grid .card:not(.card-featured) {
    border-top: 3px solid transparent;
}

.cards-grid .card:not(.card-featured):hover {
    border-top-color: var(--border);
}

/* --- Btn-sm and btn-lg padding corrections --- */
.btn-sm {
    font-size: 0.85rem;
    padding: 9px 18px;
}

.btn-lg {
    font-size: 1.1rem;
    padding: 16px 40px;
}

/* --- Trust text upgrade --- */
.trust-text {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 1;
}

/* --- Footer grid more breathing room --- */
.footer-grid {
    padding-bottom: 56px;
}

/* =============================================
   RESPONSIVE PATCH — visual polish overrides
   ============================================= */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.1rem;
    }

    .hero-title {
        font-size: 2.1rem;
    }

    .section {
        padding: 56px 16px;
    }

    .section-title,
    .section-header h2 {
        font-size: 1.75rem;
    }

    .btn {
        padding: 13px 24px;
        font-size: 0.95rem;
    }

    .btn-lg {
        padding: 14px 28px;
        font-size: 1rem;
    }

    .card-price {
        font-size: 1.6rem;
    }
}

/* === HORMOZI GRAND SLAM OFFER COMPONENTS === */

/* --- Value Stack --- */
.value-stack {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 28px 32px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
}

.value-stack-item {
    display: flex;
    align-items: baseline;
    gap: 4px;
    padding: 10px 0;
    border-bottom: 1px dashed var(--border);
    font-size: 0.97rem;
}

.value-stack-item:last-of-type {
    border-bottom: none;
}

.value-stack-label {
    flex-shrink: 0;
    font-weight: 500;
    color: var(--text);
    min-width: 220px;
}

.value-stack-dots {
    flex: 1;
    border-bottom: 2px dotted var(--border);
    margin: 0 8px;
    position: relative;
    top: -4px;
}

.value-stack-amount {
    flex-shrink: 0;
    font-weight: 600;
    color: var(--text-muted);
    text-align: right;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.95rem;
    min-width: 140px;
}

.value-stack-divider {
    height: 2px;
    background: var(--border);
    margin: 12px 0;
}

.value-stack-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0 4px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-muted);
    text-decoration: line-through;
}

.value-stack-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0 0;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--green);
}

/* --- Guarantee Box --- */
.guarantee-box {
    background: #f0fdf4;
    border: 2px solid var(--green);
    border-radius: var(--radius);
    padding: 16px 20px;
    font-size: 1rem;
    color: #14532d;
    margin-bottom: 16px;
    line-height: 1.6;
}

.guarantee-box strong {
    color: var(--green);
}

/* --- Scarcity Note --- */
.scarcity-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 8px;
}

/* --- Free Audit Lead Magnet Section --- */
.audit-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0fdf4 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

/* --- Decoy Card (slightly muted) --- */
.decoy-card {
    opacity: 0.85;
    border-style: dashed;
}

.decoy-card:hover {
    opacity: 1;
}

@media (max-width: 600px) {
    .value-stack {
        padding: 20px 16px;
    }
    .value-stack-label {
        min-width: unset;
        font-size: 0.88rem;
    }
    .value-stack-amount {
        min-width: unset;
        font-size: 0.85rem;
    }
    .value-stack-dots {
        display: none;
    }
    .value-stack-item {
        flex-wrap: wrap;
        gap: 2px;
    }
}

/* === AUDIT PAGE === */

/* Score circle */
.audit-score {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    color: white;
}
.audit-score.score-good { background: var(--green); }
.audit-score.score-ok { background: #E8A500; }
.audit-score.score-bad { background: var(--red); }

/* Checks list */
.audit-checks { list-style: none; margin: 2rem 0; }
.audit-check {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}
.audit-check-icon { font-size: 1.25rem; flex-shrink: 0; }
.audit-check-pass .audit-check-icon { color: var(--green); }
.audit-check-warn .audit-check-icon { color: #E8A500; }
.audit-check-fail .audit-check-icon { color: var(--red); }
.audit-check-name { font-weight: 600; }
.audit-check-message { color: var(--text-muted); }

/* Recommendations */
.audit-recommendations {
    background: var(--light-bg);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin: 2rem 0;
}
.audit-recommendations h3 { margin-bottom: 1rem; }
.audit-recommendations li { padding: 0.4rem 0; color: var(--text-muted); }

/* CTA block */
.audit-cta {
    background: linear-gradient(135deg, var(--dark) 0%, #1B3A4B 100%);
    color: white;
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    margin-top: 2rem;
}
.audit-cta h3 { color: white; margin-bottom: 0.5rem; }
.audit-cta p { color: rgba(255,255,255,0.8); margin-bottom: 1rem; }

/* Alert banners */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}
.alert-error {
    background: #FFF0F0;
    border: 1px solid #FECACA;
    color: #991B1B;
}
}
