/* ========================================
   TestoTonic Landing Page Styles
   High-Performance, Mobile-First Design
   ======================================== */

/* CSS Variables */
:root {
    /* Colors */
    --primary-color: #4CAF50;
    --primary-dark: #388E3C;
    --primary-light: #81C784;
    --secondary-color: #1a1a2e;
    --accent-color: #FFD700;
    --accent-orange: #FF6B35;
    --text-dark: #000000;
    --text-paragraph: #000000;
    --heading-color: #0a1628;
    --text-light: #6c757d;
    --text-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --bg-dark: #0a1628;
    --border-color: #e9ecef;
    --success-color: #28a745;
    --warning-color: #ffc107;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
    --gradient-hero: linear-gradient(135deg, #0a1628 0%, #1a2d4a 50%, #0a1628 100%);
    --gradient-card: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    
    /* Typography - Desktop */
    --font-primary: 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-heading: 'Georgia', 'Times New Roman', serif;
    --h1-size: 46px;
    --h2-size: 36px;
    --h3-size: 28px;
    --p-size: 18px;
    --line-height-body: 1.8;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-width: 1200px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
}

/* Typography Base Styles */
h1, .h1 {
    font-size: var(--h1-size);
    font-weight: 700;
    color: var(--heading-color);
    line-height: 1.2;
}

h2, .h2 {
    font-size: var(--h2-size);
    font-weight: 600;
    color: var(--heading-color);
    line-height: 1.3;
}

h3, .h3 {
    font-size: var(--h3-size);
    font-weight: 600;
    color: var(--heading-color);
    line-height: 1.4;
}

p, .paragraph {
    font-size: var(--p-size);
    color: var(--text-paragraph);
    line-height: var(--line-height-body);
}

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

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

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

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

/* ========================================
   Header Styles
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    font-size: 1.8rem;
}

.logo-text {
    color: var(--text-dark);
}

.logo-text .highlight {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu a {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-fast);
}

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    background: var(--gradient-hero);
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234CAF50' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

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

.hero-text {
    color: var(--text-white);
}

.hero-text .badge {
    display: inline-block;
    background: rgba(76, 175, 80, 0.3);
    border: 1px solid var(--primary-color);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: var(--radius-xl);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease;
}

.hero-text h1 {
    font-family: var(--font-heading);
    font-size: var(--h1-size);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-subtitle {
    font-size: var(--p-size);
    color: #ffffff;
    margin-bottom: 30px;
    line-height: var(--line-height-body);
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    font-size: 17px;
    font-weight: 500;
}

.check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
}

.hero-cta {
    animation: fadeInUp 0.6s ease 0.4s both;
}

.hero-cta .guarantee-text {
    margin-top: 15px;
    font-size: 16px;
    color: #ffffff;
}

.hero-image {
    position: relative;
    animation: fadeInRight 0.8s ease 0.3s both;
}

.hero-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.floating-badge {
    position: absolute;
    background: var(--bg-white);
    padding: 12px 18px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    animation: float 3s ease-in-out infinite;
}

.floating-badge span {
    display: block;
    font-weight: 700;
    color: var(--heading-color);
    font-size: 16px;
}

.floating-badge small {
    font-size: 12px;
    color: var(--text-paragraph);
}

.badge-top {
    top: 20px;
    right: -20px;
    animation-delay: 0s;
}

.badge-bottom {
    bottom: 40px;
    left: -20px;
    animation-delay: 1.5s;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 80px;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(76, 175, 80, 0.5);
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-white);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.125rem;
}

.btn-xl {
    padding: 20px 48px;
    font-size: 1.25rem;
}

.btn.pulse {
    animation: pulse 2s infinite;
}

/* ========================================
   Trust Badges
   ======================================== */
.trust-badges {
    padding: 40px 0;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.badges-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.badge-icon {
    font-size: 1.5rem;
}

.badge-item span {
    font-weight: 600;
    color: var(--heading-color);
    font-size: 16px;
}

/* ========================================
   Section Styles
   ======================================== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-badge {
    display: inline-block;
    background: rgba(76, 175, 80, 0.1);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: var(--radius-xl);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: var(--h2-size);
    font-weight: 600;
    color: var(--heading-color);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: var(--p-size);
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: var(--line-height-body);
}

/* ========================================
   What Is Section
   ======================================== */
.what-is {
    padding: var(--section-padding);
    background: var(--bg-white);
}

.what-is-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
    align-items: center;
}

.what-is-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.what-is-text p {
    margin-bottom: 20px;
    color: var(--text-paragraph);
    font-size: var(--p-size);
    line-height: var(--line-height-body);
}

.what-is-highlights {
    display: flex;
    gap: 40px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

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

.highlight-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.highlight-text {
    font-size: 15px;
    color: var(--heading-color);
    font-weight: 500;
}

/* ========================================
   How It Works
   ======================================== */
.how-it-works {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.step-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    position: relative;
}

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

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: var(--text-white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.step-card h3 {
    font-size: var(--h3-size);
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--heading-color);
}

.step-card p {
    color: var(--text-paragraph);
    font-size: var(--p-size);
    line-height: var(--line-height-body);
}

.process-note {
    background: rgba(76, 175, 80, 0.1);
    padding: 20px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
}

.process-note p {
    color: var(--text-paragraph);
    font-size: 16px;
    line-height: 1.7;
}

/* ========================================
   Benefits Section
   ======================================== */
.benefits {
    padding: var(--section-padding);
    background: var(--bg-white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.benefit-card {
    background: var(--gradient-card);
    padding: 35px 25px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

.benefit-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.benefit-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--heading-color);
}

.benefit-card p {
    color: var(--text-paragraph);
    font-size: 16px;
    line-height: var(--line-height-body);
}

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

.benefits-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    margin: 0 auto;
    max-width: 800px;
}

/* ========================================
   Testimonials Section
   ======================================== */
.testimonials {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.testimonial-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.testimonial-rating {
    color: var(--accent-color);
    font-size: 1.25rem;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.testimonial-text {
    color: var(--text-paragraph);
    font-size: var(--p-size);
    line-height: var(--line-height-body);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    color: var(--heading-color);
    font-size: 16px;
}

.author-info span {
    font-size: 14px;
    color: var(--text-paragraph);
}

.author-info .verified {
    color: var(--success-color);
    font-weight: 600;
}

.testimonial-disclaimer {
    background: rgba(255, 193, 7, 0.1);
    padding: 20px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--warning-color);
}

.testimonial-disclaimer p {
    font-size: 15px;
    color: var(--text-paragraph);
    line-height: 1.7;
}

/* ========================================
   Pricing Section
   ======================================== */
.pricing {
    padding: var(--section-padding);
    background: var(--bg-white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

.pricing-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px 25px;
    text-align: center;
    position: relative;
    transition: var(--transition-normal);
}

.pricing-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-xl);
    transform: scale(1.05);
    z-index: 2;
}

.pricing-card.featured:hover {
    transform: scale(1.07);
}

.best-value-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-orange);
    color: var(--text-white);
    padding: 8px 20px;
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: 0.875rem;
    white-space: nowrap;
}

.package-label {
    font-size: 15px;
    color: var(--heading-color);
    margin-bottom: 5px;
    font-weight: 500;
}

.package-bottles {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 5px;
}

.package-supply {
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.package-image {
    margin-bottom: 20px;
}

.package-image img {
    max-height: 180px;
    width: auto;
    margin: 0 auto;
}

.package-price {
    margin-bottom: 10px;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-per {
    display: block;
    font-size: 15px;
    color: var(--heading-color);
    font-weight: 500;
}

.package-savings {
    margin-bottom: 15px;
}

.original-price {
    text-decoration: line-through;
    color: #666666;
    margin-right: 10px;
    font-size: 16px;
}

.save-amount {
    color: var(--accent-orange);
    font-weight: 700;
}

.pricing-card .btn {
    width: 100%;
    margin-bottom: 15px;
}

.package-extras {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 15px;
}

.package-extras span {
    font-size: 15px;
    color: var(--heading-color);
    font-weight: 500;
}

.package-guarantee {
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.package-guarantee span {
    font-size: 14px;
    color: var(--heading-color);
    font-weight: 500;
}

.bonus-preview {
    margin-top: 20px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
}

.bonus-preview img {
    margin: 0 auto 10px;
}

.bonus-preview span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-orange);
}

/* ========================================
   Guarantee Section
   ======================================== */
.guarantee {
    padding: 60px 0;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.guarantee-content {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 900px;
    margin: 0 auto;
}

.guarantee-badge {
    flex-shrink: 0;
    width: 180px;
    height: 180px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.guarantee-icon {
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.guarantee-badge span {
    font-size: 1.5rem;
    font-weight: 700;
}

.guarantee-badge strong {
    font-size: 0.9rem;
}

.guarantee-text h3 {
    font-size: var(--h3-size);
    font-weight: 600;
    color: var(--heading-color);
    margin-bottom: 15px;
}

.guarantee-text p {
    color: var(--text-paragraph);
    font-size: var(--p-size);
    line-height: var(--line-height-body);
}

/* ========================================
   Final CTA Section
   ======================================== */
.final-cta {
    padding: var(--section-padding);
    background: var(--gradient-hero);
}

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

.cta-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.cta-text {
    color: #ffffff;
}

.cta-text h2 {
    font-family: var(--font-heading);
    font-size: var(--h2-size);
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
}

.cta-text > p {
    font-size: var(--p-size);
    color: #ffffff;
    margin-bottom: 25px;
    line-height: var(--line-height-body);
}

.cta-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.cta-features span {
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 18px;
    border-radius: var(--radius-md);
    font-size: 16px;
    color: #ffffff;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-note {
    margin-top: 15px;
    font-size: 16px;
    color: #ffffff;
}

/* ========================================
   FAQ Section
   ======================================== */
.faq {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: var(--p-size);
    font-weight: 600;
    color: var(--heading-color);
    background: var(--bg-white);
    transition: var(--transition-fast);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-icon {
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 25px 20px;
    color: var(--text-paragraph);
    font-size: var(--p-size);
    line-height: var(--line-height-body);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--bg-dark);
    color: #ffffff;
    padding: 60px 0 30px;
}

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

.footer-brand p {
    margin-top: 15px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    line-height: 1.7;
}

.footer-links h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.85);
    padding: 6px 0;
    font-size: 15px;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-disclaimer {
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-disclaimer p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-bottom {
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer .logo-text {
    color: #ffffff;
}

.footer .logo-text .highlight {
    color: var(--primary-color);
}

/* ========================================
   Floating Order Button
   ======================================== */
.floating-order-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: 15px 25px;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(76, 175, 80, 0.5);
    z-index: 999;
    animation: pulse 2s infinite;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.floating-order-btn.visible {
    opacity: 1;
    visibility: visible;
}

.floating-order-btn:hover {
    transform: scale(1.05);
}

/* ========================================
   Exit Intent Popup
   ======================================== */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: scale(0.9);
    transition: var(--transition-normal);
}

.popup-overlay.active .popup-content {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition-fast);
}

.popup-close:hover {
    color: var(--text-dark);
}

.popup-body h3 {
    font-size: 1.75rem;
    color: var(--heading-color);
    margin-bottom: 15px;
}

.popup-body p {
    color: var(--text-paragraph);
    margin-bottom: 20px;
    font-size: 16px;
}

.popup-body img {
    margin: 0 auto 20px;
}

.popup-body .btn {
    width: 100%;
}

.popup-note {
    margin-top: 15px;
    font-size: 14px;
    color: var(--heading-color);
}

/* ========================================
   Purchase Notification
   ======================================== */
.notification-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 15px 20px;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-20px);
    transition: var(--transition-normal);
    max-width: 320px;
}

.notification-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification-icon {
    font-size: 1.5rem;
}

.notification-text strong {
    display: block;
    font-size: 14px;
    color: var(--heading-color);
}

.notification-text span {
    font-size: 13px;
    color: var(--text-paragraph);
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(76, 175, 80, 0.7);
    }
}

/* ========================================
   Responsive Styles
   ======================================== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-image {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .hero-features {
        align-items: center;
    }
    
    .what-is-content {
        grid-template-columns: 1fr;
    }
    
    .what-is-image {
        text-align: center;
    }
    
    .what-is-image img {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .steps-grid,
    .benefits-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .pricing-card.featured {
        transform: none;
        order: -1;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }
    
    .guarantee-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cta-image {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .cta-features {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Mobile Typography Variables */
    :root {
        --h1-size: 30px;
        --h2-size: 24px;
        --h3-size: 20px;
        --p-size: 16.5px;
    }
    
    /* Hide header on mobile */
    .header {
        display: none;
    }
    
    .hero {
        padding: 60px 0 80px;
    }
    
    .hero-text h1 {
        font-size: 30px;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .step-card h3,
    .benefit-card h3,
    .guarantee-text h3 {
        font-size: 20px;
    }
    
    .step-card p,
    .benefit-card p,
    .what-is-text p,
    .testimonial-text,
    .guarantee-text p,
    .cta-text p,
    .faq-question,
    .faq-answer p {
        font-size: 16.5px;
    }
    
    .steps-grid,
    .benefits-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .what-is-highlights {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .notification-popup {
        left: 10px;
        right: 10px;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 28px;
    }
    
    .section-header h2 {
        font-size: 22px;
    }
    
    .step-card h3,
    .benefit-card h3,
    .guarantee-text h3 {
        font-size: 18px;
    }
    
    .btn-xl {
        padding: 16px 30px;
        font-size: 1rem;
    }
    
    .floating-order-btn {
        bottom: 15px;
        right: 15px;
        padding: 12px 20px;
    }
    
    .popup-content {
        padding: 25px;
    }
}

/* Support for 200% zoom */
@media (min-resolution: 2dppx) {
    html {
        font-size: 14px;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #2E7D32;
        --text-dark: #000000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
