:root {
    --primary: #3b6bce; /* Logo Royal Blue */
    --primary-light: #5a85dd;
    --secondary: #e6b04b; /* Sand Gold */
    --secondary-hover: #d19a3b;
    --dark: #121c26;
    --light: #f8f9fa;
    --white: #ffffff;
    --gray-100: #f1f3f5;
    --gray-200: #e9ecef;
    --gray-400: #ced4da;
    --gray-700: #495057;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: 'Tajawal', sans-serif;
    color: var(--dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .logo-text, .step-num {
    font-family: 'Outfit', 'Tajawal', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: 'Tajawal', sans-serif;
    font-weight: 700;
    cursor: pointer;
    border: none;
    border-radius: var(--radius-full);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-sm { padding: 10px 24px; font-size: 1rem; }
.btn-lg { padding: 18px 32px; font-size: 1.25rem; }
.btn-block { width: 100%; padding: 18px 0; }

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--dark);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-cta {
    background: linear-gradient(90deg, var(--secondary), #f5d061);
    color: #1a1a1a;
    box-shadow: 0 4px 15px rgba(230, 176, 75, 0.4);
    animation: pulseCta 2s infinite;
    border: none;
    font-weight: 800;
}

.btn-cta:hover {
    background: linear-gradient(90deg, #f5d061, #ffeaa7);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 176, 75, 0.7);
    color: #000;
}

@keyframes pulseCta {
    0% { transform: scale(1); box-shadow: 0 4px 15px rgba(230, 176, 75, 0.4); }
    50% { transform: scale(1.03); box-shadow: 0 8px 25px rgba(230, 176, 75, 0.7); }
    100% { transform: scale(1); box-shadow: 0 4px 15px rgba(230, 176, 75, 0.4); }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--primary); /* Blue header */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    z-index: 10; /* Keep it above everything */
}

.header-logo-img {
    height: 95px; /* Massively increased size for maximum prominence */
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo:hover .header-logo-img {
    transform: scale(1.1);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-weight: 600;
    color: var(--white); /* White text on blue background */
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary); /* Gold underline on hover */
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--secondary); /* Gold text on hover */
}

.nav-links a:hover::after {
    width: 100%;
}

.header-right-actions {
    display: flex;
    align-items: center;
    gap: 32px;
}

.lang-switch {
    font-weight: 700;
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    transition: var(--transition);
    font-size: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.lang-switch:hover {
    background: var(--secondary);
    color: var(--dark);
    border-color: var(--secondary);
}

@media (max-width: 768px) {
    .header {
        position: absolute !important; /* Flows over the background */
        top: 0; left: 0; right: 0;
        background: transparent !important; /* Remove the blue bar completely */
        box-shadow: none !important;
        padding: 0 !important;
        border-bottom: none;
    }
    
    .header-container {
        justify-content: center;
        min-height: auto;
    }

    .logo {
        position: relative;
        top: -10px; /* Pull slightly up to remove image transparent gap */
        left: auto;
        transform: none;
        z-index: 2000;
        display: flex;
        justify-content: center;
        animation: floatMobileLogo 4s ease-in-out infinite;
    }
    
    @keyframes floatMobileLogo {
        0% { transform: translateY(0px); }
        50% { transform: translateY(12px); }
        100% { transform: translateY(0px); }
    }
    
    .header-logo-img {
        height: 120px; /* Sweet spot height */
        margin-bottom: -20px; /* Eat any dead bottom space */
        max-width: 100%;
        object-fit: contain;
        /* CSS Magic: Blue Color + Floating Drop Shadow */
        filter: brightness(0) invert(22%) sepia(30%) saturate(4100%) hue-rotate(193deg) brightness(96%) contrast(92%) drop-shadow(0 10px 10px rgba(15, 76, 129, 0.2)) !important;
    }
    
    .nav-links {
        display: none; /* Hide links on mobile */
    }
    
    .lang-switch {
        position: absolute;
        top: 20px;
        right: 20px; /* Positions to the top right on mobile */
        z-index: 2005;
        background: rgba(15, 76, 129, 0.1); /* Subtle blue bg */
        color: var(--primary);
        border: 1px solid rgba(15, 76, 129, 0.2);
        padding: 4px 12px;
        font-size: 0.85rem;
    }
    
    .lang-switch:hover {
        background: var(--primary);
        color: var(--white);
    }
    
    /* Make CTA Sticky at the bottom */
    .btn-cta {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 1001;
        border-radius: 0;
        padding: 18px;
        font-size: 1.2rem;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        box-shadow: 0 -4px 15px rgba(230, 176, 75, 0.4);
    }
    /* Mobile Hero Padding */
    .hero {
        padding-top: 75px; /* Squeeze text right underneath the floating logo */
    }
}

/* Hero Section */
.hero {
    position: relative;
    padding: 130px 0 60px; /* Standard desktop padding */
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--white) 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="%230f4c81" fill-opacity="0.1"/></svg>') calc(50% - 50px) calc(50% - 50px) / 20px 20px;
    z-index: 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.badge {
    display: inline-block;
    background: linear-gradient(90deg, var(--secondary), #f5d061); /* Golden gradient for elegance */
    color: #1a1a1a;
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-weight: 800;
    font-size: 1.05rem;
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(230, 176, 75, 0.4);
    border: 2px solid var(--white);
    animation: pulseBadge 2.5s infinite;
    letter-spacing: 0.5px;
}

@keyframes pulseBadge {
    0% { transform: scale(1); box-shadow: 0 4px 15px rgba(230, 176, 75, 0.4); }
    50% { transform: scale(1.02); box-shadow: 0 8px 25px rgba(230, 176, 75, 0.7); }
    100% { transform: scale(1); box-shadow: 0 4px 15px rgba(230, 176, 75, 0.4); }
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--dark);
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-700);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image-wrapper {
    position: relative;
    animation: fadeInRight 1s ease forwards;
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

.hero-slideshow {
    width: 100%;
    aspect-ratio: 4/5;
    position: relative;
    z-index: 2;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}



@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(0.95); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.05); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(0.95); opacity: 0.5; }
}

.decor {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
}

.decor-1 {
    width: 300px; height: 300px;
    background: var(--secondary);
    opacity: 0.1;
    top: -50px; right: -50px;
    filter: blur(40px);
}

.decor-2 {
    width: 200px; height: 200px;
    background: var(--primary);
    opacity: 0.15;
    bottom: -30px; left: -30px;
    filter: blur(30px);
}

@media (max-width: 992px) {
    .hero-container { 
        display: flex;
        flex-direction: column;
        text-align: center; 
    }
    .hero-content {
        display: contents; /* Unwraps the div so its children become part of the flex container */
    }
    .badge { order: 1; margin: 0 auto 12px; width: fit-content; }
    .hero-title { order: 2; font-size: 2.2rem; margin-bottom: 12px; }
    .hero-image-wrapper { order: 3; max-width: 500px; margin: 16px auto; width: 100%; }
    .hero-subtitle { order: 4; margin-bottom: 20px; font-size: 1.1rem; }
    .hero-actions { order: 5; justify-content: center; }
}

/* Features */
.features {
    padding: 60px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--dark);
}

.section-header p {
    font-size: 1.2rem;
    color: var(--gray-700);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.feature-card {
    padding: 40px;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-icon {
    width: 80px; height: 80px;
    background: rgba(15, 76, 129, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--primary);
}

.feature-icon svg { width: 40px; height: 40px; stroke-width: 1.5; }

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.feature-card p {
    color: var(--gray-700);
    font-size: 1.1rem;
}

/* Bento Gallery */
.gallery-section {
    padding: 60px 0;
    background: var(--gray-100);
}

.bento-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 250px);
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.08); /* Zoom effect */
}

.item-main {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 30px 16px 16px;
    font-size: 1.1rem;
    font-weight: 700;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .bento-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    .item-main {
        grid-column: span 2;
        height: 300px;
    }
    .gallery-item:not(.item-main) {
        height: 200px;
    }
}

/* Colors Showcase */
.colors-showcase {
    padding: 60px 0;
    background: var(--white);
}

.colors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.color-card {
    text-align: center;
    background: var(--gray-100);
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.color-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.color-image-wrapper {
    position: relative;
    width: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 24px;
    background: transparent; /* Remove the distorted white frame */
    display: flex;
    justify-content: center;
    align-items: center;
}

.color-backdrop {
    display: none; /* No longer needed if we don't have cutouts */
}

.color-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

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

.color-name {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--dark);
}

.color-desc {
    color: var(--gray-700);
    line-height: 1.5;
}

/* Video Showcase Section */
.video-showcase {
    padding: 60px 0;
    background: linear-gradient(to bottom, var(--white), var(--gray-100));
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: #000;
    position: relative;
    border: 1px solid var(--gray-200);
}

.video-container video {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    display: block;
}

/* How it Works */
.how-it-works {
    padding: 60px 0;
    background: var(--gray-100);
}

.how-it-works-content {
    display: grid;
    grid-template-columns: 3fr 2fr; /* Make text take more space than the image */
    gap: 60px;
    align-items: flex-start; /* Align to top instead of stretching if sizes mismatch */
}

.how-text h2 { font-size: 2.5rem; margin-bottom: 16px; }
.how-text > p { font-size: 1.2rem; color: var(--gray-700); margin-bottom: 40px; }

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.steps-list li {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.step-num {
    width: 60px; height: 60px;
    flex-shrink: 0;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.8rem;
    font-weight: 800;
    box-shadow: var(--shadow-md);
}

.steps-list strong {
    display: block;
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.steps-list p {
    color: var(--gray-700);
    line-height: 1.5;
}

.guide-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: block;
}

@media (max-width: 992px) {
    .how-it-works-content { grid-template-columns: 1fr; }
    .how-image { order: -1; }
}

/* Checkout */
.checkout-section {
    padding: 60px 0;
    background: var(--white);
}

.checkout-container {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 48px;
}

.checkout-form-wrapper {
    background: var(--white);
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.checkout-form-wrapper h2 { font-size: 2rem; margin-bottom: 8px; }
.checkout-form-wrapper > p { color: var(--gray-700); margin-bottom: 24px; }

.urgency-alert {
    background: rgba(225, 29, 72, 0.05);
    color: #e11d48;
    padding: 16px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1rem;
    border: 1px solid rgba(225, 29, 72, 0.2);
    animation: pulseAlert 2s infinite;
}

@keyframes pulseAlert {
    0% { border-color: rgba(225, 29, 72, 0.2); }
    50% { border-color: rgba(225, 29, 72, 0.6); }
    100% { border-color: rgba(225, 29, 72, 0.2); }
}

.urgency-alert i {
    flex-shrink: 0;
    margin-top: 2px;
}

.payment-tabs {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.tab-btn {
    flex: 1;
    padding: 16px;
    border: 2px solid var(--gray-200);
    background: transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: var(--transition);
}

.tab-btn svg { width: 20px; height: 20px; }

.tab-btn.active {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(15, 76, 129, 0.05);
}

.payment-form {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.payment-form.active { display: block; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid var(--gray-400);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--gray-100);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(15, 76, 129, 0.1);
    background: var(--white);
}

.order-summary {
    background: var(--gray-100);
    padding: 24px;
    border-radius: var(--radius-md);
    margin-bottom: 32px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    color: var(--gray-700);
}

.summary-row.total {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-400);
    font-size: 1.25rem;
    color: var(--dark);
    font-weight: 800;
}

/* Offers & Colors Sections */
.offers-section {
    margin-bottom: 24px;
}

.offer-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.offer-card {
    display: block;
    position: relative;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 16px;
    cursor: pointer;
    background: var(--white);
    transition: var(--transition);
}

.offer-card:hover {
    border-color: var(--primary-light);
}

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

.offer-card.active {
    border-color: var(--primary);
    background: rgba(59, 107, 206, 0.05); /* Match new primary */
}

.offer-badge {
    position: absolute;
    top: -10px;
    left: 16px;
    background: #e11d48;
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    z-index: 2;
}

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

.offer-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--dark);
}

.offer-price {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--primary);
}

.color-selection-section {
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.color-picker-group {
    background: var(--gray-100);
    padding: 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
}

.color-picker-group h4 {
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--gray-700);
}

.color-options {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.color-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 2px solid var(--gray-400);
    border-radius: var(--radius-full);
    cursor: pointer;
    background: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.color-option:hover {
    border-color: var(--primary-light);
}

.color-option input {
    display: none;
}

.color-swatch {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.1);
}

.color-option.active {
    border-color: var(--primary);
    background: rgba(59, 107, 206, 0.05);
}

.payment-method-title {
    margin-bottom: 16px;
    font-size: 1.2rem;
    border-top: 1px solid var(--gray-200);
    padding-top: 32px;
}

.stripe-mock-info {
    text-align: center;
    background: #f6f9fc;
    padding: 32px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    border: 1px solid #e6ebf1;
}

.secure-icon {
    color: #32325d;
    width: 48px; height: 48px;
    margin-bottom: 16px;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 40px 0;
}

.success-message.hidden { display: none; }

.success-icon {
    width: 80px; height: 80px;
    background: #10b981;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.success-icon svg { width: 40px; height: 40px; }
.success-message h3 { font-size: 2rem; margin-bottom: 16px; color: #10b981; }
.success-message p { font-size: 1.2rem; color: var(--gray-700); margin-bottom: 32px; }

/* Product snippet side */
.product-summary-card {
    background: var(--primary);
    color: var(--white);
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 100px;
}

.product-img-mini {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: contain;
    background: transparent; /* Removed the white box! */
    border-radius: var(--radius-md);
    margin-bottom: 32px;
}

.product-summary-card h3 { font-size: 2rem; margin-bottom: 24px; }

.product-perks li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.product-perks svg { color: var(--secondary); }

@media (max-width: 992px) {
    .checkout-container { grid-template-columns: 1fr; }
    .product-summary-card { order: -1; position: relative; top: 0; padding: 32px; }
    .checkout-form-wrapper { padding: 32px 24px; }
}

@media (max-width: 480px) {
    .payment-tabs { flex-direction: column; }
}

/* Footer */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 80px 0 24px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr 1.5fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-logo h3 { font-family: 'Outfit'; font-size: 1.8rem; margin-bottom: 16px; }
.footer-logo span { color: var(--primary-light); }
.footer-logo p { color: var(--gray-400); max-width: 300px; }

.footer-links h4, .footer-contact h4 { font-size: 1.2rem; margin-bottom: 24px; color: var(--secondary); }

.footer-links ul li { margin-bottom: 12px; }
.footer-links a { color: var(--gray-400); transition: var(--transition); }
.footer-links a:hover { color: var(--white); padding-right: 8px; }

.footer-contact p { color: var(--gray-400); margin-bottom: 12px; }

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--gray-400);
}

@media (max-width: 768px) {
    .footer-container { grid-template-columns: 1fr; text-align: center; }
    .footer-links a:hover { padding-right: 0; }
}

/* Floating Social Contacts */
.floating-social {
    position: fixed;
    bottom: 30px;
    left: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 15px rgba(0,0,0,0.3);
    color: white; /* Ensure color stays white */
}

.social-icon svg { width: 24px; height: 24px; stroke-width: 1.5; }

.social-icon.wa { background: #25D366; }
.social-icon.msg { background: #0084FF; }
.social-icon.ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%); }

@media (max-width: 768px) {
    /* Tighten all page structural gaps */
    .features, .gallery-section, .colors-showcase, .video-showcase, .how-it-works, .checkout-section { padding: 32px 0; }
    .section-header { margin-bottom: 20px; }
    footer { padding: 40px 0 24px; }
    .footer-container { gap: 32px; margin-bottom: 32px; }

    .floating-social {
        bottom: 80px; /* Clear the sticky bottom CTA */
        left: 20px;
    }
    .social-icon {
        width: 45px;
        height: 45px;
    }
    .social-icon svg { width: 22px; height: 22px; }
}

.footer-logo-img {
    height: 110px !important; /* Increased for better visibility in the footer */
    object-fit: contain;
}

.checkout-logo {
    /* No CSS filters, rendered natively */
}
