/*
Theme Name: Rekonit
Theme URI: https://rekonit.com
Author: Rekonit Team
Author URI: https://rekonit.com
Description: Сучасна кастомна тема для лендінгу компанії REKONIT. Преміум дизайн з акцентом на конверсію, українською мовою. Оптимізована під послуги розробки ПЗ, аутсорсингу та аутстаффінгу.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rekonit
Tags: custom-theme, landing-page, dark-theme, business, software-development
*/

/* =============================================
   REKONIT CUSTOM WORDPRESS THEME
   Based on high-converting landing design
   ============================================= */

:root {
    --accent: #00f0ff;
    --darkbg: #060913;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: linear-gradient(180deg, #091326 0%, #040710 20%, #03050b 50%, #040813 80%, #091e36 100%) !important;
    color: #e2e8f0;
    position: relative;
    overflow-x: hidden;
}

/* Layer sections so text/buttons remain interactive */
nav, section, footer {
    position: relative;
}

/* Ambient background lights */
.ambient-glow-top {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1400px;
    height: 900px;
    background: radial-gradient(ellipse at top, rgba(0, 240, 255, 0.16) 0%, rgba(0, 240, 255, 0.04) 40%, rgba(0, 240, 255, 0) 70%);
    filter: blur(100px);
    pointer-events: none;
    z-index: -1;
}

body:not(.rekonit-landing) .ambient-glow-middle,
body:not(.rekonit-landing) .ambient-glow-right {
    display: none;
}

.ambient-glow-middle {
    position: absolute;
    top: 1500px;
    left: -200px;
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.06) 0%, rgba(0, 240, 255, 0) 70%);
    filter: blur(130px);
    pointer-events: none;
    z-index: -1;
}

.ambient-glow-right {
    position: absolute;
    top: 2800px;
    right: -250px;
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.05) 0%, rgba(0, 240, 255, 0) 70%);
    filter: blur(130px);
    pointer-events: none;
    z-index: -1;
}

.ambient-glow-bottom {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1400px;
    height: 800px;
    background: radial-gradient(ellipse at bottom, rgba(0, 240, 255, 0.22) 0%, rgba(0, 240, 255, 0.06) 45%, rgba(0, 240, 255, 0) 75%);
    filter: blur(100px);
    pointer-events: none;
    z-index: -1;
}

h1, .hero-title, .section-header, .font-serif-display {
    font-family: 'Instrument Serif', 'Playfair Display', Georgia, serif;
    font-weight: 400;
    color: #ffffff;
    letter-spacing: -0.01em;
}

h2, h3, h4, h5, h6, .font-display {
    font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
    font-weight: 600;
    color: #ffffff;
}

.section-header {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 400;
    color: #ffffff;
}

/* Base elements overrides */
a {
    color: var(--accent);
    transition: color 0.2s ease;
}
a:hover {
    color: #67f6ff;
}

/* Glassmorphism cards */
.glass {
    background: rgba(13, 20, 38, 0.6) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

nav.glass {
    background: rgba(13, 20, 38, 0.7) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 9999px !important;
}

.header-logo {
    flex-shrink: 0;
    white-space: nowrap;
}

.header-nav {
    isolation: isolate;
}

.header-nav-links {
    max-width: 100%;
}

.header-actions {
    position: relative;
    z-index: 2;
    isolation: isolate;
}

@media (min-width: 768px) and (max-width: 1023px) {
    .header-nav .nav-link-calculator {
        display: none;
    }

    .header-nav {
        padding-right: 0.75rem;
    }

    .header-actions {
        padding-left: 0.75rem;
    }
}

@media (min-width: 1024px) and (max-width: 1279px) {
    .header-nav {
        padding-right: 1rem;
    }

    .header-actions {
        padding-left: 1rem;
    }
}

/* Navigation Links */
.nav-link {
    color: #94a3b8;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-link:hover, .nav-active {
    color: #ffffff;
}

/* Active navigation dot/line */
.nav-active {
    position: relative;
}
.nav-active:after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
}

/* Hero Section background glow */
#hero {
    position: relative;
    overflow: hidden;
}
#hero::before {
    content: '';
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.16) 0%, rgba(0, 229, 255, 0.05) 50%, rgba(6, 9, 19, 0) 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

/* Card hover animation */
.service-card, .pricing-card {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    right: -60px;
    top: -60px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.08) 0%, rgba(0, 240, 255, 0) 70%);
    filter: blur(25px);
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 240, 255, 0.3) !important;
    box-shadow: 0 20px 40px -15px rgba(0, 240, 255, 0.15);
}

.service-card:hover::after {
    background: radial-gradient(circle, rgba(0, 240, 255, 0.18) 0%, rgba(0, 240, 255, 0) 70%);
    right: -40px;
    top: -40px;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
}

.pricing-card.recommended {
    border-color: var(--accent) !important;
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.15) !important;
}
.pricing-card.recommended:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 0 35px rgba(0, 240, 255, 0.25) !important;
}

/* Buttons */
.primary-cta {
    background: #00f0ff !important;
    color: #060913 !important;
    font-weight: 600;
    border-radius: 9999px !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.45) !important;
    border: none !important;
}
.primary-cta:hover {
    background: #33f3ff !important;
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.75) !important;
}
.primary-cta:active {
    transform: translateY(0);
}

.secondary-cta {
    background: rgba(0, 240, 255, 0.03) !important;
    border: 1.5px solid rgba(0, 240, 255, 0.45) !important;
    color: #00f0ff !important;
    border-radius: 9999px !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.1) !important;
}
.secondary-cta:hover {
    background: rgba(0, 240, 255, 0.08) !important;
    border-color: #00f0ff !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.4) !important;
}
.secondary-cta:active {
    transform: translateY(0);
}

/* Pulse animation */
.pulse {
    animation: pulse-glow 2.5s infinite;
}
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(0, 240, 255, 0.15);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
    }
}

/* Form inputs styling */
input, textarea, select {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: all 0.2s ease;
}
input:focus, textarea:focus, select:focus {
    border-color: var(--accent) !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.15);
}
select option {
    background-color: #0d1527;
    color: #ffffff;
}

.custom-lead-form [name="phone"].is-invalid,
.custom-lead-form [name="email"].is-invalid {
    border-color: #f87171 !important;
    box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.35);
}

/* Accordion details styling */
details summary::-webkit-details-marker {
    display: none;
}
details summary {
    list-style: none;
    outline: none;
}
details summary::after {
    content: '\f067'; /* Plus icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}
details[open] summary::after {
    content: '\f068'; /* Minus icon */
    color: var(--accent);
}

/* Tech badges */
.tech-badge {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}

/* Scroll Fade In */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}
.stagger-1 { transition-delay: 100ms; }
.stagger-2 { transition-delay: 200ms; }
.stagger-3 { transition-delay: 300ms; }

/* Responsive adjustments */
@media (max-width: 768px) {
    .section-header {
        font-size: 2.25rem;
    }
}

/* Logo Styling & Animations */
.site-logo {
    font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
    font-weight: 500;
    text-transform: lowercase;
    color: var(--accent) !important;
    text-decoration: none !important;
    letter-spacing: -0.03em;
    display: inline-flex;
    align-items: center;
    position: relative;
    transition: text-shadow 0.3s ease;
}

.site-logo:hover {
    color: var(--accent) !important;
    text-shadow: 0 0 12px rgba(0, 240, 255, 0.5);
}

.logo-part-o {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.1em;
    height: 1.1em;
    position: relative;
    margin: 0 0.05em;
}

.logo-o-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.logo-part-left, .logo-part-right {
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Header Logo: Quantum Core Rotation & Pulse */
.header-logo .o-ring-inner {
    transform-origin: center;
    animation: rotateCore 6s linear infinite;
}

.header-logo .o-ring-sketch {
    transform-origin: center;
    animation: rotateSketch 10s linear infinite reverse;
}

.header-logo .o-ring-glow {
    animation: pulseCore 2.5s ease-in-out infinite alternate;
}

@keyframes rotateCore {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes rotateSketch {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulseCore {
    0% {
        opacity: 0.2;
        stroke-width: 1.5px;
    }
    100% {
        opacity: 0.7;
        stroke-width: 4px;
    }
}

/* Header Logo Hover animation */
.header-logo:hover .o-ring-inner {
    animation: rotateCore 1.5s linear infinite;
    stroke: #ffffff;
    filter: drop-shadow(0 0 8px var(--accent));
}

.header-logo:hover .logo-part-left {
    transform: translateX(-4px);
}
.header-logo:hover .logo-part-right {
    transform: translateX(4px);
}

/* Footer Logo: Slow Breathing Glow + Particle Ripple Ring */
.footer-logo .o-ring-inner {
    animation: breathCore 4s ease-in-out infinite;
}

.footer-logo .o-ring-sketch {
    transform-origin: center;
    animation: rotateCore 15s linear infinite;
}

.footer-logo .logo-part-o::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    border: 1.5px solid var(--accent);
    border-radius: 50%;
    animation: rippleRing 4s cubic-bezier(0.1, 0.8, 0.3, 1) infinite;
    pointer-events: none;
    opacity: 0;
}

@keyframes breathCore {
    0%, 100% {
        stroke-width: 1px;
        filter: drop-shadow(0 0 2px var(--accent));
        opacity: 0.8;
    }
    50% {
        stroke-width: 2.5px;
        filter: drop-shadow(0 0 8px var(--accent));
        opacity: 1;
    }
}

@keyframes rippleRing {
    0% {
        width: 50%;
        height: 50%;
        opacity: 0.9;
    }
    100% {
        width: 170%;
        height: 170%;
        opacity: 0;
    }
}

/* CSS classes for SVG ring paths */
.o-ring-glow {
    fill: none;
    stroke: var(--accent);
    stroke-width: 2px;
    opacity: 0.3;
    filter: blur(2px);
}

.o-ring-inner {
    fill: none;
    stroke: var(--accent);
    stroke-width: 1.8px;
    stroke-linecap: round;
    filter: drop-shadow(0 0 3px var(--accent));
    transition: all 0.3s ease;
}

.o-ring-sketch {
    fill: none;
    stroke: #67f6ff;
    stroke-width: 0.8px;
    stroke-dasharray: 45 15;
    opacity: 0.7;
}

/* Trust Badge Neon Upgrades */
.trust-badge {
    background: rgba(0, 240, 255, 0.03);
    border: 1px solid rgba(0, 240, 255, 0.12);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.03), inset 0 0 10px rgba(0, 240, 255, 0.01);
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.trust-badge:hover {
    border-color: rgba(0, 240, 255, 0.25);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.08), inset 0 0 12px rgba(0, 240, 255, 0.04);
}

.trust-circle {
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 1.5px solid currentColor;
    background: #060913;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.trust-circle-cyan {
    color: var(--accent);
    box-shadow: 0 0 8px rgba(0, 240, 255, 0.3);
}

.trust-circle-purple {
    color: #a855f7;
    box-shadow: 0 0 8px rgba(168, 85, 247, 0.3);
}

.trust-circle-green {
    color: #10b981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.3);
}

.trust-badge:hover .trust-circle {
    transform: translateY(-2px) scale(1.08);
}

.trust-badge:hover .trust-circle-cyan {
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.5);
}

.trust-badge:hover .trust-circle-purple {
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.5);
}

.trust-badge:hover .trust-circle-green {
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.5);
}

/* =============================================
   PRELOADER & LOAD ANIMATIONS
   ============================================= */

/* Prevent scroll while preloader is active */
body.preloader-active {
    overflow: hidden !important;
}

#rekonit-preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #060913;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
                visibility 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 1;
    visibility: visible;
}

#rekonit-preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    z-index: 10;
}

.preloader-logo {
    font-size: 3.5rem; /* ~6xl on desktop */
}

@media (max-width: 768px) {
    .preloader-logo {
        font-size: 2.25rem; /* ~4xl on mobile */
    }
}

.preloader-progress-container {
    width: 12rem; /* 192px / w-48 */
    height: 3px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 9999px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.preloader-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    box-shadow: 0 0 12px var(--accent);
    animation: preloaderProgress 3.5s cubic-bezier(0.1, 0.8, 0.1, 1) forwards;
}

.preloader-status {
    font-size: 10px;
    font-family: monospace;
    letter-spacing: 0.2em;
    color: rgba(0, 240, 255, 0.5);
    text-transform: uppercase;
    margin-top: 0.5rem;
}

.preloader-ambient-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.08) 0%, transparent 60%);
    filter: blur(50px);
    pointer-events: none;
    z-index: 1;
}

.preloader-copyright {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 9px;
    font-family: monospace;
    letter-spacing: 0.3em;
    color: #475569;
    text-transform: uppercase;
    pointer-events: none;
    user-select: none;
}

/* Preloader Logo Custom Animations (Faster & more dynamic) */
.preloader-logo .o-ring-inner {
    transform-origin: center;
    animation: rotateCore 1.2s linear infinite; /* Faster rotation during loading */
}

.preloader-logo .o-ring-sketch {
    transform-origin: center;
    animation: rotateSketch 3s linear infinite reverse;
}

.preloader-logo .o-ring-glow {
    animation: pulseCore 1.2s ease-in-out infinite alternate;
}

/* Subtle continuous slide of left/right parts */
.preloader-logo .logo-part-left {
    animation: preloaderSlideLeft 1.5s cubic-bezier(0.25, 0.8, 0.25, 1) infinite alternate;
}

.preloader-logo .logo-part-right {
    animation: preloaderSlideRight 1.5s cubic-bezier(0.25, 0.8, 0.25, 1) infinite alternate;
}

@keyframes preloaderSlideLeft {
    0% {
        transform: translateX(0);
        opacity: 0.8;
    }
    100% {
        transform: translateX(-10px);
        opacity: 1;
        text-shadow: 0 0 15px rgba(0, 240, 255, 0.6);
    }
}

@keyframes preloaderSlideRight {
    0% {
        transform: translateX(0);
        opacity: 0.8;
    }
    100% {
        transform: translateX(10px);
        opacity: 1;
        text-shadow: 0 0 15px rgba(0, 240, 255, 0.6);
    }
}

@keyframes preloaderProgress {
    0% {
        width: 0%;
    }
    30% {
        width: 45%;
    }
    75% {
        width: 85%;
    }
    100% {
        width: 95%;
    }
}

/* =============================================
   LANDING FUNNEL — Calculator, Charts, Comparison
   ============================================= */

.calc-slider {
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.08);
    outline: none;
    cursor: pointer;
}

.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.5);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.calc-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.calc-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border: none;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.5);
    cursor: pointer;
}

.calc-result-card {
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.calc-result-highlight {
    border-color: rgba(0, 240, 255, 0.2);
    background: rgba(0, 240, 255, 0.04);
}

.chart-bar-track {
    height: 10px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.chart-bar {
    height: 100%;
    border-radius: 9999px;
    transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.chart-bar-before {
    background: linear-gradient(90deg, #f87171, #ef4444);
}

.chart-bar-after {
    background: linear-gradient(90deg, #00f0ff, #10b981);
}

.chart-line {
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
}

.chart-area-wrap svg {
    max-height: 220px;
}

.comparison-table th,
.comparison-table td {
    min-width: 120px;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    min-width: 180px;
}

.process-step {
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.process-step:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 240, 255, 0.2) !important;
}

.case-card,
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-card:hover,
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px -12px rgba(0, 240, 255, 0.12);
}

.stat-number {
    background: linear-gradient(135deg, #ffffff 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 768px) {
    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.75rem;
        min-width: 90px;
    }

    .comparison-table th:first-child,
    .comparison-table td:first-child {
        min-width: 130px;
    }
}

/* =============================================
   OFFERING FUNNEL PAGES
   ============================================= */

.rekonit-offering-funnel .offering-hero {
    position: relative;
    overflow: hidden;
}

.rekonit-offering-funnel .offering-hero::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 30%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.1) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.rekonit-offering-funnel .offering-metrics-strip {
    position: relative;
    z-index: 1;
}

.rekonit-offering-funnel .offering-offer-card {
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.08);
}

.rekonit-offering-funnel .offering-form-card {
    border: 1px solid rgba(0, 240, 255, 0.15);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.06);
}

.rekonit-offering-funnel .offering-final-cta {
    border: 1px solid rgba(0, 240, 255, 0.1);
}

.offering-sticky-cta {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 90;
    padding: 0.875rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 9999px;
    box-shadow: 0 8px 30px rgba(0, 240, 255, 0.35);
    transition: opacity 0.3s ease, transform 0.3s ease;
    animation: stickyCtaIn 0.4s ease;
}

.offering-sticky-cta.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(1rem);
}

@keyframes stickyCtaIn {
    from {
        opacity: 0;
        transform: translateY(1rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .rekonit-offering-funnel .section-header {
        font-size: 2rem;
    }

    .offering-sticky-cta {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
        text-align: center;
        justify-content: center;
    }
}

/* =============================================
   LEGAL PAGES
   ============================================= */

.rekonit-legal-page .legal-content ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.rekonit-legal-page .legal-content ul li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
}

.rekonit-legal-page .legal-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.7;
}

.rekonit-legal-page .legal-content p {
    margin-bottom: 0.75rem;
}

.rekonit-legal-page .legal-content p:last-child {
    margin-bottom: 0;
}

.rekonit-legal-page .legal-content a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.rekonit-legal-page .legal-content a:hover {
    color: #67f6ff;
}

.rekonit-legal-page .legal-content strong {
    color: #ffffff;
    font-weight: 600;
}

.rekonit-legal-page .legal-section {
    scroll-margin-top: 6rem;
}

/* =============================================
   LANGUAGE SWITCHER (DROPDOWN)
   ============================================= */

.lang-switcher {
    position: relative;
    z-index: 60;
    margin-right: 0.25rem;
}

@media (min-width: 1024px) {
    .lang-switcher {
        margin-right: 0.5rem;
    }
}

.lang-switcher-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: #cbd5e1;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.lang-switcher-toggle:hover,
.lang-switcher.is-open .lang-switcher-toggle {
    color: #ffffff;
    border-color: rgba(0, 240, 255, 0.35);
    background: rgba(0, 240, 255, 0.08);
}

.lang-switcher-icon {
    color: #00f0ff;
    font-size: 0.8rem;
}

.lang-switcher-current {
    color: #00f0ff;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.lang-switcher-name {
    display: none;
}

.lang-switcher-chevron {
    font-size: 0.6rem;
    opacity: 0.7;
    transition: transform 0.2s ease;
}

.lang-switcher.is-open .lang-switcher-chevron {
    transform: rotate(180deg);
}

.lang-switcher-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 11rem;
    margin: 0;
    padding: 0.35rem;
    list-style: none;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(6, 9, 19, 0.96);
    backdrop-filter: blur(16px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.lang-switcher-menu[hidden] {
    display: none;
}

.lang-switcher-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.55rem 0.65rem;
    border-radius: 0.75rem;
    color: #94a3b8;
    font-size: 0.75rem;
    text-decoration: none;
    transition: color 0.2s ease, background 0.2s ease;
}

.lang-switcher-option:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.lang-switcher-option.is-active {
    color: #00f0ff;
    background: rgba(0, 240, 255, 0.1);
}

.lang-switcher-option-label {
    min-width: 1.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.lang-switcher-option-name {
    flex: 1;
}

.lang-switcher-check {
    font-size: 0.65rem;
    opacity: 0.9;
}

#mobile-menu .lang-switcher {
    width: 100%;
}

#mobile-menu .lang-switcher-toggle {
    width: 100%;
    justify-content: space-between;
}

#mobile-menu .lang-switcher-name {
    display: inline;
    color: #94a3b8;
}

#mobile-menu .lang-switcher-menu {
    position: static;
    width: 100%;
    margin-top: 0.35rem;
    box-shadow: none;
}

@media (min-width: 1024px) {
    .lang-switcher-name {
        display: inline;
        color: #94a3b8;
    }
}