﻿/* ========================================
   TENDERFRAME TEASER LANDING PAGE
   Mobile-first styles for pre-launch page
   ======================================== */

:root {
    --header-offset: 0px;
}


/* ========================================
   HEADER (Logo only — no navigation)
   ======================================== */

.usa-header {
    background-color: rgba(var(--color-mist-rgb), 0.75);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-bottom: 1px solid rgba(var(--color-sage-rgb), 0.14);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-sticky);
    transition: transform 220ms ease-in-out, background-color 220ms ease-in-out;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.usa-header.header-hidden {
    transform: translateY(-100%);
}

.usa-header.header-visible {
    transform: translateY(0);
}

.tf-reveal-band {
    position: relative;
    height: var(--header-offset, 0px);
    overflow: hidden;
}

.tf-reveal-band__img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.usa-navbar {
    background-color: transparent;
    border-bottom: none;
    padding: 1rem 1rem;
}

.tenderframe-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 1;
}

.tenderframe-logo {
    width: auto;
    height: 2.25rem;
    display: block;
}


/* ========================================
   HERO SECTION
   Mobile: fullscreen video bg + glass card
   Desktop: two-column — CTA left, video card right
   ======================================== */

.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 90svh;
    display: flex;
    align-items: center;
    padding: var(--space-4xl) 0 calc(var(--space-4xl) + env(safe-area-inset-bottom));
}

/* Cinematic particle canvas — desktop only */
.hero-particles {
    display: none;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Mobile background video (fullscreen behind content) */
.hero-bg-video--mobile {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    z-index: 0;
    display: block;
}

/* Dark gradient overlay (mobile only — desktop uses solid bg) */
.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(var(--color-forest-rgb), 0.56) 0%,
        rgba(var(--color-midnight-rgb), 0.72) 100%
    );
    z-index: 1;
}

.hero-grid {
    position: relative;
    z-index: 2;
}

/* Glass card — CTA content */
.hero-text-content {
    padding: 1.25rem 1rem;
    border: 1px solid rgba(var(--color-mist-rgb), 0.16);
    border-radius: var(--radius-lg);
    background: rgba(var(--color-midnight-rgb), 0.24);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-eyebrow {
    margin: 0 0 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
    color: var(--color-lime);
    font-weight: 700;
}

.hero-tagline {
    max-width: 56ch;
}

/* Desktop video card — hidden on mobile */
.hero-video-col {
    display: none;
}

.hero-video-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(var(--color-lime-rgb), 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.hero-video-card video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 16 / 10;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-cta .usa-button {
    margin: 0;
}

.hero-quote {
    margin-top: var(--space-lg);
}


/* ========================================
   VALUE PROPOSITION SECTION
   ======================================== */

.value-section,
.tiers-section,
.waitlist-section {
    padding: var(--space-3xl) 0;
}

.value-section {
    position: relative;
    background: linear-gradient(180deg, var(--color-mist) 0%, #ffffff 100%);
    overflow: hidden;
}

/* Cinematic light refraction canvas overlay */
.value-cards-cinematic {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: screen; /* Lighten blend for cinematic glow */
    opacity: 0.5;
}

/* Ensure grid container and cards are above overlay */
.value-section .grid-container {
    position: relative;
    z-index: 2;
}

.section-header {
    margin-bottom: var(--space-2xl);
}

.section-header p {
    max-width: 62ch;
}

.value-grid {
    row-gap: var(--space-lg);
}

/* --- Base value card (shared) --- */

.value-card {
    position: relative;
    overflow: hidden;
    height: 100%;
    border-radius: var(--radius-lg);
    padding: var(--space-xl) var(--space-lg);
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    z-index: 2; /* Above cinematic overlay */
}

/* Gradient accent border — shared pseudo-element */
.value-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px; /* border thickness */
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    z-index: 1;
    pointer-events: none;
    transition: opacity var(--transition-base);
}

.value-card:hover {
    transform: translateY(-4px);
}

/* --- Decorative background icon (all cards) --- */

.value-card__deco {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    opacity: 0.04;
    transition: opacity var(--transition-slow);
}

.value-card:hover .value-card__deco {
    opacity: 0.07;
}

.value-card__deco svg {
    width: 100%;
    height: 100%;
}

/* Permanence deco — top right */
.value-card--permanence .value-card__deco {
    width: 160px;
    height: 160px;
    top: -20px;
    right: -20px;
    color: var(--color-rose);
}

/* Legitimacy deco — center left */
.value-card--legitimacy .value-card__deco {
    width: 180px;
    height: 180px;
    top: 50%;
    left: -30px;
    transform: translateY(-50%);
    color: var(--color-lime);
}

/* Accessibility deco — bottom right */
.value-card--accessibility .value-card__deco {
    width: 150px;
    height: 150px;
    bottom: -15px;
    right: -15px;
    color: var(--color-rose);
}

/* --- Circular icon container --- */

.value-card__icon {
    position: relative;
    z-index: 2;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    flex-shrink: 0;
}

/* Permanence icon — rose bg */
.value-card--permanence .value-card__icon {
    background: rgba(var(--color-rose-rgb), 0.18);
    color: var(--color-rose);
}

/* Legitimacy icon — lime bg */
.value-card--legitimacy .value-card__icon {
    background: rgba(var(--color-lime-rgb), 0.18);
    color: var(--color-lime);
}

/* Accessibility icon — gradient bg */
.value-card--accessibility .value-card__icon {
    background: linear-gradient(135deg, rgba(var(--color-rose-rgb), 0.18), rgba(var(--color-lime-rgb), 0.18));
    color: var(--color-mist);
}

.value-card h3 {
    position: relative;
    z-index: 2;
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: var(--color-forest);
    font-size: 1.35rem;
}

.value-card p {
    position: relative;
    z-index: 2;
    margin: 0;
    color: var(--color-sage);
    font-size: 0.95rem;
    line-height: 1.65;
}

.value-card p strong {
    font-weight: 700;
}

/* Hand-drawn underline for emphasis text */
.text-emphasis {
    position: relative;
    display: inline-block;
    color: inherit;
}

.hand-drawn-underline {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 12px;
    color: var(--color-lime);
    pointer-events: none;
    overflow: visible;
}

/* --- Card-specific backgrounds --- */

.value-card--permanence {
    background: var(--color-forest);
    box-shadow: 0 10px 30px rgba(var(--color-midnight-rgb), 0.3);
}

.value-card--permanence::before {
    background: linear-gradient(135deg, var(--color-rose), rgba(var(--color-rose-rgb), 0.2));
}

.value-card--legitimacy {
    background: var(--color-midnight);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.value-card--legitimacy::before {
    background: linear-gradient(180deg, var(--color-lime), rgba(var(--color-lime-rgb), 0.15));
}

.value-card--accessibility {
    background: var(--color-sage);
    box-shadow: 0 10px 30px rgba(var(--color-sage-rgb), 0.35);
}

.value-card--accessibility::before {
    background: linear-gradient(135deg, var(--color-rose), var(--color-lime));
}

/* --- Card-specific text colors (dark bg) --- */

.value-card--permanence h3 { color: var(--color-rose); }
.value-card--legitimacy h3 { color: var(--color-lime); }
.value-card--accessibility h3 { color: var(--color-mist); }

.value-card--permanence p,
.value-card--legitimacy p,
.value-card--accessibility p {
    color: rgba(var(--color-mist-rgb), 0.85);
}

/* --- Hover glow per card --- */

.value-card--permanence:hover {
    box-shadow:
        0 16px 40px rgba(var(--color-midnight-rgb), 0.35),
        0 0 40px rgba(var(--color-rose-rgb), 0.08);
}

.value-card--legitimacy:hover {
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.45),
        0 0 40px rgba(var(--color-lime-rgb), 0.1);
}

.value-card--accessibility:hover {
    box-shadow:
        0 16px 40px rgba(var(--color-sage-rgb), 0.4),
        0 0 40px rgba(var(--color-rose-rgb), 0.06),
        0 0 40px rgba(var(--color-lime-rgb), 0.06);
}

/* --- "Forever available" badge (Permanence) --- */

.value-card__badge {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: var(--space-lg);
}

.value-card__badge-text {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(var(--color-mist-rgb), 0.5);
}

.value-card__badge-platforms {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: rgba(var(--color-mist-rgb), 0.4);
}

.value-card__badge-more {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 700;
    color: rgba(var(--color-mist-rgb), 0.35);
    margin-left: 0.1rem;
}

/* --- Animated waveform (Legitimacy) --- */

.value-card__waveform {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 36px;
    margin-top: auto;
    padding-top: var(--space-lg);
}

.waveform-bar {
    display: block;
    width: 4px;
    border-radius: 2px;
    background: var(--color-lime);
    animation: waveform-pulse 1.4s ease-in-out infinite;
}

/* Stagger bar heights and animation delays */
.waveform-bar:nth-child(1) { height: 35%; animation-delay: 0s; }
.waveform-bar:nth-child(2) { height: 60%; animation-delay: 0.12s; }
.waveform-bar:nth-child(3) { height: 85%; animation-delay: 0.24s; }
.waveform-bar:nth-child(4) { height: 100%; animation-delay: 0.36s; }
.waveform-bar:nth-child(5) { height: 75%; animation-delay: 0.48s; }
.waveform-bar:nth-child(6) { height: 50%; animation-delay: 0.6s; }
.waveform-bar:nth-child(7) { height: 30%; animation-delay: 0.72s; }

@keyframes waveform-pulse {
    0%, 100% { transform: scaleY(0.45); opacity: 0.5; }
    50%      { transform: scaleY(1);    opacity: 1; }
}

/* --- Animated clock icon (Permanence card icon) --- */

/* Clock hand — slow rotation */
.clock-hand {
    transform-origin: 12px 12px;
    animation: clock-rotate 12s linear infinite;
}

.clock-hand-minute {
    transform-origin: 12px 12px;
    animation: clock-rotate 60s linear infinite;
}

@keyframes clock-rotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* Clock ring — gentle breathing pulse */
.clock-ring {
    animation: clock-ring-pulse 3s ease-in-out infinite;
}

@keyframes clock-ring-pulse {
    0%, 100% { opacity: 0.6; }
    50%      { opacity: 1; }
}

/* Clock center dot — glow pulse */
.clock-dot {
    animation: clock-dot-glow 3s ease-in-out infinite;
}

@keyframes clock-dot-glow {
    0%, 100% { opacity: 0.5; r: 1;   }
    50%      { opacity: 1;   r: 1.5; }
}

/* --- Animated music note icon (Legitimacy card icon) --- */

/* Note heads — staggered beat pulse */
.note-head {
    animation: note-head-pulse 1.4s ease-in-out infinite;
}

.note-head--1 {
    transform-origin: 6px 18px;
    animation-delay: 0s;
}

.note-head--2 {
    transform-origin: 18px 16px;
    animation-delay: 0.2s;
}

@keyframes note-head-pulse {
    0%, 100% { transform: scale(1);    opacity: 0.8; }
    50%      { transform: scale(1.15); opacity: 1;   }
}

/* Staff line — draw-on effect (runs once) */
.note-staff {
    stroke-dasharray: 40;
    stroke-dashoffset: 40;
    animation: staff-draw 1.5s ease-out forwards;
}

@keyframes staff-draw {
    to { stroke-dashoffset: 0; }
}

/* Note top dot — glow pulse */
.note-dot {
    animation: note-dot-glow 1.4s ease-in-out infinite;
}

@keyframes note-dot-glow {
    0%, 100% { opacity: 0.4; r: 1;   }
    50%      { opacity: 1;   r: 1.5; }
}

/* --- Animated voice icon (Accessibility card icon) --- */

/* Sound wave arcs — staggered pulse animation */
.voice-wave {
    opacity: 0;
    animation: voice-wave-pulse 2.5s ease-in-out infinite;
}

.voice-wave--1 {
    animation-delay: 0s;
}

.voice-wave--2 {
    animation-delay: 0.35s;
}

.voice-wave--3 {
    animation-delay: 0.7s;
}

@keyframes voice-wave-pulse {
    0%   { opacity: 0;   stroke-width: 1.5; }
    20%  { opacity: 0.9; stroke-width: 2.5; }
    60%  { opacity: 0.4; stroke-width: 2;   }
    100% { opacity: 0;   stroke-width: 1;   }
}

/* Center dot — gentle glow pulse */
.voice-dot {
    animation: voice-dot-glow 2.5s ease-in-out infinite;
}

@keyframes voice-dot-glow {
    0%, 100% { opacity: 0.5; r: 3;   }
    25%      { opacity: 1;   r: 4.5; }
    50%      { opacity: 0.7; r: 3.5; }
}

/* --- Voice command mockup (Accessibility) --- */

.value-card__voice-cmd {
    position: relative;
    z-index: 2;
    margin-top: var(--space-lg);
}

.voice-cmd__prompt {
    background: rgba(var(--color-midnight-rgb), 0.5);
    border-left: 3px solid var(--color-lime);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 0.65rem 0.85rem;
}

.voice-cmd__label {
    display: block;
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(var(--color-mist-rgb), 0.45);
    margin-bottom: 0.25rem;
}

.voice-cmd__text {
    font-family: "dm-sans", monospace;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--color-lime);
    background: none;
    padding: 0;
}

/* --- CTA text (Accessibility card bottom) --- */

.value-card__cta-text {
    margin-top: auto !important;
    padding-top: var(--space-md);
    font-size: 0.82rem !important;
    font-weight: 600;
    color: var(--color-lime) !important;
    letter-spacing: 0.02em;
    opacity: 0.7;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
    text-decoration: none;
    display: inline-block;
}

.value-card__cta-text:hover {
    opacity: 1;
    transform: translateX(2px);
}

.value-card--accessibility:hover .value-card__cta-text {
    opacity: 1;
}


/* ========================================
   SERVICE TIER PREVIEW
   ======================================== */

.tiers-section {
    background-color: var(--color-midnight);
}

.tiers-section .section-header h2,
.tiers-section .section-header p {
    color: var(--color-mist) !important;
}

/* Stack spacing: add gap between tier cards when they wrap on mobile */
.tiers-section .grid-row > [class*="grid-col"] {
    margin-bottom: var(--space-lg);
}

.tier-card {
    overflow: hidden;
    border-radius: var(--radius-md);
    border: 1px solid rgba(var(--color-lime-rgb), 0.15);
    background-color: var(--color-forest);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-base), border-color var(--transition-base);
}

.tier-card:hover {
    transform: translateY(-3px);
    border-color: rgba(var(--color-lime-rgb), 0.4);
}

/* Featured (flagship) card — lime glow border */
.tier-card--featured {
    border-color: rgba(var(--color-lime-rgb), 0.45);
    box-shadow: 0 0 30px rgba(var(--color-lime-rgb), 0.08);
}

.tier-card__media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.tier-card__media video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* Cover image — sits on top of the video, fades out when playing */
.tier-video-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: opacity 0.6s ease-in-out;
    pointer-events: none;
}

/* Hide cover when video is playing */
.tier-card__media.playing .tier-video-cover {
    opacity: 0;
}

/* Show cover when video has ended */
.tier-card__media.ended .tier-video-cover {
    opacity: 1;
}

/* Video controls container */
.tier-video-controls {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    right: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 2;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.tier-video-controls > * {
    pointer-events: auto;
}

/* Fade out controls when video is playing and user is idle */
.tier-card__media.playing.idle .tier-video-controls {
    opacity: 0;
    pointer-events: none;
}

.tier-card__media.playing.idle .tier-video-controls > * {
    pointer-events: none;
}

/* Left side button group */
.tier-video-controls-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Base button styles */
.tier-video-play,
.tier-video-pause,
.tier-video-restart,
.tier-video-sound {
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    width: 20px;
    height: 20px;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
    outline: none;
}

.tier-video-play:focus,
.tier-video-pause:focus,
.tier-video-restart:focus,
.tier-video-sound:focus {
    outline: none;
}

.tier-video-play:hover,
.tier-video-pause:hover,
.tier-video-restart:hover,
.tier-video-sound:hover {
    opacity: 0.8;
    transform: scale(1.1);
}

.tier-video-play svg,
.tier-video-pause svg,
.tier-video-restart svg,
.tier-video-sound svg {
    width: 20px;
    height: 20px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}

/* Button visibility — use display so hidden buttons don't take space */
.tier-video-pause,
.tier-video-restart {
    display: none;
}

/* Show pause/restart when playing, hide play */
.tier-card__media.playing .tier-video-play {
    display: none;
}

.tier-card__media.playing .tier-video-pause,
.tier-card__media.playing .tier-video-restart {
    display: inline-flex;
}

/* Sound button needs relative for its stacked icons */
.tier-video-sound {
    position: relative;
}

/* Sound icon states */
.sound-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity var(--transition-fast);
}

.sound-icon--muted {
    opacity: 1;
}

.sound-icon--unmuted {
    opacity: 0;
}

.tier-video-sound.unmuted .sound-icon--muted {
    opacity: 0;
}

.tier-video-sound.unmuted .sound-icon--unmuted {
    opacity: 1;
}

.tier-card__body {
    padding: var(--space-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tier-card__kicker {
    margin: 0 0 0.3rem;
    color: var(--color-lime);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
}

.tier-card h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-size: 1.4rem;
}

.tier-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.92rem;
    line-height: 1.6;
}

.tier-card__price {
    margin-top: auto !important;
    padding-top: var(--space-md);
    color: var(--color-lime) !important;
    font-size: 0.95rem;
    font-weight: 500;
}

.tier-card__price strong {
    font-size: 1.15rem;
    font-weight: 700;
}


/* ========================================
   WAITLIST / INTEREST FORM
   ======================================== */

.waitlist-section {
    background-color: var(--color-mist);
}

.waitlist-embed {
    background: #ffffff;
    border: 1px solid rgba(var(--color-sage-rgb), 0.2);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 24px rgba(var(--color-midnight-rgb), 0.08);
    overflow: hidden;
}

.waitlist-embed iframe {
    border: 0;
    width: 100%;
    height: 480px;
    display: block;
}

.waitlist-note {
    color: var(--color-sage);
    font-size: 0.88rem;
}

.waitlist-note a {
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 2px;
}


/* ========================================
   FOOTER
   ======================================== */

/* ========================================
   FOOTER
   ======================================== */

.usa-footer--medium {
    font-family: var(--font-sans);
}

.usa-footer--medium .usa-footer__secondary-section {
    background-color: var(--color-midnight);
    padding: var(--space-2xl) 0 var(--space-lg);
}

/* Stacked center layout */
.tf-footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-md);
}

/* Logo */
.tf-footer-logo img {
    height: 3rem;
    width: auto;
    opacity: 0.85;
    transition: opacity var(--transition-fast);
}

.tf-footer-logo:hover img {
    opacity: 1;
}

/* Tagline */
.tf-footer-tagline {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.03em;
}

/* Social row */
.tf-footer-socials {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.usa-social-link {
    background-color: rgba(255, 255, 255, 0.08) !important;
    border-radius: 999px;
    color: #ffffff !important;
    width: 38px;
    height: 38px;
    padding: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.usa-social-link:hover {
    background-color: var(--color-lime) !important;
    color: var(--color-forest) !important;
    transform: translateY(-2px);
}

.social-icon {
    width: 17px;
    height: 17px;
    display: block;
}

/* Divider */
.tf-footer-divider {
    width: 100%;
    max-width: 240px;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin: var(--space-sm) 0;
}

/* Bottom row */
.tf-footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.tf-footer-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.tf-footer-links a {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    transition: color var(--transition-fast);
}

.tf-footer-links a:hover {
    color: var(--color-lime);
}

.tf-footer-sep {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.78rem;
}

.tf-footer-copy {
    margin: 0;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.04em;
}


/* ========================================
   RESPONSIVE — Mobile-first breakpoints
   ======================================== */

/* ---- Tablet (768px+) ---- */
@media (min-width: 768px) {
    /* Remove stack spacing when tier cards sit side-by-side */
    .tiers-section .grid-row > [class*="grid-col"] {
        margin-bottom: 0;
    }

    .hero-text-content {
        padding: 1.5rem 1.25rem;
    }

    .value-section,
    .tiers-section,
    .waitlist-section {
        padding: var(--space-4xl) 0;
    }

    /* Footer: wider divider, horizontal bottom row */
    .tf-footer-divider {
        max-width: 360px;
    }

    .tf-footer-bottom {
        flex-direction: row;
        justify-content: center;
        gap: 1.5rem;
    }
}

/* ---- Desktop (1024px+) ---- */
@media (min-width: 1024px) {
    .usa-navbar {
        padding: 0.4rem 1rem;
    }

    .tenderframe-logo {
        height: 3.25rem;
    }

    /* Hero: two-column layout, solid bg instead of video bg */
    .hero-section {
        min-height: calc(100svh - 4rem);
        align-items: center;
        padding: var(--space-2xl) 0;
        background: var(--color-midnight);
    }

    .hero-section::before {
        display: none; /* No overlay needed — solid bg */
    }

    .hero-bg-video--mobile {
        display: none; /* Hide mobile bg video on desktop */
    }

    .hero-particles {
        display: block; /* Show cinematic particles on desktop */
    }

    .hero-text-col {
        display: flex;
        align-items: center;
    }

    .hero-text-content {
        padding: 2rem 2.25rem;
        background: rgba(var(--color-forest-rgb), 0.4);
        border-color: rgba(var(--color-lime-rgb), 0.12);
    }

    .hero-video-col {
        display: block; /* Show the video card */
    }

    .value-section,
    .tiers-section,
    .waitlist-section {
        padding: 5rem 0;
    }
}


/* ========================================
   DARK MODE OVERRIDES
   ======================================== */

body.dark-mode .value-section {
    background: linear-gradient(180deg, var(--color-forest) 0%, var(--color-midnight) 100%);
}

body.dark-mode .section-header h2,
body.dark-mode .section-header p {
    color: var(--color-mist) !important;
}

/* Cards already have dark backgrounds — no extra dark-mode overrides needed.
   The card-specific colors (.value-card--permanence, etc.) are dark-native. */

body.dark-mode .waitlist-section {
    background-color: var(--color-midnight);
}

body.dark-mode .waitlist-embed {
    background: var(--color-forest);
    border-color: rgba(var(--color-lime-rgb), 0.2);
}

body.dark-mode .waitlist-note {
    color: var(--color-mist);
}
