/* ===========================
   Base Styles & Variables
   =========================== */
:root {
    --primary-green: #6B8E6E;
    --primary-gold: #D4A574;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --text-light: #999999;
    --bg-white: #ffffff;
    --bg-light: #f9fafb;
    --bg-gray: #f3f4f6;
    --border-color: #e5e7eb;
    --border-light: #f0f0f0;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    color: var(--text-primary);
    background: var(--bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===========================
   Mobile Header (Hidden on Desktop)
   =========================== */
.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 0 20px;
}

.mobile-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.mobile-header .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--text-primary);
}

.mobile-menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* ===========================
   Main Container Layout
   =========================== */
.container {
    display: flex;
    min-height: 100vh;
}

/* ===========================
   Left Panel - Fixed
   =========================== */
.left-panel {
    width: 420px;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    background: var(--bg-white);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    z-index: 100;
    overflow-y: auto;
}

.panel-content {
    padding: 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Logo Section */
.logo-section {
    margin-bottom: 40px;
}

.logo-section svg {
    margin-bottom: 16px;
}

.logo-section h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tagline {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Claim Form */
.claim-form {
    flex: 1;
}

.claim-form h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.form-description {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--bg-white);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(107, 142, 110, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 12px;
}

.claim-button {
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-gold) 100%);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    margin-top: 24px;
}

.claim-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.form-note {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.form-note .example {
    color: var(--primary-green);
    font-weight: 500;
}

/* Login Divider and Button */
.login-divider {
    text-align: center;
    margin: 32px 0 20px;
    position: relative;
}

.login-divider span {
    background: var(--bg-white);
    padding: 0 12px;
    color: var(--text-secondary);
    font-size: 13px;
    position: relative;
    z-index: 1;
}

.login-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-light);
}

.login-button {
    width: 100%;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 500;
    color: var(--primary-green);
    background: transparent;
    border: 2px solid var(--primary-green);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.login-button:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Login Form (initially hidden) */
.login-form-container {
    display: none;
    animation: slideIn 0.3s ease;
}

.login-form-container.active {
    display: block;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.back-to-claim {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 24px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    transition: var(--transition);
}

.back-to-claim:hover {
    color: var(--primary-green);
}

/* Trust Indicators */
.trust-indicators {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--border-light);
}

.indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
}

.indicator svg {
    color: var(--primary-green);
    flex-shrink: 0;
}

/* Mobile CTA (hidden on desktop) */
.mobile-cta {
    display: none;
}

/* ===========================
   Right Panel - Scrollable
   =========================== */
.right-panel {
    margin-left: 420px;
    flex: 1;
    overflow-y: auto;
    background: var(--bg-light);
}

/* Section Base Styles */
section {
    padding: 80px 0;
}

.section-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
}

section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 0; /*removed 140px padding for full height*/
    height: 100vh; /*added this for full height*/
    display: flex; /*added this for centering*/
    align-items: center; /*added this for centering*/
    justify-content: center; /*added this for centering*/
    overflow: hidden;
    background: #000; /* Fallback for video loading */
    min-height: 600px; /* Ensure minimum height */
}

/* Hero Video Container */
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%) scale(1.2);/* Scale up slightly to cover edges */
    object-fit: cover;
}

/* Video Overlay for better text readability */
.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.2) 50%,
        rgba(0, 0, 0, 0.5) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    margin: 0 auto;
    padding: 0px; /*removed the 0 40px padding for full width*/
}

.hero-badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-green);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 20px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 48px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding: 32px;
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Problem Section - UPDATED */
.problem-section {
    background: var(--bg-white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.problem-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.problem-left {
    max-width: 500px;
}

.problem-list {
    margin: 40px 0;
}

.problem-item {
    padding: 20px;
    margin-bottom: 16px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.problem-item:hover {
    transform: translateX(8px);
    background: #f0fdf4;
}

.problem-item.active {
    background: #f0fdf4;
    border-color: var(--primary-green);
    transform: translateX(8px);
}

.problem-icon {
    font-size: 32px;
}

.problem-item h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.problem-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.problem-right img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    transition: opacity 0.3s ease;
}

.problem-conclusion {
    text-align: center;
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-top: 40px;
}

.problem-conclusion strong {
    color: var(--primary-green);
    font-weight: 600;
}

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

.steps {
    display: grid;
    gap: 32px;
    margin-top: 48px;
}

.step {
    display: flex;
    gap: 24px;
    align-items: start;
}

.step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-gold) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
}

.step h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.step p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Paradigm Shift */
.paradigm-shift {
    background-color: var(--bg-white);
    background-image: url('assets/paradigm-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    min-height: 100vh;/* Ensure it covers full viewport height */
    display: flex; /* Center content vertically */
    align-items: center; /* Center content vertically */
    padding: 100px 0; /* Add padding for spacing */
}

/* Add overlay for better text readability */
.paradigm-shift::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

/* Make content appear above overlay */
.paradigm-shift .section-content {
    position: relative;
    z-index: 2;
}

.paradigm-shift h2 {
    font-size: 56px;
    font-weight: 800;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 32px;
}

.comparison {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin: 40px 0;
}

.old-way,
.new-way {
    padding: 32px;
    border-radius: var(--border-radius-lg);
    background: var(--bg-light);
}

.old-way {
    border: 2px solid #ef4444;
    background: #fef2f2;
}

.new-way {
    border: 2px solid var(--primary-green);
    background: #f0fdf4;
}

.old-way h3 {
    color: #ef4444;
    margin-bottom: 24px;
}

.new-way h3 {
    color: var(--primary-green);
    margin-bottom: 24px;
}

.flow {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    font-size: 15px;
    color: var(--text-secondary);
    padding-left: 8px;
}

.flow span{
    white-space: nowrap;
    position: relative;
}

.flow span:nth-child(even) {
    display: none;
}

.flow span:not(:last-child):not(:nth-child(even))::after {
    content: '⬇';
    position: absolute;
    right: -24px;
    top: 100%;
    margin-top: -8px;;
    color: var(--text-secondary);
    font-size: 18px;
}

.shift-conclusion {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-green);
    margin-top: 32px;
    background-color: #FFFFFF;
    padding: 10px 18px;
    max-width: 600px;
    margin-left: 0;
    margin-right: auto;
    border-radius: 20px;
}

/* Features Grid */
.features {
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.feature-card {
    padding: 32px;
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
}

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

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(107, 142, 110, 0.1) 0%, rgba(212, 165, 116, 0.1) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon svg {
    color: var(--primary-green);
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Testimonials */
.testimonials {
    background: var(--bg-white);
}

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

.testimonial {
    padding: 32px;
    background: var(--bg-light);
    border-radius: var(--border-radius-lg);
    text-align: center;
}

.stars {
    font-size: 20px;
    margin-bottom: 16px;
}

.testimonial p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 16px;
    font-style: italic;
}

.testimonial cite {
    font-size: 14px;
    color: var(--text-secondary);
    font-style: normal;
}

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

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.faq-item {
    padding: 24px;
    background: var(--bg-white);
    border-radius: var(--border-radius);
}

.faq-item h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Final CTA */
.final-cta {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-gold) 100%);
    color: white;
    text-align: center;
    padding: 100px 0;
}

.final-cta h2 {
    color: white;
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.95;
    margin-bottom: 32px;
}

.cta-quote {
    font-size: 20px;
    font-weight: 600;
    font-style: italic;
    margin: 40px 0;
    padding: 0 40px;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    padding: 18px 40px;
    background: white;
    color: var(--primary-green);
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.cta-note {
    margin-top: 24px;
    font-size: 14px;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: var(--bg-white);
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 24px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

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

.footer-copyright {
    font-size: 13px;
    color: var(--text-light);
}

/* ===========================
   Mobile Styles
   =========================== */
.mobile-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
}

.mobile-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 400px;
    max-height: 80vh;
    overflow-y: auto;
    padding: 32px;
    border-radius: var(--border-radius-lg);
    position: relative;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 32px;
    color: var(--text-secondary);
    cursor: pointer;
}

.mobile-claim-button {
    display: none;
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-gold) 100%);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 1024px) {
    .left-panel {
        width: 360px;
    }
    
    .right-panel {
        margin-left: 360px;
    }
    
    .panel-content {
        padding: 32px;
    }

    /* Adjust problem section for tablets */
    .problem-container {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    /* Show mobile header */
    .mobile-header {
        display: block;
    }
    
    /* Hide desktop left panel */
    .left-panel {
        display: none;
    }
    
    /* Adjust right panel */
    .right-panel {
        margin-left: 0;
        margin-top: 60px;
    }
    
    /* Show mobile CTA */
    .mobile-cta {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 16px;
        background: white;
        border-top: 1px solid var(--border-color);
        z-index: 1000;
    }
    
    .mobile-claim-button {
        display: block;
    }
    
    /* Adjust section padding */
    section {
        padding: 60px 0;
    }
    
    .section-content {
        padding: 0 20px;
    }
    
    /* Adjust hero */
    .hero {
        padding: 80px 0;
    }
    
    /* Hide video on mobile for performance */
    .hero-video-container {
        display: none;
    }
    
    /* Use gradient background on mobile instead */
    .hero {
        background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-gold) 100%);
    }
    
    .hero-title {
        font-size: 36px;
        color: white;
    }
    
    .hero-subtitle {
        font-size: 18px;
        color: rgba(255, 255, 255, 0.95);
    }
    
    .hero-badge {
        background: rgba(255, 255, 255, 0.95);
        color: var(--primary-green);
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* Adjust problem section for mobile */
    .problem-section {
        min-height: auto;
        padding: 40px 0;
    }
    
    .problem-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }

    .problem-left {
        max-width: 100%;
    }

    /* Hide image completely on mobile */
    .problem-right {
        display: none;
    }

    /* Make items more touch-friendly */
    .problem-item {
        padding: 18px 16px;
        margin-bottom: 12px;
    }

    /* Remove hover effects on mobile */
    .problem-item:hover {
        transform: none;
        background: var(--bg-light);
    }

    /* Better active state for mobile */
    .problem-item.active {
        transform: none;
        border-left: 4px solid var(--primary-green);
        padding-left: 14px;
    }
    
    /* Adjust grids */
    .features-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison {
        grid-template-columns: 1fr;
    }
    
    /* Adjust typography */
    section h2 {
        font-size: 28px;
    }
    
    /* Adjust footer */
    .footer-links {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}