/* 
   Walk Cash Landing Page Styles
   Theme: Light only, clean premium SaaS layout, minimalistic, futuristic.
*/

:root {
    /* Colors */
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-light: #eff6ff;
    --bg-white: #ffffff;
    --bg-soft-gray: #f8fafc;
    --text-main: #0f172a;
    --text-muted: #475569;
    --text-light: #94a3b8;

    /* Gradients */
    --gradient-blue: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    --gradient-text: linear-gradient(90deg, #2563eb 0%, #6366f1 100%);
    --gradient-hero: radial-gradient(circle at top right, rgba(59, 130, 246, 0.1) 0%, rgba(255, 255, 255, 0) 50%), radial-gradient(circle at bottom left, rgba(99, 102, 241, 0.05) 0%, rgba(255, 255, 255, 0) 50%);

    /* Shadows & Border Radius */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    --shadow-mockup: 0 25px 50px -12px rgba(15, 23, 42, 0.15);

    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
}

/* Global Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
    max-width: 1200px;
}

.container-narrow {
    max-width: 1000px;
}

.section {
    padding: var(--spacing-xl) 0;
}

.bg-soft-gray {
    background-color: var(--bg-soft-gray);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-muted);
}

/* Typography elements */
.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    outline: none;
}

.btn-small {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.39);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid #e2e8f0;
}

.btn-outline:hover {
    background: var(--bg-soft-gray);
    transform: translateY(-2px);
    border-color: #cbd5e1;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

.nav-logo {
    height: 38px;
    width: auto;
    object-fit: contain;
}

.legal-logo {
    height: 60px;
    width: auto;
    margin-bottom: 2rem;
    display: block;
}

.nav-links {
    display: none;
    gap: 2rem;
    font-weight: 500;
    color: var(--text-muted);
}

.nav-links a:hover {
    color: var(--primary);
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: calc(80px + var(--spacing-lg));
    padding-bottom: var(--spacing-xl);
    text-align: center;
    overflow: hidden;
}

.hero-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.hero-headline {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.hero-subheadline {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

@media (min-width: 640px) {
    .hero-actions {
        flex-direction: row;
    }
}

@media (min-width: 768px) {
    .hero-headline {
        font-size: 4.5rem;
    }

    .hero-subheadline {
        font-size: 1.25rem;
    }
}

/* Mockups Layout */
.hero-visuals {
    margin-top: 4rem;
    position: relative;
    height: 400px;
}

.mockup-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.mockup {
    position: absolute;
    width: 65%;
    max-width: 320px;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-mockup);
    border: 6px solid #fff;
    background: #fff;
    transition: transform 0.5s ease;
}

.mockup-center {
    z-index: 3;
    top: 0;
}

.mockup-left {
    z-index: 2;
    top: 40px;
    left: 5%;
    transform: rotate(-5deg);
    opacity: 0.8;
}

.mockup-right {
    z-index: 2;
    top: 40px;
    right: 5%;
    transform: rotate(5deg);
    opacity: 0.8;
}

.mockup-container:hover .mockup-left {
    transform: rotate(-8deg) translateX(-10px);
}

.mockup-container:hover .mockup-right {
    transform: rotate(8deg) translateX(10px);
}

.mockup-container:hover .mockup-center {
    transform: translateY(-5px);
}

@media (min-width: 768px) {
    .hero-visuals {
        height: 550px;
    }

    .mockup {
        width: 30%;
    }

    .mockup-left {
        left: 10%;
    }

    .mockup-right {
        right: 10%;
    }
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 640px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    background: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    text-align: left;
}

.feature-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-lg);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-muted);
}

/* How It Works Alternating Style */
.steps-image-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.step-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .step-card {
        flex-direction: row;
        justify-content: space-between;
        gap: 4rem;
    }

    .step-card.reverse {
        flex-direction: row;
    }
}

.step-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.step-number-pill {
    background-color: var(--primary-light);
    border: 1px solid var(--primary);
    border-radius: var(--radius-lg);
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

.step-number-pill .step-number {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.125rem;
}

.step-card-content h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.step-card-content p {
    font-size: 1.125rem;
    color: var(--text-muted);
}

.step-card-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.step-card-image img {
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    max-height: 400px;
    width: auto;
    border: 6px solid white;
}

/* Why Use Grid Layout (Flexbox for centering bottom row) */
.why-use-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

.why-card {
    flex: 1 1 100%;
    max-width: 400px;
    background: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid #f1f5f9;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .why-card {
        flex: 1 1 calc(50% - 1rem);
    }
}

@media (min-width: 1024px) {
    .why-card {
        flex: 1 1 calc(33% - 1rem);
    }
}

.why-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    border-color: var(--primary-light);
}

.why-icon {
    width: 64px;
    height: 64px;
    background: var(--bg-soft-gray);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.why-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

.why-content p {
    font-size: 1rem;
    color: var(--text-muted);
}

/* Testimonials Layout (3 Cards Row) */
.badge {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    font-weight: 700;
    color: var(--primary);
    background: var(--primary-light);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    display: inline-block;
    margin-bottom: 1rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-ui-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-2xl);
    border: 1px solid #f1f5f9;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    text-align: left;
    transition: all 0.3s ease;
}

.testimonial-ui-card:hover {
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
}

.testimonial-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.stars {
    color: #fbbf24;
    font-size: 1.125rem;
    display: flex;
    gap: 0.25rem;
}

.comma-icon {
    font-size: 2rem;
    color: var(--primary-light);
    opacity: 0.5;
}

.review-text {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid #f1f5f9;
    padding-top: 1.5rem;
}

.avatar {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    overflow: hidden;
    background: var(--bg-soft-gray);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary);
    font-size: 1.5rem;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-details {
    display: flex;
    flex-direction: column;
}

.user-details .name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-main);
}

.user-details .title {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 0.1rem;
}

/* Final CTA Section */
.cta-container {
    text-align: center;
    background: var(--bg-white);
    padding: 4rem 2rem;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid #f1f5f9;
}

.cta-container h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.cta-container p {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
    }
}

.cta-buttons i {
    font-size: 1.25rem;
}

/* Important Info Box */
.info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: left;
    border-top: 1px solid #e2e8f0;
    padding-top: 3rem;
}

@media (min-width: 768px) {
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.important-info-box {
    background: var(--bg-soft-gray);
    padding: 2rem;
    border-radius: var(--radius-2xl);
    border: 1px solid #f1f5f9;
}

.important-info-box h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.info-list li i {
    color: var(--primary);
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

/* Footer */
.footer {
    padding: 4rem 0 2rem 0;
    background: var(--bg-white);
    border-top: 1px solid #f1f5f9;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-container {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-brand p {
    color: var(--text-light);
    margin-top: 0.5rem;
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-copyright {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Animations (Scroll Reveals) */
.fade-in {
    opacity: 0;
    transition: opacity 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
}

.slide-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}