:root {
    --primary-brand: #2563eb;
    --primary-dark: #0f172a;
    --accent-cyan: #06b6d4;
    --surface-light: #ffffff;
    --surface-subtle: #f8fafc;
    --surface-card: #ffffff;
    --border-color: #e2e8f0;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--surface-light);
    color: var(--primary-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a,
a:hover,
a:focus {
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    transition: all 0.3s ease-in-out;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul,
ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    font-weight: 700;
    line-height: 1.3;
}

:focus-visible {
    outline: 2px solid var(--primary-brand);
    outline-offset: 2px;
}

.cookie-consent-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1080;
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    padding: 1rem 0;
    box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.08);
}

.cookie-consent-text {
    font-size: 14px;
    color: #475569;
    line-height: 1.5;
}

.cookie-consent-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1090;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.cookie-consent-modal-dialog {
    width: 100%;
    max-width: 520px;
}

@media (max-width: 768px) {
    h1 {
        font-size: clamp(1.75rem, 5vw, 2.25rem);
    }

    h2 {
        font-size: clamp(1.5rem, 4vw, 1.85rem);
    }

    h3 {
        font-size: clamp(1.25rem, 3.5vw, 1.5rem);
    }

    h4 {
        font-size: clamp(1.1rem, 3vw, 1.25rem);
    }

    h5 {
        font-size: clamp(1rem, 2.5vw, 1.1rem);
    }

    .text-break-mobile,
    a[href^="mailto:"],
    a[href^="http"],
    a[href^="tel:"] {
        word-break: break-all;
        font-size: clamp(0.875rem, 2.5vw, 1rem);
    }
}

/* ===== header ===== */
#header {
    overflow: visible;
}

.mobile-menu-overlay.open {
    display: flex !important;
}

html {
    scroll-behavior: smooth;
}

/* ===== hero ===== */
#hero {
    overflow: hidden;
    background-color: var(--primary-dark, #0f172a);
    color: #ffffff;
    position: relative;
}

.iltora-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-badge {
    background-color: rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(6, 182, 212, 0.35);
}

.hero-badge-icon {
    color: var(--accent-cyan, #06b6d4);
    font-size: 0.95rem;
}

.hero-badge-text {
    color: #e2e8f0;
    font-size: 0.85rem;
    font-weight: 500;
}

.hero-title {
    color: #ffffff;
    font-size: 2.5rem;
    line-height: 1.25;
    letter-spacing: -0.02em;
    hyphens: auto;
}

.hero-lead {
    color: #cbd5e1;
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 600px;
    hyphens: auto;
}

.hero-btn-primary {
    background-color: var(--primary-brand, #2563eb);
    color: #ffffff;
    font-weight: 600;
    padding: 0.85rem 1.75rem;
    border-radius: 0.5rem;
    border: 1px solid var(--primary-brand, #2563eb);
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-btn-primary:hover {
    background-color: #1d4ed8;
    color: #ffffff;
    border-color: #1d4ed8;
    transform: translateY(-2px);
}

.hero-btn-secondary {
    background-color: transparent;
    color: #ffffff;
    font-weight: 600;
    padding: 0.85rem 1.75rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(226, 232, 240, 0.3);
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: #ffffff;
    transform: translateY(-2px);
}

.hero-border-top {
    border-color: rgba(226, 232, 240, 0.15) !important;
}

.hero-spec-value {
    color: #ffffff;
    font-size: 1.1rem;
}

.hero-spec-label {
    color: #94a3b8;
    font-size: 0.8rem;
}

.hero-visual-wrapper {
    max-width: 460px;
    width: 100%;
}

.hero-device-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-glow-effect {
    top: 50%;
    left: 50%;
    width: 280px;
    height: 280px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(6, 182, 212, 0.25) 0%, rgba(37, 99, 235, 0.15) 50%, transparent 70%);
    filter: blur(40px);
    z-index: 0;
    pointer-events: none;
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 1.125rem !important;
        line-height: 1.25;
    }

    .hero-lead {
        font-size: 0.875rem;
        line-height: 1.4;
    }

    .hero-badge-text {
        font-size: 0.75rem;
    }

    .hero-action-group .btn {
        width: 100%;
    }

    .hero-spec-value {
        font-size: 0.95rem;
    }

    .hero-spec-label {
        font-size: 0.75rem;
    }
}

/* ===== about ===== */
.about-section {
    background-color: var(--surface-subtle);
    color: var(--primary-dark);
    hyphens: auto
}

.about-tag {
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary-brand);
    font-size: 0.875rem;
    font-weight: 600
}

.about-desc {
    max-width: 720px;
    color: #475569
}

.about-card {
    background-color: var(--surface-card);
    border-radius: 1rem;
    border: 1px solid var(--border-color) !important;
    transition: transform .25s ease, box-shadow .25s ease
}

.about-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08) !important
}

.about-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--surface-subtle)
}

.text-cyan {
    color: var(--accent-cyan) !important
}

.about-info-box {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1e293b 100%);
    color: var(--surface-light)
}

@media (max-width:767.98px) {
    .about-section h2 {
        font-size: 1.125rem !important;
        line-height: 1.2
    }

    .about-section h3 {
        font-size: 0.875rem !important;
        line-height: 1.2
    }
}

/* ===== popular ===== */
#popular {
    width: 100%;
    hyphens: auto;
}

#popular .card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#popular .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08) !important;
}

#popular .btn:hover {
    filter: brightness(1.1);
}

@media (max-width: 767.98px) {
    #popular h2 {
        font-size: 1rem !important;
        line-height: 1.25;
    }

    #popular h3 {
        font-size: 0.875rem !important;
        line-height: 1.25;
    }
}

/* ===== categories ===== */
#categories .card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#categories .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08) !important;
}

@media (max-width: 767.98px) {
    #categories h2 {
        font-size: 1rem !important;
        line-height: 1.2;
        hyphens: auto;
    }

    #categories h3 {
        font-size: 0.875rem !important;
        line-height: 1.2;
    }
}

/* ===== advantages ===== */
#advantages {
    position: relative;
    width: 100%;
}

.benefit-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 99, 235, 0.3) !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08) !important;
}

.section-heading {
    font-size: 2rem;
    line-height: 1.25;
    hyphens: auto;
}

.section-subheading {
    font-size: 1rem;
    line-height: 1.6;
}

.card-title-text {
    font-size: 1.15rem;
    line-height: 1.35;
}

.card-desc-text {
    font-size: 0.925rem;
    line-height: 1.6;
}

@media (max-width: 767.98px) {
    .section-heading {
        font-size: 1rem !important;
        line-height: 1.2 !important;
    }

    .section-subheading {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
    }

    .card-title-text {
        font-size: 0.875rem !important;
        line-height: 1.2 !important;
    }

    .card-desc-text {
        font-size: 0.8rem !important;
        line-height: 1.4 !important;
    }
}

/* ===== how_to_order ===== */
#how-to-order {
    word-break: break-word;
    hyphens: auto;
}

#how-to-order .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#how-to-order .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -10px rgba(15, 23, 42, 0.1) !important;
}

@media (max-width: 767.98px) {
    #how-to-order h2 {
        font-size: 1rem !important;
        line-height: 1.25 !important;
    }

    #how-to-order h3 {
        font-size: 0.875rem !important;
        line-height: 1.2 !important;
    }

    #how-to-order p {
        font-size: 0.875rem !important;
    }
}

/* ===== catalog ===== */
.catalog-section {
    overflow: hidden;
}

.catalog-section .card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.catalog-section .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08) !important;
}

.catalog-section .badge {
    font-weight: 500;
    font-size: 0.72rem;
    padding: 0.35em 0.6em;
    background-color: #f1f5f9 !important;
    color: #334155 !important;
}

.catalog-section .btn-primary {
    background-color: var(--primary-brand);
    border-color: var(--primary-brand);
    color: #ffffff !important;
}

.catalog-section .btn-primary:hover {
    background-color: #1d4ed8;
    border-color: #1d4ed8;
}

.catalog-section h2,
.catalog-section h3 {
    hyphens: auto;
}

@media (max-width: 767.98px) {
    .catalog-section h2 {
        font-size: 1rem !important;
        line-height: 1.25;
    }

    .catalog-section h3 {
        font-size: 0.875rem !important;
        line-height: 1.25;
    }
}

/* ===== comparison ===== */
#comparison {
    overflow: hidden;
    width: 100%;
    hyphens: auto;
}

#comparison .card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#comparison .card:hover {
    transform: translateY(-4px);
}

@media (max-width: 767.98px) {
    #comparison h2 {
        font-size: 1rem !important;
        line-height: 1.2;
    }

    #comparison h3 {
        font-size: 0.875rem !important;
        line-height: 1.2;
    }

    #comparison p,
    #comparison span,
    #comparison strong {
        font-size: 0.8125rem !important;
    }
}

/* ===== best_deals ===== */
#best-deals {
    width: 100%;
    hyphens: auto;
}

#best-deals .card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

#best-deals .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.1) !important;
}

#best-deals .btn {
    transition: all 0.2s ease;
}

#best-deals .btn:hover {
    opacity: 0.92;
}

@media (max-width: 767.98px) {
    #best-deals h2 {
        font-size: 1rem !important;
        line-height: 1.25;
    }

    #best-deals h3 {
        font-size: 0.875rem !important;
        line-height: 1.2;
    }

    #best-deals .fs-4 {
        font-size: 1.1rem !important;
    }
}

/* ===== quality ===== */
#quality {
    overflow: hidden;
}

#quality .js-quality-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

#quality .js-quality-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
}

@media (max-width: 767.98px) {
    #quality h2 {
        font-size: 1rem;
        line-height: 1.25;
        hyphens: auto;
    }

    #quality h3 {
        font-size: 0.875rem;
        line-height: 1.2;
        hyphens: auto;
    }
}

/* ===== order_form ===== */
.order-form-section {
    hyphens: auto;
}

.order-form-section .form-control:focus,
.order-form-section .form-select:focus {
    border-color: var(--primary-brand);
    box-shadow: 0 0 0 0.25rem rgba(37, 99, 235, 0.15);
}

.order-form-section .input-group-text {
    border-color: var(--border-color);
}

.order-form-section .btn:hover {
    background-color: #1d4ed8 !important;
}

@media (max-width: 767.98px) {
    .order-form-section h2 {
        font-size: 1rem !important;
        line-height: 1.2 !important;
    }
}

/* ===== footer ===== */
.footer-section {
    width: 100%;
    border-top: 1px solid var(--border-color);
    hyphens: auto;
}

.footer-section a {
    transition: color 0.2s ease-in-out;
}

.footer-section a:hover,
.footer-section a:focus {
    color: var(--accent-cyan) !important;
}

@media (max-width: 767.98px) {
    .footer-section h3.h5 {
        font-size: 1rem;
        line-height: 1.2;
    }

    .footer-section h3.h6 {
        font-size: 0.875rem;
        line-height: 1.2;
    }
}