/* STARLINK MINI LANDING - PREMIUM STYLES */
/* Applied Skills: ui-ux-pro-max, copywriting, svg-art */

:root {
    /* Color Palette - Designated in DESIGN-SYSTEM/MASTER.md */
    --surface-primary: #FAFAFA;
    --surface-secondary: #F2F2F2;
    --surface-tertiary: #EBEBEB;
    --text-primary: #1A1A1A;
    --text-secondary: #6E6E73;
    --text-muted: #8E8E93;
    --text-light: #F5F5F7;
    --brand-success: #4EBD17;
    --brand-success-hover: #45A814;
    --brand-accent: #0071E3;
    --brand-dark-hero: linear-gradient(180deg, #0A192F 0%, #112240 100%);

    /* Typography - Official Futura PT Integration */
    --font-main: 'Futura PT', 'Inter', -apple-system, sans-serif;
    --font-heading: 'Futura PT', sans-serif;

    /* Layout & Rhythm */
    --container-max: 1170px;
    --section-gap: clamp(4rem, 10vh, 120px);
    --border-radius: 8px;
    --border-radius-lg: 16px;

    /* Transitions */
    --transition-standard: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s ease;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
}

/* ==========================================================================
   UI KIT / DESIGN SYSTEM
   ========================================================================== */

/* Typography Atoms */
h1,
.h1 {
    font-size: clamp(1.8rem, 4.8vw, 3.6rem);
    /* Reduced by 40% from clamp(3rem, 8vw, 6rem) */
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    font-family: var(--font-heading);
}

h2,
.h2 {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 2rem;
    font-family: var(--font-heading);
}

p,
.body-text {
    font-size: 1.1rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.text-label {
    letter-spacing: 0.2em;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: var(--brand-success);
    display: block;
    margin-bottom: 0.5rem;
}

/* UI KIT / MOLECULES */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 2rem;
    transition: var(--transition-standard);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.hero-product-info .price-display {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.hero-product-info .price-display .amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
}

.hero-product-info .price-display .currency {
    font-size: 1rem;
    opacity: 0.7;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
}

.dot-pulse {
    width: 8px;
    height: 8px;
    background: var(--brand-success);
    border-radius: 50%;
    position: relative;
}

.dot-pulse::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    animation: aura-pulse 2s infinite;
}

@keyframes aura-pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

/* Button Atoms */
.btn-primary {
    background-color: var(--brand-success);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: var(--transition-standard);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--brand-success-hover);
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(78, 189, 23, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    padding: 0.9rem 2.4rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: var(--transition-standard);
    border: 2px solid rgba(255, 255, 255, 0.6);
    /* User requested 60% white transparency */
    cursor: pointer;
}

.btn-outline:hover {
    background-color: var(--surface-secondary);
    color: var(--text-primary);
    transform: scale(1.05);
}

.btn-secondary-outline {
    background: var(--surface-secondary);
    color: var(--text-primary);
    padding: 0.8rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: var(--transition-standard);
    border: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.btn-secondary-outline:hover {
    background: var(--surface-tertiary);
    color: var(--brand-success);
    border-color: rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.section-padding {
    padding-top: var(--section-spacing);
    padding-bottom: var(--section-spacing);
}

.section-header.mb-16 {
    margin-bottom: var(--content-spacing) !important;
}

/* Global Overrides */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--surface-primary);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.5;
    overflow-x: hidden;
    width: 100%;
}

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

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

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

@media (max-width: 768px) {
    .woocommerce-checkout .container {
        padding: 0 10px !important;
    }
}

/* Global Overrides */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

/* Utilities & Shared Atoms */
.cursor-pointer {
    cursor: pointer;
}

.mt-2 {
    margin-top: 0.5rem !important;
}

.mt-4 {
    margin-top: 1rem !important;
}

.mt-6 {
    margin-top: 1.5rem !important;
}

.mt-8 {
    margin-top: 2rem !important;
}

.mt-10 {
    margin-top: 2.5rem !important;
}

.mt-12 {
    margin-top: 3rem !important;
}

.mt-16 {
    margin-top: 4rem !important;
}

/* Layout System */
.section {
    padding: var(--section-gap) 0;
    position: relative;
    overflow: hidden;
}

/* ==========================================================================
   STANDARD PAGE LAYOUT (Cart, Checkout, etc.)
   ========================================================================== */

.standard-page-layout {
    min-height: auto;
    background: var(--surface-primary);
    padding-top: 40px;
    color: var(--text-primary);
}

.page-content-section {
    padding: 40px 0;
}

.entry-content {
    max-width: 1170px;
    margin: 0 auto;
    color: var(--text-primary);
}

/* WooCommerce Page Adjustments */
.woocommerce-cart .entry-content,
.woocommerce-checkout .entry-content {
    max-width: 1170px;
}

.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce {
    background: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .woocommerce-checkout .woocommerce {
        padding: 15px !important;
        margin-top: 10px !important;
        border-radius: 12px !important;
    }
}

/* Shop Table Styling */
.woocommerce-cart-form__contents {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.woocommerce-cart-form__contents th {
    text-align: left;
    padding: 15px;
    border-bottom: 2px solid var(--surface-secondary);
    color: var(--text-primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
}

.woocommerce-cart-form__contents td {
    padding: 20px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: middle;
}

.woocommerce-cart-form__cart-item img {
    border-radius: 8px;
    width: 80px;
    height: auto;
}

.woocommerce-cart-form__cart-item a:not(.remove) {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-standard);
}

.woocommerce-cart-form__cart-item a:not(.remove):hover {
    color: var(--brand-success);
}

.product-remove a.remove {
    color: #ff4b4b !important;
    font-size: 1.5rem;
    text-decoration: none;
}

/* Quantity Input styling in Cart */
.woocommerce-cart-form .quantity input {
    background: var(--surface-secondary);
    border: 1px solid var(--surface-tertiary);
    color: var(--text-primary);
    padding: 8px;
    border-radius: 4px;
    width: 60px;
    text-align: center;
}

/* Cart Totals Styling */
.cart-collaterals {
    display: flex;
    justify-content: flex-end;
    margin-top: 40px;
}

.cart_totals {
    width: 100%;
    max-width: 450px;
}

.cart_totals h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.shop_table_responsive {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 20px;
}

.cart-subtotal th,
.order-total th {
    text-align: left;
    color: rgba(255, 255, 255, 0.6);
}

.cart-subtotal td,
.order-total td {
    text-align: right;
    font-weight: 700;
}

.order-total .amount {
    color: var(--brand-success);
    font-size: 1.4rem;
}

/* Buttons in Cart */
.woocommerce-cart .button,
.woocommerce-checkout .button {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--border-radius);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: var(--transition-standard);
    border: none;
    text-decoration: none;
    font-size: 0.9rem;
    text-align: center;
}

.woocommerce-cart button[name="update_cart"] {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.woocommerce-cart button[name="update_cart"]:hover {
    background: rgba(255, 255, 255, 0.2);
}

.checkout-button {
    background: linear-gradient(135deg, #4EBD17 0%, #45A814 100%) !important;
    color: white !important;
    margin-top: 20px;
    width: 100%;
    border: none;
    box-shadow: 0 4px 15px rgba(78, 189, 23, 0.2);
}

.checkout-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(78, 189, 23, 0.3);
}

/* Coupon Area Override */
.actions .coupon input {
    background: var(--surface-secondary) !important;
    border: 1px solid var(--surface-tertiary) !important;
    color: var(--text-primary) !important;
    padding: 10px 15px !important;
    border-radius: 4px !important;
}


/* WooCommerce Blocks - Checkout Button Styling */
.wc-block-cart__submit-button,
.wc-block-components-button.wc-block-cart__submit-button {
    background: linear-gradient(135deg, #4EBD17 0%, #45A814 100%) !important;
    color: white !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    padding: 18px 32px !important;
    border-radius: var(--border-radius) !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: none !important;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(78, 189, 23, 0.2) !important;
    width: 100% !important;
}

.wc-block-cart__submit-button:hover,
.wc-block-components-button.wc-block-cart__submit-button:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 25px rgba(78, 189, 23, 0.35) !important;
    opacity: 0.95 !important;
}

.wc-block-cart__submit-button .wc-block-components-button__text::after,
.wc-block-components-button.wc-block-cart__submit-button .wc-block-components-button__text::after {
    content: '→';
    font-size: 1.4rem;
    line-height: 1;
    margin-left: 8px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.wc-block-cart__submit-button:hover .wc-block-components-button__text::after {
    transform: translateX(5px);
}

/* Localization Fixes for Blocks via CSS if needed (Fallback) */
[aria-label="Estimated total"] {
    font-size: 0;
}

[aria-label="Estimated total"]::before {
    content: "Загальна сума";
    font-size: 1rem;
}

.entry-content h2 {
    color: var(--text-primary);
}

/* Background Variations */
.bg-white {
    background-color: #FFFFFF;
}

.bg-surface-primary {
    background-color: var(--surface-primary);
}

.bg-surface-secondary {
    background-color: var(--surface-secondary);
}

/* 3. Scenarios Section - Premium Overlay Layout */
#scenarios {
    overflow: hidden;
    background: var(--surface-secondary);
}

.scenarios-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    /* Increased for longer labels */
    gap: 3rem;
    align-items: start;
}

.scenarios-sidebar {
    position: sticky;
    top: 100px;
    z-index: 10;
}

.scenario-tabs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.scenario-tab-btn {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.04);
    padding: 1rem 1.25rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    text-align: left;
    transition: var(--transition-standard);
    color: var(--text-secondary);
}

.scenario-tab-btn .tab-num {
    font-weight: 700;
    font-size: 0.75rem;
    opacity: 0.3;
}

.scenario-tab-btn .tab-label {
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.3;
}

.scenario-tab-btn .mobile-only {
    display: none;
    text-transform: uppercase;
}

.scenario-tab-btn .desktop-only {
    display: inline;
}

.scenario-tab-btn:hover {
    background: rgba(0, 0, 0, 0.02);
}

.scenario-tab-btn.active {
    background: white;
    border-color: var(--brand-success);
    color: var(--text-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transform: translateX(8px);
}

/* Content Area - Full Background Photo */
.scenarios-content {
    min-height: 580px;
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    background: #000;
}

.scenario-card-pane {
    display: none;
    position: absolute;
    inset: 0;
    animation: slideUpFade 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.scenario-card-pane.active {
    display: block;
}

.scenario-bg-visual {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.scenario-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.scenario-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 2;
}

.scenario-content-overlay {
    position: relative;
    z-index: 3;
    padding: 4rem;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

.scenario-text-pane {
    color: white;
}

.scenario-text-pane .h2 {
    color: white !important;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.scenario-text-pane .body-text {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 450px;
}

/* Benefits Grid - Glass Panels */
.scenario-benefits-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit-tag {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    color: white;
    transition: var(--transition-standard);
}

.benefit-tag:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateX(10px);
}

.benefit-tag .benefit-icon {
    color: var(--brand-success);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.benefit-tag span {
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Responsive - Mobile Adaptation */
@media (max-width: 1024px) {
    .scenarios-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .scenario-tab-btn .desktop-only {
        display: none;
    }

    .scenario-tab-btn .mobile-only {
        display: inline;
    }

    #scenarios .container {
        max-width: 100% !important;
        padding: 0 10px !important;
        /* Reduced per user request */
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .scenarios-layout {
        display: flex;
        flex-direction: column-reverse;
        /* Move tabs below content per user request */
        width: 100%;
        box-sizing: border-box;
    }

    .scenarios-sidebar {
        padding: 0;
        margin-bottom: 2rem;
        position: relative;
        top: 0;
        width: 100%;
    }

    .scenario-tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;
        /* 2 columns per user request */
        gap: 8px;
        width: 100%;
        box-sizing: border-box;
        overflow: visible;
        /* No more horizontal scroll */
        padding: 0;
    }

    .scenario-tabs::-webkit-scrollbar {
        display: none;
    }

    .scenario-tab-btn {
        flex-shrink: 0;
        white-space: nowrap;
        padding: 10px;
        background: white;
        border: 1px solid rgba(0, 0, 0, 0.08);
        border-radius: 12px;
        box-sizing: border-box;
        width: 100%;
        justify-content: center;
        font-size: 0.85rem;
    }

    .scenario-tab-btn .tab-num {
        display: none;
        /* Hide numbers to save space */
    }

    .scenario-tab-btn.active {
        transform: none;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    }

    .scenarios-content {
        border-radius: 20px;
        min-height: auto;
        width: 100%;
        max-width: 100%;
        position: relative;
        overflow: hidden;
        /* Restore rounding per user request */
        background: #000;
        box-sizing: border-box;
    }

    .scenario-card-pane {
        position: relative !important;
        inset: auto !important;
        display: none;
        height: auto;
        width: 100%;
    }

    .scenario-card-pane.active {
        display: block;
    }

    .scenario-content-overlay {
        display: flex;
        /* Simpler for mobile */
        flex-direction: column;
        padding: 2.5rem 1.5rem;
        gap: 1.5rem;
        width: 100%;
        box-sizing: border-box;
        position: relative;
        z-index: 5;
    }

    .scenario-text-pane {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .scenario-text-pane .h2 {
        font-size: 1.75rem !important;
        line-height: 1.2;
        word-break: break-word;
        margin-bottom: 1rem;
        width: 100%;
    }

    .scenario-text-pane .body-text {
        font-size: 1rem;
        line-height: 1.5;
        color: rgba(255, 255, 255, 0.9) !important;
        width: 100%;
        max-width: 100%;
        word-break: break-word;
        box-sizing: border-box;
    }
}

@media (max-width: 768px) {
    .scenario-text-pane .h2 {
        font-size: 1.6rem;
        margin-bottom: 0.75rem;
    }

    .benefit-tag {
        padding: 0.85rem 1.15rem;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-radius: 12px;
        width: 100%;
        /* Full width tags for better mobile fit */
        box-sizing: border-box;
    }

    .scenario-overlay {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 100%);
    }
}

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

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



/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000000;
    /* Extra high for global scope */
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
}

.video-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1;
}

.video-modal.active {
    display: flex;
}

.video-modal-container {
    width: 95%;
    max-width: 1100px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.video-modal-content {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: black;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.8),
        0 0 100px rgba(78, 189, 23, 0.1);
}

.video-modal-close {
    position: fixed;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1000001;
}

.video-modal-close:hover {
    background: var(--brand-success);
    transform: rotate(90deg);
}

.video-modal video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

/* Gallery Strip Styles */
.video-gallery-strip {
    width: 100%;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.gallery-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.gallery-items-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: thin;
    scrollbar-color: var(--brand-success) rgba(255, 255, 255, 0.05);
}

.gallery-item {
    flex: 0 0 120px;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    background: #111;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8px;
    font-size: 0.65rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.2;
    overflow: hidden;
}

.gallery-item:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: #222;
}

.gallery-item.active {
    border-color: var(--brand-success);
    background: rgba(78, 189, 23, 0.1);
    color: white;
}

/* Video Trigger Styling */
.media-box.video-trigger {
    cursor: pointer;
    position: relative;
}

.media-box.video-trigger::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    opacity: 0.8;
}

.media-box.video-trigger::before {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 24px;
    z-index: 2;
    margin-left: 4px;
    /* Adjust for centering triangle */
}

.media-box.video-trigger:hover::after {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(255, 255, 255, 0.3);
    opacity: 1;
}

/* Mobile Responsiveness for How it Works */
@media (max-width: 768px) {
    #how-it-works .container {
        padding-left: 0;
        padding-right: 0;
    }

    #how-it-works .grid-2 {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    #how-it-works .media-box {
        width: 100%;
        border-radius: 0;
    }

    #how-it-works .rounded-video {
        border-radius: 0;
    }

    #how-it-works .text-box {
        width: 100%;
        padding: 0 1.5rem;
    }
}


.section>.container {
    position: relative;
    z-index: 1;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Header & Branding - Official Minimalist Style */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Force dark background for header on non-home pages */
body:not(.home) .header {
    background: rgba(8, 15, 30, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
}

.header.sticky {
    position: fixed;
    background: rgba(8, 15, 30, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}

.logo {
    text-decoration: none;
}

.logo-text {
    font-size: clamp(1rem, 4vw, 1.4rem);
    font-weight: 800;
    letter-spacing: 0.1em;
    color: white;
    text-transform: uppercase;
    transition: opacity 0.3s;
    white-space: normal;
    word-break: break-all;
}

.logo-text:hover {
    opacity: 0.8;
}

.header-cart {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition-standard);
    margin-right: 15px;
}

.header-cart:hover {
    color: var(--brand-success);
    transform: translateY(-2px);
}

.header-cart i {
    width: 20px;
    height: 20px;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--brand-success);
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    padding: 2px;
    line-height: 1;
    box-shadow: 0 2px 10px rgba(78, 189, 23, 0.4);
}

.header-top-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-right-stack {
    display: flex;
    align-items: center;
    gap: 40px;
}

.header-phone {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.header-phone:hover {
    color: var(--brand-success);
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 7px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 2001;
}

.menu-toggle span {
    display: block;
    width: 32px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-toggle:hover span {
    background: var(--brand-success);
}

/* Updated Overlay Menu */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 85%);
    height: 100vh;
    background: rgba(8, 15, 30, 0.98);
    backdrop-filter: blur(30px);
    z-index: 2000;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    padding: 120px 60px;
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.3);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav .nav-links {
    flex-direction: column;
    gap: 30px;
    list-style: none;
}

.mobile-nav .nav-links a {
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    transition: color 0.3s;
}

.mobile-nav .nav-links a:hover {
    color: var(--brand-success);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -7px);
}

@media (max-width: 1024px) {
    .header-top {
        padding: 10px 0;
    }

    .desktop-nav-bar {
        display: none;
    }

    .logo-img {
        height: 60px;
    }

    .header-phone-group {
        display: none;
    }

    .header-right-stack {
        gap: 10px;
    }

    .header-phone {
        display: none;
        /* Hide phone in main header to maximize minimalism */
    }

    .logo-text {
        font-size: clamp(0.9rem, 4vw, 1.1rem);
        letter-spacing: 0.02em;
        white-space: normal;
        word-break: break-all;
    }

    .header {
        padding: 10px 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }
}

.grid-2-special {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    max-width: 900px;
    margin: 40px auto 0;
}

.promo-list {
    list-style: none;
    margin-top: 15px;
    text-align: left;
}

.promo-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--brand-success);
}

/* 9. Payments Section */
.payment-logos-footer {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 3rem;
}

.payment-logos {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.payment-logo-box {
    background: #ebebeb;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 30px;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.payment-logo-box:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: var(--brand-success-alpha);
    transform: translateY(-2px);
}

.payment-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.payment-methods-grid {
    gap: 2rem;
}

.payment-method-card {
    position: relative;
    padding: 2.5rem;
    border-radius: 24px !important;
    background: white !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.payment-method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: var(--brand-success-alpha) !important;
}

.method-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: #ebebeb;
    color: var(--text-primary);
    font-size: 10px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    z-index: 2;
}

.method-image-wrap {
    width: 100%;
    height: 180px;
    border-radius: 16px;
    overflow: hidden;
    background: #f8f9fa;
    margin-bottom: 2rem;
}

.method-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.payment-method-card:hover .method-img {
    transform: scale(1.05);
}

/* Delivery Banner Refinement */
.delivery-banner {
    margin-top: 20px;
    padding: 0 !important;
    border-radius: 24px !important;
    background: white !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    overflow: hidden;
    margin-bottom: 4rem;
}

.delivery-flex-layout {
    display: flex;
    align-items: stretch;
}

.delivery-visual {
    flex: 0 0 40%;
    position: relative;
    min-height: 300px;
}

.delivery-image-box {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.delivery-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.delivery-info {
    flex: 1;
    padding: 3rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.delivery-header-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.delivery-badge {
    background: #ed2124;
    color: white;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
}

.delivery-features-minimal {
    display: flex;
    gap: 2.5rem;
}

.d-feat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.d-feat-item i {
    width: 1.25rem;
    height: 1.25rem;
    color: #ed2124;
}

.delivery-note-footer {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.85rem;
}

.delivery-note-footer i {
    width: 1rem;
    height: 1rem;
    color: var(--brand-success);
}

@media (max-width: 991px) {
    .delivery-flex-layout {
        flex-direction: column;
    }

    .delivery-visual {
        flex: 0 0 auto;
        height: 200px;
    }

    .delivery-info {
        padding: 2.5rem 2rem;
    }
}

.payment-method-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.payment-method-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.method-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.method-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
}

.method-features li i {
    width: 1.1rem;
    height: 1.1rem;
    color: var(--brand-success);
}

/* Delivery Block */
.delivery-info-block {
    padding: 2rem;
    border-radius: 24px !important;
    background: #fdfdfd !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

.delivery-layout {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: center;
}

.delivery-icon-box {
    width: 56px;
    height: 56px;
    background: #ebebeb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-success);
}

.delivery-icon-box i {
    width: 24px;
    height: 24px;
}

.delivery-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
}

.delivery-note i {
    width: 14px;
    height: 14px;
    color: var(--brand-success);
}

.delivery-partner-box {
    text-align: right;
    padding-left: 2rem;
    border-left: 1px solid rgba(0, 0, 0, 0.05);
}

.partner-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.partner-logo {
    font-weight: 800;
    color: #ed2124;
    /* Nova Poshta Red accent */
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .payment-methods-grid {
        display: flex !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1rem !important;
        padding-bottom: 1.5rem !important;
        margin: 0 -20px;
        padding: 0 20px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .payment-methods-grid::-webkit-scrollbar {
        display: none;
    }

    .payment-method-card {
        flex: 0 0 85%;
        scroll-snap-align: center;
        padding: 2rem 1.5rem;
    }

    .method-image-wrap {
        height: 140px;
    }

    .delivery-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .delivery-icon-box {
        margin: 0 auto;
    }

    .delivery-note {
        justify-content: center;
    }

    .delivery-partner-box {
        border-left: none;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        padding: 1.5rem 0 0;
        text-align: center;
    }

    .payment-logos-footer {
        margin-top: 2rem;
    }

    .payment-logos {
        gap: 0.5rem;
    }

    .payment-logo-box {
        width: 48px;
        height: 26px;
    }
}

@media (max-width: 900px) {
    .payments-header {
        text-align: center;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .payment-logos {
        justify-content: center;
        margin-top: 25px;
    }

    .payment-methods-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }

    .method-features {
        grid-template-columns: 1fr;
    }

    .payment-method-card {
        padding: 70px 30px 40px !important;
    }

    .method-badge {
        top: 25px !important;
        right: auto !important;
        left: 30px !important;
    }
}

/* 3. Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
    color: #F5F5F7;
    padding: 80px 0;
    background-color: #080f1e;
    background-image: url('./assets/images/hero_official_bg.png');
    background-size: cover;
    background-position: center bottom;
    /* Fallback */
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(8, 15, 30, 0.4) 0%,
            rgba(8, 15, 30, 0.7) 100%);
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-left {
    text-align: left;
}

.hero-label {
    letter-spacing: 0.25em;
    font-weight: 600;
    display: block;
    margin-bottom: 20px;
    color: var(--brand-success);
    text-transform: uppercase;
    font-size: 0.9rem;
}

.hero h1 {
    margin-bottom: 25px;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.15);
}

.hero-sub {
    font-size: 1.25rem;
    max-width: 580px;
    margin-bottom: 3rem;
    color: rgba(245, 245, 247, 0.85);
    line-height: 1.6;
}

.quick-nav-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    max-width: 580px;
    margin: 0 0 45px 0;
}

.nav-button {
    text-decoration: none;
    padding: 15px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.glass-btn {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-button .icon {
    font-size: 1.5rem;
}

.nav-button .label {
    font-size: 0.9rem;
    /* Increased size since icons are removed */
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-button:hover,
.nav-button.active {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.scenario-info-box {
    margin-top: 25px;
    padding: 15px 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    width: 100%;
    /* Spans the left column */
    max-width: 600px;
}


.scenario-info-box.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.hero-product-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 30px;
    /* Increased for premium feel */
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition-standard);
}

.hero-product-card:hover {
    border-color: rgba(78, 189, 23, 0.4);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7);
    transform: translateY(-5px);
}

.hero-product-info {
    text-align: center;
    margin-top: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.hero-label-small {
    display: block;
    color: var(--brand-success);
    font-weight: 800;
    /* Bolder */
    font-size: 1rem;
    /* Larger */
    letter-spacing: 0.12em;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.hero-price-status-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.buy-btn-compact {
    width: auto;
    min-width: 220px;
    padding: 14px 30px !important;
    font-size: 1rem !important;
    border-radius: 12px !important;
}

.btn-gradient {
    background: linear-gradient(135deg, #4EBD17 0%, #3a8d11 100%) !important;
    border: none !important;
    box-shadow: 0 10px 25px rgba(78, 189, 23, 0.3);
    transition: all 0.3s ease;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(78, 189, 23, 0.4);
    filter: brightness(1.1);
}

.price-tag .amount {
    font-size: 2.2rem;
    font-weight: 800;
    color: white;
}

.price-tag .currency {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-left: 5px;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.dot.pulse {
    width: 8px;
    height: 8px;
    background: var(--brand-success);
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(78, 189, 23, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(78, 189, 23, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(78, 189, 23, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(78, 189, 23, 0);
    }
}

.hero-main-visual {
    position: relative;
}

.hero-product-img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6));
    animation: floating 6s ease-in-out infinite;
    border-radius: 24px;
}

/* Overlay Elements - Installment & Trust */
.flex-row { display: flex; align-items: center; gap: 10px; }
.flex-column { display: flex; flex-direction: column; gap: 10px; }

.installment-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.bank-pill {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border: none;
    transition: var(--transition-standard);
}

.bank-pill:hover {
    transform: scale(1.1) translateY(-2px);
}

.bank-pill img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.months-count {
    position: absolute;
    bottom: -4px;
    right: -4px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #000000;
    font-size: 0.75rem;
    font-weight: 800;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.trust-labels-centered {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 10px;
    width: 100%;
}

.trust-labels-centered span {
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 6px 12px;
    border-radius: 8px;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.1);
    white-space: nowrap;
}

.hero-price-status-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-top: 10px;
    width: 100%;
}

.hero-product-info .price-display {
    display: flex;
    align-items: center;
}

.hero-product-info .amount {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
}

.hero-product-info .price-details-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2;
    margin-left: 12px;
}

.hero-product-info .tax-info {
    font-size: 0.9rem;
    font-weight: 800; /* Matched to .amount weight */
    color: #FFFFFF;
    opacity: 1;
    white-space: nowrap;
}

/* Status & Wholesale Container */
.status-container {
    display: flex;
    align-items: center;
}


/* Mobile Hero Adjustments */
@media (max-width: 768px) {
    .installment-overlay {
        top: 10px;
        right: 10px;
    }
    
    .bank-pill {
        width: 38px;
        height: 38px;
    }

    .hero-product-info {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .trust-labels-centered {
        margin-top: 15px;
        gap: 6px 10px;
        width: 100%;
        max-width: 280px;
    }

    .trust-labels-centered span {
        font-size: 0.65rem;
        padding: 4px 10px;
        background: rgba(20, 20, 20, 0.6);
    }
    
    .hero-price-status-row {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .price-display {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .price-details-col {
        margin-left: 8px;
        text-align: left; /* Keep price details left-aligned to the amount but row is centered */
    }
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Responsive Hero */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }

    .header {
        padding: 10px 0;
    }

    .logo-text {
        font-size: clamp(0.9rem, 4vw, 1.1rem);
        letter-spacing: 0.02em;
        white-space: normal;
        word-break: break-all;
    }

    .header-right-stack {
        gap: 10px;
    }

    .header-phone {
        display: none;
    }

    .hero {
        padding: 110px 0 40px;
        min-height: auto;
        display: block;
    }

    .hero-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .hero-left {
        display: contents;
        /* Allows children to be ordered via flexbox */
    }

    .hero-left h1 {
        font-size: 1.8rem;
        margin-bottom: 12px;
        order: 1;
        /* Title first */
        text-align: center;
    }

    .hero-sub {
        font-size: 1rem;
        margin-bottom: 15px;
        max-width: 100%;
        order: 2;
        /* Subtitle second */
        text-align: center;
    }

    .hero-right {
        order: 3;
        /* Product Card third! */
        width: 100%;
        margin-bottom: 15px;
    }

    .quick-nav-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        margin-bottom: 15px;
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        order: 4;
        /* Buttons fourth */
    }

    .scenario-info-box {
        font-size: 0.9rem;
        padding: 15px;
        min-height: 60px;
        max-width: 100%;
        order: 5;
        /* Description fifth */
        margin-top: 0;
    }

    .nav-button {
        padding: 12px 10px;
        /* Better padding for text-only buttons */
        border-radius: 10px;
        justify-content: center;
    }

    .nav-button .label {
        font-size: 0.8rem;
        /* Slightly larger on mobile too */
        letter-spacing: 0.5px;
    }

    .hero-product-card {
        padding: 20px;
        max-width: 100%;
        margin: 0 auto;
        border-radius: 20px;
    }

    .hero-product-img {
        width: 100%;
        height: auto;
        max-height: none;
        border-radius: 16px;
    }

    .hero-product-info {
        margin-top: 15px;
    }

    .hero-label-small {
        margin-bottom: 10px;
        font-size: 0.75rem;
    }

    .price-tag .amount {
        font-size: 2rem;
    }

    .buy-btn-compact {
        padding: 12px !important;
        font-size: 0.95rem !important;
        min-width: 0;
        width: 100%;
    }

    .hero-price-status-row {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }

    .hero-sub {
        max-width: 100%;
    }
}

/* Mobile Nav Footer (inside burger) */
.mobile-nav-footer {
    margin-top: auto;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-phone {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
}

.mobile-phone:hover {
    color: var(--brand-success);
}

.product-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--border-radius);
    padding: 30px;
    transition: var(--transition-standard);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.product-card.premium-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    cursor: default;
}

.product-card.promo-card {
    background: rgba(78, 189, 23, 0.05);
    border: 1px solid rgba(78, 189, 23, 0.3);
}

.product-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
}

.glow-img {
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.1));
    transition: filter 0.5s ease;
}

.product-card:hover .glow-img {
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.25));
}

.product-img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 25px;
}

.play-btn {
    position: absolute;
    bottom: -20px;
    right: 20px;
    background: var(--brand-success);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 0 20px rgba(78, 189, 23, 0.5);
    transition: var(--transition-standard);
}

.play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(78, 189, 23, 0.8);
}

/* 4. Advantage Cards */
.advantage-card {
    height: 100%;
}

.card-num {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 0.9rem;
    font-weight: 700;
    opacity: 0.2;
    color: var(--text-muted);
}

.icon-brand {
    width: 40px;
    height: 40px;
    color: var(--brand-success);
    margin-bottom: 1rem;
}

/* UI KIT Utilities / Grids */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
        /* 2 Col rule from MASTER.md */
        gap: 15px;
    }
}

/* 6. How it Works */
.align-center {
    align-items: center;
}

.rounded-img {
    border-radius: var(--border-radius);
    width: 100%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* 7. Docs Grid */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.doc-card {
    background: white;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid var(--surface-tertiary);
    transition: var(--transition-standard);
}

.doc-card img {
    width: 100%;
    border-radius: 2px;
}

.doc-card:hover {
    transform: scale(1.1) rotate(1deg);
    z-index: 10;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

body.no-scroll {
    overflow: hidden;
}

/* 8. Stats Section */
.dark-section {
    background-color: #080f1e;
    color: white;
}

.dark-section .section-subtitle,
.dark-section p {
    color: rgba(255, 255, 255, 0.7);
}

.dark-section h2 {
    color: white;
}

.stat-num {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 5px;
}

/* 9. Scenario Z-Pattern */
.scenario-item {
    margin-bottom: 2rem;
}

.scenario-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    max-width: 460px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.scenario-item:nth-child(even) {
    flex-direction: row-reverse;
}

/* 10. FAQ */
.faq-list {
    max-width: 800px;
    margin: 40px auto;
}

.faq-item {
    background: white;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid var(--surface-tertiary);
    overflow: hidden;
}

.faq-item summary {
    padding: 20px;
    font-weight: 700;
    list-style: none;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}

.faq-content {
    padding: 0 20px 20px;
    color: var(--text-secondary);
}

/* 11. Footer */
.footer {
    border-top: 1px solid var(--surface-tertiary);
}

.foot-col h4 {
    margin-bottom: 20px;
    font-weight: 700;
}

.foot-col ul {
    list-style: none;
}

.foot-col ul li {
    margin-bottom: 12px;
}

.foot-col a {
    text-decoration: none;
    color: var(--text-secondary);
    transition: var(--transition-standard);
}

.foot-col a:hover {
    color: var(--brand-success);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.scrolled {
    background: rgba(250, 250, 250, 0.9) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.bg-secondary {
    background-color: var(--surface-secondary);
}


/* Grid Molecules */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    align-items: center;
}

@media (max-width: 900px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .grid-2.reverse {
        /* Support for Z-pattern logic */
        display: flex;
        flex-direction: column-reverse;
    }
}

.spec-item {
    padding: 30px 0;
    border-bottom: 1px solid var(--surface-tertiary);
}

.spec-item h4 {
    margin-bottom: 10px;
}

/* --- Tariffs Section --- */
/* --- Tariffs Section (Systemic) --- */
.tariffs-grid {
    margin-top: 50px;
}

.tariff-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    padding: 48px 32px;
    display: flex;
    flex-direction: column;
    transition: var(--transition-standard);
    height: 100%;
}

.tariff-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.tariff-card.has-badge {
    border-color: rgba(78, 189, 23, 0.3);
}

.tariff-badge {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand-success);
    color: black;
    padding: 0.5rem 1.5rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(78, 189, 23, 0.4);
}

.tariff-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 24px;
    margin-bottom: 24px;
}

.tariff-header h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.tariff-price {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    gap: 8px;
}

.tariff-price .price {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-primary);
}

.tariff-price .period {
    color: var(--text-secondary);
    font-size: 1rem;
}

.tariff-price-alt {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 4px;
}

.tariff-features {
    list-style: none;
    margin-bottom: 40px;
    flex-grow: 1;
    padding: 0;
}

.tariff-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.4;
}

.tariff-features .icon-success {
    color: var(--brand-success);
    flex-shrink: 0;
    margin-top: 3px;
}

.icon-circle-box {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(78, 189, 23, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-success);
    flex-shrink: 0;
}

.icon-circle-box i {
    width: 32px;
    height: 32px;
}

.dot-success {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-success);
    display: inline-block;
    flex-shrink: 0;
}

.color-white {
    color: white !important;
}

.m-0 {
    margin: 0 !important;
}

/* --- Power Section Specifics (UI Kit) --- */
.power-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px;
    transition: var(--transition-standard);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.power-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(78, 189, 23, 0.3);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.power-image-wrap {
    width: 100%;
    aspect-ratio: 16/10;
    margin-bottom: 24px;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.power-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.power-card:hover .power-img {
    transform: scale(1.05);
}

.power-card h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.power-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 1024px) {
    #powering .grid-3 {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    #powering .power-card {
        padding: 25px;
        height: auto;
        min-height: auto;
        align-items: flex-start;
        text-align: left;
    }

    #powering .power-image-wrap {
        margin-bottom: 20px;
        aspect-ratio: 16/9;
    }

    #powering .section-header {
        margin-bottom: 30px;
    }
}

/* --- Registration Section Refined --- */
.registration-section {
    background: #FAFAFA;
}

/* Tabs Switcher */
.registration-tabs-container {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    /* Reduced from 3rem */
}

.registration-tabs {
    display: flex;
    background: #EEEEEE;
    padding: 6px;
    border-radius: 100px;
    gap: 4px;
}

.tab-btn {
    padding: 12px 32px;
    border-radius: 100px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: white;
    color: var(--text-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.registration-tab-content {
    display: none;
    animation: fadeUp 0.5s ease forwards;
}

.registration-tab-content.active {
    display: block;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.whitelist-banner {
    background: white;
    border-radius: 32px;
    padding: 2.5rem;
    /* Reduced from 3.5rem */
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
}

.whitelist-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.official-diia-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    /* Limit image size as requested */
    margin: 0 auto;
}

.official-diia-image img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.9;
    transition: transform 0.5s ease;
}

.official-diia-image:hover img {
    transform: scale(1.02);
}

.image-overlay-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 30%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
}

/* Verification Requirements */
.verification-requirements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.v-req-item {
    background: #F8F8F9;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.v-req-label {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--brand-success);
    margin-bottom: 0.25rem;
}

.v-req-text {
    font-size: 0.85rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* Procedure Flow (Horizontal) */
.procedure-flow-container {
    width: 100%;
}

.procedure-flow {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    position: relative;
}

.proc-flow-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 0 10px;
}

.proc-flow-number {
    width: 32px;
    height: 32px;
    background: var(--brand-success);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(78, 189, 23, 0.2);
    z-index: 2;
    flex-shrink: 0;
}

.proc-flow-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
    font-weight: 500;
}

.proc-flow-arrow {
    position: absolute;
    top: 16px;
    right: -12px;
    transform: translateY(-50%);
    color: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.proc-flow-arrow i {
    width: 20px;
    height: 200px;
    /* Hidden line logic might be better but chevron is safer */
    width: 16px;
    height: 16px;
}



@media (max-width: 1024px) {
    .procedure-flow {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
        padding: 0 5%;
        margin: 0 -5%;
        gap: 1rem;
        scrollbar-width: none;
        /* Hide scrollbar */
    }

    .procedure-flow::-webkit-scrollbar {
        display: none;
    }

    .proc-flow-item {
        flex: 0 0 85%;
        scroll-snap-align: center;
        background: white;
        padding: 1.5rem 1rem;
        border-radius: 16px;
        border: 1px solid rgba(0, 0, 0, 0.05);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .proc-flow-number {
        margin-bottom: 0.75rem;
    }

    .proc-flow-arrow {
        display: none;
    }

    .proc-flow-text {
        font-size: 0.85rem;
    }

    /* Reset Requirements Grid */
    .verification-requirements-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    /* Reduce vertical spacing on mobile */
    .registration-section {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    .section-header.mb-8 {
        margin-bottom: 1.5rem !important;
    }

    .mt-10 {
        margin-top: 1.5rem !important;
    }

    .mt-12 {
        margin-top: 2rem !important;
    }

    .procedure-header-mobile {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1rem;
    }

    .procedure-header-mobile .procedure-title {
        margin-bottom: 0 !important;
        text-align: left !important;
    }


}

/* Global overflow fix for mobile */
@media (max-width: 768px) {

    body,
    html {
        overflow-x: hidden;
        position: relative;
    }

    #registration {
        overflow-x: hidden;
    }

    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .official-sources-row {
        flex-direction: column;
        align-items: center;
        gap: 1.25rem;
    }

    .sources-list {
        width: 100%;
        gap: 0.75rem;
        flex-wrap: nowrap !important;
    }

    .source-link {
        flex: 1;
        justify-content: center;
        padding: 8px 6px !important;
        font-size: 0.7rem !important;
        white-space: normal !important;
        text-align: center;
        line-height: 1.1;
        min-height: 44px;
    }
}

.movement-warning {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #FFF9E6;
    padding: 1.25rem;
    border-radius: 16px;
    border-left: 4px solid #FFCC00;
}

.movement-warning i {
    color: #CC9900;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.movement-warning span {
    font-size: 0.9rem;
    color: #856404;
    font-weight: 500;
}

/* Official Sources */
.official-sources-row {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.sources-label {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.sources-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.source-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 8px 16px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 100px;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.source-link:hover {
    border-color: var(--brand-success);
    color: var(--brand-success);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(78, 189, 23, 0.1);
}

.source-link i {
    width: 14px;
    height: 14px;
}

.shield-wrapper {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shield-icon {
    width: 100px !important;
    height: 100px !important;
    color: var(--brand-success);
    z-index: 2;
    filter: drop-shadow(0 0 20px rgba(78, 189, 23, 0.3));
}

.shield-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(78, 189, 23, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.wifi-hint {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.1;
    z-index: 0;
}

.whitelist-info .h3 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.info-row {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 2rem;
}

.info-block {
    padding: 1.5rem;
    border-radius: 16px;
    background: #F8F9FA;
    border-left: 4px solid var(--brand-success);
}

.info-block.danger {
    border-left-color: #EF4444;
}

.info-caption {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.info-block.danger .info-caption {
    color: #EF4444;
}

.info-block p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    color: var(--text-primary);
}

/* Business Flow */
.registration-steps-flow {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.flow-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.flow-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 24px;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    height: 100%;
}

.flow-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.flow-tag {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    color: white;
    background: var(--text-primary);
    padding: 4px 10px;
    border-radius: 20px;
}

.flow-icon {
    width: 64px;
    height: 64px;
    background: #F0F7ED;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--brand-success);
}

.flow-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-primary);
    margin: 0;
}

.flow-connector {
    color: rgba(0, 0, 0, 0.1);
}

.flow-footer-banner {
    background: #EBF5FF;
    border-radius: 20px;
    padding: 1.5rem 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #004A99;
}

.support-pill-outer {
    margin-top: 3rem;
}

@media (max-width: 1024px) {
    .whitelist-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .info-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .registration-steps-flow {
        flex-direction: column;
    }

    .flow-item {
        width: 100%;
    }

    .flow-connector {
        display: none;
    }

    .flow-card {
        padding: 2rem;
    }

    .whitelist-banner {
        padding: 2rem;
    }
}

.premium-visual-box {
    aspect-ratio: 1/1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 40px;
    border-radius: 40px;
}

.visual-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(78, 189, 23, 0.15) 0%, transparent 100%);
    pointer-events: none;
}

.visual-bg-icon {
    position: absolute;
    width: 140px;
    height: 140px;
    opacity: 0.05;
    color: var(--brand-success);
    z-index: 1;
}

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

.visual-stat {
    display: block;
    font-size: 5rem;
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.visual-label {
    color: var(--brand-success);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    margin-top: 10px;
    display: block;
}

/* --- Starlin Modal Styles (Ported from Snapmaker) --- */
.starlin-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s;
}

.starlin-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.starlin-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 15, 30, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.starlin-modal__container {
    position: relative;
    width: 95%;
    max-width: 500px;
    background: #121212;
    /* Premium Dark like Snapmaker */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    padding: clamp(15px, 5vw, 40px);
    z-index: 10001;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.5s;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
    color: white;
    overflow-y: auto;
    max-height: 90vh;
}

.starlin-modal.is-open .starlin-modal__container {
    transform: translateY(0) scale(1);
}

.starlin-modal__close {
    position: absolute;
    top: 25px;
    right: 25px;
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s;
    line-height: 1;
}

.starlin-modal__close:hover {
    opacity: 1;
}

.starlin-modal__title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.1;
    text-align: center;
    letter-spacing: -0.02em;
    background: linear-gradient(90deg, #FFFFFF 0%, #B0B0B0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.starlin-modal__text {
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.1rem;
    line-height: 1.5;
}

.starlin-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.starlin-form__input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 18px 24px;
    color: white;
    font-size: 1.1rem;
    transition: var(--transition-standard);
    width: 100%;
}

.starlin-form__input:focus {
    outline: none;
    border-color: var(--brand-success);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(78, 189, 23, 0.2);
}

.starlin-form__label-group {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 10px;
    text-align: center;
}

.starlin-radio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.starlin-radio-card {
    cursor: pointer;
    position: relative;
}

.starlin-radio-card input {
    position: absolute;
    opacity: 0;
}

.starlin-radio-card__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 5px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    transition: all 0.3s ease;
}

.starlin-radio-card__icon {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.4);
}

.starlin-radio-card__name {
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.starlin-radio-card:hover .starlin-radio-card__content {
    background: rgba(255, 255, 255, 0.06);
}

.starlin-radio-card input:checked+.starlin-radio-card__content {
    background: rgba(78, 189, 23, 0.1);
    border-color: var(--brand-success);
    box-shadow: 0 0 15px rgba(78, 189, 23, 0.2);
}

.starlin-radio-card input:checked+.starlin-radio-card__content .starlin-radio-card__icon {
    color: var(--brand-success);
}

.starlin-radio-card input:checked+.starlin-radio-card__content .starlin-radio-card__name {
    color: white;
}

.starlin-form-footer-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .starlin-modal__container {
        padding: clamp(15px, 5vw, 30px);
        width: 95%;
        max-width: calc(100vw - 20px);
        box-sizing: border-box;
    }

    .starlin-modal__title {
        font-size: clamp(1.4rem, 5vw, 1.8rem);
    }

    .starlin-radio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        width: 100%;
    }

    .starlin-lead-form {
        width: 100%;
        max-width: 100%;
    }

    .starlin-input,
    .starlin-submit-btn {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}

/* ==========================================
   SPECS CALLOUT SECTION
   ========================================== */
.specs-callout-section {
    background: #fff;
    overflow: hidden;
}

.specs-callout-header {
    text-align: center;
    margin-bottom: 60px;
}

.specs-callout-header {
    text-align: center;
    margin-bottom: 3rem;
}

.specs-callout-layout {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0 40px;
}

.specs-product-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.specs-product-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 50%, #fff 85%);
    pointer-events: none;
    z-index: 2;
}

.specs-product-img {
    position: relative;
    z-index: 1;
    max-width: 380px;
    width: 100%;
    height: auto;
}

.callout-col {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.callout-col--left {
    align-items: flex-end;
    text-align: right;
}

.callout-col--right {
    align-items: flex-start;
    text-align: left;
}

.callout-item {
    display: flex;
    align-items: center;
}

.callout-item--right {
    flex-direction: row;
    justify-content: flex-end;
}

.callout-item--left {
    flex-direction: row;
    justify-content: flex-start;
}

.callout-line {
    flex: 1;
    height: 1px;
    position: relative;
    min-width: 40px;
}

.callout-item--right .callout-line {
    background: linear-gradient(90deg, rgba(78, 189, 23, 0.15), var(--brand-success));
}

.callout-item--left .callout-line {
    background: linear-gradient(90deg, var(--brand-success), rgba(78, 189, 23, 0.15));
}

.callout-line::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--brand-success);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(78, 189, 23, 0.2);
}

.callout-item--right .callout-line::before {
    right: 0;
}

.callout-item--left .callout-line::before {
    left: 0;
}

.callout-text {
    max-width: 190px;
}

.callout-text h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--brand-success);
    margin-bottom: 5px;
    letter-spacing: -0.01em;
}

.callout-text p {
    font-size: 0.84rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.specs-callout-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.stock-status {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-success);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Mobile list hidden on desktop */
.specs-mobile-list {
    display: none;
}

/* MOBILE */
@media (max-width: 900px) {
    .callout-col {
        display: none;
    }

    .specs-callout-layout {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .specs-product-img {
        max-width: 280px;
    }

    .specs-mobile-list {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-top: 40px;
    }

    .spec-mobile-item {
        display: flex;
        align-items: flex-start;
        gap: 14px;
    }

    .spec-mobile-dot {
        flex-shrink: 0;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: var(--brand-success);
        margin-top: 5px;
        box-shadow: 0 0 0 3px rgba(78, 189, 23, 0.2);
    }

    .spec-mobile-item h4 {
        font-size: 1rem;
        font-weight: 700;
        color: var(--brand-success);
        margin-bottom: 4px;
    }

    .spec-mobile-item p {
        font-size: 0.9rem;
        color: var(--text-secondary);
        line-height: 1.5;
        margin: 0;
    }

    .specs-callout-header {
        margin-bottom: 15px;
    }

    .specs-callout-section {
        padding: 40px 0;
    }

    .specs-product-img {
        max-width: 240px;
    }

    .specs-mobile-list {
        display: flex;
        flex-direction: column;
        gap: 16px;
        margin-top: 20px;
    }

    .specs-callout-cta {
        margin-top: 30px;
        flex-direction: column;
        gap: 15px;
    }
}

/* Kit Contents Section */

/* ==========================================
   KIT CONTENTS SECTION
   ========================================== */
.kit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.kit-item {
    text-align: center;
}

.kit-item-img {
    background: #fff;
    border-radius: 16px;
    padding: 30px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 180px;
    margin-bottom: 14px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.kit-item-img img {
    max-width: 100%;
    max-height: 140px;
    object-fit: contain;
}

.kit-item-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    margin: 0;
}

@media (max-width: 900px) {
    .kit-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .kit-item-img {
        height: 130px;
        padding: 20px 15px;
    }

    .kit-item-name {
        font-size: 0.82rem;
    }
}

/* ==========================================
   CONSULTATION SECTION
   ========================================== */
.consultation-section {
    background: linear-gradient(135deg, #080f1e 0%, #0d1f3c 100%);
    color: white;
}

.consultation-inner {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: center;
}

.consultation-text .section-tag {
    color: var(--brand-success);
    opacity: 1;
}


.rounded-media {
    overflow: hidden;
    border-radius: var(--border-radius);
    line-height: 0;
    box-shadow: var(--shadow-lg);
}

.rounded-video {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* 10. Academy Section (Bento Grid) */
.academy-section {
    padding-bottom: var(--section-gap);
}

.academy-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 50px;
}

.academy-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.academy-secondary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.academy-section h2 {
    color: #FFFFFF !important;
    /* Ensure consistency with dark-section */
}

.academy-section .section-subtitle {
    color: rgba(255, 255, 255, 0.7) !important;
}

.academy-card {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    /* background: rgba(255, 255, 255, 0.03); */
    /* border: 1px solid rgba(255, 255, 255, 0.05); */
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.academy-card .card-text h3 {
    color: var(--text-primary);
}

.academy-card .card-text p {
    color: var(--text-secondary);
}

.academy-card.secondary h3 {
    color: var(--text-primary);
}

.academy-card:hover {
    transform: translateY(-8px);
    border-color: var(--brand-success);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Featured Card Styles */
.academy-card.featured {
    height: 380px;
}

.academy-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.academy-card-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    transition: opacity 0.4s ease;
}

.academy-card.featured:hover .academy-card-bg video {
    opacity: 0.7;
}

.academy-card-content {
    position: relative;
    z-index: 2;
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.academy-card.featured .play-button {
    width: 60px;
    height: 60px;
    background: var(--brand-success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(78, 189, 23, 0.4);
}

.academy-card.featured .card-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--brand-success);
    margin-bottom: 10px;
    display: block;
}

.academy-card h3 {
    margin-bottom: 10px;
    color: white;
}

.academy-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

/* Secondary Card Styles (Compact & Visual) */
.academy-card.secondary {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 180px;
    background: #000;
    overflow: hidden;
    gap: 12px;
}

.academy-card.secondary .academy-card-bg {
    opacity: 0.35;
    transition: opacity 0.5s ease;
}

.academy-card.secondary:hover .academy-card-bg {
    opacity: 0.7;
    transform: scale(1.05);
}

.academy-card.secondary .academy-card-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 2.5rem 1.5rem;
}

.play-button-small {
    width: 44px;
    height: 44px;
    background: var(--brand-success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 5px;
    box-shadow: 0 4px 15px rgba(78, 189, 23, 0.4);
    transition: transform 0.3s ease;
}

.academy-card.secondary:hover .play-button-small {
    transform: scale(1.1);
}

.play-button-small i {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.academy-card.secondary h3 {
    font-size: 0.95rem;
    margin: 5px 0;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    color: white;
}

.play-label {
    font-size: 0.75rem;
    color: var(--brand-success);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

@media (max-width: 1024px) {
    .academy-secondary-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .academy-featured {
        grid-template-columns: 1fr;
    }

    .academy-card.featured {
        height: 300px;
    }
}

/* --- Tariffs & Savings Section --- */
.tariffs-section {
    position: relative;
    background: radial-gradient(circle at top right, rgba(78, 189, 23, 0.03), transparent 40%);
}

/* --- Tariffs Card Enhancement --- */
.tariff-card.power-card {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 2.5rem;
    border-radius: 20px;
    height: 100%;
}

.power-card h3 {
    color: var(--text-primary);
}

.power-card p {
    color: var(--text-secondary);
}

.tariff-card.glass-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.tariff-card.glass-card:hover {
    border-color: var(--brand-success);
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.04);
}

.tariff-card.has-badge {
    border-color: rgba(78, 189, 23, 0.3);
}

.tariff-badge {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand-success);
    color: black;
    padding: 0.5rem 1.5rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 10;
}

.tariff-card {
    padding-bottom: 2rem !important;
    /* Усунення "огромного" відступу */
    display: flex;
    flex-direction: column;
}

.tariff-features {
    margin-bottom: 0 !important;
}

.tariffs-section .grid-3 {
    margin-top: 1em !important;
    margin-bottom: 1em !important;
}

.optimization-block {
    padding: 1.5rem 2rem;
    border-radius: 40px;
    background: var(--surface-secondary);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(20px);
    margin-top: 2rem;
}

.optimization-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.optimization-header .icon-circle-box {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-success);
    color: white;
    border-radius: 50%;
}

.optimization-header .icon-circle-box i {
    width: 20px;
    height: 20px;
}

.optimization-header .h3 {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    font-weight: 700;
    margin: 0;
    color: var(--text-primary);
}

.optimization-grid {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.tip-item .h4 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.tip-item .icon-success {
    color: var(--brand-success);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.animate-pulse-slow {
    animation: pulse-slow 3s infinite ease-in-out;
}

@keyframes pulse-slow {
    0% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    }

    50% {
        transform: scale(1.02);
        box-shadow: 0 15px 45px rgba(78, 189, 23, 0.1);
        border-color: rgba(78, 189, 23, 0.4);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    }
}

@media (max-width: 768px) {
    .tariffs-section {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

    .tariffs-section .section-header {
        margin-bottom: 1rem !important;
    }

    .tariffs-section .section-header .text-label {
        margin-bottom: 0.15rem !important;
    }

    .tariffs-section .section-header p {
        margin-top: 0.4rem !important;
        font-size: 0.85rem !important;
        line-height: 1.25 !important;
    }

    .mobile-slider-container {
        position: relative;
        margin: 0 -20px;
        padding: 0 20px;
    }

    .tariffs-grid {
        display: flex !important;
        overflow-x: auto;
        overflow-y: visible !important;
        /* Allow badges to pop out vertically */
        scroll-snap-type: x mandatory;
        gap: 0.75rem !important;
        padding-top: 2rem !important;
        /* Room for badges inside the scrollable area */
        padding-bottom: 0.75rem !important;
        margin-top: 4.25rem !important;
        /* 4.5rem - padding = visual alignment + 20px extra */
        /* Move cards down to prevent Badge Overlap with Section Header */
        margin-bottom: 0.75rem !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .tariffs-grid::-webkit-scrollbar {
        display: none;
    }

    .tariff-card {
        flex: 0 0 88%;
        scroll-snap-align: center;
        margin: 0 !important;
        padding: 1.25rem !important;
        /* more compact */
    }

    .tariff-header {
        padding-bottom: 0.5rem !important;
        margin-bottom: 0.5rem !important;
        text-align: center !important;
    }

    .tariff-header h3 {
        font-size: 1.45rem !important;
        margin-bottom: 0.2rem !important;
        margin-top: 1.25rem !important;
        /* Prevent overlap with relative badge */
        line-height: 1.15 !important;
        text-align: center !important;
    }

    .tariff-price {
        display: flex !important;
        justify-content: center !important;
        align-items: baseline !important;
        gap: 0.5rem !important;
    }

    .tariff-price-alt {
        margin-top: -8px !important;
        margin-bottom: 0.5rem !important;
        /* super tight */
        font-size: 0.75rem !important;
        opacity: 0.7;
        text-align: center !important;
    }

    .tariff-features {
        margin-bottom: 0.5rem !important;
    }

    .tariff-features li {
        margin-bottom: 0.4rem !important;
        font-size: 0.9rem !important;
        gap: 8px !important;
    }

    .optimization-block {
        padding: 0.85rem !important;
        border-radius: 14px !important;
        margin-top: 0 !important;
        margin-bottom: 1.5rem !important;
    }

    .optimization-header .h3 {
        font-size: 1.1rem !important;
    }

    .optimization-grid {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 0.65rem !important;
    }

    .tip-item {
        flex: 1 1 200px !important;
        /* Allow wrapping and growth */
        max-width: 100% !important;
        text-align: left !important;
    }

    .tip-item .h4 {
        font-size: 0.85rem !important;
        margin-bottom: 0.15rem !important;
    }

    .tip-item .body-text {
        font-size: 0.75rem !important;
        line-height: 1.25 !important;
    }

    .optimization-header {
        flex-direction: row !important;
        text-align: left !important;
        gap: 0.4rem !important;
        margin-bottom: 0.5rem !important;
    }

    .optimization-header .icon-circle-box {
        width: 24px !important;
        height: 24px !important;
        min-width: 24px !important;
    }
}


@media (max-width: 1024px) and (min-width: 769px) {
    #tariffs .grid-3 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2.5rem !important;
    }

    .tariffs-section {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    .optimization-block {
        padding: 1.5rem !important;
        border-radius: 24px !important;
    }

    .optimization-block .optimization-grid {
        gap: 1.5rem !important;
    }

    .optimization-header {
        flex-direction: row !important;
        text-align: left !important;
        gap: 0.75rem !important;
        margin-bottom: 1rem !important;
    }

    .optimization-header .icon-circle-box {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
    }

    .optimization-header .icon-circle-box i {
        width: 16px !important;
        height: 16px !important;
    }

    .tip-item .h4 {
        font-size: 1rem !important;
        gap: 0.5rem !important;
        margin-bottom: 0.5rem !important;
    }
}

/* --- Power Autonomy & Registration Light Theme --- */
.power-section,
.registration-section {
    position: relative;
    overflow: hidden;
}

.power-card {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    padding: 2.5rem;
    border-radius: 24px;
    transition: var(--transition-standard);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.power-icon-box {
    width: 60px;
    height: 60px;
    background: var(--surface-secondary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--brand-success);
}

.power-card:hover {
    border-color: var(--brand-success);
}

:root {
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --accent-glow: rgba(78, 189, 23, 0.15);
}

.power-section,
.registration-section {
    position: relative;
    overflow: hidden;
}

/* Aura Background Effects */
.aura-bg {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    pointer-events: none;
    opacity: 0.5;
}

.aura-top-right {
    top: -200px;
    right: -200px;
}

.aura-bottom-left {
    bottom: -200px;
    left: -200px;
}

/* Enhanced Glass Panel */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.glass-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    pointer-events: none;
}

/* Molecules / Power Cards */
.power-card {
    height: 100%;
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: var(--surface-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-success);
    margin-bottom: 2rem;
    transition: var(--transition-standard);
}

.power-card:hover .icon-box {
    transform: scale(1.1) rotate(5deg);
    background: var(--brand-success);
    color: white;
    box-shadow: 0 10px 20px rgba(78, 189, 23, 0.3);
}

/* Typography Utilities for new blocks */
.text-gradient {
    background: linear-gradient(135deg, #fff 0%, #a5a5a5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.registration-step {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    margin-bottom: 16px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.registration-step:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.15);
}

.step-number {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: var(--brand-success);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: 0 0 15px rgba(78, 189, 23, 0.4);
}

.support-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: rgba(78, 189, 23, 0.1);
    border: 1px solid rgba(78, 189, 23, 0.2);
    border-radius: 100px;
    color: var(--brand-success);
    font-weight: 600;
    margin-top: 32px;
}

/* Responsive fixes */
@media (max-width: 768px) {
    .aura-bg {
        width: 300px;
        height: 300px;
    }

    .registration-step {
        padding: 16px;
    }
}

/* Consultation Section */
.consultation-section {
    padding: 6rem 0 !important;
}

.consultation-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0 !important;
    background: transparent !important;
    border: none !important;
}

.consultation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.consultation-text h2 {
    line-height: 1.1 !important;
    margin-bottom: 0.5rem;
}

.consultation-text .text-label {
    display: block;
    margin-bottom: 1rem;
}

.consultation-text .body-text {
    color: var(--text-secondary);
    margin-top: 1rem;
}

.consultation-form {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    /* Align to top to keep inputs and button on same line while note is below */
    gap: 1rem;
    position: relative;
}

.consultation-fields {
    display: flex;
    flex-direction: row;
    /* Force horizontal on desktop */
    gap: 1rem;
    flex: 2;
    /* Take more space than the actions block */
}

.consultation-input {
    flex: 1;
    /* Key for horizontal alignment */
    padding: 0.85rem 1.25rem !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    border: 1px solid var(--border-subtle) !important;
    color: #1a1a1a !important;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.consultation-input:focus {
    outline: none;
    border-color: var(--brand-success) !important;
    background: #ffffff !important;
}

.consultation-input::placeholder {
    color: #888888 !important;
    opacity: 1;
}

.consultation-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.consultation-form .btn-primary {
    width: 100% !important;
    white-space: nowrap;
    padding: 0.85rem 2rem !important;
}

.consultation-note {
    font-size: 0.75rem;
    color: var(--text-secondary);
    width: 100%;
    text-align: center;
    margin: 0;
}

.consultation-success {
    display: none;
    text-align: center;
    color: var(--brand-success);
    font-weight: 600;
}

@media (max-width: 991px) {
    .consultation-grid {
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .consultation-section {
        padding: 3rem 0 !important;
    }

    .consultation-container {
        padding: 0 1rem !important;
    }

    .consultation-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .consultation-form {
        flex-direction: column;
        align-items: stretch;
    }

    .consultation-fields {
        flex-direction: column;
    }

    .consultation-input {
        width: 100%;
    }

    .consultation-form .btn-primary {
        width: 100% !important;
    }

    .consultation-note {
        position: static;
        margin-top: 1rem;
    }
}

/* Footer Section */
.footer {
    padding: 6rem 0 !important;
    background-color: #050505 !important;
    border-top: 1px solid var(--border-subtle) !important;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 4rem;
}

.footer-logo {
    width: 120px;
    margin-bottom: 1.5rem;
    display: block;
}

.footer-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-heading {
    color: white !important;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 700;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.footer-contact-item svg {
    width: 1rem;
    height: 1rem;
    color: var(--brand-success);
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
    margin: 0;
}

@media (max-width: 991px) {
    .footer-grid {
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 4rem 0 !important;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .footer-logo {
        margin: 0 auto 1.5rem;
    }

    .footer-contact-item {
        justify-content: center;
    }

    .footer-bottom {
        margin-top: 3rem;
    }
}

/* End of File */
/* FAQ Section */
.faq-section {
    padding: 6rem 0 !important;
    background: var(--surface-secondary) !important;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 3rem auto 0;
}

.faq-item {
    margin-bottom: 0 !important;
    border-radius: 16px !important;
    overflow: hidden;
    background: white !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    height: fit-content;
    transition: all 0.3s ease;
    padding: 10px !important;
}

.faq-item:hover {
    border-color: var(--brand-success-alpha) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.faq-summary {
    padding: 0.5rem 1rem !important;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    color: var(--text-primary);
}

.faq-summary::-webkit-details-marker {
    display: none;
}

.faq-icon {
    width: 1.2rem;
    height: 1.2rem;
    color: var(--brand-success);
    transition: transform 0.3s ease;
}

details[open] .faq-icon {
    transform: rotate(180deg);
}

.faq-content {
    padding: 1rem !important;
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
    border-top: 1px solid var(--border-subtle);
}

@media (max-width: 991px) {
    .faq-grid {
        grid-template-columns: 1fr;
        max-width: 800px;
    }
}

@media (max-width: 768px) {
    .faq-section {
        padding: 4rem 0 !important;
    }

    .faq-summary {
        padding: 1.25rem !important;
        font-size: 0.95rem;
    }

    .faq-content {
        padding: 0 1.25rem 1.25rem !important;
        font-size: 0.9rem;
    }
}

/* --- Cart Drawer (Mini-Cart) --- */
.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.cart-drawer-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 450px;
    height: 100%;
    background: rgba(13, 17, 23, 0.85);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 2001;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.cart-drawer.is-open {
    right: 0;
}

.cart-drawer-header {
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.drawer-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 600;
    color: #FFFFFF;
}

.drawer-title i {
    color: var(--brand-success);
    width: 24px;
    height: 24px;
}

.drawer-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.drawer-close:hover {
    color: #FFFFFF;
    transform: rotate(90deg);
}

.cart-drawer-content {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

/* WooCommerce Mini-Cart Styling Override */
.widget_shopping_cart_content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.woocommerce-mini-cart {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.woocommerce-mini-cart-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    padding-right: 0;
}

.woocommerce-mini-cart-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 12px;
    background: var(--surface-secondary);
    flex-shrink: 0;
}

.woocommerce-mini-cart-item .mini-cart-info {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    min-width: 0;
}

.woocommerce-mini-cart-item a:not(.remove) {
    color: #FFFFFF !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    line-height: 1.2;
    margin-bottom: 0 !important;
    white-space: normal;
    flex: 0 1 auto;
    min-width: 0;
}

.cart-qty-price-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Quantity Controls Styling (Vertical) */
.quantity-selector {
    display: flex;
    flex-direction: column-reverse;
    /* Plus top, Minus bottom */
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 4px;
    gap: 2px;
}

.quantity-selector button {
    width: 24px;
    height: 20px;
    border: none;
    background: transparent;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
}

.quantity-selector button:hover {
    background: rgba(255, 255, 255, 0.1);
}

.quantity-selector input {
    width: 24px;
    background: transparent;
    border: none;
    color: #FFFFFF;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 2px 0;
    -moz-appearance: textfield;
}

.quantity-selector input::-webkit-outer-spin-button,
.quantity-selector input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.woocommerce-mini-cart-item a:not(.remove):hover {
    color: var(--brand-success) !important;
}

.woocommerce-mini-cart-item a.remove {
    margin-left: auto;
    /* Push to the right */
    width: 24px;
    height: 24px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border-radius: 50% !important;
    font-size: 1.1rem !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.woocommerce-mini-cart-item a.remove:hover {
    background: rgba(237, 33, 36, 0.2) !important;
    color: #ed2124 !important;
}

.woocommerce-mini-cart-item .quantity {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    /* Prevent wrap */
}

.woocommerce-mini-cart-item .quantity .amount {
    color: #FFFFFF !important;
    font-weight: 600;
    white-space: nowrap;
}

.woocommerce-mini-cart__total {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-top: auto;
    /* Push down to bottom */
}

.woocommerce-mini-cart__total strong {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
}

.woocommerce-mini-cart__total .amount {
    color: var(--brand-success) !important;
    font-weight: 800;
    white-space: nowrap;
}

.woocommerce-mini-cart__buttons {
    display: flex;
    flex-direction: column-reverse;
    /* Reorder for design */
    gap: 12px;
    margin-top: 10px;
    padding-bottom: 20px;
}

.woocommerce-mini-cart__buttons .button {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    text-align: center;
    text-decoration: none !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    transition: all 0.3s ease;
}

.woocommerce-mini-cart__buttons .button.checkout {
    background: var(--brand-success) !important;
    color: #FFFFFF !important;
    border: none !important;
    box-shadow: 0 10px 20px rgba(78, 189, 23, 0.2);
    order: 2;
}

.woocommerce-mini-cart__buttons .button.checkout:hover {
    background: #4ecc2f !important;
    box-shadow: 0 15px 30px rgba(78, 204, 47, 0.3);
    transform: translateY(-2px);
}

.woocommerce-mini-cart__buttons .button.wc-forward:not(.checkout) {
    background: transparent !important;
    color: #FFFFFF !important;
    border: 1px solid #FFFFFF !important;
    order: 1;
}

.woocommerce-mini-cart__buttons .button.wc-forward:not(.checkout):hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: #FFFFFF !important;
}

.woocommerce-mini-cart-item .quantity .amount {
    color: #FFFFFF !important;
}

.woocommerce-mini-cart__empty-message {
    text-align: center;
    color: var(--text-secondary);
    padding: 40px 0;
    font-size: 0.95rem;
}

/* Custom header cart fix */
.header-cart {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--brand-success);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: none;
}

.cart-count:empty {
    display: none;
}

/* ==========================================================================
   CHECKOUT PAGE (Classic Style Overrides)
   ========================================================================== */

.woocommerce-checkout .entry-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* Form Layout - Two Columns */
.woocommerce-checkout form.checkout {
    display: grid !important;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: start;
}

#customer_details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.woocommerce-checkout .col-1,
.woocommerce-checkout .col-2 {
    width: 100% !important;
    float: none !important;
}

.woocommerce-billing-fields h3 {
    display: none !important;
    /* Hide default WC billing header */
}

#billing_country_field {
    display: none !important;
}

.checkout-section-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 40px 0 25px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
    color: var(--text-primary);
    width: 100%;
    float: none !important;
    clear: both !important;
}

#billing_first_name_field .checkout-section-title {
    margin-top: 0;
}

/* Minimal Field Styling */
.woocommerce-checkout .form-row {
    padding: 0;
    margin-bottom: 6px !important;
    position: relative;
    clear: both;
}

.woocommerce-checkout .form-row label {
    position: absolute;
    top: 6px;
    left: 16px;
    font-weight: 700;
    margin-bottom: 0;
    font-size: 10px !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    opacity: 0.8;
    z-index: 10;
    pointer-events: none;
    line-height: 1;
}

.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea,
.select2-container--default .select2-selection--single,
.zen-ui-select__value {
    width: 100%;
    height: 50px !important;
    padding: 20px 16px 4px 16px !important;
    background: white !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 12px !important;
    font-family: var(--font-main);
    font-size: 1rem;
    color: var(--text-primary);
    transition: var(--transition-standard);
    display: flex;
    align-items: center;
}

/* Specific fix for Zen UI Select component which is used for NP fields */
.zen-ui-select {
    border-radius: 12px !important;
}

.zen-ui-select__value {
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    line-height: normal !important;
}

.zen-ui-select__rendered {
    display: flex;
    align-items: center;
    height: 100%;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: normal !important;
    padding-left: 0 !important;
    color: var(--text-primary) !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 54px !important;
    right: 10px !important;
}

.woocommerce-checkout .form-row input.input-text:focus,
.woocommerce-checkout .form-row select:focus,
.select2-container--default.select2-container--focus .select2-selection--single {
    outline: none !important;
    border-color: var(--brand-success) !important;
    box-shadow: 0 0 0 4px rgba(78, 189, 23, 0.1) !important;
}

/* Order Review (Right side / Bottom) */
#order_review_heading {
    display: none;
    /* Hide redundant heading */
}

#order_review {
    position: sticky;
    top: 100px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

/* Shipping row alignment fix */
.woocommerce-checkout-review-order-table tr.shipping th,
.woocommerce-checkout-review-order-table tr.shipping td {
    display: table-cell !important;
    padding: 10px 0;
    border: none;
    vertical-align: middle;
}

.woocommerce-checkout-review-order-table tr.shipping th {
    text-align: left !important;
    font-weight: 400 !important;
    color: var(--text-secondary);
}

.woocommerce-checkout-review-order-table tr.shipping td {
    text-align: right !important;
    font-weight: 600 !important;
    color: var(--text-primary);
}

/* Grouped Fields (Phone + Messenger) */
.woocommerce-checkout .form-row-first,
.woocommerce-checkout .form-row-last {
    width: 48.5% !important;
    float: left !important;
    clear: none !important;
}

.woocommerce-checkout .form-row-last {
    float: right !important;
}

.woocommerce-checkout .form-row-wide {
    width: 100% !important;
    clear: both !important;
}

/* Hide Coupons and helper fields */
.woocommerce-form-coupon-toggle,
.checkout_coupon,
#billing_country_field,
#billing_state_field,
#billing_last_name_field {
    display: none !important;
}

/* Shipping Selection Block Placeholder (No longer used but kept for class context if needed) */
.starlin-shipping-section {
    margin-top: 30px;
    padding-top: 0;
}

.starlin-shipping-section h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.np-block-placeholder {
    padding: 25px;
    background: rgba(0, 0, 0, 0.02);
    border: 2px dashed rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    text-align: center;
    color: var(--text-secondary);
}

@media (max-width: 992px) {
    .woocommerce-checkout form.checkout {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    #order_review {
        position: static;
        padding: 20px !important;
        border-radius: 16px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .woocommerce-checkout .form-row-first,
    .woocommerce-checkout .form-row-last {
        width: 100% !important;
        float: none !important;
        margin-bottom: 12px !important;
    }

    .woocommerce-checkout .entry-content {
        padding: 0 !important;
    }
}

@media (max-width: 480px) {
    .woocommerce-checkout .container {
        padding: 0 12px !important;
    }

    .woocommerce-checkout .woocommerce {
        padding: 0 !important;
        margin: 0 !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }

    #order_review {
        padding: 15px !important;
        margin: 20px 0 0 0 !important;
        border-radius: 16px !important;
        border: 1px solid rgba(0, 0, 0, 0.05) !important;
    }

    .order-total .amount {
        font-size: 1.8rem !important;
    }

    .tax-info-total {
        font-size: 0.9rem !important;
    }

    h1 {
        font-size: 1.4rem !important;
        margin-bottom: 20px !important;
        padding-left: 4px;
    }

    .woocommerce-checkout .form-row {
        margin-bottom: 10px !important;
    }
}

.shop_table.woocommerce-checkout-review-order-table {
    width: 100%;
    border-collapse: collapse;
}

.shop_table.woocommerce-checkout-review-order-table th,
.shop_table.woocommerce-checkout-review-order-table td {
    padding: 15px 20px !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    text-align: left !important;
    vertical-align: middle !important;
    color: #000 !important; /* Более четкий цвет для устранения "сливания" с фоном */
}

/* Safe alignment for shipping row */
.shop_table.woocommerce-checkout-review-order-table tr.shipping {
    display: table-row !important;
}

.shop_table.woocommerce-checkout-review-order-table tr.shipping th {
    text-align: left !important;
    width: 50%;
    vertical-align: middle !important;
}

.shop_table.woocommerce-checkout-review-order-table tr.shipping td {
    text-align: right !important;
    width: 50%;
    vertical-align: middle !important;
}

.shop_table.woocommerce-checkout-review-order-table .product-total,
.shop_table.woocommerce-checkout-review-order-table .cart-subtotal td,
.shop_table.woocommerce-checkout-review-order-table .order-total td {
    text-align: right;
}

.order-total th {
    color: #000 !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.order-total .amount,
.tax-info-total {
    color: var(--brand-success) !important;
    font-size: 0.85rem !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
    display: inline-block !important;
    vertical-align: baseline !important;
    opacity: 1 !important;
}

.tax-info-total {
    margin-left: 4px !important;
}

/* Add "з ПДВ" to modern WooCommerce blocks cart total */
.wc-block-components-totals-footer-item-tax-value::after {
    content: " з ПДВ";
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-left: 8px;
    vertical-align: baseline;
    opacity: 0.8;
}

/* Hide middle subtotal row in checkout summary */
.shop_table.woocommerce-checkout-review-order-table .cart-subtotal {
    display: none !important;
}


/* Privacy Policy & Terms under button */
.woocommerce-privacy-policy-text,
.woocommerce-privacy-policy-text p {
    margin-top: 10px !important;
    font-size: 0.5rem !important; /* Уменьшено до 8px для минимализма */
    color: var(--text-secondary);
    line-height: 1.4 !important;
    text-align: center;
}

.woocommerce-privacy-policy-text a {
    color: var(--brand-success);
    text-decoration: underline;
}

/* Payment Methods */
#payment {
    background: transparent !important;
    border: none !important;
    padding: 20px 0 0 0 !important;
}

#payment ul.payment_methods {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    padding-bottom: 20px !important;
    margin-bottom: 20px !important;
}

#payment .payment_box {
    background: rgba(0, 0, 0, 0.02) !important;
    border-radius: 12px !important;
    color: var(--text-secondary) !important;
    margin: 15px 0 !important;
    padding: 15px !important;
}

#payment .place-order .button {
    width: 100%;
    background: linear-gradient(135deg, #4EBD17 0%, #45A814 100%) !important;
    color: white !important;
    padding: 20px !important;
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 16px !important;
    box-shadow: 0 10px 25px rgba(78, 189, 23, 0.3) !important;
}

#payment .place-order .button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(78, 189, 23, 0.4) !important;
}

/* Support for WooCommerce Blocks (Fallback Styling) */
.wc-block-cart__submit-button,
.wc-block-checkout__actions .wc-block-components-button,
.wc-block-components-checkout-step__container .wc-block-components-button {
    background: linear-gradient(135deg, #4EBD17 0%, #45A814 100%) !important;
    border-radius: 16px !important;
    padding: 18px 30px !important;
    font-weight: 800 !important;
    box-shadow: 0 10px 25px rgba(78, 189, 23, 0.3) !important;
    color: white !important;
    text-transform: uppercase !important;
    border: none !important;
}

.wc-block-components-text-input input,
.wc-block-components-combobox .wc-block-components-combobox-control input {
    border-radius: 12px !important;
    padding: 14px 20px !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    background: white !important;
}

/* Phone and City field specific styling */
#billing_phone_field input,
#billing_city_field input,
#billing_address_1_field input,
.wc-block-components-phone-number input {
    letter-spacing: 0.5px !important;
    font-weight: 600 !important;
}

#billing_email_field {
    margin-bottom: 30px !important;
}

/* Custom Payment Method Field styling */
#billing_payment_method_custom_field {
    margin-bottom: 30px !important;
}

#billing_payment_method_custom_field select {
    border-radius: 12px !important;
    padding: 14px 20px !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    background: white !important;
    height: auto !important;
    font-family: var(--font-main) !important;
    font-weight: 400 !important; /* Убрана жирность для соответствия плейсхолдерам других полей */
    font-size: 1rem !important;
    color: var(--text-primary) !important;
    width: 100%;
}

.np-delivery-block .form-row label {
    top: 8px !important;
    left: 15px !important;
}

.np-delivery-block .select2-container--default .select2-selection--single .select2-selection__rendered,
.np-delivery-block .zen-ui-select__value {
    padding-top: 20px !important;
    line-height: 40px !important;
}

.np-delivery-block .form-row {
    margin-bottom: 8px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-top: 18px !important;
    line-height: 38px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 60px !important;
}

.np-header {
    display: flex;
    align-items: center;
    color: #ed1c24 !important;
}

.np-logo-header {
    flex-shrink: 0;
}

/* Specific adjustments for Select2 inside the block if plugin uses it */
.np-delivery-block .select2-container--default .select2-selection--single {
    background-color: white !important;
    border-color: rgba(237, 28, 36, 0.1) !important;
}