/* ============================================
   ProstaVive Bridge Landing Page Styles
   Mobile-First Design
   ============================================ */

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

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    min-height: 100vh;
}

/* ============================================
   HEADER - Professional High CTR Design
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.625rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.25rem;
}

.header-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #ffffff;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
    white-space: nowrap;
}

.header-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.01em;
    line-height: 1.2;
    margin: 0;
    max-width: 100%;
}

.header-subtitle {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #94a3b8;
    line-height: 1.3;
    max-width: 100%;
}

.header-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.6875rem;
    color: #64748b;
    flex-wrap: wrap;
}

.trust-item {
    color: #22c55e;
    font-weight: 600;
}

.trust-dot {
    color: #475569;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 6rem 0.75rem 0.75rem;
    
    /* BACKGROUND IMAGE PATH - Replace with your image path */
    background-image: url('assets/prostavive-bg.png.png');
    background-size: cover;
    background-position: center 15%;
    background-repeat: no-repeat;
}

/* Dark overlay for readability - mobile optimized */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.15) 40%, rgba(0, 0, 0, 0.45) 100%);
    z-index: 1;
}

/* ============================================
   CTA CARD
   ============================================ */
.cta-card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 14px;
    padding: 1rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
    text-align: center;
}

.cta-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.cta-subtitle {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 1.5rem;
}

/* ============================================
   COUNTDOWN TIMER
   ============================================ */
.countdown-container {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.countdown-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #fecaca;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.375rem;
}

.countdown-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
}

.time-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 50px;
}

.time-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.time-unit {
    font-size: 0.625rem;
    color: #fecaca;
    text-transform: uppercase;
    margin-top: 0.125rem;
}

.time-separator {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fecaca;
    line-height: 1;
    padding-top: 0.25rem;
}

/* ============================================
   EMAIL FORM
   ============================================ */
.email-form {
    margin-bottom: 1rem;
    text-align: left;
}

.email-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #1a365d;
    margin-bottom: 0.375rem;
}

.email-input {
    width: 100%;
    padding: 0.625rem 0.75rem;
    font-size: 0.9375rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.email-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.email-input::placeholder {
    color: #94a3b8;
}

.email-helper {
    font-size: 0.6875rem;
    color: #64748b;
    margin-top: 0.375rem;
}

.email-input.error {
    border-color: #ef4444;
}

.email-error-msg {
    font-size: 0.75rem;
    color: #ef4444;
    margin-top: 0.25rem;
    display: none;
}

.email-input.error + .email-error-msg {
    display: block;
}

/* ============================================
   CTA BUTTONS
   ============================================ */
.cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem 1rem;
    margin-bottom: 0.625rem;
    border: none;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

/* USA Button - Green */
.cta-btn--usa {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.cta-btn--usa:hover {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
}

/* Canada Button - Navy Blue */
.cta-btn--canada {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
}

.cta-btn--canada:hover {
    background: linear-gradient(135deg, #1e3a8a 0%, #172554 100%);
}

/* Button Elements */
.flag {
    font-size: 1.25rem;
    line-height: 1;
}

.btn-text {
    flex: 1;
    text-align: center;
}

.arrow {
    font-size: 1.125rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.cta-btn:hover .arrow {
    transform: translateX(4px);
}

/* ============================================
   DISCLAIMER TEXT
   ============================================ */
.cta-disclaimer {
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.5;
    margin-top: 0.5rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 2rem 1rem;
}

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

.affiliate-disclaimer,
.medical-disclaimer {
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.affiliate-disclaimer strong,
.medical-disclaimer strong {
    color: #ffffff;
}

.copyright {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #334155;
}

/* ============================================
   MOBILE OPTIMIZATIONS
   ============================================ */
@media (max-width: 480px) {
    .header-content {
        padding: 0.5rem 0.75rem;
    }
    
    .header-badge {
        font-size: 0.5625rem;
        padding: 0.2rem 0.625rem;
    }
    
    .header-title {
        font-size: 0.9375rem;
        line-height: 1.25;
    }
    
    .header-subtitle {
        font-size: 0.6875rem;
        line-height: 1.2;
    }
    
    .header-trust {
        font-size: 0.625rem;
        gap: 0.375rem;
    }
    
    .hero {
        min-height: 100svh;
        height: auto;
        padding: 5.5rem 0.625rem 0.5rem;
        background-position: center 10%;
        flex-direction: column;
        justify-content: flex-end;
    }
    
    .cta-card {
        padding: 0.875rem;
        border-radius: 12px;
        margin-bottom: 0.5rem;
        width: 100%;
    }
    
    .email-form {
        margin-bottom: 0.75rem;
    }
    
    .email-label {
        font-size: 0.75rem;
    }
    
    .email-input {
        padding: 0.5625rem 0.625rem;
        font-size: 0.875rem;
    }
    
    .email-helper {
        font-size: 0.625rem;
    }
    
    .cta-btn {
        padding: 0.6875rem 0.875rem;
        font-size: 0.875rem;
        margin-bottom: 0.5rem;
    }
    
    .flag {
        font-size: 1.125rem;
    }
    
    .arrow {
        font-size: 1rem;
    }
}

/* Small phones */
@media (max-width: 360px) {
    .header-content {
        padding: 0.375rem 0.625rem;
        gap: 0.125rem;
    }
    
    .header-badge {
        font-size: 0.5rem;
        padding: 0.15rem 0.5rem;
    }
    
    .header-title {
        font-size: 0.8125rem;
        line-height: 1.2;
    }
    
    .header-subtitle {
        font-size: 0.625rem;
    }
    
    .header-trust {
        font-size: 0.5625rem;
    }
    
    .hero {
        min-height: 100svh;
        padding: 4rem 0.5rem 0.5rem;
    }
    
    .cta-card {
        padding: 0.75rem;
        border-radius: 10px;
        margin-bottom: 0.5rem;
    }
    
    .countdown-container {
        padding: 0.5rem 0.625rem;
        margin-bottom: 0.75rem;
    }
    
    .countdown-label {
        font-size: 0.625rem;
    }
    
    .time-value {
        font-size: 1.125rem;
    }
    
    .time-unit {
        font-size: 0.5rem;
    }
    
    .time-box {
        min-width: 38px;
    }
    
    .email-form {
        margin-bottom: 0.625rem;
    }
    
    .email-label {
        font-size: 0.6875rem;
    }
    
    .email-input {
        padding: 0.5rem 0.625rem;
        font-size: 0.8125rem;
    }
    
    .cta-btn {
        padding: 0.625rem 0.75rem;
        font-size: 0.75rem;
        margin-bottom: 0.375rem;
    }
}

/* ============================================
   TABLET & DESKTOP
   ============================================ */
@media (min-width: 768px) {
    .header-content {
        padding: 0.75rem 1.5rem;
        gap: 0.375rem;
    }
    
    .header-badge {
        font-size: 0.6875rem;
        padding: 0.3125rem 0.875rem;
    }
    
    .header-title {
        font-size: 1.25rem;
    }
    
    .header-subtitle {
        font-size: 0.875rem;
    }
    
    .header-trust {
        font-size: 0.75rem;
    }
    
    .hero {
        min-height: 85vh;
        padding: 5rem 1.5rem 1.5rem;
        background-position: center top;
    }
    
    .hero-overlay {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 60%, rgba(0, 0, 0, 0.5) 100%);
    }
    
    .cta-card {
        max-width: 400px;
        padding: 1.5rem;
        border-radius: 16px;
        margin-bottom: 1rem;
    }
    
    .countdown-container {
        padding: 1rem 1.25rem;
    }
    
    .countdown-label {
        font-size: 0.875rem;
    }
    
    .time-value {
        font-size: 2rem;
    }
    
    .time-unit {
        font-size: 0.75rem;
    }
    
    .time-box {
        min-width: 60px;
    }
    
    .email-label {
        font-size: 0.875rem;
    }
    
    .email-input {
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }
    
    .cta-btn {
        padding: 1rem 1.5rem;
        font-size: 1.0625rem;
    }
    
    .flag {
        font-size: 1.5rem;
    }
    
    .arrow {
        font-size: 1.25rem;
    }
    
    .footer {
        padding: 3rem 2rem;
    }
}

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

/* Focus styles for keyboard navigation */
.cta-btn:focus-visible {
    outline: 3px solid #3b82f6;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .cta-card {
        border: 2px solid #ffffff;
    }
    
    .cta-btn {
        border: 2px solid #ffffff;
    }
}
