:root {
    --bg-dark: #000000;
    --bg-light: #f5f5f7;
    --text-light: #f5f5f7;
    --text-dark: #1d1d1f;
    --text-muted: #86868b;
    --accent: #0071e3;
    --accent-hover: #005bb5;
    --border-radius: 20px;
    --transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Typography Utility */
h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; }
h2 { font-size: 3rem; margin-bottom: 1.5rem; line-height: 1.1; }
p { font-size: 1.2rem; color: var(--text-muted); max-width: 600px; }
.bg-dark { background-color: var(--bg-dark); color: var(--text-light); }
.bg-light { background-color: var(--bg-light); color: var(--text-dark); }
.text-white { color: #fff !important; }
.text-muted { color: var(--text-muted) !important; }
.accent-text { color: transparent; background: linear-gradient(90deg, #ff7a18, #af002d 50%, #319197); -webkit-background-clip: text; background-clip: text; }

/* Navbar */
#navbar {
    position: fixed;
    top: 0; width: 100%;
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 2rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: background 0.3s ease;
}
.logo { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.03em; color: #fff;}
.nav-buy-btn {
    background: #fff; color: #000; border: none;
    padding: 0.5rem 1.2rem; border-radius: 30px; font-weight: 600;
    cursor: pointer; transition: transform 0.2s; font-size: 0.9rem;
}
.nav-buy-btn:hover { transform: scale(1.05); }

/* Hero Video Section */
.hero-video-section {
    position: relative; height: 100vh; width: 100%; overflow: hidden;
    display: flex; align-items: center; justify-content: center; text-align: center;
}
.hero-video {
    position: absolute; top: 50%; left: 50%; min-width: 100%; min-height: 100%;
    transform: translate(-50%, -50%); object-fit: cover; z-index: -1; opacity: 0.7;
}
.hero-video-overlay {
    z-index: 1; display: flex; flex-direction: column; align-items: center; padding: 2rem;
}
.hero-video-overlay h1 { font-size: 4rem; margin-bottom: 1rem; color: #fff; text-shadow: 0 4px 20px rgba(0,0,0,0.5); }
.hero-video-overlay p { font-size: 1.5rem; margin-bottom: 2rem; color: #e5e5ea; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.hero-pricing { margin-bottom: 2.5rem; }
.hero-pricing .price { font-size: 2.5rem; font-weight: 700; color: #fff; }
.hero-pricing .mrp { font-size: 1.5rem; text-decoration: line-through; color: #a1a1a6; margin-left: 10px; }

/* Buttons */
.btn {
    padding: 1rem 2.5rem; border-radius: 30px; border: none; font-size: 1.1rem;
    font-weight: 600; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s;
}
.btn-hero { background: #fff; color: #000; }
.btn-hero:hover { transform: scale(1.05); box-shadow: 0 10px 20px rgba(255,255,255,0.2); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); transform: scale(1.05); }

/* Container & Sections */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.details-section { padding: 8rem 0; overflow: hidden; }
.dual-col { display: flex; align-items: center; justify-content: space-between; gap: 4rem; }
.dual-col.reverse { flex-direction: row-reverse; }
.text-content { flex: 1; }
.image-content { flex: 1; display: flex; justify-content: center; }
.image-content img { max-width: 100%; border-radius: var(--border-radius); object-fit: cover; }

/* Specific Images */
.shadow-img { box-shadow: 0 30px 60px rgba(0,0,0,0.15); }
.floating-slow { animation: float 6s ease-in-out infinite; }
.alt-float { animation: float-alt 7s ease-in-out infinite; }
.wide-img { width: 100%; max-width: 400px; border-radius: var(--border-radius); margin-top: 3rem; box-shadow: 0 20px 40px rgba(0,0,0,0.3); }

/* Grid Banner & CTA */
.grid-banner { padding: 6rem 0; background-color: #111; color: #fff; }
.cta-section { text-align: center; padding: 8rem 2rem; background: var(--bg-light); color: var(--text-dark); }

/* Animations Keyframes */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
@keyframes float-alt { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(15px); } }

/* Scroll Animation Classes (Activatd by JS) */
.section-hidden .fade-up-anim, .section-hidden .fade-in-left, .section-hidden .fade-in-right {
    opacity: 0;
}
.section-hidden .fade-up-anim { transform: translateY(40px); }
.section-hidden .fade-in-left { transform: translateX(-50px); }
.section-hidden .fade-in-right { transform: translateX(50px); }

.fade-up-anim, .fade-in-left, .fade-in-right {
    transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1);
    opacity: 1; transform: translate(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }


/* Modal Styling */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    display: flex; justify-content: center; align-items: center; z-index: 2000;
    opacity: 0; pointer-events: none; transition: var(--transition);
}
.modal-overlay.active { opacity: 1; pointer-events: all; }

.modal-content {
    background: #fff; color: var(--text-dark); width: 90%; max-width: 450px;
    padding: 2.5rem; border-radius: 24px; box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    transform: translateY(30px) scale(0.95); transition: var(--transition);
    position: relative; max-height: 90vh; overflow-y: auto;
}
.modal-overlay.active .modal-content { transform: translateY(0) scale(1); }

.close-btn {
    position: absolute; top: 20px; right: 25px; background: #f5f5f7; border: none;
    width: 30px; height: 30px; border-radius: 50%; font-size: 1.2rem; cursor: pointer;
    color: var(--text-muted); display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
}
.close-btn:hover { background: #e5e5ea; color: #000; }

.modal-header h2 { font-size: 2rem; margin-bottom: 0.2rem; }

.form-group { margin-bottom: 1.2rem; text-align: left; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 0.4rem; color: #333; }
.form-group input, .form-group textarea {
    width: 100%; padding: 0.9rem 1rem; border: 1px solid #d2d2d7; border-radius: 12px;
    font-size: 1rem; background-color: #fbfbfd; transition: all 0.2s; font-family: inherit;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none; border-color: var(--accent); background-color: #fff;
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.15);
}
.form-group textarea { resize: vertical; min-height: 80px; }

.order-summary {
    background: #f5f5f7; padding: 1rem; border-radius: 12px; margin: 1.5rem 0;
}
.summary-row { display: flex; justify-content: space-between; font-size: 1.1rem; }

.checkout-btn {
    width: 100%; background-color: #000; color: white; padding: 1.1rem; border: none;
    border-radius: 12px; font-size: 1.1rem; font-weight: 600; cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}
.checkout-btn:hover { background-color: #333; transform: translateY(-2px); }
.checkout-btn:disabled { background-color: #ccc; cursor: not-allowed; transform: none; }

.secure-badge { text-align: center; font-size: 0.8rem; color: #86868b; margin-top: 1rem; font-weight: 500;}

.success-icon {
    width: 60px; height: 60px; border-radius: 50%; background: #34c759; color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 2rem;
    margin: 0 auto 1.5rem; box-shadow: 0 10px 20px rgba(52, 199, 89, 0.3);
}

/* Spinner */
.spinner {
    display: inline-block; width: 20px; height: 20px; border: 3px solid rgba(255,255,255,-0.3);
    border-radius: 50%; border-top-color: #fff; animation: spin 1s ease-in-out infinite;
    vertical-align: middle; margin-right: 8px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Extra Detail Styles */
.spec-item { background: rgba(255,255,255,0.1); padding: 1rem 1.5rem; border-radius: 12px; font-size: 1.1rem; }

/* Mobile Sticky Footer */
.mobile-sticky-footer {
    display: none; position: fixed; bottom: 0; left: 0; width: 100%;
    background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(15px);
    border-top: 1px solid #d2d2d7; padding: 1rem;
    box-shadow: 0 -10px 20px rgba(0,0,0,0.05); z-index: 999;
}
.mobile-sticky-footer .sticky-price { flex: 1; display: flex; flex-direction: column; color: #000; }
.mobile-sticky-footer .sticky-price .price { font-size: 1.5rem; font-weight: 700; line-height: 1; }
.mobile-sticky-footer .sticky-price .mrp { font-size: 0.9rem; text-decoration: line-through; color: #86868b; }
.mobile-sticky-footer .sticky-btn { flex: 1; padding: 0.8rem; font-size: 1rem; margin-top: 0; }

/* Responsive Updates */
@media (max-width: 900px) {
    .dual-col, .dual-col.reverse { flex-direction: column; text-align: center; gap: 2rem;}
    .hero-video-overlay h1 { font-size: 2.8rem; }
    .hero-video-overlay p { font-size: 1.2rem; }
    h2 { font-size: 2.2rem; }
    
    /* App-like UX for mobile */
    body { padding-bottom: 80px; } /* Space for sticky footer */
    .mobile-sticky-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
    .nav-buy-btn { display: none; } /* Hide top button if sticky bottom exists */
}
