/* ============================================
   LibertyX Bitcoin ATM — Custom Styles
   Palette: Terracotta + Sand
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
    --color-terracotta: #C0603A;
    --color-terracotta-dark: #A84E2D;
    --color-terracotta-light: #D4856A;
    --color-sand: #F5E6D3;
    --color-sand-light: #FDF6EE;
    --color-sand-dark: #E8D4BE;
    --color-cream: #FFF9F4;
    --color-text: #3D2B1F;
    --color-text-light: #6B5344;
    --color-text-muted: #9A8070;
    --color-white: #FFFFFF;
    --color-dark: #2A1F17;

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Nunito', 'Segoe UI', sans-serif;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --shadow-sm: 0 2px 8px rgba(61, 43, 31, 0.06);
    --shadow-md: 0 4px 20px rgba(61, 43, 31, 0.08);
    --shadow-lg: 0 8px 40px rgba(61, 43, 31, 0.12);
    --shadow-xl: 0 16px 60px rgba(61, 43, 31, 0.15);

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-cream);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

a:hover {
    color: var(--color-terracotta-dark);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 15px;
    padding: 12px 28px;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-terracotta);
    color: var(--color-white);
    border-color: var(--color-terracotta);
    box-shadow: 0 4px 16px rgba(192, 96, 58, 0.3);
}

.btn-primary:hover {
    background: var(--color-terracotta-dark);
    border-color: var(--color-terracotta-dark);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(192, 96, 58, 0.4);
}

.btn-outline-light {
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn-outline-light:hover {
    background: var(--color-white);
    color: var(--color-terracotta);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 14px;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 17px;
}

/* ---------- Section shared ---------- */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-terracotta);
    background: rgba(192, 96, 58, 0.1);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(28px, 4vw, 44px);
    margin-bottom: 16px;
    color: var(--color-text);
}

.section-subtitle {
    font-size: 17px;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ---------- Reveal on scroll (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== HEADER ========== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 246, 238, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(192, 96, 58, 0.08);
    transition: box-shadow var(--transition);
}

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

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--color-text);
}

.logo-accent {
    color: var(--color-terracotta);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    color: var(--color-text-light);
    font-weight: 600;
    font-size: 15px;
    padding: 8px 16px;
    border-radius: 50px;
    transition: all var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-terracotta);
    background: rgba(192, 96, 58, 0.08);
}

/* Mobile toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all var(--transition);
}

.mobile-toggle[aria-expanded="true"] .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-toggle[aria-expanded="true"] .hamburger:nth-child(2) {
    opacity: 0;
}
.mobile-toggle[aria-expanded="true"] .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(145deg, #3D2B1F 0%, #5C3D2E 40%, #7A4E38 70%, #C0603A 100%);
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.06;
    background-image: radial-gradient(circle at 25% 25%, white 1px, transparent 1px),
                      radial-gradient(circle at 75% 75%, white 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 230, 211, 0.15);
    border: 1px solid rgba(245, 230, 211, 0.25);
    color: var(--color-sand);
    font-size: 14px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 50px;
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
}

.hero-headline {
    font-size: clamp(36px, 5vw, 64px);
    color: var(--color-white);
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-accent {
    color: var(--color-sand);
    font-style: italic;
}

.hero-sub {
    font-size: 18px;
    color: rgba(245, 230, 211, 0.85);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--color-white);
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    color: rgba(245, 230, 211, 0.7);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(245, 230, 211, 0.2);
}

/* Hero visual card */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 380px;
}

.hero-card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.hero-card-details {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.card-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--color-sand-light);
    border-radius: var(--radius-md);
}

.card-label {
    font-size: 14px;
    color: var(--color-text-muted);
    font-weight: 600;
}

.card-value {
    font-size: 15px;
    color: var(--color-terracotta);
    font-weight: 800;
}

.floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--color-white);
    padding: 10px 18px;
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text);
    animation: float 3s ease-in-out infinite;
}

.floating-badge-1 {
    top: 10%;
    right: -10px;
    animation-delay: 0s;
}

.floating-badge-2 {
    bottom: 25%;
    left: -20px;
    animation-delay: 1s;
}

.floating-badge-3 {
    bottom: 5%;
    right: 10%;
    animation-delay: 2s;
}

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

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

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

/* ========== HOW IT WORKS ========== */
.how-it-works {
    background: var(--color-sand-light);
}

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

.step-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    position: relative;
}

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

.step-number {
    position: absolute;
    top: 20px;
    right: 24px;
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    color: var(--color-sand);
    line-height: 1;
    opacity: 0.6;
}

.step-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: rgba(192, 96, 58, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-title {
    font-size: 20px;
    margin-bottom: 12px;
}

.step-desc {
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ========== FEATURES ========== */
.features-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.features-visual {
    position: relative;
}

.features-img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.features-img-overlay {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
}

.overlay-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-white);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text);
    box-shadow: var(--shadow-md);
}

.features-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 8px;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-check {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: var(--color-terracotta);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.feature-title {
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 4px;
}

.feature-desc {
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ========== ABOUT ========== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 380px;
    object-fit: cover;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-text {
    font-size: 16px;
    color: var(--color-text-light);
    line-height: 1.8;
}

.about-values {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.value-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-white);
    border: 1px solid var(--color-sand-dark);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text);
}

/* ========== TESTIMONIALS ========== */
.testimonials {
    background: var(--color-sand-light);
}

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

.testimonial-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    position: relative;
}

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

.testimonial-quote {
    position: absolute;
    top: 20px;
    right: 24px;
    font-family: var(--font-heading);
    font-size: 72px;
    color: var(--color-sand);
    line-height: 1;
}

.testimonial-text {
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

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

.author-avatar {
    flex-shrink: 0;
}

.author-name {
    display: block;
    font-weight: 800;
    font-size: 15px;
    color: var(--color-text);
}

.author-location {
    display: block;
    font-size: 13px;
    color: var(--color-text-muted);
    margin-top: 2px;
}

/* ========== LOCATION ========== */
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: stretch;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 8px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(192, 96, 58, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    margin-bottom: 4px;
}

.contact-value {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.5;
}

.contact-link {
    color: var(--color-terracotta);
}

.contact-link:hover {
    color: var(--color-terracotta-dark);
}

.map-link {
    margin-top: 8px;
}

.location-map {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 400px;
}

.location-map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

/* ========== FAQ ========== */
.faq {
    background: var(--color-sand-light);
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text);
    transition: color var(--transition);
}

.faq-question:hover {
    color: var(--color-terracotta);
}

.faq-question[aria-expanded="true"] {
    color: var(--color-terracotta);
}

.faq-toggle {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: rgba(192, 96, 58, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.faq-question[aria-expanded="true"] .faq-toggle {
    background: var(--color-terracotta);
    transform: rotate(45deg);
}

.faq-question[aria-expanded="true"] .faq-toggle svg {
    stroke: white;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
}

.faq-answer.open {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.8;
}

/* ========== CTA ========== */
.cta {
    background: linear-gradient(145deg, #3D2B1F 0%, #7A4E38 60%, #C0603A 100%);
    padding: 100px 0;
}

.cta-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-xl);
    padding: 60px;
    backdrop-filter: blur(10px);
}

.cta-title {
    font-size: clamp(28px, 4vw, 44px);
    color: var(--color-white);
    margin-bottom: 16px;
}

.cta-text {
    font-size: 17px;
    color: rgba(245, 230, 211, 0.85);
    line-height: 1.8;
    margin-bottom: 32px;
    max-width: 520px;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.cta-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-circle {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 4s ease-in-out infinite;
}

/* ========== FOOTER ========== */
.site-footer {
    background: var(--color-dark);
    color: rgba(245, 230, 211, 0.7);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-brand .logo-text {
    color: var(--color-white);
}

.footer-desc {
    font-size: 15px;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 300px;
}

.footer-heading {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-sand);
    margin-bottom: 20px;
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(245, 230, 211, 0.6);
    font-size: 15px;
    font-weight: 600;
    transition: all var(--transition);
}

.footer-links a:hover {
    color: var(--color-sand);
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.6;
}

.footer-contact svg {
    flex-shrink: 0;
    margin-top: 3px;
    opacity: 0.6;
}

.footer-link {
    color: rgba(245, 230, 211, 0.7);
    transition: color var(--transition);
}

.footer-link:hover {
    color: var(--color-sand);
}

.footer-bottom {
    border-top: 1px solid rgba(245, 230, 211, 0.1);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(245, 230, 211, 0.4);
}

.footer-legal {
    font-size: 12px;
    max-width: 400px;
    text-align: right;
}

/* ========== BACK TO TOP ========== */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--color-terracotta);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: all var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-terracotta-dark);
    transform: translateY(-4px);
}

/* ========== MOBILE NAV OVERLAY ========== */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(42, 31, 23, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity var(--transition);
}

.nav-overlay.active {
    opacity: 1;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-sub {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .features-layout,
    .about-grid,
    .location-grid {
        grid-template-columns: 1fr;
    }

    .features-visual {
        order: -1;
    }

    .cta-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px;
    }

    .cta-visual {
        display: none;
    }

    .cta-actions {
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 72px 0;
    }

    .mobile-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--color-cream);
        padding: 90px 32px 32px;
        box-shadow: var(--shadow-xl);
        transition: right var(--transition);
        z-index: 999;
    }

    .main-nav.open {
        right: 0;
    }

    .nav-overlay {
        display: block;
    }

    .nav-links {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }

    .nav-links a {
        padding: 14px 16px;
        border-radius: var(--radius-md);
        font-size: 16px;
    }

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

    .hero {
        min-height: auto;
        padding: 120px 0 100px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-headline {
        font-size: 32px;
    }

    .btn-lg {
        padding: 14px 24px;
        font-size: 15px;
        width: 100%;
        justify-content: center;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
}
