
/* Strict [hidden] enforcement to prevent premature success/error alerts */
[hidden] {
  display: none !important;
}
[data-success][hidden],
[data-error][hidden],
.form-success[hidden],
.form-alert--success[hidden],
.success-box[hidden],
.form-alert-success[hidden] {
  display: none !important;
}

/* ==========================================================================
   Kup-Prava.icu — Корпоративный доверительный стиль (Navy & Gold)
   ========================================================================== */

:root {
    --bg-dark: #090e17;
    --bg-navy: #0f172a;
    --bg-navy-light: #1e293b;
    --bg-navy-card: #182338;
    --bg-card-border: #334155;
    
    --text-white: #ffffff;
    --text-light: #f1f5f9;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    
    --accent-gold: #f59e0b;
    --accent-gold-light: #fbbf24;
    --accent-gold-dark: #d97706;
    --accent-gold-glow: rgba(245, 158, 11, 0.25);
    
    --accent-blue: #38bdf8;
    --accent-green: #10b981;
    --accent-green-bg: rgba(16, 185, 129, 0.15);
    --accent-red: #ef4444;
    
    --font-sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --container-max: 1240px;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.45);
    --shadow-gold: 0 8px 24px rgba(245, 158, 11, 0.3);
    
    --transition: all 0.25s ease-in-out;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    overflow-x: clip;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-navy);
    color: var(--text-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}

/* Accessibility */
:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 3px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-gold-light);
}

ul {
    list-style: none;
}

/* Containers & Grid */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-white);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

h1 { font-size: 2.5rem; margin-bottom: 1.25rem; }
h2 { font-size: 2rem; margin-bottom: 1rem; }
h3 { font-size: 1.4rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.15rem; margin-bottom: 0.5rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

p:last-child {
    margin-bottom: 0;
}

.text-gold { color: var(--accent-gold); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
    line-height: 1.3;
}

.btn--gold {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
    color: #0b1120 !important;
    font-weight: 700;
    box-shadow: var(--shadow-gold);
}

.btn--gold:hover {
    background: linear-gradient(135deg, var(--accent-gold-light) 0%, var(--accent-gold) 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(245, 158, 11, 0.45);
}

.btn--outline {
    background: transparent;
    color: var(--text-white) !important;
    border: 1px solid var(--bg-card-border);
}

.btn--outline:hover {
    background: var(--bg-navy-light);
    border-color: var(--accent-gold);
    color: var(--accent-gold) !important;
}

.btn--full {
    width: 100%;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.badge--state {
    background: rgba(56, 189, 248, 0.15);
    color: var(--accent-blue);
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.badge--gold {
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent-gold-light);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge--green {
    background: var(--accent-green-bg);
    color: var(--accent-green);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge--dark {
    background: var(--bg-navy-card);
    color: var(--text-muted);
    border: 1px solid var(--bg-card-border);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent-green);
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulseAnimation 2s infinite;
}

@keyframes pulseAnimation {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Top Bar */
.top-bar {
    background: var(--bg-dark);
    border-bottom: 1px solid rgba(51, 65, 85, 0.6);
    padding: 7px 0;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.top-bar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.top-bar__col {
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-bar__col--right {
    gap: 20px;
}

.top-bar__feature {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-light);
}

.top-bar__feature strong {
    color: var(--accent-gold);
}

.top-bar__feature--accent {
    color: var(--text-white);
    font-weight: 500;
}

/* Main Header */
.site-header {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--bg-card-border);
    transition: var(--transition);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    gap: 20px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo__emblem {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--bg-navy-light) 0%, var(--bg-navy-card) 100%);
    border: 1px solid var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    flex-shrink: 0;
}

.logo__text {
    display: flex;
    flex-direction: column;
}

.logo__title {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--text-white);
    line-height: 1.1;
}

.logo__domain {
    color: var(--accent-gold);
}

.logo__subtitle {
    font-size: 0.73rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.01em;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    display: block;
    padding: 8px 13px;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-light);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--accent-gold);
    background: rgba(30, 41, 59, 0.6);
}

.nav-link.active {
    color: var(--accent-gold);
    background: var(--bg-navy-light);
    font-weight: 600;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-cta {
    padding: 10px 18px;
    font-size: 0.9rem;
}

.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 40px;
    height: 40px;
    background: var(--bg-navy-light);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--radius-sm);
    padding: 9px;
    cursor: pointer;
}

.burger-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-white);
    transition: var(--transition);
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 200;
    visibility: hidden;
    transition: visibility 0.3s ease;
}

.mobile-drawer.is-open {
    visibility: visible;
}

.mobile-drawer__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-drawer.is-open .mobile-drawer__overlay {
    opacity: 1;
}

.mobile-drawer__content {
    position: absolute;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 85%;
    height: 100%;
    background: var(--bg-navy);
    border-left: 1px solid var(--bg-card-border);
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.mobile-drawer.is-open .mobile-drawer__content {
    transform: translateX(0);
}

.mobile-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--bg-card-border);
    margin-bottom: 20px;
}

.drawer-close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.mobile-nav-link {
    display: block;
    padding: 10px 14px;
    font-size: 1rem;
    color: var(--text-white);
    border-radius: var(--radius-sm);
    font-weight: 500;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
    background: var(--bg-navy-light);
    color: var(--accent-gold);
}

.mobile-drawer__footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    border-top: 1px solid var(--bg-card-border);
    padding-top: 20px;
}

.drawer-feature {
    display: flex;
    flex-direction: column;
    font-size: 0.85rem;
}

.drawer-feature strong {
    color: var(--accent-gold);
}

.drawer-feature span {
    color: var(--text-muted);
}

/* Sections General */
.section {
    padding: 70px 0;
    position: relative;
}

.section--darker {
    background-color: var(--bg-dark);
}

.section--alt {
    background-color: #0c1322;
}

.section-header {
    margin-bottom: 45px;
}

.section-header--center {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    color: var(--accent-gold);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
    display: inline-block;
}

.section-lead {
    font-size: 1.12rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-top: 12px;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 70px 0 60px 0;
    background: radial-gradient(circle at 20% 30%, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 1) 70%);
    border-bottom: 1px solid var(--bg-card-border);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
}

.hero-badge-wrap {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.hero-title {
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 18px;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-lead {
    font-size: 1.15rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 26px;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 30px;
}

.hero-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.93rem;
}

.hero-feature-item svg {
    color: var(--accent-gold);
    flex-shrink: 0;
    margin-top: 3px;
}

.hero-feature-item strong {
    color: var(--text-white);
    display: block;
}

.hero-feature-item span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Numbers / Stats Strip */
.stats-strip {
    background: var(--bg-navy-card);
    border-top: 1px solid var(--bg-card-border);
    border-bottom: 1px solid var(--bg-card-border);
    padding: 36px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-card {
    text-align: center;
    padding: 10px 16px;
    border-right: 1px solid var(--bg-card-border);
}

.stat-card:last-child {
    border-right: none;
}

.stat-card__number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: 8px;
    font-feature-settings: "tnum";
}

.stat-card__label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-white);
    display: block;
    margin-bottom: 4px;
}

.stat-card__desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Order Form Card */
.order-card {
    background: var(--bg-navy-card);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.order-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold) 0%, var(--accent-gold-light) 50%, var(--accent-gold) 100%);
    border-radius: 3px 3px 0 0;
}

.order-card__header {
    margin-bottom: 22px;
}

.order-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent-gold);
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.order-card__title {
    font-size: 1.35rem;
    margin-bottom: 6px;
}

.order-card__subtitle {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.order-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
}

.form-control {
    width: 100%;
    padding: 12px 14px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    background: var(--bg-navy);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--radius-sm);
    color: var(--text-white);
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px var(--accent-gold-glow);
    background: #0d1527;
}

.form-control::placeholder {
    color: var(--text-dim);
}

.select-wrapper {
    position: relative;
}

.select-wrapper select {
    appearance: none;
    cursor: pointer;
    padding-right: 36px;
}

.select-wrapper::after {
    content: '';
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid var(--text-muted);
    pointer-events: none;
}

.form-hint {
    font-size: 0.77rem;
    color: var(--text-dim);
}

.form-trust-bullets {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: var(--bg-navy);
    border: 1px dashed var(--bg-card-border);
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    margin: 4px 0;
}

.trust-bullet {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.trust-bullet svg {
    color: var(--accent-green);
    flex-shrink: 0;
}

.trust-bullet strong {
    color: var(--text-light);
}

.form-submit-block {
    margin-top: 4px;
}

.btn--submit {
    font-size: 1.05rem;
    padding: 14px;
    letter-spacing: 0.02em;
}

.form-privacy-note {
    font-size: 0.74rem;
    color: var(--text-dim);
    text-align: center;
    line-height: 1.35;
    margin: 0;
}

.form-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    border-radius: var(--radius-sm);
    margin-top: 10px;
    font-size: 0.88rem;
    animation: fadeIn 0.3s ease;
}

.form-alert--success {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #6ee7b7;
}

.form-alert--success svg {
    color: #34d399;
}

.form-alert--error {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #fca5a5;
}

.form-alert--error svg {
    color: #f87171;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Category Pricing Cards */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pricing-card {
    background: var(--bg-navy-card);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-lg);
}

.pricing-card--popular {
    border-color: var(--accent-gold);
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.2);
}

.pricing-card__badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
}

.pricing-card__img-wrap {
    height: 170px;
    position: relative;
    overflow: hidden;
    background: #000;
}

.pricing-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.pricing-card:hover .pricing-card__img-wrap img {
    transform: scale(1.04);
}

.pricing-card__body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.pricing-card__title-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 8px;
    gap: 10px;
}

.pricing-card__letter {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
}

.pricing-card__price {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.pricing-card__subtext {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    min-height: 42px;
}

.pricing-card__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 22px;
    border-top: 1px solid var(--bg-card-border);
    padding-top: 14px;
    flex-grow: 1;
}

.pricing-card__list li {
    font-size: 0.85rem;
    color: var(--text-light);
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.pricing-card__list li svg {
    color: var(--accent-gold);
    flex-shrink: 0;
    margin-top: 2px;
}

.pricing-card__footer {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pricing-term {
    font-size: 0.78rem;
    color: var(--text-dim);
    text-align: center;
}

/* Flow / Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
}

.step-card {
    background: var(--bg-navy-card);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--radius-md);
    padding: 24px;
    position: relative;
    transition: var(--transition);
}

.step-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-3px);
}

.step-card__num {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: var(--accent-gold);
    font-size: 1.15rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.step-card__title {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.step-card__desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Registry Verification Box */
.registry-box {
    background: var(--bg-navy-card);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--radius-lg);
    padding: 36px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.registry-box__content h3 {
    font-size: 1.6rem;
    margin-bottom: 14px;
}

.registry-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 20px;
}

.registry-item {
    display: flex;
    gap: 12px;
}

.registry-item__icon {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    background: rgba(56, 189, 248, 0.15);
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.registry-item__text h4 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.registry-item__text p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.registry-preview {
    background: #000;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--bg-card-border);
    box-shadow: var(--shadow-lg);
}

/* Comparison Table */
.comparison-wrap {
    overflow-x: auto;
    background: var(--bg-navy-card);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--radius-md);
    padding: 10px;
}

.table-corp {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
    text-align: left;
}

.table-corp th, .table-corp td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--bg-card-border);
}

.table-corp th {
    background: var(--bg-navy-light);
    color: var(--text-white);
    font-weight: 600;
}

.table-corp tr:last-child td {
    border-bottom: none;
}

.table-corp td:first-child {
    font-weight: 600;
    color: var(--text-light);
}

.td-check {
    color: var(--accent-green);
    font-weight: 600;
}

.td-bad {
    color: var(--accent-red);
}

/* FAQ Accordion */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.faq-item {
    background: var(--bg-navy-card);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    width: 100%;
    padding: 18px 22px;
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-sans);
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--text-white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.faq-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.faq-item.is-active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 22px 18px 22px;
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
    display: none;
}

.faq-item.is-active .faq-answer {
    display: block;
}

/* Reviews Grid */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.review-card {
    background: var(--bg-navy-card);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-navy-light);
    border: 1px solid var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--accent-gold);
}

.review-author h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.review-meta {
    font-size: 0.78rem;
    color: var(--text-dim);
}

.review-stars {
    color: var(--accent-gold);
    display: flex;
    gap: 2px;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.review-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.55;
    flex-grow: 1;
}

.review-badge {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--bg-card-border);
    font-size: 0.78rem;
    color: var(--accent-green);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Inner Page Hero (Banner) */
.page-hero {
    background: radial-gradient(circle at 10% 20%, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 1) 80%);
    border-bottom: 1px solid var(--bg-card-border);
    padding: 50px 0 45px 0;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-dim);
    margin-bottom: 16px;
}

.breadcrumbs a {
    color: var(--text-muted);
}

.breadcrumbs a:hover {
    color: var(--accent-gold);
}

.breadcrumbs__sep {
    color: var(--text-dim);
}

.breadcrumbs__current {
    color: var(--accent-gold);
}

.page-hero__title {
    font-size: 2.3rem;
    margin-bottom: 14px;
}

.page-hero__lead {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 820px;
    line-height: 1.6;
}

/* Content Blocks & Typography */
.content-block {
    background: var(--bg-navy-card);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--radius-md);
    padding: 32px;
    margin-bottom: 30px;
}

.content-block h2 {
    font-size: 1.6rem;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--bg-card-border);
}

.content-block h3 {
    font-size: 1.25rem;
    margin-top: 24px;
    margin-bottom: 12px;
    color: var(--accent-gold-light);
}

.info-alert {
    background: rgba(30, 41, 59, 0.6);
    border-left: 4px solid var(--accent-gold);
    padding: 18px 22px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 20px 0;
}

.info-alert--green {
    border-left-color: var(--accent-green);
    background: rgba(16, 185, 129, 0.08);
}

.info-alert__title {
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-alert p {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin: 0;
}

/* Two Column Layout */
.content-layout {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 36px;
    align-items: flex-start;
}

.sticky-sidebar {
    position: sticky;
    top: 96px;
}

/* Footer */
.site-footer {
    background: var(--bg-dark);
    border-top: 1px solid var(--bg-card-border);
    color: var(--text-muted);
}

.site-footer__top {
    padding: 60px 0 45px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
    gap: 36px;
}

.logo--footer .logo__title {
    font-size: 1.2rem;
}

.footer-brand-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 16px 0;
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.footer-col__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    position: relative;
    padding-bottom: 8px;
}

.footer-col__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-gold);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.88rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-gold);
    padding-left: 4px;
}

.footer-contact-item {
    margin-bottom: 12px;
}

.footer-contact-label {
    display: block;
    font-size: 0.78rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.footer-contact-value {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.4;
}

.footer-cta-box {
    margin-top: 18px;
}

/* Footer Stats Strip */
.site-footer__stats {
    background: rgba(15, 23, 42, 0.7);
    border-top: 1px solid rgba(51, 65, 85, 0.5);
    border-bottom: 1px solid rgba(51, 65, 85, 0.5);
    padding: 24px 0;
}

.footer-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.footer-stat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-stat-num {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent-gold);
    line-height: 1.1;
}

.footer-stat-text {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Bottom Footer */
.site-footer__bottom {
    padding: 28px 0;
    font-size: 0.8rem;
    color: var(--text-dim);
}

.footer-disclaimer {
    border-bottom: 1px solid rgba(51, 65, 85, 0.5);
    padding-bottom: 20px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-disclaimer p {
    font-size: 0.78rem;
    color: var(--text-dim);
}

.footer-disclaimer strong {
    color: var(--text-muted);
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.footer-legal-links {
    display: flex;
    gap: 18px;
}

.footer-legal-links a {
    color: var(--text-dim);
    font-size: 0.8rem;
}

.footer-legal-links a:hover {
    color: var(--accent-gold);
}

/* Modal Window */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: visibility 0.3s ease;
}

.modal.is-open {
    visibility: visible;
}

.modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 8, 16, 0.85);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.is-open .modal__overlay {
    opacity: 1;
}

.modal__dialog {
    position: relative;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 2;
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.modal.is-open .modal__dialog {
    transform: scale(1);
    opacity: 1;
}

.modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    background: var(--bg-navy);
    border: 1px solid var(--bg-card-border);
    border-radius: 50%;
    color: var(--text-muted);
    font-size: 1.5rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: var(--transition);
}

.modal__close:hover {
    color: var(--accent-gold);
    border-color: var(--accent-gold);
}

/* Responsive Media Queries */
@media (max-width: 1080px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .stat-card {
        border-right: none;
        border-bottom: 1px solid var(--bg-card-border);
        padding-bottom: 16px;
    }
}

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .content-layout {
        grid-template-columns: 1fr;
    }
    .registry-box {
        grid-template-columns: 1fr;
    }
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    .faq-grid {
        grid-template-columns: 1fr;
    }
    .main-nav {
        display: none;
    }
    .burger-btn {
        display: flex;
    }
    .top-bar__col--right .top-bar__feature:not(.top-bar__feature--accent) {
        display: none;
    }
}

@media (max-width: 640px) {
    h1 { font-size: 1.95rem; }
    h2 { font-size: 1.55rem; }
    h3 { font-size: 1.25rem; }
    
    .hero {
        padding: 40px 0;
    }
    .hero-title {
        font-size: 1.85rem;
    }
    .hero-features {
        grid-template-columns: 1fr;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .steps-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .stat-card__number {
        font-size: 2.1rem;
    }
    .top-bar {
        display: none;
    }
    .order-card {
        padding: 20px 16px;
    }
}

/* =====================================================================
   ENHANCED ARTICLE & TABLE STYLES (Kup-Prava.icu Corporate Trust)
   ===================================================================== */
.article-section {
  padding: 4rem 0;
  background: #060913;
}
.article-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.article-content {
  background: #0f172a;
  padding: 3rem;
  border-radius: 16px;
  border: 1px solid rgba(251, 191, 36, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  font-size: 1.05rem;
  line-height: 1.8;
  color: #e2e8f0;
}
@media (max-width: 768px) {
  .article-content {
    padding: 1.75rem 1.25rem;
  }
}
.article-content h2.article-h2 {
  font-size: 1.85rem;
  font-weight: 800;
  color: #f8fafc;
  margin-top: 2.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(251, 191, 36, 0.3);
  letter-spacing: -0.02em;
}
.article-content h2.article-h2--main {
  font-size: 2.25rem;
  border-bottom: 3px solid #fbbf24;
  color: #fbbf24;
  margin-top: 0;
}
@media (max-width: 768px) {
  .article-content h2.article-h2--main { font-size: 1.65rem; }
  .article-content h2.article-h2 { font-size: 1.4rem; }
}
.article-content h3.article-h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fbbf24;
  margin-top: 2rem;
  margin-bottom: 0.85rem;
}
.article-content h4.article-h4 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #f59e0b;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.article-content p.article-p {
  margin-bottom: 1.25rem;
  color: #cbd5e1;
  line-height: 1.75;
}
.article-content ul.article-list, .article-content ol.article-list {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}
.article-content ul.article-list li, .article-content ol.article-list li {
  margin-bottom: 0.6rem;
  color: #cbd5e1;
  line-height: 1.65;
}
.article-content hr.article-divider {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 3rem 0;
}

/* Callouts */
.article-content blockquote.article-callout {
  border-left: 4px solid #f59e0b;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-left-width: 4px;
  padding: 1.25rem 1.5rem;
  border-radius: 0 12px 12px 0;
  margin: 2rem 0;
  color: #e2e8f0;
}
.callout-header {
  margin-bottom: 0.6rem;
}
.callout-badge {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.callout-badge--tip { background: rgba(59, 130, 246, 0.2); color: #93c5fd; }
.callout-badge--note { background: rgba(245, 158, 11, 0.2); color: #fde68a; }
.callout-badge--warning { background: rgba(239, 68, 68, 0.2); color: #fca5a5; }
.callout-badge--important { background: rgba(245, 158, 11, 0.3); color: #fbbf24; }

/* Responsive Modern Tables */
.article-content .table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 2rem 0;
  background: #0b1120;
  border: 1px solid rgba(251, 191, 36, 0.2);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.article-content table.article-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9375rem;
  min-width: 580px;
}
.article-content table.article-table th {
  background: #020617;
  padding: 1rem 1.25rem;
  font-weight: 700;
  color: #fbbf24;
  border-bottom: 2px solid rgba(245, 158, 11, 0.4);
  white-space: nowrap;
}
.article-content table.article-table td {
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  vertical-align: middle;
}
.article-content table.article-table tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.02);
}
.article-content table.article-table tbody tr:hover td {
  background: rgba(245, 158, 11, 0.08);
}
.article-content table.article-table tr:last-child td {
  border-bottom: none;
}

/* Process Step Cards */
.article-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}
.step-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: #0b1120;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.step-card:hover {
  border-color: #fbbf24;
  transform: translateX(4px);
  background: #111a2e;
}
.step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: #f59e0b;
  color: #0f172a;
  font-weight: 800;
  font-size: 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-body {
  flex: 1;
}
.step-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: #f8fafc;
  margin-bottom: 0.25rem;
}
.step-desc {
  font-size: 0.9375rem;
  color: #94a3b8;
  line-height: 1.5;
}

/* Category Flow Cards */
.category-flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}
.category-card {
  background: #0b1120;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
}
.category-card--highlight {
  border-color: #fbbf24;
  background: rgba(251, 191, 36, 0.05);
}
.category-code {
  display: inline-block;
  background: #f59e0b;
  color: #0f172a;
  font-weight: 800;
  font-size: 1.25rem;
  padding: 0.35rem 1rem;
  border-radius: 8px;
  margin-bottom: 0.75rem;
}
.category-name {
  font-weight: 700;
  font-size: 1.1rem;
  color: #f8fafc;
  margin-bottom: 0.35rem;
}
.category-info {
  font-size: 0.875rem;
  color: #94a3b8;
}

/* Verification Result Mockup */
.verify-mockup {
  background: #0b1120;
  border: 2px solid #10b981;
  border-radius: 12px;
  padding: 1.75rem;
  margin: 2rem 0;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.15);
}
.verify-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
}
.verify-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  font-weight: 800;
  font-size: 0.875rem;
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
}
.verify-title {
  font-weight: 700;
  font-size: 1.1rem;
  color: #f8fafc;
}
.verify-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.75rem 1.5rem;
}
.verify-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
  font-size: 0.9375rem;
}
.verify-row span { color: #94a3b8; }
.verify-row strong { color: #f8fafc; }
.verify-row strong.text-green { color: #34d399; }

/* Cost Comparison Grid */
.cost-compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
.cost-card {
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid;
}
.cost-card--negative {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.25);
}
.cost-card--negative .cost-card-header {
  color: #fca5a5;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}
.cost-card--positive {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.25);
}
.cost-card--positive .cost-card-header {
  color: #6ee7b7;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}
.cost-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.cost-list li {
  padding: 0.4rem 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #cbd5e1;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
}
.cost-list li:last-child {
  border-bottom: none;
}
