@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');

:root {
    --primary-color: #ff6b35;
    --secondary-color: #f7ede2;
    --accent-color: #f28482;
    --text-color: #333;
    --bg-color: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --sticky-height: 85px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f8f9fa;
    overflow-x: hidden;
    padding-bottom: var(--sticky-height);
    /* Space for sticky bar */
}

h1,
h2,
h3 {
    font-family: 'Roboto', sans-serif;
}

.container {
    max-width: 600px;
    /* Standard landing page width for mobile-first/centered design */
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.05);
}

section {
    width: 100%;
}

img {
    width: 100%;
    height: auto;
    display: block;
}

#hero {
    text-align: center;
    padding: 15px 0;
}

.hero-logo {
    width: 30% !important;
    margin: 5px auto !important;
}

#flash-sale {
    padding-bottom: 0;
}

.flash-sale-content {
    background: linear-gradient(to bottom, #87ceeb 0%, #e0f7fa 85%, #fff3e0 85%, #fff3e0 100%);
    padding-bottom: 20px;
}

/* Video Review Section */
#video-review {
    padding: 30px 20px;
    background: #fff;
}

.video-wrapper {
    position: relative;
    padding-bottom: 177.77%;
    /* Aspect ratio 9:16 for Shorts */
    height: 0;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.countdown-red-bar {
    text-align: center;
    margin-bottom: -15px;
    position: relative;
    z-index: 20;
}

.timer-label-top {
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #000;
}

.timer {
    background: #ff0000;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-size: 1.8rem;
    font-weight: 700;
    gap: 15px;
    min-width: 280px;
    margin-bottom: 10px;
}

.timer span {
    display: inline-block;
}

.timer-flex-container {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: center;
    background: transparent;
    padding: 15px;
    gap: 15px;
}

.product-side {
    width: 50%;
}

.badge-side {
    width: 50%;
    padding-bottom: 10px;
}

.shadow-img {
    width: 100% !important;
    height: auto;
}

.side-badge {
    width: 100% !important;
    height: auto;
    animation: pulse 2s infinite;
}

/* Form Section */
.order-section {
    padding: 40px 20px;
    background: var(--secondary-color);
}

.form-container {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 2px solid var(--primary-color);
}

.form-title {
    text-align: center;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.product-static-display {
    padding: 12px 15px;
    background: #f1f3f5;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: #495057;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, background 0.3s;
    text-transform: uppercase;
    font-family: 'Roboto', sans-serif;
    margin-top: 10px;
}

.submit-btn:hover {
    background: #e65a2a;
    transform: translateY(-2px);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.zoom-in {
    transform: scale(0.95);
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.zoom-in.visible {
    transform: scale(1);
    opacity: 1;
}

/* Sticky Bottom Bar */
.sticky-bar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 600px;
    height: var(--sticky-height);
    background: white;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    z-index: 1000;
    border-top: 1px solid #eee;
}

.sticky-info {
    display: flex;
    flex-direction: column;
}

.sticky-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2px;
}

.sticky-timer {
    font-size: 1.4rem;
    color: #000;
    font-weight: 800;
    font-family: 'Roboto', sans-serif;
}

.sticky-btn {
    padding: 12px 25px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.1rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 107, 53, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0);
    }
}

/* Pulsing effect for main CTA */
.pulse-btn {
    animation: pulse 2s infinite;
}

/* Bouncing effect for banners */
.bounce-anim {
    animation: bounce 2s infinite ease-in-out;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Limited Offer Overlay */
.limited-offer-container {
    position: relative;
    width: 100%;
}

.offer-price {
    position: absolute;
    top: 38%;
    left: 8%;
    color: #ee2d24;
    font-weight: 800;
    font-size: 2.1rem;
    font-family: 'Roboto', sans-serif;
}

.offer-timer {
    position: absolute;
    top: 58.5%;
    left: 45%;
    color: #ee2d24;
    font-weight: 800;
    font-size: 3.1rem;
    font-family: 'Roboto', sans-serif;
}

/* Responsive adjustments for overlays */
@media (max-width: 480px) {
    .offer-price {
        font-size: 1.6rem;
        left: 6%;
    }

    .offer-timer {
        font-size: 2.9rem;
        top: 55.5%;
    }
}

/* Responsive */
@media (max-width: 600px) {
    .container {
        width: 100%;
    }

    .sticky-bar {
        max-width: 100%;
    }
}