/* ==========================================================================
   MAMMOTION YUKA MINI 2 - PREMIUM GERMAN TECH REDESIGN
   Inspired by Apple, Dyson, Bosch
   ========================================================================== */

:root {
    /* Color Palette */
    --color-bg-primary: #ffffff;
    --color-bg-secondary: #f5f7fa;
    --color-bg-alt: #f8fafc;
    --color-text-main: #1e293b;
    --color-text-muted: #64748b;
    
    /* Elegant Green Accents */
    --color-accent: #059669; /* Elegant tech green */
    --color-accent-light: #10b981;
    --color-accent-glow: rgba(16, 185, 129, 0.2);
    --color-accent-gradient: linear-gradient(135deg, #059669 0%, #10b981 100%);
    
    /* Red/Urgency Colors */
    --color-danger: #ef4444;
    --color-danger-light: #fee2e2;
    
    /* Glassmorphism & Shadows */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.4);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 20px 40px -5px rgba(0, 0, 0, 0.08);
    --shadow-premium: 0 30px 60px rgba(0, 0, 0, 0.08), 0 0 40px rgba(0, 0, 0, 0.03);
    
    /* Typography & Spacing */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 9999px;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg-primary);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

ul {
    list-style: none;
}

.text-green {
    color: var(--color-accent);
}

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

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn-primary, .btn-massive, .btn-primary-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--color-accent-gradient);
    color: white;
    font-weight: 600;
    border-radius: var(--radius-pill);
    transition: var(--transition-smooth);
    box-shadow: 0 10px 20px var(--color-accent-glow);
    border: none;
    cursor: pointer;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.btn-primary {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-primary-small {
    padding: 10px 24px;
    font-size: 0.95rem;
}

.btn-massive {
    padding: 20px 40px;
    font-size: 1.25rem;
    width: 100%;
    margin-top: 20px;
    animation: subtle-pulse 3s infinite alternate;
}

.btn-primary:hover, .btn-massive:hover, .btn-primary-small:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px var(--color-accent-glow), 0 0 15px rgba(16, 185, 129, 0.4);
    filter: brightness(1.05);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: white;
    color: var(--color-text-main);
    font-weight: 600;
    padding: 16px 32px;
    font-size: 1.1rem;
    border-radius: var(--radius-pill);
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
}

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

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-smooth);
    background: transparent;
}

.navbar.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 15px 0;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.logo-mark {
    color: var(--color-text-muted);
    font-weight: 600;
    font-size: 1rem;
}

.badge-mini {
    background: var(--color-bg-secondary);
    color: var(--color-text-main);
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    border: 1px solid rgba(0,0,0,0.05);
}

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

.nav-links a {
    font-weight: 500;
    color: var(--color-text-muted);
    transition: var(--transition-smooth);
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--color-text-main);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
    background-color: var(--color-bg-secondary);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    opacity: 0.4; /* Soft blend */
}

/* Subtle gradient to ensure text readability on white/bright theme */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.7) 50%, rgba(255,255,255,0.2) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-text-block {
    max-width: 600px;
}

.hero-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-accent);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 24px;
    color: var(--color-text-main);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    max-width: 500px;
    line-height: 1.7;
}

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

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

.glow-backdrop {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, rgba(255,255,255,0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    border-radius: 50%;
}

.hero-product-img {
    width: 100%;
    max-width: 550px;
    height: auto;
    filter: drop-shadow(0 30px 40px rgba(0,0,0,0.15));
    animation: float 6s ease-in-out infinite;
}

/* Floating Cards Glassmorphism */
.floating-card {
    position: absolute;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    padding: 12px 20px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: var(--shadow-lg);
    color: var(--color-text-main);
}

.floating-card i {
    color: var(--color-accent);
}

.fc-1 {
    top: 10%;
    right: -20px;
    animation: float 5s ease-in-out infinite reverse;
}

.fc-2 {
    bottom: 20%;
    left: -20px;
    animation: float 7s ease-in-out infinite;
}

/* ==========================================================================
   TRUST BAR
   ========================================================================== */
.trust-bar {
    background: var(--color-bg-primary);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 24px 0;
}

.trust-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

.trust-item i {
    color: var(--color-accent);
    width: 20px;
    height: 20px;
}

/* ==========================================================================
   OFFER / URGENCY SECTION
   ========================================================================== */
.offer-section {
    padding: 100px 24px;
    background: linear-gradient(180deg, var(--color-bg-primary) 0%, var(--color-bg-secondary) 100%);
}

.offer-container {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--color-bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.03);
}

.offer-header {
    background: var(--color-danger-light);
    padding: 16px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.flash-sale-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-danger);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.pulse-dot {
    width: 12px;
    height: 12px;
    background: var(--color-danger);
    border-radius: 50%;
    animation: pulse-danger 1.5s infinite;
}

.countdown-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-danger);
    font-weight: 600;
}

.timer {
    display: flex;
    gap: 8px;
    align-items: center;
}

.time-box {
    background: white;
    color: var(--color-danger);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    min-width: 50px;
    box-shadow: var(--shadow-sm);
}

.time-box small {
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 2px;
    opacity: 0.8;
}

.offer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 60px 40px;
    align-items: center;
}

.offer-image {
    position: relative;
    padding: 20px;
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
    display: flex;
    justify-content: center;
}

.offer-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.1));
}

.discount-circle {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 90px;
    height: 90px;
    background: var(--color-danger);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 800;
    box-shadow: 0 10px 20px rgba(239, 68, 68, 0.3);
    border: 4px solid white;
    transform: rotate(15deg);
}

.offer-bestseller {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fef08a;
    color: #854d0e;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.offer-bestseller i {
    width: 16px;
    height: 16px;
}

.offer-title {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 12px;
}

.offer-desc {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    margin-bottom: 30px;
}

.pricing-block {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.old-price {
    font-size: 1.5rem;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 600;
    white-space: nowrap;
}

.new-price {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-text-main);
    line-height: 1;
    letter-spacing: -1px;
    white-space: nowrap;
}

.save-badge {
    background: var(--color-danger-light);
    color: var(--color-danger);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
}

.stock-bar {
    margin-bottom: 24px;
}

.stock-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.stock-low {
    color: var(--color-danger);
}

.progress {
    height: 6px;
    background: var(--color-bg-secondary);
    border-radius: var(--radius-pill);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--color-danger);
    border-radius: var(--radius-pill);
}

.guarantee-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.guarantee-text i {
    color: var(--color-accent);
    width: 18px;
}

/* ==========================================================================
   FEATURES SECTION
   ========================================================================== */
.features-section {
    padding: 120px 24px;
    background: var(--color-bg-primary);
}

.section-title-wrapper {
    max-width: 800px;
    margin: 0 auto 80px;
}

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

.section-subtitle {
    color: var(--color-accent);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 16px;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.1;
    color: var(--color-text-main);
}

.aplus-features-layout {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.aplus-row {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: var(--color-bg-primary);
    border: 1px solid rgba(0,0,0,0.03);
    transition: var(--transition-smooth);
}

.aplus-row:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.aplus-row img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.feature-row.reverse {
    direction: rtl;
}

.feature-row.reverse > * {
    direction: ltr;
}

.icon-box {
    width: 60px;
    height: 60px;
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.03);
}

.icon-box i {
    width: 28px;
    height: 28px;
    color: var(--color-accent);
}

.feature-text h3 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.feature-text p {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    margin-bottom: 30px;
}

.clean-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 16px;
    color: var(--color-text-main);
}

.clean-list li i {
    color: var(--color-accent);
    background: var(--color-accent-glow);
    padding: 4px;
    border-radius: 50%;
    width: 24px;
    height: 24px;
}

.feature-media.glass-panel {
    background: var(--color-bg-secondary);
    padding: 40px;
    border-radius: var(--radius-lg);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.feature-media.glass-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.feature-media img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
}

.feature-row:hover .feature-media img {
    transform: scale(1.03) translateY(-5px);
}

/* ==========================================================================
   COMPARISON TABLE (APPLE STYLE)
   ========================================================================== */
.comparison-section {
    padding: 120px 24px;
    background: var(--color-bg-secondary);
}

.comparison-table-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: var(--color-bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

.premium-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.premium-table th, .premium-table td {
    padding: 24px 32px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-size: 1.05rem;
}

.premium-table th {
    font-weight: 700;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: var(--color-bg-alt);
}

.premium-table .highlight-col {
    background: rgba(16, 185, 129, 0.03);
}

.premium-table td.highlight-col {
    font-weight: 600;
    color: var(--color-text-main);
}

.premium-table tr:last-child td {
    border-bottom: none;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials-section {
    padding: 120px 24px;
    background: var(--color-bg-primary);
}

.testimonials-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.review-card {
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.03);
    transition: var(--transition-smooth);
}

.review-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.review-stars {
    color: #eab308;
    margin-bottom: 20px;
    display: flex;
    gap: 4px;
}

.review-stars i {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.star-half {
    fill: url(#half-grad); /* We just use a slightly dim color for half star fallback */
    opacity: 0.5;
}

.review-text {
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.7;
    margin-bottom: 30px;
    color: var(--color-text-main);
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
}

.bg-gradient-1 { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.bg-gradient-2 { background: linear-gradient(135deg, #ec4899, #db2777); }
.bg-gradient-3 { background: linear-gradient(135deg, #10b981, #059669); }

.reviewer-info strong {
    display: block;
    font-size: 1.05rem;
}

.verified {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.85rem;
    color: var(--color-accent);
    font-weight: 600;
    margin-top: 4px;
}

.verified i {
    width: 14px;
    height: 14px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.premium-footer {
    background: var(--color-bg-alt);
    padding: 80px 24px 40px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

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

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--color-text-muted);
    margin-top: 12px;
}

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

.footer-links a {
    color: var(--color-text-muted);
    font-weight: 500;
    transition: var(--transition-smooth);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(0,0,0,0.05);
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* ==========================================================================
   MOBILE STICKY CTA
   ========================================================================== */
.mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -10px 20px rgba(0,0,0,0.05);
    z-index: 999;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-sticky-cta.visible {
    transform: translateY(0);
}

.sticky-price {
    display: flex;
    flex-direction: column;
}

.sticky-old {
    font-size: 0.8rem;
    text-decoration: line-through;
    color: var(--color-text-muted);
    line-height: 1;
}

.sticky-price strong {
    font-size: 1.5rem;
    line-height: 1.1;
    font-weight: 800;
    color: var(--color-text-main);
}

@media (min-width: 768px) {
    .mobile-sticky-cta {
        display: none;
    }
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse-danger {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

@keyframes subtle-pulse {
    0% { transform: scale(1); box-shadow: 0 10px 20px var(--color-accent-glow); }
    100% { transform: scale(1.02); box-shadow: 0 15px 30px rgba(16, 185, 129, 0.4); }
}

@keyframes bounce-animation {
    0%, 100% { transform: rotate(15deg) scale(1); }
    50% { transform: rotate(15deg) scale(1.08); }
}

.bounce-animation {
    animation: bounce-animation 2s infinite ease-in-out;
}

/* Scroll Trigger Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-trigger {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-trigger.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

@keyframes fadeIn {
    to { opacity: 1; }
}

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

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-title { font-size: 3.5rem; }
    .feature-row { gap: 40px; }
    .offer-content { padding: 40px 24px; gap: 30px; }
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 40px;
    }
    
    .hero-bg {
        /* Use linear gradient overlay for mobile readability */
        background: none;
    }
    .hero {
        background: linear-gradient(135deg, var(--color-bg-primary) 0%, var(--color-bg-secondary) 100%);
    }
    .hero-overlay { display: none; }

    .hero-text-block {
        margin: 0 auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .fc-1, .fc-2 { display: none; } /* Hide floating cards on mobile to reduce clutter */

    .offer-content {
        grid-template-columns: 1fr;
    }

    .offer-header {
        flex-direction: column;
        text-align: center;
    }

    .feature-row, .feature-row.reverse {
        grid-template-columns: 1fr;
    }
    
    .feature-row.reverse {
        direction: ltr;
    }

    .section-title { font-size: 2.5rem; }
    .feature-text h3 { font-size: 2rem; }
    
    .nav-links { display: none; } /* Simplified mobile nav */
    
    .premium-table th, .premium-table td {
        padding: 16px 12px;
        font-size: 0.9rem;
    }
    
    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* ==========================================================================
   NEW ELEMENTS (Top Banner, Toast, Perks, Specs, CTA)
   ========================================================================== */

/* Top Banner */
.top-banner {
    background: var(--color-accent-gradient);
    color: white;
    text-align: center;
    padding: 10px 24px;
    font-size: 0.95rem;
    position: relative;
    z-index: 1001;
}
.banner-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.banner-inner a {
    text-decoration: underline;
    font-weight: 700;
}

/* Adjust Navbar due to Top Banner */
.navbar {
    top: 44px; /* Default height of banner on desktop */
}
.navbar.scrolled {
    top: 0;
}

/* Live Toast Notification */
.live-toast {
    position: fixed;
    bottom: 24px;
    left: 24px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 1000;
    transform: translateY(150%);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
    max-width: 320px;
}
.live-toast.show {
    transform: translateY(0);
    opacity: 1;
}
.toast-icon {
    background: var(--color-accent-glow);
    color: var(--color-accent);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.toast-content {
    display: flex;
    flex-direction: column;
}
.toast-content strong {
    font-size: 0.95rem;
    color: var(--color-text-main);
}
.toast-content span {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}
#toastTime {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-left: auto;
    white-space: nowrap;
}

/* Hero Perks */
.hero-perks {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}
.perk {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.8);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: var(--shadow-sm);
}
.perk i {
    color: var(--color-accent);
    width: 16px;
    height: 16px;
}

/* Hero Social Proof */
.social-proof {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(0,0,0,0.05);
}
.avatars-group {
    display: flex;
}
.mini-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: -10px;
}
.mini-avatar:first-child {
    margin-left: 0;
}
.bg-gradient-4 { background: linear-gradient(135deg, #f59e0b, #d97706); }
.social-proof span {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* Particles */
.particle {
    position: absolute;
    border-radius: 50%;
    background: var(--color-accent);
    opacity: 0.15;
    z-index: 1;
    pointer-events: none;
}
.p1 {
    width: 250px;
    height: 250px;
    top: 5%;
    left: 5%;
    filter: blur(60px);
    animation: float 10s infinite;
}
.p2 {
    width: 300px;
    height: 300px;
    bottom: 20%;
    right: 5%;
    filter: blur(80px);
    animation: float 15s infinite reverse;
}
.p3 {
    width: 150px;
    height: 150px;
    top: 40%;
    left: 50%;
    filter: blur(40px);
    animation: float 12s infinite 2s;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 5;
}
.scroll-mouse {
    width: 24px;
    height: 36px;
    border: 2px solid var(--color-text-muted);
    border-radius: 12px;
    position: relative;
    display: flex;
    justify-content: center;
}
.scroll-dot {
    width: 4px;
    height: 8px;
    background: var(--color-text-muted);
    border-radius: 2px;
    margin-top: 6px;
    animation: scroll-down 1.5s infinite;
}
@keyframes scroll-down {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(12px); opacity: 0; }
}

/* New Timer Elements */
.time-sep {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-danger);
    margin: 0 4px;
}

/* Offer Badges & Benefits */
.offer-bestseller {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #fef08a, #facc15);
    color: #854d0e;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 16px;
    box-shadow: 0 4px 6px rgba(250, 204, 21, 0.2);
}
.offer-bestseller i {
    width: 16px;
    height: 16px;
}
.save-badge {
    background: var(--color-danger-light);
    color: var(--color-danger);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.9rem;
    margin-left: 12px;
}
.offer-benefits {
    margin-bottom: 30px;
    padding-top: 20px;
    border-top: 1px dashed rgba(0,0,0,0.1);
}
.offer-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 1.05rem;
    color: var(--color-text-main);
    font-weight: 500;
}
.offer-benefits li i {
    color: var(--color-accent);
}
.cta-sub-info {
    margin-top: 24px;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 16px;
    text-align: center;
}
.payment-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 12px;
    color: var(--color-text-muted);
    font-size: 0.85rem;
    font-weight: 600;
}
.payment-icons i {
    width: 24px;
    height: 24px;
}

/* Specs Quick Section */
.specs-quick {
    padding: 80px 24px;
    background: var(--color-bg-secondary);
    border-top: 1px solid rgba(0,0,0,0.03);
}
.specs-container {
    max-width: 1200px;
    margin: 0 auto;
}
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 24px;
}
.spec-card {
    background: var(--color-bg-primary);
    padding: 30px 20px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.03);
    transition: var(--transition-smooth);
}
.spec-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.spec-icon {
    width: 50px;
    height: 50px;
    background: var(--color-accent-glow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--color-accent);
}
.spec-icon i {
    width: 24px;
    height: 24px;
}
.spec-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-text-main);
    margin-bottom: 4px;
}
.spec-label {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* Final CTA Section */
.final-cta-section {
    padding: 120px 24px;
    background: linear-gradient(180deg, var(--color-bg-primary) 0%, var(--color-bg-secondary) 100%);
}
.final-cta-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--color-bg-primary);
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0,0,0,0.05);
}
.final-cta-icon {
    width: 80px;
    height: 80px;
    background: var(--color-accent-glow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--color-accent);
}
.final-cta-icon i {
    width: 40px;
    height: 40px;
}
.final-cta-container h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;
}
.final-cta-container p {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    margin-bottom: 30px;
}
.final-cta-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

/* Mobile Responsive Fixes */
@media (max-width: 768px) {
    .live-toast {
        display: none; /* Hide on mobile to avoid clutter */
    }
    
    .navbar {
        top: auto; /* Reset navbar top on mobile since banner pushes content down */
    }
    
    .top-banner {
        font-size: 0.8rem;
    }
    
    .pricing-block {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .save-badge {
        margin-left: 0;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .hero-perks {
        justify-content: center;
    }
    
    .final-cta-container {
        padding: 40px 24px;
    }
    
    .final-cta-container h2 {
        font-size: 2rem;
    }
}

/* ==========================================================================
   BENTO GALLERY (New)
   ========================================================================== */
.gallery-section {
    padding: 100px 24px;
    background: var(--color-bg-primary);
}

.bento-gallery {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 24px;
}

.bento-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    background: var(--color-bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bento-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.bento-item:hover img {
    transform: scale(1.05);
}

.bento-large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-wide {
    grid-column: span 2;
}

.bento-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px 20px 16px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    transform: translateY(100%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.bento-item:hover .bento-caption {
    transform: translateY(0);
    opacity: 1;
}

@media (max-width: 900px) {
    .bento-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    .bento-large {
        grid-column: span 2;
        grid-row: auto;
        height: 400px;
    }
    .bento-wide {
        grid-column: span 2;
        height: 300px;
    }
    .bento-item {
        height: 250px;
    }
}

@media (max-width: 500px) {
    .bento-gallery {
        grid-template-columns: 1fr;
    }
    .bento-large, .bento-wide, .bento-item {
        grid-column: 1 / -1;
        height: 250px;
    }
}

/* ==========================================================================
   COMPREHENSIVE MOBILE RESPONSIVENESS — ALL SCREENS ≤ 768px
   ========================================================================== */
@media (max-width: 768px) {

    /* ── General spacing ── */
    section, .offer-section, .features-section,
    .gallery-section, .final-cta-section,
    .specs-quick, .reviews-section,
    .comparison-section { padding-left: 16px; padding-right: 16px; }

    /* ── Top banner ── */
    .top-banner { font-size: 0.75rem; padding: 8px 12px; }
    .banner-inner { gap: 6px; }

    /* ── Navbar ── */
    .navbar { top: 0 !important; padding: 12px 0; }
    .nav-container { padding: 0 16px; }
    .logo { font-size: 1rem; }
    .badge-mini { display: none; }
    .btn-primary-small { padding: 8px 14px; font-size: 0.8rem; }

    /* ── Hero ── */
    .hero {
        padding-top: 120px;
        min-height: auto;
        padding-bottom: 50px;
        overflow: hidden;
        background: linear-gradient(160deg, #f0fdf4 0%, #dcfce7 40%, #f0fdf4 100%) !important;
    }
    .hero-bg { display: none; } /* hide bg image on mobile — its text clashes with content */
    .hero-overlay { display: none; }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 28px;
        padding-top: 10px;
    }
    .hero-title { font-size: 2.4rem; letter-spacing: -1px; margin-bottom: 16px; }
    .hero-subtitle { font-size: 0.98rem; margin-bottom: 20px; }
    .hero-actions { flex-direction: column; align-items: center; gap: 12px; }
    .hero-actions .btn-primary,
    .hero-actions .btn-secondary { width: 100%; max-width: 300px; justify-content: center; }
    .hero-visual { display: none; }
    .hero-perks { justify-content: center; gap: 8px; }
    .perk { font-size: 0.78rem; padding: 5px 10px; }
    .social-proof { justify-content: center; flex-wrap: wrap; }

    /* ── Trust bar ── */
    .trust-container { gap: 10px; justify-content: center; }
    .trust-item { font-size: 0.8rem; }

    /* ── Offer section ── */
    .offer-section { padding-top: 50px; padding-bottom: 50px; }
    .offer-content { grid-template-columns: 1fr; padding: 24px 16px; gap: 20px; }
    .offer-header { flex-direction: column; gap: 10px; text-align: center; padding: 12px 14px; }
    .offer-title { font-size: 1.55rem; }
    .offer-desc { font-size: 0.92rem; }
    .new-price { font-size: 2.6rem; }
    .old-price { font-size: 1.1rem; }
    .discount-circle { width: 68px; height: 68px; font-size: 1.25rem; top: -10px; right: -10px; }
    .pricing-block { flex-direction: column; align-items: flex-start; gap: 6px; }
    .offer-image { padding: 14px; }
    .offer-image img { max-width: 220px; }
    .offer-benefits li { font-size: 0.88rem; }
    .time-box { min-width: 40px; font-size: 1rem; padding: 5px 8px; }

    /* ── Features ── */
    .features-section { padding-top: 50px; padding-bottom: 50px; }
    .section-title { font-size: 1.9rem; }
    .section-title-wrapper { margin-bottom: 36px; }

    /* ── Specs ── */
    .specs-quick { padding: 44px 16px; }
    .specs-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .spec-card { padding: 18px 12px; }
    .spec-value { font-size: 1.2rem; }
    .spec-label { font-size: 0.78rem; }

    /* ── Comparison table ── */
    .comparison-section { padding-top: 50px; padding-bottom: 50px; }
    .table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 12px; }
    .premium-table { font-size: 0.78rem; min-width: 480px; }
    .premium-table th,
    .premium-table td { padding: 10px 8px; }

    /* ── Reviews ── */
    .reviews-section { padding-top: 50px; padding-bottom: 50px; }
    .reviews-grid { grid-template-columns: 1fr !important; gap: 14px; }
    .review-card { padding: 22px 18px; }

    /* ── Gallery ── */
    .gallery-section { padding-top: 50px; padding-bottom: 50px; }

    /* ── Final CTA ── */
    .final-cta-section { padding-top: 50px; padding-bottom: 50px; }
    .final-cta-container { padding: 32px 18px; border-radius: 16px; }
    .final-cta-container h2 { font-size: 1.65rem; }
    .final-cta-container p { font-size: 0.92rem; }
    .final-cta-price { gap: 10px; flex-wrap: wrap; justify-content: center; }
    .btn-massive { font-size: 1rem; padding: 16px 20px; border-radius: 14px; }

    /* ── Footer ── */
    .footer-container { padding: 0 16px; }
    .footer-top { flex-direction: column; align-items: center; text-align: center; gap: 20px; }
    .footer-links { flex-wrap: wrap; justify-content: center; gap: 10px 16px; }
    .footer-links a { font-size: 0.85rem; }
    .footer-bottom { margin-top: 20px; padding-top: 14px; font-size: 0.78rem; }

    /* ── Sub-pages ── */
    .policy-hero,
    .contact-hero { padding: 100px 16px 44px; }
    .policy-hero h1,
    .contact-hero h1 { font-size: 1.85rem; }
    .policy-hero p,
    .contact-hero p { font-size: 0.9rem; }
    .policy-content,
    .contact-wrap { padding: 32px 14px 60px; }
    .policy-card,
    .info-card,
    .form-card { padding: 24px 18px; border-radius: 14px; }
    .policy-card h2,
    .info-card-top h2,
    .form-card h2 { font-size: 1.1rem; }
    .contact-grid { grid-template-columns: 1fr; gap: 18px; }
    .toc-list { grid-template-columns: 1fr; gap: 6px; }
    .steps-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .hours-strip { flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px 18px; }
    .form-row { grid-template-columns: 1fr; }
    .highlight-box { flex-direction: column; gap: 10px; align-items: flex-start; }
    .contact-strip { padding: 28px 18px; }
    .policy-meta { flex-direction: column; gap: 8px; }
}

/* ==========================================================================
   EXTRA SMALL ≤ 480px
   ========================================================================== */
@media (max-width: 480px) {
    .hero-title { font-size: 1.9rem; }
    .section-title { font-size: 1.65rem; }
    .offer-title { font-size: 1.35rem; }
    .new-price { font-size: 2.2rem; }
    .specs-grid { grid-template-columns: 1fr 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .policy-hero h1,
    .contact-hero h1 { font-size: 1.55rem; }
    .contact-item-icon { width: 42px; height: 42px; }
    .contact-item-body a,
    .contact-item-body span { font-size: 0.92rem; }
    .btn-primary-small { font-size: 0.76rem; padding: 8px 12px; }
    .response-badge { font-size: 0.8rem; padding: 8px 14px; }
    .footer-links { gap: 8px 12px; }
    .back-btn { font-size: 0.82rem; }
    .nav-links { display: none; }
}
