/* ==========================================================================
   MONERA (stran.monera.si) - OFFICIAL BRAND DESIGN SYSTEM
   Barve in tipografija po uradnem priročniku znamke Monera
   ========================================================================== */

/* --- CSS Tokens --- */
:root {
    /* Uradna Monera paleta */
    --brand-600: #114589;
    --brand-700: #0e376e;
    --brand-800: #0c2f5d;
    --brand-100: #d6e3f4;
    
    /* Temna tema (Slate) */
    --bg-main: #080d1a;
    --bg-surface: #0e172c;
    --bg-elevated: #14213d;
    --bg-card: rgba(14, 23, 44, 0.85);
    
    /* Poudarki */
    --accent-orange: #ea580c;
    --accent-emerald: #10b981;
    --accent-amber: #f59e0b;
    --accent-red: #ef4444;
    
    /* Meje in prehodi */
    --border-subtle: rgba(214, 227, 244, 0.1);
    --border-bright: rgba(214, 227, 244, 0.22);
    --border-brand: rgba(17, 69, 137, 0.4);
    
    /* Besedilo */
    --text-white: #ffffff;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #8d939c;
    
    /* Pisave po priročniku znamke */
    --font-heading: 'Sora', sans-serif;
    --font-body: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Radiji */
    --r-sm: 8px;
    --r-md: 14px;
    --r-lg: 20px;
    --r-xl: 28px;
    --r-full: 9999px;
    
    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* --- Ambient Backdrops --- */
.brand-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.3;
}

.glow-top {
    top: -100px;
    left: 25%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(17, 69, 137, 0.7) 0%, rgba(12, 47, 93, 0.1) 100%);
}

.glow-bottom {
    bottom: -150px;
    right: 15%;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(17, 69, 137, 0.5) 0%, transparent 100%);
}

/* --- Container --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.text-brand-gradient {
    background: linear-gradient(135deg, #ffffff 0%, var(--brand-100) 60%, #93c5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 26px;
    border-radius: var(--r-full);
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    white-space: nowrap;
}

.btn-sm {
    padding: 9px 18px;
    font-size: 0.85rem;
}

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

.btn-block {
    width: 100%;
}

.btn-primary {
    background: var(--brand-600);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 18px rgba(17, 69, 137, 0.45);
}

.btn-primary:hover {
    background: #175bb3;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(17, 69, 137, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-white);
    border: 1px solid var(--border-bright);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* --- Navigation Header --- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(8, 13, 26, 0.85);
    border-bottom: 1px solid var(--border-subtle);
    padding: 16px 0;
}

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

.brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand-logo-svg {
    height: 36px;
    width: auto;
    display: block;
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--text-white);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.4rem;
    cursor: pointer;
}

/* --- Hero Section --- */
.hero-section {
    padding: 75px 0 55px;
    text-align: center;
    position: relative;
}

.hero-container {
    max-width: 960px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 18px;
    background: rgba(17, 69, 137, 0.2);
    border: 1px solid rgba(214, 227, 244, 0.25);
    border-radius: var(--r-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand-100);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-emerald);
    box-shadow: 0 0 10px var(--accent-emerald);
}

.hero-title {
    font-size: clamp(2.2rem, 4.8vw, 3.8rem);
    font-weight: 800;
    margin-bottom: 22px;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.22rem);
    color: var(--text-secondary);
    max-width: 780px;
    margin: 0 auto 42px;
    line-height: 1.65;
}

.hero-subtitle strong {
    color: var(--text-white);
}

/* --- Domain Analyzer Card --- */
.domain-card-wrapper {
    margin: 0 auto 45px;
    text-align: left;
}

.domain-card {
    background: linear-gradient(180deg, rgba(17, 28, 51, 0.9) 0%, rgba(10, 16, 30, 0.95) 100%);
    border: 1px solid var(--border-bright);
    border-radius: var(--r-xl);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(17, 69, 137, 0.25);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    overflow: hidden;
}

.card-topbar {
    background: rgba(12, 20, 38, 0.9);
    padding: 16px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-subtle);
    flex-wrap: wrap;
    gap: 12px;
}

.topbar-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.topbar-title i {
    color: var(--brand-100);
}

.topbar-chip {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent-emerald);
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 3px 10px;
    border-radius: var(--r-full);
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-body {
    padding: 30px;
}

.domain-form {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.input-container {
    flex: 1;
    min-width: 280px;
    background: rgba(6, 10, 20, 0.9);
    border: 1px solid var(--border-bright);
    border-radius: var(--r-full);
    display: flex;
    align-items: center;
    padding: 0 20px;
    transition: var(--transition);
}

.input-container:focus-within {
    border-color: var(--brand-100);
    box-shadow: 0 0 0 3px rgba(17, 69, 137, 0.35);
}

.input-prefix {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
    user-select: none;
    margin-right: 6px;
}

.domain-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    padding: 16px 0;
}

.domain-input::placeholder {
    color: var(--text-muted);
    font-weight: 400;
}

.btn-clear {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1rem;
    cursor: pointer;
    padding: 6px;
    display: none;
}

.btn-clear:hover {
    color: #ffffff;
}

.btn-submit {
    padding: 16px 30px;
    font-size: 1rem;
}

/* Sample Pills */
.sample-pills {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 0.85rem;
}

.sample-label {
    color: var(--text-muted);
    font-weight: 500;
}

.pill-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    padding: 6px 14px;
    border-radius: var(--r-full);
    font-family: var(--font-body);
    font-size: 0.82rem;
    cursor: pointer;
    transition: var(--transition);
}

.pill-btn:hover {
    background: rgba(17, 69, 137, 0.3);
    border-color: var(--border-bright);
    color: #ffffff;
    transform: translateY(-1px);
}

/* --- Scanner Simulation --- */
.scanner-panel {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--border-subtle);
}

.scan-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.scan-target {
    color: var(--text-primary);
}

.scan-target strong {
    color: var(--brand-100);
}

.scan-percent {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--brand-100);
}

.scan-bar-track {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--r-full);
    overflow: hidden;
    margin-bottom: 16px;
}

.scan-bar-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--brand-600), var(--brand-100));
    border-radius: var(--r-full);
    transition: width 0.2s ease;
}

.scan-log {
    background: rgba(6, 10, 20, 0.6);
    border: 1px solid var(--border-subtle);
    border-radius: var(--r-sm);
    padding: 10px 16px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.scan-log i {
    color: var(--brand-100);
}

/* --- Audit Result Panel --- */
.audit-result-panel {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--border-subtle);
    animation: fadeIn 0.35s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.audit-card-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.audit-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.audit-header-row h4 {
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.audit-header-row p {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.audit-status {
    background: rgba(234, 88, 12, 0.12);
    border: 1px solid rgba(234, 88, 12, 0.35);
    color: #fdba74;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--r-full);
    display: flex;
    align-items: center;
    gap: 6px;
}

.metrics-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
}

.metric-cell {
    background: rgba(6, 10, 20, 0.8);
    border: 1px solid var(--border-subtle);
    border-radius: var(--r-md);
    padding: 14px;
    text-align: center;
}

.cell-num {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 6px;
}

.cell-num.danger { color: var(--accent-red); }
.cell-num.warn { color: var(--accent-amber); }
.cell-num.good { color: var(--accent-emerald); }

.cell-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.audit-cta-banner {
    background: rgba(17, 69, 137, 0.2);
    border: 1px solid rgba(214, 227, 244, 0.2);
    border-radius: var(--r-md);
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.cta-banner-text h5 {
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.cta-banner-text p {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

/* --- Stats Strip --- */
.stats-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    padding-top: 10px;
}

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
}

.stat-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.stat-sep {
    width: 1px;
    height: 32px;
    background: var(--border-subtle);
}

/* --- Section Commons --- */
.section {
    padding: 85px 0;
    position: relative;
}

.section-alt {
    background: rgba(14, 23, 44, 0.4);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.section-header {
    text-align: center;
    max-width: 740px;
    margin: 0 auto 50px;
}

.section-tag {
    display: inline-block;
    color: var(--brand-100);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.9rem, 3.5vw, 2.6rem);
    margin-bottom: 14px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.02rem;
}

/* --- Process Grid --- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 22px;
}

.process-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--r-lg);
    padding: 30px 24px;
    position: relative;
    transition: var(--transition);
}

.process-card:hover {
    border-color: var(--border-bright);
    transform: translateY(-3px);
}

.step-badge {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--brand-600);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.process-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

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

.process-card code {
    background: rgba(255, 255, 255, 0.08);
    color: var(--brand-100);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.85em;
}

/* --- ROI Calculator Layout --- */
.calc-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 40px;
    align-items: center;
}

.calc-info h2 {
    font-size: clamp(1.8rem, 2.6vw, 2.3rem);
    margin-bottom: 16px;
}

.calc-info p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 24px;
}

.calc-benefits-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.calc-benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.92rem;
    color: var(--text-primary);
}

.calc-benefit-item i {
    color: var(--accent-emerald);
}

.calc-panel {
    background: var(--bg-surface);
    border: 1px solid var(--border-bright);
    border-radius: var(--r-xl);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.calc-slider-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
    font-weight: 600;
}

.slider-display {
    color: var(--brand-100);
    font-family: var(--font-heading);
    font-weight: 700;
}

.brand-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    outline: none;
}

.brand-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--brand-600);
    border: 2px solid var(--brand-100);
    cursor: pointer;
}

.calc-results-box {
    background: rgba(6, 10, 20, 0.7);
    border: 1px solid var(--border-subtle);
    border-radius: var(--r-md);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.92rem;
}

.result-label {
    color: var(--text-secondary);
}

.result-val {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
}

.val-danger { color: #f87171; }
.val-success { color: #34d399; }

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

.feature-box {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--r-lg);
    padding: 30px;
    transition: var(--transition);
}

.feature-box:hover {
    border-color: var(--border-bright);
    transform: translateY(-3px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(17, 69, 137, 0.25);
    color: var(--brand-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 18px;
    border: 1px solid rgba(214, 227, 244, 0.15);
}

.feature-box h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

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

/* --- FAQ Accordion --- */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    border-color: var(--border-bright);
}

.faq-header {
    width: 100%;
    padding: 20px 24px;
    background: transparent;
    border: none;
    color: var(--text-white);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    gap: 16px;
}

.faq-header i {
    font-size: 0.85rem;
    color: var(--brand-100);
    transition: transform 0.25s ease;
}

.faq-item.active .faq-header i {
    transform: rotate(45deg);
}

.faq-body {
    padding: 0 24px 20px;
    color: var(--text-secondary);
    font-size: 0.92rem;
    display: none;
    line-height: 1.65;
}

.faq-item.active .faq-body {
    display: block;
}

.faq-body code {
    background: rgba(255, 255, 255, 0.08);
    color: var(--brand-100);
    padding: 2px 6px;
    border-radius: 4px;
}

/* --- Banner CTA --- */
.banner-section {
    padding: 70px 0;
}

.banner-card {
    background: linear-gradient(135deg, rgba(17, 69, 137, 0.4) 0%, rgba(12, 47, 93, 0.3) 100%);
    border: 1px solid var(--border-bright);
    border-radius: var(--r-xl);
    padding: 55px 35px;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.banner-content {
    max-width: 680px;
    margin: 0 auto;
}

.banner-tag {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--brand-100);
    letter-spacing: 0.12em;
    display: block;
    margin-bottom: 12px;
}

.banner-card h2 {
    font-size: clamp(1.9rem, 3.2vw, 2.5rem);
    margin-bottom: 14px;
}

.banner-card p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 28px;
}

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

/* --- Footer --- */
.footer {
    background: #050914;
    border-top: 1px solid var(--border-subtle);
    padding: 60px 0 25px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 45px;
}

.footer-logo-svg {
    height: 32px;
    width: auto;
    display: block;
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin: 16px 0;
    max-width: 320px;
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.footer-contact a {
    color: var(--brand-100);
    text-decoration: none;
}

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

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

.footer-col a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s ease;
}

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

.security-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: var(--r-md);
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.security-card i {
    color: var(--accent-emerald);
    font-size: 1.1rem;
    margin-top: 2px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 22px;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 12px;
}

.footer-sys {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-emerald);
}

.status-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-emerald);
}

/* --- Modal --- */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(3, 6, 14, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: fadeIn 0.2s ease;
}

.modal-card {
    background: #0d1527;
    border: 1px solid var(--border-bright);
    border-radius: var(--r-xl);
    width: 100%;
    max-width: 540px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
    overflow: hidden;
}

.modal-header {
    background: #111c33;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-subtle);
}

.modal-title {
    font-size: 0.98rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-white);
    font-family: var(--font-heading);
}

.modal-title i {
    color: var(--brand-100);
}

.modal-close {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: var(--text-primary);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--accent-red);
    color: #ffffff;
}

.modal-body {
    padding: 26px;
}

.target-domain-box {
    background: rgba(17, 69, 137, 0.15);
    border: 1px solid rgba(214, 227, 244, 0.2);
    border-radius: var(--r-sm);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.92rem;
}

.target-domain-box strong {
    color: var(--brand-100);
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 7px;
    color: var(--text-primary);
}

.form-group input, .form-group textarea {
    width: 100%;
    background: rgba(6, 10, 20, 0.9);
    border: 1px solid var(--border-bright);
    border-radius: var(--r-sm);
    padding: 11px 14px;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--brand-100);
    box-shadow: 0 0 0 3px rgba(17, 69, 137, 0.3);
}

.success-state {
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-emerald);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}

.success-state h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.success-state p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-bottom: 22px;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .calc-layout {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .domain-form {
        flex-direction: column;
    }
    
    .card-body {
        padding: 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-strip {
        gap: 16px;
    }
    
    .stat-sep {
        display: none;
    }
}
