:root {
    --color-primary: #38BDF8;
    --color-primary-hover: #0284C7;
    --color-secondary: #94A3B8;
    --color-accent: #00F0FF;
    --color-accent-subtle: rgba(0, 240, 255, 0.12);
    --color-bg: #0A0E17;
    --color-bg-secondary: #111726;
    --color-surface: #161F33;
    --color-surface-elevated: #1E2A45;
    --color-text-primary: #F8FAFC;
    --color-text-secondary: #94A3B8;
    --color-text-muted: #64748B;
    --color-border-subtle: rgba(255, 255, 255, 0.08);
    --color-border-metallic: rgba(226, 232, 240, 0.2);
    --color-border-highlight: rgba(56, 189, 248, 0.4);
    --font-primary: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-secondary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background-color: #0A0E17;
    color: #F8FAFC;
    font-family: var(--font-secondary);
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    background-color: #0A0E17;
    color: #F8FAFC;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
}

.text-muted {
    color: #94A3B8 !important;
}

.font-mono-rates {
    font-family: var(--font-mono);
}

.liquid-border-top {
    border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.metallic-surface {
    background: linear-gradient(180deg, #182238 0%, #0F1728 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* ===== header ===== */
.obmens-header {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
}

.obmens-header .obmens-nav-link {
    position: relative;
    letter-spacing: -0.01em;
}

.obmens-header .obmens-nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: #00F0FF;
    transition: width 0.2s ease;
}

.obmens-header .obmens-nav-link:hover::after {
    width: 100%;
}

.obmens-header .obmens-header-cta {
    letter-spacing: -0.01em;
}

.obmens-header .obmens-burger-btn:active {
    transform: scale(0.96);
}

html {
    scroll-behavior: smooth;
}

/* ===== hero ===== */
.hero-section .hero-gradient-text {
    background: linear-gradient(135deg, #00F0FF 0%, #38BDF8 50%, #6366F1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-section .hero-form-card {
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.hero-section .hero-input::placeholder {
    color: #64748B;
    opacity: 1;
}

.hero-section .hero-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2394A3B8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11.5l-5-5h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
}

.hero-section .hero-btn-primary:hover,
.hero-section .hero-submit-btn:hover {
    filter: brightness(1.08);
}

.hero-section .hero-btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background-color: #1E2A45;
}

/* ===== calculator ===== */
.calc-section .calc-radial-glow {
    background: radial-gradient(circle, rgba(56, 189, 248, 0.12) 0%, rgba(10, 14, 23, 0) 70%);
}

.calc-section input[type="number"]::-webkit-inner-spin-button,
.calc-section input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.calc-section input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.calc-section .calc-input-group input::placeholder {
    color: #64748B;
    opacity: 1;
}

.calc-section select option,
.calc-section select optgroup {
    background-color: #0D1322;
    color: #F8FAFC;
}

/* ===== tariffs ===== */
.tariffs-block input::placeholder {
    color: #64748B;
    opacity: 1;
}

.tariffs-block .tariff-card {
    position: relative;
    will-change: transform, border-color;
}

.tariffs-block .tariff-card.active {
    border-color: #38BDF8;
    background-color: #161F33;
}

.tariffs-block .tariff-card:hover {
    border-color: rgba(56, 189, 248, 0.5);
}

.tariffs-block .tariff-form-wrap {
    position: relative;
    background-clip: padding-box;
}

/* ===== how_it_works ===== */
.how-it-works-section {
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.how-it-works-section img {
    display: block;
    max-width: 100%;
    height: auto;
}

.how-it-works-section a {
    text-decoration: none;
}

/* ===== cost_of_inaction ===== */
.cost-of-inaction-block input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
}

.cost-of-inaction-block input[type="range"]::-webkit-slider-runnable-track {
    height: 8px;
    border-radius: 8px;
}

.cost-of-inaction-block input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #00F0FF;
    cursor: pointer;
    border: 2px solid #0A0E17;
    box-shadow: 0 0 8px rgba(0, 240, 255, 0.6);
    margin-top: -5px;
}

.cost-of-inaction-block input[type="range"]::-moz-range-track {
    height: 8px;
    border-radius: 8px;
    background: #161F33;
}

.cost-of-inaction-block input[type="range"]::-moz-range-progress {
    height: 8px;
    border-radius: 8px;
    background: linear-gradient(90deg, #00F0FF 0%, #38BDF8 100%);
}

.cost-of-inaction-block input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #00F0FF;
    cursor: pointer;
    border: 2px solid #0A0E17;
    box-shadow: 0 0 8px rgba(0, 240, 255, 0.6);
}

.cost-of-inaction-block select option {
    background-color: #0D1322;
    color: #F8FAFC;
}

/* ===== team ===== */
#team-section .team-card {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

#team-section .team-card:hover {
    background-color: #172238;
}

/* ===== case_study ===== */
.case-study-section {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.case-study-section h2,
.case-study-section h3 {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
}

.case-study-section .font-mono {
    font-family: 'JetBrains Mono', monospace;
}

.case-study-section .case-study-btn {
    background: linear-gradient(135deg, #00F0FF 0%, #38BDF8 50%, #0284C7 100%);
    box-shadow: 0 4px 16px rgba(0, 240, 255, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.case-study-section .case-study-btn:hover {
    filter: brightness(1.08);
}

/* ===== directions_grid ===== */
.directions-grid-section {
    background-color: #0A0E17;
}

.directions-grid-section .directions-card {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.directions-grid-section .directions-card:hover {
    border-color: rgba(56, 189, 248, 0.4);
    background-color: #172238;
}

.directions-grid-section .directions-card-title a {
    color: #F8FAFC;
    text-decoration: none;
}

.directions-grid-section .directions-card-text {
    hyphens: auto;
}

.directions-grid-section .directions-card-img-link {
    display: block;
}

.directions-grid-section .directions-card-image {
    transition: transform 0.2s ease-in-out;
}

.directions-grid-section .directions-card:hover .directions-card-image {
    transform: scale(1.03);
}

/* ===== footer ===== */
.obmens-footer {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.obmens-footer-link {
    transition: color 0.2s ease;
}

.obmens-header {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
}

.obmens-header .obmens-nav-link {
    position: relative;
    letter-spacing: -0.01em;
}

.obmens-header .obmens-nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: #00F0FF;
    transition: width 0.2s ease;
}

.obmens-header .obmens-nav-link:hover::after {
    width: 100%;
}

.obmens-header .obmens-header-cta {
    letter-spacing: -0.01em;
}

.obmens-header .obmens-burger-btn:active {
    transform: scale(0.96);
}

.kb-articles-section .js-kb-card {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.kb-articles-section #kb-search-input::placeholder {
    color: #64748B;
    opacity: 1;
}

.obmens-footer {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.obmens-footer-link {
    transition: color 0.2s ease;
}


/* ===== PAGE: about ===== */
.about-info-page .about-stat-card { transition: transform 0.2s ease, border-color 0.2s ease; } .about-info-page .about-stat-card:hover { transform: translateY(-3px); border-color: rgba(56, 189, 248, 0.4); } .about-info-page .js-tab-btn { cursor: pointer; } .about-info-page .js-faq-toggle { cursor: pointer; } .about-info-page .js-faq-icon.rotate-180 { transform: rotate(180deg); }

/* ===== PAGE: contacts ===== */
.contacts-page-block input::placeholder, .contacts-page-block textarea::placeholder { color: #64748B; opacity: 1; } .contacts-page-block .contacts-card { position: relative; }

/* ===== PAGE: privacy ===== */
.privacy-section input::placeholder {
  color: #64748B;
  opacity: 1;
}
.privacy-section .js-nav-link.active {
  color: #00F0FF;
  background-color: rgba(0, 240, 255, 0.08);
  border-left: 2px solid #00F0FF;
}
.privacy-section article:hover {
  border-color: rgba(56, 189, 248, 0.3);
}

/* ===== PAGE: terms ===== */
.terms-content-section { font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif; }
.terms-content-section a { text-decoration-skip-ink: auto; }
.terms-content-section .terms-nav-item.active { color: #00F0FF; background: rgba(0, 240, 255, 0.12); border-left: 2px solid #00F0FF; }
.terms-content-section p { word-break: break-word; hyphens: auto; }

/* ===== PAGE: disclaimer ===== */
.disclaimer-section .js-nav-link.active {
  color: #00F0FF;
  background-color: rgba(0, 240, 255, 0.08);
  border-left-color: #38BDF8;
}

.disclaimer-section article {
  scroll-margin-top: 2rem;
}

.metal-comment-card {
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.comment-avatar {
    width: 48px;
    height: 48px;
    object-fit: cover;
    font-family: 'Space Grotesk', -apple-system, sans-serif;
    letter-spacing: 0.05em;
}

.comment-author {
    font-family: 'Space Grotesk', -apple-system, sans-serif;
}

.comment-content {
    font-family: 'Inter', -apple-system, sans-serif;
    word-break: break-word;
}

.exchange-badge {
    font-family: 'JetBrains Mono', monospace;
}

.comment-action-btn:hover i {
    filter: drop-shadow(0 0 6px rgba(0, 240, 255, 0.6));
}

.metal-reply-card {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.metal-reply-card .comment-avatar {
    width: 40px;
    height: 40px;
    object-fit: cover;
    font-family: 'Space Grotesk', -apple-system, sans-serif;
}

.metal-reply-card .comment-author {
    font-family: 'Space Grotesk', -apple-system, sans-serif;
}

.metal-reply-card .comment-content {
    font-family: 'Inter', -apple-system, sans-serif;
    word-break: break-word;
}

.verified-badge {
    font-family: 'Inter', -apple-system, sans-serif;
    font-weight: 500;
}

.metal-reply-card .comment-action-btn:hover i {
    filter: drop-shadow(0 0 6px rgba(0, 240, 255, 0.6));
}


/* ===== PAGE TEMPLATE: directions ===== */
.obmens-header {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
}

.obmens-header .obmens-nav-link {
    position: relative;
    letter-spacing: -0.01em;
}

.obmens-header .obmens-nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: #00F0FF;
    transition: width 0.2s ease;
}

.obmens-header .obmens-nav-link:hover::after {
    width: 100%;
}

.obmens-header .obmens-header-cta {
    letter-spacing: -0.01em;
}

.obmens-header .obmens-burger-btn:active {
    transform: scale(0.96);
}

.obmens-footer {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.obmens-footer-link {
    transition: color 0.2s ease;
}

.article-detail-page input::placeholder,
.article-detail-page textarea::placeholder {
    color: #64748B;
    opacity: 1;
}

.article-detail-page .detail-prose-content p {
    color: #CBD5E1;
    line-height: 1.7;
}

/* ===== PAGE TEMPLATE: news ===== */
.obmens-header {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
}

.obmens-header .obmens-nav-link {
    position: relative;
    letter-spacing: -0.01em;
}

.obmens-header .obmens-nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: #00F0FF;
    transition: width 0.2s ease;
}

.obmens-header .obmens-nav-link:hover::after {
    width: 100%;
}

.obmens-header .obmens-header-cta {
    letter-spacing: -0.01em;
}

.obmens-header .obmens-burger-btn:active {
    transform: scale(0.96);
}

.obmens-footer {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.obmens-footer-link {
    transition: color 0.2s ease;
}

.article-detail-page input::placeholder,
.article-detail-page textarea::placeholder {
    color: #64748B;
    opacity: 1;
}

.article-detail-page .detail-prose-content p {
    color: #CBD5E1;
    line-height: 1.7;
}

/* ===== PAGE TEMPLATE: knowledge_base ===== */
.obmens-header {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
}

.obmens-header .obmens-nav-link {
    position: relative;
    letter-spacing: -0.01em;
}

.obmens-header .obmens-nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: #00F0FF;
    transition: width 0.2s ease;
}

.obmens-header .obmens-nav-link:hover::after {
    width: 100%;
}

.obmens-header .obmens-header-cta {
    letter-spacing: -0.01em;
}

.obmens-header .obmens-burger-btn:active {
    transform: scale(0.96);
}

.obmens-footer {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.obmens-footer-link {
    transition: color 0.2s ease;
}

.article-detail-page input::placeholder,
.article-detail-page textarea::placeholder {
    color: #64748B;
    opacity: 1;
}

.article-detail-page .detail-prose-content p {
    color: #CBD5E1;
    line-height: 1.7;
}