/* ===================================
   HurriClean - Modern Stylesheet
   =================================== */

/* CSS Custom Properties */
:root {
    /* Colors */
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary: #ef4444;
    --secondary-dark: #dc2626;
    --accent: #10b981;
    --accent-light: #34d399;

    --navy: #1e3a5f;
    --navy-dark: #0f2744;
    --navy-light: #2d4a6f;

    --sky: #0ea5e9;
    --sky-light: #38bdf8;

    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-500: #6b7280;
    --gray-700: #374151;
    --gray-900: #111827;

    --white: #ffffff;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Poppins', var(--font-primary);

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-slow: 300ms ease;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
}

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

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

ul {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgb(239 68 68 / 0.39);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgb(239 68 68 / 0.5);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-sm {
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.875rem;
}

.btn-lg {
    padding: var(--space-lg) var(--space-2xl);
    font-size: 1.25rem;
}

.btn-block {
    width: 100%;
}

/* Labels */
.label {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: var(--secondary);
    color: var(--white);
    border-radius: var(--radius-full);
}

.label-light {
    background: var(--sky);
}

/* ===================================
   Header
   =================================== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(135deg, var(--sky) 0%, var(--primary) 100%);
    padding: var(--space-md) 0;
    box-shadow: var(--shadow-md);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
}

.logo img {
    height: 80px;
    width: auto;
}

.tagline {
    flex: 1;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--white);
    text-align: center;
}

.header-johnny {
    height: 80px;
    width: auto;
}

@media (max-width: 968px) {
    .tagline {
        font-size: 1.5rem;
    }
    .header-johnny {
        height: 60px;
    }
}

@media (max-width: 768px) {
    .tagline {
        display: none;
    }
    .header-johnny {
        display: none;
    }
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    background: linear-gradient(180deg, var(--gray-100) 0%, var(--white) 100%);
    padding: var(--space-2xl) 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

@media (max-width: 968px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.hero-product {
    position: relative;
}

/* Main demo image container */
.main-demo-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    animation: float 3s ease-in-out infinite;
}

.main-demo-image .float-image {
    width: 100%;
    display: block;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-product > .badge {
    position: absolute;
    top: -40px;
    left: 25%;
    width: 30%;
    max-width: 180px;
    min-width: 80px;
    height: auto;
    z-index: 10;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    text-align: center;
}

.hero-content .label {
    font-size: 1.75rem;
    color: var(--white);
    font-weight: 700;
    background: var(--secondary);
    padding: var(--space-sm) var(--space-xl);
    border-radius: var(--radius-md);
}

/* Hero Offer Row */
.hero-offer-row {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.hero-offer-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
}

/* Hero GIF */
.hero-gif {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--gray-300);
    width: 100%;
}

.hero-gif img {
    width: 100%;
    display: block;
    transform: scale(1.05);
}

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

.price-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.price-label {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
}

.price-label .now-only {
    color: var(--secondary);
}

.price-amount {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
}

.price-amount sup {
    font-size: 2rem;
    vertical-align: super;
}

/* CTA Button */
.btn-cta {
    background: var(--secondary);
    color: var(--white);
    font-size: 1.25rem;
    padding: var(--space-md) var(--space-3xl);
    text-transform: uppercase;
    font-weight: 700;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition);
}

.btn-cta:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

/* Hero product images */
.hero-product-images {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
}

.hero-product-images .product-small {
    max-width: 180px;
    height: auto;
}

.shipping-badge {
    display: inline-block;
    padding: var(--space-sm) var(--space-xl);
    background: var(--accent);
    color: var(--navy);
    font-weight: 700;
    font-size: 1rem;
    border-radius: var(--radius-md);
}

.payment-icons {
    max-width: 180px;
}

@media (max-width: 968px) {
    .hero-content {
        align-items: center;
    }

    .hero-offer-row {
        flex-direction: column;
    }

    .demo-banner span {
        font-size: 1.25rem;
    }

    .main-demo-image .usa-badge {
        width: 80px;
        bottom: 60px;
    }
}

/* ===================================
   How It Works Section
   =================================== */
.how-it-works {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    padding: var(--space-4xl) 0;
    color: var(--white);
}

.section-title {
    text-align: center;
    color: var(--white);
    margin-bottom: var(--space-2xl);
}

.demo-image {
    max-width: 1200px;
    margin: 0 auto var(--space-3xl);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.demo-image img {
    width: 100%;
    transform: scale(1.07);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}

.step-card {
    text-align: center;
    padding: var(--space-xl);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--accent);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
}

.step-card h3 {
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: var(--space-md);
}

.step-divider {
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 0 auto var(--space-lg);
    border-radius: var(--radius-full);
}

.step-card p {
    color: var(--gray-300);
    line-height: 1.7;
}

/* ===================================
   Benefits Section
   =================================== */
.benefits {
    padding: var(--space-4xl) 0;
    background: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

@media (max-width: 968px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

.benefits-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.benefits-content h2 {
    color: var(--navy);
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: 1.125rem;
    font-weight: 500;
}

.check-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--accent);
}

.benefits-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.benefits-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
}

.before-after-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
}

.before-after-label span {
    flex: 1;
    padding: var(--space-md);
    text-align: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    text-transform: uppercase;
}

.before {
    background: var(--secondary);
    color: var(--white);
}

.after {
    background: var(--accent);
    color: var(--white);
}

/* ===================================
   Demo Section
   =================================== */
.demo {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    padding: var(--space-4xl) 0;
}

.demo-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: var(--space-2xl);
    align-items: center;
}

@media (max-width: 968px) {
    .demo-grid {
        grid-template-columns: 1fr;
    }
}

.demo-video {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.demo-video img {
    width: 100%;
    display: block;
    transform: scale(1.15);
}

.demo-content {
    color: var(--white);
    text-align: center;
}

.demo-content h2 {
    color: var(--white);
    margin-bottom: var(--space-lg);
}

.demo-divider {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
    margin: 0 auto var(--space-xl);
    border-radius: var(--radius-full);
}

.demo-content h3 {
    color: var(--white);
    font-size: 1.75rem;
    margin-bottom: var(--space-md);
}

.demo-content p {
    font-size: 1.25rem;
    color: var(--gray-300);
}

/* ===================================
   Simple Steps Section
   =================================== */
.simple-steps {
    background: linear-gradient(135deg, var(--sky) 0%, var(--primary) 100%);
    padding: var(--space-3xl) 0;
    text-align: center;
}

.simple-steps h2 {
    color: var(--white);
    margin-bottom: var(--space-xl);
}

.simple-steps-list {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.simple-step {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-full);
    color: var(--white);
    font-weight: 600;
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--white);
    color: var(--primary);
    font-weight: 700;
    border-radius: var(--radius-full);
}

/* ===================================
   Order Section
   =================================== */
.order {
    background: var(--gray-100);
    padding: var(--space-4xl) 0;
}

.order-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.order-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
}

@media (max-width: 868px) {
    .order-grid {
        grid-template-columns: 1fr;
    }
}

.order-image {
    background: var(--gray-50);
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.order-image img {
    max-width: 100%;
    height: auto;
}

.endorsement {
    color: var(--gray-700);
    font-size: 1.125rem;
    line-height: 1.6;
}

.endorsement strong {
    font-size: 1.5rem;
    display: block;
    margin: var(--space-xs) 0;
}

.order-content {
    padding: var(--space-2xl) var(--space-3xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

@media (max-width: 568px) {
    .order-content {
        padding: var(--space-xl);
    }
}

.order-content h2 {
    color: var(--navy);
}

.order-description {
    color: var(--gray-600);
    font-size: 1.125rem;
}

.order-highlight {
    font-weight: 700;
    color: var(--gray-900);
}

.order-price {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
}

.price-text {
    display: block;
    font-size: 1rem;
    color: var(--gray-600);
    margin-bottom: var(--space-sm);
}

.price-big {
    display: block;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary);
}

.price-shipping {
    display: block;
    margin-top: var(--space-sm);
    color: var(--accent);
    font-weight: 600;
}

.payment-icons-small {
    max-width: 180px;
    margin: 0 auto;
    opacity: 0.7;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--navy-dark);
    color: var(--gray-300);
    padding: var(--space-3xl) 0;
    text-align: center;
}

.offer-details {
    font-size: 0.875rem;
    margin-bottom: var(--space-xl);
    padding: var(--space-md) var(--space-xl);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    display: inline-block;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--white);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.footer-nav a:hover {
    color: var(--sky-light);
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--white);
    font-weight: 500;
    margin-bottom: var(--space-xl);
    transition: color var(--transition-fast);
}

.social-link:hover {
    color: var(--sky-light);
}

.facebook-icon {
    width: 24px;
    height: 24px;
}

.copyright {
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* ===================================
   Utility Classes
   =================================== */
.text-center {
    text-align: center;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Smooth scroll offset for fixed header */
[id] {
    scroll-margin-top: 80px;
}
