@font-face {
    font-family: "Helvetica Neue";
    src:
        local("Helvetica Neue"),
        local("HelveticaNeue"),
        local("Helvetica Neue Regular"),
        local("HelveticaNeue-Regular");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Helvetica Neue";
    src:
        local("Helvetica Neue Bold"),
        local("HelveticaNeue-Bold"),
        local("Helvetica Neue");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --brand: #fddf00;
    --brand-secondary: #fdd85c;
    --brand-soft: #fff4ad;
    --ink: #111111;
    /* Black Morgan */
    --ink-2: #182327;
    --text: #1f2529;
    --muted: #6f7b84;
    --line: #c1c7c8;
    /* Corporate Gray */
    --bg: #f7f4ea;
    --card: #ffffff;
    --footer: #0c1418;
    --footer-2: #111b20;
    --white: #ffffff;

    --radius-md: 8px;
    --radius-lg: 14px;
    --radius-xl: 20px;

    /* Premium multi-layered shadows */
    --shadow-sm: 0 2px 4px -1px rgba(16, 25, 27, 0.03), 0 4px 6px -1px rgba(16, 25, 27, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(16, 25, 27, 0.05), 0 10px 15px -3px rgba(16, 25, 27, 0.08);
    --shadow-lg: 0 10px 25px -3px rgba(16, 25, 27, 0.08), 0 24px 60px -5px rgba(16, 25, 27, 0.12);
    
    /* Spacing system */
    --section-padding: 120px;
    --section-padding-md: 80px;
    --section-padding-sm: 60px;

    --transition: all 0.25s ease;

    --font-body: "Helvetica Neue", "Segoe UI", Tahoma, Arial, sans-serif;
    --font-heading: "Montserrat", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
}



html[data-theme="dark"] {
    --bg: #0b1114;
    --card: #10191b;
    --text: #f2f5f6;
    --muted: #aab5bc;
    --line: rgba(255, 255, 255, 0.08);
    --footer: #060a0c;
    --footer-2: #0b1114;
    --shadow-sm: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 6px -1px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 10px 15px -3px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.4), 0 24px 60px -5px rgba(0, 0, 0, 0.35);
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(253, 223, 0, 0.08), transparent 22%),
        linear-gradient(180deg, var(--bg) 0%, #ffffff 340px);
    transition: background 0.25s ease, color 0.25s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    line-height: 1.7; /* Increased for better readability */
    letter-spacing: -0.01em;
}

body,
button,
input,
select,
textarea {
    font-family: var(--font-body);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800; /* Bolder headings */
    color: var(--ink);
    margin-bottom: 0.5rem;
    line-height: 1.2;
    letter-spacing: -0.03em; /* Tighter tracking for a premium feel */
}

h1 { letter-spacing: -0.04em; }
h2 { letter-spacing: -0.03em; }
h3 { letter-spacing: -0.02em; }


.site-nav .nav-link,
.btn-header,
.footer-title,
.lang-switch__item {
    font-family: var(--font-heading);
}

.header-meta__item,
.footer-text,
.footer-links a,
.footer-contact a,
.footer-contact span,
.footer-bottom p,
.footer-bottom__links a,
.mobile-panel__meta .header-meta__item {
    font-family: var(--font-body);
}

html[data-theme="dark"] body {
    background:
        radial-gradient(circle at top left, rgba(253, 223, 0, 0.08), transparent 20%),
        linear-gradient(180deg, #081014 0%, #0b1114 340px);
}

a {
    text-decoration: none;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1050;
}

/* CUSTOM FORM FOCUS */
.form-control,
.form-select {
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--brand) !important;
    background-color: transparent !important;
    box-shadow: 0 4px 15px rgba(253, 223, 0, 0.15), 0 0 0 1px var(--brand) !important;
}

/* SCROLL ANIMATIONS */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: opacity, transform;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* GLOBAL SPACING CLASSES */
.section-padding {
    padding: var(--section-padding) 0;
}

.section-padding-md {
    padding: var(--section-padding-md) 0;
}

.section-padding-sm {
    padding: var(--section-padding-sm) 0;
}

/* TOP */
.header-top {
    background: linear-gradient(90deg, #091317 0%, #081920 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-top__inner {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.header-meta,
.header-tools {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-meta__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition);
}

a.header-meta__item:hover {
    color: var(--brand);
}

.header-meta__divider,
.header-tools__divider {
    width: 1px;
    height: 18px;
    background: rgba(255, 255, 255, 0.16);
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.lang-switch__item {
    min-width: 34px;
    height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.85);
    transition: var(--transition);
}

.lang-switch__item:hover,
.lang-switch__item.is-active {
    background: var(--brand);
    color: var(--ink);
}

.theme-toggle {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.theme-toggle:hover {
    background: var(--brand);
    color: var(--ink);
    transform: translateY(-1px);
}

.header-social,
.footer-social {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.header-social__link,
.footer-social__link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.header-social__link {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.9);
}

.header-social__link:hover,
.footer-social__link:hover {
    background: var(--brand);
    color: var(--ink);
    transform: translateY(-1px);
}

/* MAIN HEADER */
.header-main {
    background: var(--card);
    border-bottom: 2px solid var(--brand);
    /* Sharp separation */
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 1000;
}

.header-shell {
    min-height: 88px;
}

.site-logo img {
    height: 50px;
    display: block;
}

.site-nav {
    gap: 2px;
}

.site-nav .nav-link {
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
    padding: 10px 14px !important;
    border-radius: 0;
    transition: var(--transition);
    position: relative;
    background: transparent !important;
}

.site-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--brand);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.site-nav .nav-link:hover {
    color: var(--ink);
    background: transparent !important;
}

.site-nav .nav-link:hover::after {
    transform: scaleX(1);
}

.site-nav .nav-link.active,
.site-nav .nav-link.is-active {
    color: var(--ink);
    font-weight: 700;
    background: transparent !important;
}

.site-nav .nav-link.active::after,
.site-nav .nav-link.is-active::after {
    transform: scaleX(1);
}

html[data-theme="dark"] .site-nav .nav-link {
    color: rgba(255, 255, 255, 0.6);
}

html[data-theme="dark"] .site-nav .nav-link:hover,
html[data-theme="dark"] .site-nav .nav-link.active {
    color: #fff;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.btn-header {
    min-height: 48px;
    padding: 0 20px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border: 1px solid transparent;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.btn-header--primary {
    background: linear-gradient(135deg, var(--brand), var(--brand-secondary));
    color: var(--ink);
    border: none;
    font-weight: 700;
}

.btn-header--primary:hover {
    background: linear-gradient(135deg, var(--brand-secondary), var(--brand));
    transform: translateY(-2px);
    color: var(--ink);
}

.btn-header--primary:active {
    box-shadow: 0 4px 10px -3px rgba(253, 223, 0, 0.4);
}

.btn-header--ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--line);
}

.btn-header--ghost:hover {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
    transform: translateY(-2px);
    box-shadow: 0 8px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-header--ghost-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.18);
}

.btn-header--ghost-light:hover {
    background: #fff;
    color: var(--ink);
    transform: translateY(-2px);
    box-shadow: 0 8px 15px -3px rgba(255, 255, 255, 0.2);
}

.site-toggler {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    border: 1px solid var(--line);
    color: var(--text);
    background: transparent;
    box-shadow: none !important;
}

/* MOBILE PANEL */
.mobile-panel {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.mobile-panel__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.mobile-panel__social {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
}

.mobile-panel__meta {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

/* HOME HERO - SLIDER */
.hero-slider {
    position: relative;
}

.hero-slider .carousel-item {
    height: 65vh;
    min-height: 450px;
    max-height: 650px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.carousel-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(17, 17, 17, 0.3) 0%, rgba(17, 17, 17, 0.85) 100%);
}

.carousel-indicators {
    margin-bottom: 0;
    gap: 8px;
    bottom: auto;
    top: 50%;
    left: auto;
    right: 40px;
    transform: translateY(-50%);
    flex-direction: column;
    z-index: 15;
}

.carousel-indicators button {
    width: 4px !important;
    height: 40px !important;
    border-radius: 2px;
    background-color: rgba(255, 255, 255, 0.3) !important;
    border: none !important;
    transition: all 0.3s ease !important;
}

.carousel-indicators button.active {
    height: 60px !important;
    background-color: var(--brand) !important;
    box-shadow: 0 0 10px rgba(253, 223, 0, 0.5);
}

@media (max-width: 767.98px) {
    .carousel-indicators {
        top: auto;
        bottom: 40px;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        flex-direction: row;
    }

    .carousel-indicators button {
        height: 4px !important;
        width: 30px !important;
    }

    .carousel-indicators button.active {
        height: 4px !important;
        width: 50px !important;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 650px;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-label span {
    width: 44px;
    height: 3px;
    background: var(--brand);
    display: inline-block;
}

.hero-title {
    margin: 0;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: clamp(32px, 3.5vw, 48px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    animation: slideUp 0.8s ease forwards;
}

.hero-text {
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    line-height: 1.7;
    animation: slideUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 36px;
    animation: slideUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.hero-actions .btn-header {
    min-height: 54px;
    border-radius: 8px;
    padding: 0 28px;
}

.hero-actions .btn-header--ghost-light {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
}

.hero-actions .btn-header--ghost-light:hover {
    background: #ffffff;
    color: var(--ink);
    border-color: #ffffff;
}

/* GLOBAL HERO STATS */
.hero-global-stats {
    position: absolute;
    bottom: 30px;
    /* Float nicely at the bottom */
    left: 0;
    width: 100%;
    z-index: 10;
    pointer-events: none;
}

.hero-global-stats .container {
    position: relative;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    animation: slideUp 0.8s ease 0.6s forwards;
    opacity: 0;
    pointer-events: auto;
    /* Re-enable for hover effects */
}

.stat-item {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-top: 2px solid var(--brand);
    border-radius: 14px;
    padding: 16px 22px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    min-width: 140px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
}

.hero-stats strong {
    font-size: 26px;
    color: var(--brand);
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(253, 223, 0, 0.3);
}

.hero-stats span {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 4px;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CALCULATOR SECTION */
.calculator-section {
    padding: 60px 0;
    border-top: 1px solid var(--line);
}

html[data-theme="dark"] .calculator-section {
    background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%);
    border-top-color: rgba(255,255,255,0.06);
}

.calc-section-title {
    color: var(--ink);
}

html[data-theme="dark"] .calc-section-title {
    color: #fff;
}

.calc-section-desc {
    color: var(--muted);
}

html[data-theme="dark"] .calc-section-desc {
    color: rgba(255,255,255,0.5);
}

.calc-section-features {
    color: var(--text);
}

html[data-theme="dark"] .calc-section-features {
    color: #fff;
}

.calc-box {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

html[data-theme="dark"] .calc-box {
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(20px);
    border-color: rgba(255,255,255,0.08);
    box-shadow: 0 40px 100px rgba(0,0,0,0.5);
}

.calc-tabs {
    display: flex;
    border-bottom: 1px solid var(--line);
}

html[data-theme="dark"] .calc-tabs {
    border-bottom-color: rgba(255,255,255,0.08);
}

.calc-tab {
    flex: 1;
    padding: 18px 20px;
    background: transparent;
    border: none;
    color: var(--muted);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

html[data-theme="dark"] .calc-tab {
    color: rgba(255,255,255,0.5);
}

.calc-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    right: 20%;
    height: 3px;
    background: var(--brand);
    border-radius: 3px 3px 0 0;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.calc-tab:hover {
    color: var(--text);
}

html[data-theme="dark"] .calc-tab:hover {
    color: rgba(255,255,255,0.8);
}

.calc-tab.active {
    color: var(--ink);
}

html[data-theme="dark"] .calc-tab.active {
    color: #fff;
    background: rgba(253, 223, 0, 0.04);
}

.calc-tab.active::after {
    transform: scaleX(1);
}

/* Calc body */
.calc-body {
    padding: 28px;
}

/* Calc item */
.calc-item {
    margin-bottom: 8px;
}

.calc-item__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.calc-item__header h5 {
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

html[data-theme="dark"] .calc-item__header h5 {
    color: rgba(255,255,255,0.7);
}

.calc-item__header .btn-link {
    color: #ff4757;
    font-size: 13px;
    text-decoration: none;
    font-weight: 600;
}

/* Hallmark options */
.hallmark-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.hallmark-options input[type="radio"] {
    display: none;
}

.hallmark-options label {
    min-width: 60px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border-radius: 10px;
    border: 1.5px solid var(--line);
    color: var(--muted);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    background: transparent;
}

html[data-theme="dark"] .hallmark-options label {
    border-color: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.6);
}

.hallmark-options label:hover {
    border-color: var(--brand);
    color: var(--ink);
}

html[data-theme="dark"] .hallmark-options label:hover {
    color: #fff;
}

.hallmark-options input[type="radio"]:checked+label {
    background: linear-gradient(135deg, var(--brand), var(--brand-secondary));
    border-color: transparent;
    color: var(--ink);
    font-weight: 800;
}

/* Calc labels */
.calc-label {
    display: block;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

html[data-theme="dark"] .calc-label {
    color: rgba(255,255,255,0.6);
}

/* Editable input box */
.calc-input-box {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f1f3f4;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    padding: 10px 16px;
    margin-bottom: 12px;
    transition: var(--transition);
    cursor: text;
}

html[data-theme="dark"] .calc-input-box {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.1);
}

.calc-input-box:focus-within {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(253, 223, 0, 0.1);
}

.calc-input-value {
    background: transparent;
    border: none;
    outline: none;
    color: var(--ink);
    font-size: 20px;
    font-weight: 800;
    font-family: var(--font-heading);
    width: 4ch;
    min-width: 2ch;
}

html[data-theme="dark"] .calc-input-value {
    color: #fff;
}

.calc-unit {
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
}

html[data-theme="dark"] .calc-unit {
    color: rgba(255,255,255,0.4);
}

/* Range slider - brand themed */
.calc-range {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    -webkit-appearance: none;
    appearance: none;
    background: linear-gradient(to right, var(--brand) 0%, #ddd 0%);
    outline: none;
    cursor: pointer;
}

html[data-theme="dark"] .calc-range {
    background: linear-gradient(to right, var(--brand) 0%, rgba(255, 255, 255, 0.1) 0%);
}

.calc-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--brand);
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(253, 223, 0, 0.4);
    cursor: pointer;
    transition: transform 0.15s ease;
}

html[data-theme="dark"] .calc-range::-webkit-slider-thumb {
    border-color: var(--ink);
}

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

.calc-range::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--brand);
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(253, 223, 0, 0.4);
    cursor: pointer;
}

html[data-theme="dark"] .calc-range::-moz-range-thumb {
    border-color: var(--ink);
}

.calc-divider {
    height: 1px;
    background: var(--line);
    margin: 20px 0;
}

html[data-theme="dark"] .calc-divider {
    background: rgba(255,255,255,0.08);
}

/* Add more gold button */
.calc-add-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px;
    border: 2px dashed var(--line);
    border-radius: 12px;
    background: transparent;
    color: var(--muted);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 16px;
}

html[data-theme="dark"] .calc-add-btn {
    border-color: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.5);
}

.calc-add-btn:hover {
    border-color: var(--brand);
    color: var(--brand);
    background: rgba(253, 223, 0, 0.04);
}

/* Results panel */
.calc-results-wrapper {
    position: sticky;
    top: 120px;
}

.calc-results {
    padding: 28px;
    border-left: 1px solid var(--line);
    border-top-right-radius: 24px;
    border-bottom-right-radius: 24px;
}

@media (max-width: 1199.98px) {
    .calc-results {
        border-left: none;
        border-top: 1px solid var(--line);
    }
}

html[data-theme="dark"] .calc-results {
    border-color: rgba(255,255,255,0.08);
    background: rgba(0,0,0,0.2);
}

.calc-result-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.calc-result-label {
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
}

html[data-theme="dark"] .calc-result-label {
    color: rgba(255,255,255,0.5);
}

.calc-result-value {
    color: var(--ink);
    font-size: 22px;
    font-family: var(--font-heading);
    font-weight: 800;
}

html[data-theme="dark"] .calc-result-value {
    color: #fff;
}

.calc-result-value--highlight {
    color: var(--brand);
    font-size: 28px;
}

.calc-result-divider {
    height: 1px;
    background: var(--line);
}

html[data-theme="dark"] .calc-result-divider {
    background: rgba(255,255,255,0.08);
}


.text-brand {
    color: var(--brand);
}

/* MƏHSULLAR SECTION */
.products-section {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--line);
}

html[data-theme="dark"] .products-section {
    background: linear-gradient(180deg, var(--ink-2) 0%, var(--bg) 100%);
    border-top-color: rgba(255, 255, 255, 0.06);
}

.product-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    padding: 48px 36px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--line);
    border-top: 4px solid var(--brand);
}

.product-icon-wrap {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--brand), var(--brand-secondary));
    color: var(--ink);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 24px;
    transition: transform 0.3s ease;
}

.product-card:hover .product-icon-wrap {
    transform: scale(1.1) rotate(5deg);
}

html[data-theme="dark"] .product-icon-wrap {
    background: rgba(253, 223, 0, 0.1);
    color: var(--brand);
}

html[data-theme="dark"] .product-card:hover .product-icon-wrap {
    background: var(--brand);
    color: var(--ink);
}

.product-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 12px;
}

.product-desc {
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

.product-link {
    color: var(--ink);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
}

.product-link:hover {
    color: var(--brand);
}

html[data-theme="dark"] .product-link {
    color: #fff;
}

html[data-theme="dark"] .product-link:hover {
    color: var(--brand);
}

/* FLOATING WIDGETS */
.floating-widgets {
    position: fixed;
    bottom: 30px;
    z-index: 1040;
}

.floating-widgets.left {
    left: 30px;
}

.floating-widgets.right {
    right: 30px;
}

.widget-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    color: #fff;
    font-size: 28px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.widget-btn:hover {
    transform: scale(1.1);
    color: #fff;
}

.widget-whatsapp {
    background: #25D366;
}

.widget-whatsapp:hover {
    background: #1EBE5D;
}

.widget-accessibility {
    background: #0056b3;
    font-size: 24px;
}

.widget-accessibility:hover {
    background: #004494;
}

/* RESPONSIVE */
@media (max-width: 991.98px) {
    .hero-slider .carousel-item {
        height: auto;
        padding: 60px 0 80px;
    }

    .carousel-overlay {
        background: linear-gradient(180deg, rgba(7, 16, 18, 0.95) 0%, rgba(7, 16, 18, 0.8) 50%, rgba(7, 16, 18, 0.4) 100%);
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
        margin: 0 auto;
    }

    .hero-label {
        justify-content: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        margin: 40px auto 0;
    }

    .hero-title {
        font-size: clamp(34px, 8vw, 48px);
    }
}

@media (max-width: 575.98px) {
    .hero-slider .carousel-item {
        padding: 40px 0 60px;
    }

    .hero-label {
        font-size: 11px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-actions .btn-header {
        width: 100%;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .hero-stats .stat-item {
        padding: 16px 0;
    }

    .hero-stats .stat-item+.stat-item {
        padding-left: 0;
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    .floating-widgets.left,
    .floating-widgets.right {
        bottom: 20px;
    }

    .floating-widgets.left {
        left: 20px;
    }

    .floating-widgets.right {
        right: 20px;
    }

    .widget-btn {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }
}


/* FOOTER */
.site-footer {
    margin-top: 80px;
    background:
        linear-gradient(180deg, var(--footer-2) 0%, var(--footer) 100%);
    color: rgba(255, 255, 255, 0.9);
    padding: 70px 0 24px;
    position: relative;
    overflow: hidden;
}

.footer-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 28px 32px;
    margin-bottom: 44px;
}

.footer-badge {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(253, 223, 0, 0.14);
    color: var(--brand);
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 14px;
}

.footer-hero h3 {
    margin: 0 0 10px;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.2;
}

.footer-hero p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    max-width: 620px;
}

.footer-hero__actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.footer-grid {
    margin-bottom: 34px;
}

.footer-brand__logo {
    height: 50px;
    margin-bottom: 18px;
}

.footer-text {
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.7;
    max-width: 320px;
    margin-bottom: 18px;
}

.footer-title {
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 18px;
}

.footer-links,
.footer-contact {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-contact a,
.footer-contact span {
    color: rgba(255, 255, 255, 0.68);
    transition: var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--brand);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact i {
    color: var(--brand);
    width: 18px;
    margin-top: 3px;
}

.footer-social__link {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.footer-bottom {
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-bottom p,
.footer-bottom__links a {
    color: rgba(255, 255, 255, 0.58);
    font-size: 14px;
}

.footer-bottom__links {
    display: flex;
    align-items: center;
    gap: 18px;
}

.footer-bottom__links a:hover {
    color: var(--brand);
}

/* DEMO CONTENT */
.demo-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    padding: 42px;
}

/* CTA BANNER SECTION */
.cta-banner-section {
    background: linear-gradient(135deg, #fdd85c 0%, var(--brand) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

html[data-theme="dark"] .cta-banner-section {
    background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%);
}

.cta-banner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.25), transparent 40%);
    pointer-events: none;
}

html[data-theme="dark"] .cta-banner-section::before {
    background: radial-gradient(circle at top right, rgba(253, 223, 0, 0.15), transparent 40%);
}

.cta-banner-content {
    position: relative;
    z-index: 2;
}

/* CONTACT SECTION */
.contact-info-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    padding: 48px;
    height: 100%;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.contact-info-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(253, 223, 0, 0.15);
    color: var(--brand);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 16px;
}

/* WIDGET CLOSE BUTTON */
.widget-close-btn {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ff4757;
    color: #fff;
    border: none;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 10;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.widget-whatsapp:hover .widget-close-btn,
.widget-accessibility:hover .widget-close-btn {
    opacity: 1;
}

/* RESPONSIVE */
@media (max-width: 1199.98px) {
    .header-shell {
        padding: 0 16px;
    }

    .navbar-collapse {
        background: var(--card);
        margin-top: 16px;
        padding: 20px;
        border: 1px solid var(--line);
        border-radius: 22px;
        box-shadow: var(--shadow-sm);
    }

    .site-nav .nav-link {
        display: block;
        background: transparent;
        border-radius: 14px;
        padding: 14px 16px !important;
    }

    .header-actions {
        flex-direction: column;
        margin-top: 16px;
    }

    .header-actions .btn-header {
        width: 100%;
    }
}

@media (max-width: 991.98px) {
    .header-main {
        padding-top: 12px;
    }

    .header-shell {
        min-height: 76px;
        border-radius: 22px;
    }

    .site-logo img {
        height: 42px;
    }

    .footer-hero {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
    }

    .footer-hero h3 {
        font-size: 24px;
    }

    .footer-hero__actions {
        width: 100%;
        flex-direction: column;
    }

    .footer-hero__actions .btn-header {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .header-shell {
        min-height: 70px;
        border-radius: 18px;
        padding: 0 12px;
    }

    .site-logo img {
        height: 38px;
    }

    .footer-hero {
        border-radius: 22px;
    }

    .demo-card {
        padding: 28px 22px;
    }
}

/* CAREERS SECTION */
.careers-section {
    padding: 0;
    border-top: 1px solid var(--line);
}

html[data-theme="dark"] .careers-section {
    background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%);
    border-top-color: rgba(255,255,255,0.06);
}

.careers-section .bg-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.careers-section h2 {
    color: var(--ink);
}

html[data-theme="dark"] .careers-section h2 {
    color: #fff;
}

.careers-section p {
    color: var(--muted) !important;
}

html[data-theme="dark"] .careers-section p {
    color: rgba(255, 255, 255, 0.65) !important;
}

.careers-decor {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

/* FAQ SECTION */
.faq-section {
    padding: 60px 0 !important;
    border-top: 1px solid var(--line);
}

html[data-theme="dark"] .faq-section {
    background: linear-gradient(180deg, var(--bg) 0%, var(--ink-2) 100%) !important;
}

.custom-accordion .accordion-item {
    background-color: var(--card);
    border: 1px solid transparent; /* Remove harsh border */
    border-radius: var(--radius-lg) !important;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.03), 0 2px 4px -1px rgba(0,0,0,0.02);
    transition: var(--transition);
}

.custom-accordion .accordion-item:hover {
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
    border-color: rgba(253, 223, 0, 0.2);
}

html[data-theme="dark"] .custom-accordion .accordion-item {
    background-color: var(--ink-2);
    border-color: rgba(255, 255, 255, 0.06);
}

.custom-accordion .accordion-button {
    background-color: transparent;
    color: var(--text);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    padding: 22px 24px;
    box-shadow: none !important;
}

html[data-theme="dark"] .custom-accordion .accordion-button {
    color: #fff;
}

.custom-accordion .accordion-button:not(.collapsed) {
    color: var(--ink);
    background-color: transparent;
    padding-bottom: 8px; /* Smooth transition to body */
}

.custom-accordion .accordion-button::after {
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

html[data-theme="dark"] .custom-accordion .accordion-button::after {
    filter: grayscale(100%) brightness(3);
}

.custom-accordion .accordion-button:not(.collapsed)::after {
    filter: none;
}

.custom-accordion .accordion-body {
    padding: 0 24px 24px 24px;
    color: var(--muted);
    font-size: 1rem;
    background-color: transparent;
    line-height: 1.7;
}

/* ABOUT SECTION */
.about-section {
    padding: 60px 0;
    background: var(--bg);
    position: relative;
    overflow: hidden;
}

.about-image-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image {
    max-width: 100%;
    max-height: 480px;
    border-radius: var(--radius-xl);
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

.about-image-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: linear-gradient(135deg, var(--brand), var(--brand-secondary));
    color: var(--ink);
    padding: 16px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: 0 8px 24px rgba(253, 223, 0, 0.4);
}

.about-image-badge strong {
    display: block;
    font-size: 32px;
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1;
}

.about-image-badge span {
    font-size: 13px;
    font-weight: 600;
    opacity: 0.8;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    border-radius: var(--radius-lg);
    background: var(--card);
    border: 1px solid var(--line);
    transition: var(--transition);
}

.about-feature:hover {
    border-color: var(--brand);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.about-feature__icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 10px;
    background: rgba(253, 223, 0, 0.15);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.about-feature strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 2px;
}

.about-feature span {
    font-size: 12px;
    color: var(--muted);
}

html[data-theme="dark"] .about-feature {
    background: var(--card);
    border-color: var(--line);
}

html[data-theme="dark"] .about-feature__icon {
    background: rgba(253, 223, 0, 0.1);
}

/* CTA BANNER */
.cta-banner {
    background: linear-gradient(135deg, #fdd85c 0%, var(--brand) 100%);
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}

html[data-theme="dark"] .cta-banner {
    background:
        linear-gradient(135deg, rgba(253, 223, 0, 0.08) 0%, transparent 50%),
        linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%);
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent 60%);
    pointer-events: none;
    border-radius: 50%;
}

html[data-theme="dark"] .cta-banner::before {
    background: radial-gradient(circle, rgba(253, 223, 0, 0.08), transparent 60%);
}

.cta-banner__title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 16px;
    line-height: 1.2;
}

html[data-theme="dark"] .cta-banner__title {
    color: #fff;
}

.cta-banner__text {
    color: rgba(16, 25, 27, 0.7);
    font-size: 18px;
    margin: 0;
    max-width: 600px;
}

html[data-theme="dark"] .cta-banner__text {
    color: rgba(255, 255, 255, 0.65);
}

/* CONTACT SECTION - redesign */
.contact-section {
    padding: 60px 0;
    border-top: 1px solid var(--line);
}

html[data-theme="dark"] .contact-section {
    background: linear-gradient(180deg, var(--ink-2) 0%, var(--bg) 100%);
    border-top-color: rgba(255, 255, 255, 0.06);
}

/* Smooth scroll offset for sticky header */
section[id] {
    scroll-margin-top: 140px;
}

/* Dark mode - global text fixes */
html[data-theme="dark"] .text-dark {
    color: var(--text) !important;
}

html[data-theme="dark"] .text-muted {
    color: var(--muted) !important;
}

html[data-theme="dark"] .fw-bold.fs-1,
html[data-theme="dark"] h2.fw-bold,
html[data-theme="dark"] h4.fw-bold {
    color: #fff;
}

html[data-theme="dark"] .product-title {
    color: #fff;
}

html[data-theme="dark"] .product-card {
    background: var(--card);
    border-color: var(--line);
}

html[data-theme="dark"] .product-card:hover {
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
}

/* Dark mode contact card */
html[data-theme="dark"] .contact-info-card {
    background: var(--card);
    border-color: var(--line);
}

html[data-theme="dark"] .contact-info-card .form-control,
html[data-theme="dark"] .contact-info-card textarea {
    background: var(--bg) !important;
    color: var(--text);
    border-color: var(--line) !important;
}

html[data-theme="dark"] .contact-icon {
    background: rgba(253, 223, 0, 0.08);
}

/* Dark mode FAQ heading */
html[data-theme="dark"] .faq-section h2 {
    color: #fff;
}

html[data-theme="dark"] .faq-section p {
    color: var(--muted);
}

/* BACK TO TOP BUTTON */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--brand);
    color: var(--ink);
    border: none;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1039;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
}

@media (max-width: 575.98px) {
    .back-to-top {
        bottom: 80px;
        right: 20px;
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }
}