/* Custom Properties / Design Tokens */
:root {
    --gold: #D4A84B;
    --gold-light: #F0D48A;
    --gold-hover: #b8923e;
    --gold-glow: rgba(212, 168, 75, 0.3);
    --navy: #0F1B33;
    --navy-light: #1A2E50;
    --navy-deep: #080E1A;
    --white: #FAFAFA;
    --cream: #1A2744;
    --text-dark: #1A1A1A;
    --text-muted: #999;
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.35);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

ul {
    list-style: none;
}

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

/* Layout Classes */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

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

.bg-light {
    background-color: var(--navy);
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    color: var(--white);
}

h2 {
    font-size: 2rem;
    color: var(--white);
}

h3 {
    font-size: 1.5rem;
}

.lead {
    font-size: 1.25rem;
    color: var(--text-muted);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--gold);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(200, 160, 74, 0.4);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.25rem;
    border-radius: 12px;
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

/* Header — transparent by default, white on scroll */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    z-index: 1000;
    padding: 15px 0;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.header.header-scrolled {
    background-color: rgba(8, 14, 26, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

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

.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    transition: color 0.3s ease;
}

.header-scrolled .logo-text {
    color: var(--white);
}

.logo-sub {
    color: var(--gold);
}

/* Nav — MOBILE-FIRST: hidden by default */
.nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    flex-direction: column;
    padding: 0;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-links.active {
    display: flex;
}

.nav-links a {
    font-weight: 600;
    color: var(--navy);
    position: relative;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-links a::after {
    display: none;
}

/* Nav CTA — hidden by default on mobile */
.nav-cta {
    display: none;
}

/* Hamburger — visible by default on mobile */
.mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
    min-width: 48px;
    min-height: 48px;
    transition: color 0.3s ease;
}

.header-scrolled .mobile-menu-toggle {
    color: var(--white);
}

/* Desktop nav — show links, hide hamburger */
@media (min-width: 769px) {
    .nav-links {
        display: flex;
        position: static;
        width: auto;
        background-color: transparent;
        flex-direction: row;
        gap: 30px;
        padding: 0;
        box-shadow: none;
        border-top: none;
    }

    .nav-links a {
        color: var(--white);
        padding: 0;
        border-bottom: none;
        min-height: auto;
        display: inline;
    }

    .header-scrolled .nav-links a {
        color: var(--white);
    }

    .nav-links a::after {
        display: block;
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 2px;
        background-color: var(--gold);
        transition: var(--transition);
    }

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

    .nav-cta {
        display: inline-block;
    }

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

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 0 100px;
    background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 40%, var(--navy-light) 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(212, 168, 75, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 30%, rgba(15, 27, 51, 0.8) 0%, transparent 60%);
}

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

.badge {
    display: inline-block;
    padding: 6px 12px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--gold-light);
    border: 1px solid var(--gold-light);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-text p {
    color: #e0e0e0;
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.price-hint {
    color: var(--gold-light) !important;
    font-weight: 700;
    font-size: 1.1rem !important;
    margin-bottom: 0 !important;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

/* Products Section */
.products {
    background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
    overflow: hidden;
}

.section-title {
    margin-bottom: 50px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.product-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.product-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border-color: var(--gold-glow);
}

.day-card {
    border-top: 3px solid var(--gold);
}

.night-card {
    border-top: 3px solid #4A6FA5;
}

.card-image {
    height: 350px;
    overflow: hidden;
}

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

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

.card-content {
    padding: 30px;
}

.card-content h3 {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-content h4 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.day-card .card-content h4 { color: var(--gold); }
.night-card .card-content h4 { color: #8AACDB; }

.benefit-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
}

.benefit-list li i {
    width: 30px;
    font-size: 1.2rem;
    margin-left: 10px;
}

.day-card .benefit-list li i { color: var(--gold); }
.night-card .benefit-list li i { color: #8AACDB; }

/* Benefits Grid */
.benefits {
    background: var(--navy);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-item {
    background: rgba(255,255,255,0.04);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.08);
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateY(-5px);
    border-color: var(--gold-glow);
    box-shadow: 0 10px 30px rgba(212,168,75,0.1);
}

.benefit-item h3 {
    color: var(--white);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: transparent;
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--gold);
}

.benefit-item p {
    color: var(--text-muted);
}

/* Video Section */
.video-section {
    background: var(--navy-deep);
}

.video-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid rgba(255,255,255,0.08);
}

.video-container video {
    width: 100%;
    display: block;
}

/* Trust Section */
.trust {
    background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
    color: var(--white);
}

.trust .lead {
    color: var(--text-muted);
}

.trust-image {
    max-width: 500px;
    margin: 0 auto 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 50%, var(--navy-light) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-section h2 {
    color: var(--white);
}

.final-offer {
    display: inline-block;
    padding: 20px 40px;
    border-radius: 12px;
    margin: 30px 0;
    background: linear-gradient(135deg, rgba(212,168,75,0.15), rgba(212,168,75,0.05));
    border: 2px solid var(--gold);
    position: relative;
}

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

.offer-includes {
    font-size: 1.1rem;
}

.guarantee {
    margin-top: 20px;
    color: var(--gold-light);
}

/* Registration Form */
.registration-form {
    max-width: 500px;
    margin: 30px auto 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.form-group label {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--gold-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label i {
    font-size: 0.9rem;
    color: var(--gold);
}

.form-group input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    background: rgba(255,255,255,0.08);
    color: var(--white);
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    outline: none;
    backdrop-filter: blur(4px);
}

.form-group input::placeholder {
    color: rgba(255,255,255,0.4);
}

.form-group input:focus {
    border-color: var(--gold);
    background: rgba(255,255,255,0.12);
    box-shadow: 0 0 0 3px rgba(200, 160, 74, 0.2);
}

.form-group input:invalid:not(:placeholder-shown) {
    border-color: #e74c3c;
}

.btn-submit {
    width: 100%;
    margin-top: 8px;
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}

.btn-submit:hover::before {
    left: 100%;
}

/* Success Message */
.success-message {
    margin-top: 30px;
    padding: 30px;
    background: rgba(255,255,255,0.1);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.2);
    animation: successPop 0.5s ease;
}

.success-icon {
    font-size: 3rem;
    color: #2ecc71;
    margin-bottom: 15px;
}

.success-message h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.success-message p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
}

@keyframes successPop {
    0% {
        opacity: 0;
        transform: scale(0.85);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Footer */
.footer {
    background-color: var(--navy-deep);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 20px;
    border-top: 1px solid rgba(212,168,75,0.15);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo-text {
    color: var(--white);
    display: block;
    margin-bottom: 15px;
}

.footer h4 {
    color: var(--gold);
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

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

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact p i {
    margin-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

/* Animations — NO translateX to prevent horizontal scroll artifact */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-fade-in {
    opacity: 0;
    transition: opacity 1s ease;
}

.animate-slide-right {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-slide-left {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.is-visible {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Sparkle stars */
@keyframes twinkle {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 1; }
}

.sparkle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--gold-light);
    border-radius: 50%;
    animation: twinkle 2s ease-in-out infinite;
    pointer-events: none;
}



/* ========================================
   STICKY MOBILE CTA BAR (hidden on desktop)
   ======================================== */
.mobile-cta-bar {
    display: none;
}

/* ========================================
   RESPONSIVE — Tablet (max-width: 992px)
   ======================================== */
@media (max-width: 992px) {
    .section-padding {
        padding: 60px 0;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        order: 1;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-image {
        order: 2;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-cta {
        align-items: center;
        width: 100%;
    }

    .badge {
        align-self: center;
    }

    .product-cards {
        grid-template-columns: 1fr;
        max-width: 550px;
        margin: 0 auto;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-image {
        max-width: 400px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

/* ========================================
   RESPONSIVE — Mobile Landscape (max-width: 768px)
   ======================================== */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .section-padding {
        padding: 50px 0;
    }

    /* Nav already handled by mobile-first base styles */

    /* --- HERO --- */
    .hero {
        padding: 110px 0 50px;
    }

    h1 {
        font-size: 1.8rem;
    }

    .hero-text p {
        font-size: 1.05rem;
    }

    .badge {
        font-size: 0.8rem;
    }

    .hero-image img {
        border-radius: 16px;
    }

    /* --- PRODUCTS --- */
    .section-title {
        margin-bottom: 30px;
    }

    .card-image {
        height: 280px;
    }

    .card-content {
        padding: 24px 20px;
    }

    .card-content h4 {
        font-size: 1.3rem;
    }

    .benefit-list li {
        font-size: 1rem;
    }

    /* --- BENEFITS --- */
    .benefits-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .benefit-item {
        padding: 30px 16px;
    }

    .benefit-icon {
        width: 65px;
        height: 65px;
        font-size: 2rem;
    }

    .benefit-item h3 {
        font-size: 1.15rem;
    }

    .benefit-item p {
        font-size: 0.9rem;
    }

    /* --- VIDEO --- */
    .video-container {
        border-radius: 14px;
    }

    /* --- TRUST --- */
    .trust-image {
        max-width: 90%;
        border-radius: 14px;
    }

    /* --- CTA --- */
    .offer-price {
        font-size: 2.5rem;
    }

    .final-offer {
        padding: 16px 30px;
    }

    .btn-large {
        padding: 14px 28px;
        font-size: 1.1rem;
    }

    /* --- FOOTER --- */
    .footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        gap: 30px;
        margin-bottom: 30px;
    }

    /* --- STICKY MOBILE CTA --- */
    .mobile-cta-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: var(--navy);
        padding: 12px 16px;
        z-index: 998;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .mobile-cta-bar .mobile-price {
        color: var(--gold);
        font-weight: 800;
        font-size: 1.2rem;
        white-space: nowrap;
    }

    .mobile-cta-bar .btn {
        flex: 1;
        text-align: center;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Push footer up so it's not hidden behind the sticky bar */
    .footer {
        padding-bottom: 80px;
    }
}

/* ========================================
   RESPONSIVE — Small Mobile (max-width: 480px)
   ======================================== */
@media (max-width: 480px) {
    .container {
        padding: 0 14px;
    }

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

    .header {
        padding: 10px 0;
    }

    .logo-text {
        font-size: 1.5rem;
    }

    /* --- HERO --- */
    .hero {
        padding: 100px 0 40px;
    }

    h1 {
        font-size: 1.5rem;
        line-height: 1.4;
    }

    h2 {
        font-size: 1.4rem;
    }

    .hero-text p {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .price-hint {
        font-size: 1rem !important;
    }

    .btn-large {
        padding: 14px 20px;
        font-size: 1rem;
        width: 100%;
    }

    /* --- PRODUCTS --- */
    .product-cards {
        gap: 20px;
    }

    .card-image {
        height: 240px;
    }

    .card-content {
        padding: 20px 16px;
    }

    .card-content h3 {
        font-size: 0.85rem;
    }

    .card-content h4 {
        font-size: 1.15rem;
    }

    .benefit-list li {
        font-size: 0.95rem;
        margin-bottom: 12px;
    }

    .benefit-list li i {
        width: 25px;
        font-size: 1rem;
        margin-left: 8px;
    }

    /* --- BENEFITS --- */
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .benefit-item {
        padding: 24px 16px;
        display: flex;
        flex-direction: row;
        align-items: center;
        text-align: right;
        gap: 16px;
    }

    .benefit-icon {
        width: 55px;
        height: 55px;
        min-width: 55px;
        font-size: 1.5rem;
        margin: 0;
    }

    .benefit-item h3 {
        font-size: 1.05rem;
        margin-bottom: 4px;
    }

    .benefit-item p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    /* --- CTA --- */
    .cta-section {
        padding: 40px 0 100px;
    }

    .offer-price {
        font-size: 2.2rem;
    }

    .final-offer {
        padding: 14px 20px;
        width: 100%;
    }

    .offer-includes {
        font-size: 0.95rem;
    }

    .guarantee {
        font-size: 0.85rem;
    }

    /* --- FOOTER --- */
    .footer-brand .logo-text {
        font-size: 1.5rem;
    }

    .footer h4 {
        margin-bottom: 12px;
    }

    .footer-links ul li {
        margin-bottom: 8px;
    }

    /* --- FORM --- */
    .registration-form {
        margin-top: 20px;
    }

    .form-group input {
        padding: 12px 14px;
    }

    .form-group label {
        font-size: 0.9rem;
    }
}

/* ========================================
   TOUCH DEVICE OPTIMIZATIONS
   ======================================== */
@media (hover: none) {
    /* Disable hover transforms on touch devices to prevent sticky states */
    .product-card:hover {
        transform: none;
        box-shadow: var(--shadow);
    }

    .benefit-item:hover {
        transform: none;
    }

    .btn-primary:hover,
    .btn-whatsapp:hover {
        transform: none;
    }

    /* Add active/pressed state instead */
    .btn-primary:active {
        transform: scale(0.97);
        background-color: var(--gold-hover);
    }

    .btn-whatsapp:active {
        transform: scale(0.97);
        background-color: #128C7E;
    }
}
