/* ============================================
   FormFactor PCs Landing Page Styles
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

:root {
    /* Colors */
    --primary-dark: #1a2332;
    --primary-blue: #2563eb;
    --primary-blue-light: #3b82f6;
    --primary-blue-dark: #1d4ed8;
    --accent-green: #10b981;
    --accent-green-light: #34d399;
    --text-dark: #1f2937;
    --text-medium: #4b5563;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --border-color-light: #f3f4f6;
    --shadow-sm:
        0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md:
        0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg:
        0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl:
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Gradients */
    --gradient-primary: linear-gradient(
        135deg,
        var(--primary-blue) 0%,
        var(--primary-blue-light) 100%
    );
    --gradient-accent: linear-gradient(
        135deg,
        var(--accent-green) 0%,
        var(--accent-green-light) 100%
    );
    --gradient-subtle: linear-gradient(
        180deg,
        var(--bg-white) 0%,
        var(--bg-light) 100%
    );

    /* Typography */
    --font-family:
        "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    /* Spacing */
    --section-padding: 5rem 0;
    --container-max: 1200px;
    --header-height: 70px;
    --border-radius: 1rem;
    --border-radius-sm: 0.5rem;
    --border-radius-lg: 1.5rem;
}

body {
    font-family: var(--font-family);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    font-weight: 700;
    color: var(--text-dark);
}

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

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

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

p {
    color: var(--text-medium);
}

/* ============================================
   Skip Link (Accessibility)
   ============================================ */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-dark);
    color: white;
    padding: 1rem 2rem;
    border-radius: 0 0 0.5rem 0.5rem;
    z-index: 10000;
    text-decoration: none;
    font-weight: 600;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid var(--accent-green);
    outline-offset: 2px;
}

/* ============================================
   Header / Navigation
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid transparent;
    height: var(--header-height);
    display: flex;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-medium);
    font-weight: 500;
    transition: color 0.2s;
    padding: 0.5rem 0;
}

.nav-links a:hover,
.nav-links a:focus {
    color: var(--primary-blue);
}

.nav-cta {
    display: inline-block;
    padding: 0.625rem 1.25rem;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.nav-cta:hover,
.nav-cta:focus {
    background: var(--gradient-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    width: 40px;
    height: 40px;
    position: relative;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    position: relative;
    transition: all 0.3s;
}

.hamburger::before,
.hamburger::after {
    content: "";
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    left: 0;
    transition: all 0.3s;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

/* Mobile menu open state */
.mobile-menu-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
}

/* ============================================
   Focus States (Accessibility)
   ============================================ */
a:focus,
button:focus,
input:focus,
[tabindex]:focus {
    outline: 3px solid var(--primary-blue);
    outline-offset: 2px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
    outline: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 3px solid var(--primary-blue);
    outline-offset: 2px;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #0f172a 100%);
    padding: calc(var(--header-height) + 4rem) 0 4rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(
            circle at 20% 50%,
            rgba(37, 99, 235, 0.15) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 80% 80%,
            rgba(16, 185, 129, 0.15) 0%,
            transparent 50%
        ),
        url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><rect width="60" height="60" fill="none"/><circle cx="30" cy="30" r="1.5" fill="rgba(255,255,255,0.08)"/></svg>');
    opacity: 1;
}

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

.hero-text h1,
.hero-text p {
    color: white;
}

.hero-headline {
    margin-bottom: 1.5rem;
}

.hero-headline-accent {
    display: block;
    font-size: 0.85em;
    opacity: 0.95;
    margin-top: 0.5rem;
}

.hero-subheadline {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: inline-flex;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    align-items: center;
    gap: 0.375rem;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    max-height: 500px;
}

.image-caption {
    text-align: center;
    font-size: 0.875rem;
    opacity: 0.75;
    margin-top: 1rem;
    font-style: italic;
    color: #6b7280;
}

/* ============================================
   Email Capture Forms
   ============================================ */
.email-capture {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
}

.email-capture h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.email-form {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.email-form input[type="email"] {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: var(--font-family);
    transition: all 0.2s;
}

.email-form input[type="email"]:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.email-form button {
    padding: 0.875rem 2rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.email-form button:hover {
    background: var(--gradient-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.email-form button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Loading spinner */
.spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.form-success,
.already-subscribed {
    color: #047857;
    font-weight: 600;
    padding: 1rem;
    background: rgba(16, 185, 129, 0.15);
    border-radius: 0.5rem;
    text-align: center;
}

.already-subscribed {
    color: #ffffff;
    background: rgba(37, 99, 235, 0.85);
}

/* ============================================
   Social Proof Banner
   ============================================ */
.social-proof {
    background: var(--primary-dark);
    padding: 1rem 0;
    text-align: center;
}

.social-proof-text {
    color: white;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.social-proof-icon {
    font-size: 1.25rem;
}

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

/* ============================================
   Why Section
   ============================================ */
.why-section {
    padding: var(--section-padding);
    background: var(--bg-light);
    text-align: center;
    position: relative;
}

.why-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.why-section h2 {
    margin-bottom: 3rem;
    padding-top: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color-light);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

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

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.stat-card p {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* ============================================
   Product Showcase
   ============================================ */
.product-showcase {
    padding: var(--section-padding);
    text-align: center;
    background: var(--bg-white);
}

.product-showcase h2 {
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.product-showcase h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.product-card {
    background: white;
    border: 1px solid var(--border-color-light);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: var(--shadow-sm);
}

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

.product-card.featured {
    border-color: var(--accent-green);
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
}

.product-card.featured:hover {
    border-color: var(--accent-green);
    transform: translateY(-5px);
    box-shadow:
        0 20px 25px -5px rgba(16, 185, 129, 0.15),
        0 10px 10px -5px rgba(16, 185, 129, 0.1);
}

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-accent);
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.product-image {
    width: 100%;
    margin-bottom: 1rem;
    overflow: hidden;
    border-radius: var(--border-radius-sm);
    background: var(--bg-light);
}

.product-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0.75rem;
    transition: transform 0.3s ease;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-card h3 {
    margin-bottom: 1rem;
}

.product-card p {
    margin-bottom: 1rem;
}

.product-card .price {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-card .price .currency {
    font-size: 1.5rem;
}

.specs-teaser {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 0.75rem;
    margin-top: 2rem;
}

.specs-teaser p {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-medium);
}

/* ============================================
   How It Works
   ============================================ */
.how-it-works {
    padding: var(--section-padding);
    background: var(--gradient-subtle);
    text-align: center;
    position: relative;
}

.how-it-works::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.how-it-works h2 {
    margin-bottom: 3rem;
    padding-top: 2rem;
}

.process-steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: 0;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.step {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color-light);
    position: relative;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow:
        0 10px 25px -5px rgba(0, 0, 0, 0.1),
        0 8px 10px -6px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-blue);
}

.step-number {
    width: 3rem;
    height: 3rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 0.75rem;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.step h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.step p {
    font-size: 0.9375rem;
}

.step-connector {
    width: 4rem;
    height: 3px;
    background: linear-gradient(
        to right,
        var(--primary-blue) 0%,
        var(--primary-blue) 100%
    );
    position: relative;
    margin: 0 0.5rem;
    display: flex;
    align-items: center;
}

.step-connector::after {
    content: "";
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid var(--primary-blue);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

/* ============================================
   Give-Back Program
   ============================================ */
.giveback-program {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--primary-dark) 0%, #0f172a 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.giveback-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.giveback-text h2,
.giveback-text h3,
.giveback-text p {
    color: white;
}

.giveback-text h2 {
    margin-bottom: 1rem;
}

.giveback-text h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.giveback-text p {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.giveback-cta-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
    margin-top: 1.5rem;
}

.giveback-email {
    font-size: 0.875rem;
    opacity: 0.85;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: white;
    color: var(--primary-dark);
    text-decoration: none;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 1rem;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

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

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.giveback-image img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    max-height: 400px;
}

/* ============================================
   Why FormFactor
   ============================================ */
.why-formfactor {
    padding: var(--section-padding);
    text-align: center;
    background: var(--bg-white);
}

.why-formfactor h2 {
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.why-formfactor h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color-light);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.benefit-card:hover {
    border-color: var(--accent-green);
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1);
}

.benefit-card h3 {
    margin-bottom: 0.75rem;
}

.benefit-card p {
    font-size: 0.9375rem;
}

/* ============================================
   Why Pop!_OS Section
   ============================================ */
.why-popos {
    padding: var(--section-padding);
    text-align: center;
    background: var(--bg-light);
}

.why-popos h2 {
    text-align: center;
    margin-bottom: 2.5rem;
}

.popos-content {
    max-width: 800px;
    margin: 0 auto;
}

.popos-intro {
    font-size: 1.125rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-medium);
}

.popos-features {
    list-style: none;
    display: grid;
    gap: 1rem;
}

.popos-features li {
    background: white;
    padding: 1.25rem 1.5rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-sm);
    color: var(--text-medium);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.popos-features li::before {
    content: "✓";
    color: var(--accent-green);
    font-weight: 700;
    flex-shrink: 0;
}

.popos-features li strong {
    color: var(--text-dark);
}

/* ============================================
   Final CTA Section
   ============================================ */
.final-cta {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--primary-dark) 0%, #0f172a 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta h2,
.final-cta p {
    color: white;
}

.final-cta h2 {
    margin-bottom: 1rem;
}

.cta-subheadline {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.main-cta {
    max-width: 600px;
    margin: 0 auto;
}

.email-form.expanded {
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    width: 100%;
}

.form-group input[type="email"] {
    width: 100%;
}

.interests label#interests-label {
    display: block;
    text-align: left;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 400;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    transition: background 0.2s;
}

.checkbox-label:hover {
    background: rgba(0, 0, 0, 0.05);
}

.checkbox-group input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
    accent-color: var(--accent-green);
}

.checkbox-text {
    color: var(--text-medium);
}

.email-form.expanded button {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.privacy-note {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1.5rem;
}

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

.footer-brand h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-section a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}

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

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
}

.coming-soon-text {
    font-size: 0.875rem;
    font-style: italic;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* ============================================
   Noscript Warning
   ============================================ */
.noscript-warning {
    background: #fef3c7;
    border: 2px solid #f59e0b;
    padding: 1.5rem;
    margin: 1rem;
    border-radius: 0.5rem;
    text-align: center;
}

.noscript-warning p {
    color: #92400e;
    margin: 0;
}

.noscript-warning a {
    color: #b45309;
    font-weight: 600;
}

/* ============================================
   Responsive Design
   ============================================ */

/* Large tablets and small desktops */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .step-connector {
        height: 3rem;
        width: 3px;
        margin: 0 auto;
        background: linear-gradient(
            to bottom,
            var(--primary-blue) 0%,
            var(--primary-blue) 100%
        );
    }

    .step-connector::after {
        content: "";
        position: absolute;
        bottom: -6px;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 0;
        border-top: 8px solid var(--primary-blue);
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
    }
}

/* Tablets */
@media (max-width: 768px) {
    :root {
        --section-padding: 3rem 0;
        --header-height: 60px;
    }

    .hero {
        padding: calc(var(--header-height) + 2rem) 0 2rem;
    }

    .hero-content,
    .giveback-content,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-image,
    .giveback-image {
        order: -1;
    }

    .hero-image img {
        max-height: 300px;
    }

    .email-form {
        flex-direction: column;
    }

    .email-form button {
        width: 100%;
    }

    .trust-badges {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .badge {
        text-align: center;
        justify-content: center;
    }

    .trust-badges .badge:last-child {
        grid-column: span 2;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .step-connector {
        height: 2.5rem;
        width: 3px;
        margin: 0 auto;
        background: linear-gradient(
            to bottom,
            var(--primary-blue) 0%,
            var(--primary-blue) 100%
        );
    }

    .step-connector::after {
        bottom: -6px;
        left: 50%;
        transform: translateX(-50%);
        border-top: 8px solid var(--primary-blue);
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
    }

    .product-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .giveback-cta-group {
        align-items: stretch;
        text-align: center;
    }

    .giveback-email {
        display: block;
    }

    .checkbox-group {
        flex-direction: column;
        gap: 0.5rem;
    }

    .checkbox-label {
        justify-content: flex-start;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero-headline-accent {
        font-size: 1em;
    }

    .email-capture {
        padding: 1.5rem;
    }

    .hero-subheadline {
        font-size: 1rem;
    }

    .cta-subheadline {
        font-size: 1rem;
    }

    .trust-badges {
        grid-template-columns: 1fr;
    }

    .trust-badges .badge:last-child {
        grid-column: span 1;
    }

    .social-proof-text {
        font-size: 0.9375rem;
    }

    .step-icon {
        font-size: 2rem;
    }

    .popos-features li {
        padding: 1rem;
    }
}

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

/* Animation classes will be added via JavaScript */
.fade-in-element {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-element.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Legacy animation support */
.hero-content {
    animation: fadeInUp 0.6s ease-out;
}

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

.mt-1 {
    margin-top: 0.5rem;
}
.mt-2 {
    margin-top: 1rem;
}
.mt-3 {
    margin-top: 1.5rem;
}
.mt-4 {
    margin-top: 2rem;
}

.mb-1 {
    margin-bottom: 0.5rem;
}
.mb-2 {
    margin-bottom: 1rem;
}
.mb-3 {
    margin-bottom: 1.5rem;
}
.mb-4 {
    margin-bottom: 2rem;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
