/* 
 * Restilla Design System & Styles
 * 
 * TABLE OF CONTENTS:
 * 1. Design Tokens (Variables)
 * 2. Reset & Base Styles
 * 3. Shared Components (Buttons, Cards, Badges)
 * 4. Layout (Navbar & Main Sections)
 * 5. Feature Specific (Pass Mockup, Floating Elements)
 * 6. Media Queries & Responsiveness
 */

/* 1. Design Tokens */
:root {
    /* Colors */
    --clr-primary: #4f46e5;
    --clr-primary-light: #6366f1;
    --clr-secondary: #a855f7;
    --clr-white: #ffffff;
    --clr-bg-page: #f8fafc;
    --clr-surface: #ffffff;
    --clr-text-main: #0f172a;
    --clr-text-muted: #64748b;
    --clr-border: rgba(0, 0, 0, 0.08);
    --clr-glass-bg: rgba(255, 255, 255, 0.85);

    /* Gradients */
    --grad-primary: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);

    /* Shadows */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px -5px rgba(0, 0, 0, 0.04), 0 4px 6px -2px rgba(0, 0, 0, 0.01);
    --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
    --shadow-primary: 0 10px 20px -5px rgba(79, 70, 229, 0.3);

    /* Transitions */
    --trans-fast: 0.2s ease;
    --trans-base: 0.3s cubic-bezier(0.16, 1, 0.3, 1);

    /* Spacing & Radius */
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 100px;
}

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

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

body {
    background-color: var(--clr-bg-page);
    color: var(--clr-text-main);
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.logo {
    font-family: 'Outfit', sans-serif;
}

.gradient-text {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 3. Shared Components */

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: var(--trans-base);
    border: none;
}

.btn-primary {
    background: var(--grad-primary);
    color: var(--clr-white) !important;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -5px rgba(79, 70, 229, 0.4);
    opacity: 0.95;
}

.btn-secondary {
    background: var(--clr-white);
    color: var(--clr-text-main);
    border: 1px solid var(--clr-border);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--clr-bg-page);
    border-color: var(--clr-primary);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
}

/* Cards */
.card-base {
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--trans-base);
}

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

/* Badges */
.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--clr-primary-light);
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
}

/* 4. Layout */

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(16px);
    background: var(--clr-glass-bg);
    border-bottom: 1px solid var(--clr-border);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: inherit;
    text-decoration: none;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    object-fit: contain;
}

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

.nav-links a {
    color: var(--clr-text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--trans-fast);
}

.nav-links a:hover {
    color: var(--clr-text-main);
}

.nav-links .btn-primary {
    color: white;
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    padding: 180px 5% 100px;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 100vh;
    align-items: center;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 800;
}

.hero p {
    font-size: 1.25rem;
    color: var(--clr-text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

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

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

/* Features */
.features {
    padding: 100px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

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

.feature-card {
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--trans-base);
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    background: var(--grad-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.3);
    transition: var(--trans-base);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    color: var(--clr-white);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(79, 70, 229, 0.4);
}

.feature-card h3 {
    margin-bottom: 16px;
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--clr-text-muted);
}

/* How it Works */
.how-it-works {
    padding: 100px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.step.with-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.step.with-image.reverse {
    direction: rtl;
}

.step.with-image.reverse>* {
    direction: ltr;
}

.step-visual {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.step-visual img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.step.with-image:hover .step-visual img {
    transform: scale(1.02);
}

.step-info {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--grad-primary);
    color: var(--clr-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h3 {
    margin-bottom: 12px;
    font-size: 1.5rem;
}

.step-content p {
    color: var(--clr-text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Pricing */
.pricing {
    padding: 100px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    position: relative;
    transition: var(--trans-base);
}

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

.pricing-card.featured {
    border: 2.5px solid var(--clr-primary);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--grad-primary);
    color: var(--clr-white);
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 600;
}

.plan-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--clr-text-muted);
    margin-bottom: 16px;
}

.plan-price {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--clr-text-main);
    margin-bottom: 24px;
}

.plan-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--clr-text-muted);
}

.plan-features {
    list-style: none;
    text-align: left;
    margin-bottom: 32px;
}

.plan-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--clr-border);
    color: var(--clr-text-muted);
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features li::before {
    content: '✓';
    color: var(--clr-primary);
    font-weight: 700;
    margin-right: 10px;
}

.pricing-card .btn-primary,
.pricing-card .btn-secondary {
    width: 100%;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 100px 5%;
    background: var(--grad-primary);
    color: var(--clr-white);
    margin-top: 80px;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cta-section p {
    opacity: 0.9;
    margin-bottom: 32px;
    font-size: 1.1rem;
}

.cta-section .btn-primary {
    background: var(--clr-white);
    color: var(--clr-primary) !important;
}

.cta-section .btn-primary:hover {
    background: var(--clr-bg-page);
    transform: translateY(-3px);
}

/* Footer */
.footer {
    background: var(--clr-text-main);
    color: var(--clr-white);
    padding: 60px 5% 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

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

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

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-column h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color var(--trans-fast);
}

.footer-column a:hover {
    color: var(--clr-white);
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

/* 5. Feature Specific (Visuals) */

.phone-mockup {
    width: 320px;
    height: 640px;
    background: #111827;
    border-radius: 48px;
    padding: 12px;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #f1f5f9;
    border-radius: 36px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.wallet-pass {
    width: 100%;
    background: linear-gradient(to bottom right, #4338ca, #1e1e24);
    border-radius: 20px;
    padding: 24px;
    color: white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    animation: floatPass 6s infinite ease-in-out;
}

.wallet-pass .pass-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
}

.wallet-pass .merchant-logo {
    width: 40px;
    height: 40px;
    background: #4f46e5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.wallet-pass .points-display {
    margin-bottom: 24px;
}

.wallet-pass .points-display .label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.7;
    display: block;
    margin-bottom: 4px;
}

.wallet-pass .points-display .value {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -1px;
}

.wallet-pass .progress-container {
    background: rgba(255, 255, 255, 0.1);
    height: 6px;
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
}

.wallet-pass .progress-bar {
    height: 100%;
    background: white;
    border-radius: 10px;
}

.wallet-pass .reward-hint {
    font-size: 0.85rem;
    opacity: 0.8;
}

@keyframes floatPass {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border: 1px solid var(--clr-border);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 10;
    animation: float 4s infinite ease-in-out;
    box-shadow: var(--shadow-md);
}

.c1 {
    top: 5%;
    right: -60px;
}

.c2 {
    bottom: 25%;
    left: -80px;
    animation-delay: 2s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(2deg);
    }

    50% {
        transform: translateY(-15px) rotate(-1deg);
    }
}

/* 6. Media Queries */
@media (max-width: 1200px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
}

@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        padding-top: 140px;
        padding-bottom: 60px;
        text-align: center;
        gap: 40px;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero h1 {
        font-size: 3rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 1.1rem;
    }

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

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .phone-mockup {
        width: 280px;
        height: 560px;
    }
}

@media (max-width: 768px) {

    /* Navigation */
    .navbar {
        padding: 1rem 3%;
    }

    .logo {
        font-size: 1.4rem;
        gap: 10px;
    }

    .logo-img {
        width: 38px;
        height: 38px;
    }

    .nav-links {
        gap: 14px;
    }

    .nav-links a:not(.btn-primary) {
        display: none;
    }

    .nav-links .btn-primary {
        padding: 10px 20px;
        font-size: 0.95rem;
        white-space: nowrap;
    }

    /* Hero Section */
    .hero {
        padding: 120px 4% 60px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 16px;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 28px;
    }

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

    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        width: 100%;
        padding: 14px 24px;
        font-size: 1rem;
    }

    .trust-indicators {
        font-size: 0.85rem;
        margin-top: 20px;
    }

    /* Phone Mockup */
    .phone-mockup {
        width: 240px;
        height: 480px;
        margin: 0 auto;
    }

    .wallet-pass {
        padding: 20px;
    }

    .wallet-pass .points-display .value {
        font-size: 2.5rem;
    }

    /* Sections */
    .features,
    .how-it-works,
    .pricing {
        padding: 60px 4%;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-header h2 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .section-header p {
        font-size: 1rem;
    }

    /* Features Grid */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card {
        padding: 28px;
    }

    .feature-card h3 {
        font-size: 1.3rem;
    }

    .feature-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 20px;
    }

    /* How It Works */
    .step.with-image {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 24px;
    }

    .step-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .step-content h3 {
        font-size: 1.3rem;
    }

    .step-content p {
        font-size: 1rem;
    }

    /* Pricing */
    .pricing-card {
        padding: 32px 24px;
    }

    .plan-price {
        font-size: 2.8rem;
    }

    /* CTA Section */
    .cta-section {
        padding: 60px 4%;
    }

    .cta-section h2 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .cta-section p {
        font-size: 1rem;
        margin-bottom: 24px;
    }

    .cta-section .btn-primary {
        padding: 14px 28px;
        font-size: 1rem;
    }

    /* Footer */
    .footer {
        padding: 32px 4% 16px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: left;
    }

    .footer-brand {
        text-align: left;
        margin-bottom: 0;
    }

    .footer-brand .logo {
        margin-bottom: 8px;
    }

    .footer-brand p {
        font-size: 0.8rem;
        line-height: 1.3;
        opacity: 0.8;
        margin-top: 8px;
    }

    .footer-links {
        display: flex;
        flex-wrap: wrap;
        gap: 16px 24px;
        width: 100%;
        margin-top: 8px;
    }

    .footer-column {
        text-align: left;
        flex: 0 0 auto;
    }

    .footer-column h4 {
        font-size: 0.7rem;
        margin-bottom: 8px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        opacity: 0.6;
    }

    .footer-column a {
        font-size: 0.85rem;
        margin-bottom: 6px;
        display: block;
    }

    .footer-bottom {
        margin-top: 24px;
        padding-top: 16px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        display: flex;
        flex-direction: column;
        gap: 4px;
        align-items: flex-start;
    }

    .footer-bottom p {
        margin: 0;
        font-size: 0.75rem;
        opacity: 0.7;
    }

    .kvk-number {
        font-size: 0.7rem;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .navbar {
        padding: 0.85rem 3%;
    }

    .logo {
        font-size: 1.25rem;
    }

    .logo-img {
        width: 34px;
        height: 34px;
    }

    .nav-links .btn-primary {
        padding: 9px 16px;
        font-size: 0.9rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .phone-mockup {
        width: 200px;
        height: 400px;
    }

    .wallet-pass {
        padding: 16px;
    }

    .wallet-pass .points-display .value {
        font-size: 2rem;
    }

    .feature-card,
    .pricing-card {
        padding: 24px 20px;
    }

    .btn-large {
        padding: 14px 24px;
        font-size: 1rem;
    }

    .badge {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    /* Footer adjustments for very small screens */
    .footer {
        padding: 24px 4% 12px;
    }

    .footer-brand p {
        font-size: 0.75rem;
    }

    .footer-links {
        gap: 12px 20px;
    }

    .footer-column h4 {
        font-size: 0.65rem;
    }

    .footer-column a {
        font-size: 0.8rem;
    }

    .footer-bottom {
        margin-top: 20px;
        padding-top: 12px;
    }

    .footer-bottom p {
        font-size: 0.7rem;
    }

    .kvk-number {
        font-size: 0.65rem;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    background-color: #ffffff;
    margin: 10% auto;
    padding: 32px;
    border-radius: 28px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    animation: modalSlide 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlide {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--clr-text-main);
}

.close-modal {
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: var(--clr-text-muted);
    line-height: 1;
    transition: color 0.2s;
}

.close-modal:hover {
    color: var(--clr-text-main);
}

/* Mobile-specific modal improvements */
@media (max-width: 768px) {
    .modal-content {
        margin: 5% auto;
        padding: 24px 20px;
        width: 95%;
        max-width: none;
        border-radius: 20px;
    }

    .modal-header h3 {
        font-size: 1.3rem;
    }

    .close-modal {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        margin: 2% auto;
        padding: 20px 16px;
        width: 96%;
    }

    .modal-header h3 {
        font-size: 1.2rem;
    }
}

/* Prevent mobile zoom on inputs and ensure minimum font sizes */
@media (max-width: 768px) {

    input,
    select,
    textarea,
    button {
        font-size: 16px !important;
        /* Prevents iOS auto-zoom */
    }

    body {
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }
}

/* Prevent horizontal overflow on mobile */
@media (max-width: 768px) {

    html,
    body {
        overflow-x: hidden;
        max-width: 100vw;
    }

    * {
        max-width: 100%;
    }

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

/* Footer improvements for mobile */
@media (max-width: 768px) {
    .footer-brand p {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .footer-bottom {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .footer-bottom p {
        margin: 0;
    }

    .kvk-number {
        opacity: 0.7;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .footer-brand p {
        font-size: 0.8rem;
    }
}

/* Hide floating cards on mobile - they overflow */
@media (max-width: 1024px) {
    .floating-card {
        display: none !important;
    }
}

/* Make floating cards very small on mobile */
@media (max-width: 1024px) {
    .floating-card {
        display: block !important;
        padding: 8px 12px;
        font-size: 0.7rem;
        border-radius: 8px;
        max-width: 120px;
    }

    .c1 {
        top: 8%;
        right: 5px;
    }

    .c2 {
        bottom: 30%;
        left: 5px;
    }
}

@media (max-width: 480px) {
    .floating-card {
        padding: 6px 10px;
        font-size: 0.65rem;
        max-width: 100px;
    }
}

/* Keep wallet pass proportions consistent on mobile */
@media (max-width: 768px) {
    .wallet-pass {
        padding: 20px;
    }

    .wallet-pass .merchant-name {
        font-size: 1.1rem;
    }

    .wallet-pass .pass-type {
        font-size: 0.7rem;
    }

    .wallet-pass .points-display .label {
        font-size: 0.65rem;
    }

    .wallet-pass .points-display .value {
        font-size: 2.8rem;
    }

    .wallet-pass .reward-hint {
        font-size: 0.7rem;
    }
}

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

    .wallet-pass .merchant-name {
        font-size: 1rem;
    }

    .wallet-pass .pass-type {
        font-size: 0.65rem;
    }

    .wallet-pass .points-display .label {
        font-size: 0.6rem;
    }

    .wallet-pass .points-display .value {
        font-size: 2.4rem;
    }

    .wallet-pass .reward-hint {
        font-size: 0.65rem;
    }
}

/* Make wallet pass more compact on mobile */
@media (max-width: 768px) {
    .wallet-pass {
        padding: 14px !important;
    }

    .wallet-pass .merchant-name {
        font-size: 0.9rem !important;
        margin-bottom: 4px !important;
    }

    .wallet-pass .pass-type {
        font-size: 0.6rem !important;
        margin-bottom: 12px !important;
    }

    .wallet-pass .points-display {
        margin: 12px 0 !important;
    }

    .wallet-pass .points-display .label {
        font-size: 0.55rem !important;
        margin-bottom: 4px !important;
    }

    .wallet-pass .points-display .value {
        font-size: 2.2rem !important;
        margin-bottom: 6px !important;
    }

    .wallet-pass .progress-bar {
        height: 4px !important;
        margin: 8px 0 !important;
    }

    .wallet-pass .reward-hint {
        font-size: 0.6rem !important;
        margin-top: 6px !important;
    }

    .wallet-pass .pass-footer {
        font-size: 0.65rem !important;
        margin-top: 10px !important;
    }
}

@media (max-width: 480px) {
    .wallet-pass {
        padding: 12px !important;
    }

    .wallet-pass .merchant-name {
        font-size: 0.85rem !important;
    }

    .wallet-pass .pass-type {
        font-size: 0.55rem !important;
        margin-bottom: 10px !important;
    }

    .wallet-pass .points-display {
        margin: 10px 0 !important;
    }

    .wallet-pass .points-display .label {
        font-size: 0.5rem !important;
    }

    .wallet-pass .points-display .value {
        font-size: 1.9rem !important;
        margin-bottom: 4px !important;
    }

    .wallet-pass .progress-bar {
        height: 3px !important;
        margin: 6px 0 !important;
    }

    .wallet-pass .reward-hint {
        font-size: 0.55rem !important;
        margin-top: 4px !important;
    }

    .wallet-pass .pass-footer {
        font-size: 0.6rem !important;
        margin-top: 8px !important;
    }
}

/* Make phone mockup wider and text more compact */
@media (max-width: 768px) {
    .phone-mockup {
        width: 280px !important;
        height: 560px !important;
    }

    .wallet-pass .merchant-logo {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.1rem !important;
    }

    .wallet-pass .merchant-info {
        gap: 8px !important;
    }

    .wallet-pass .merchant-info span {
        font-size: 0.75rem !important;
        white-space: nowrap !important;
    }
}

@media (max-width: 480px) {
    .phone-mockup {
        width: 260px !important;
        height: 520px !important;
    }

    .wallet-pass .merchant-logo {
        width: 36px !important;
        height: 36px !important;
        font-size: 1rem !important;
    }

    .wallet-pass .merchant-info span {
        font-size: 0.7rem !important;
    }
}

/* Increase text sizes now that we have more space */
@media (max-width: 768px) {
    .wallet-pass .pass-type {
        font-size: 0.7rem !important;
    }

    .wallet-pass .points-display .label {
        font-size: 0.65rem !important;
    }

    .wallet-pass .points-display .value {
        font-size: 2.6rem !important;
    }

    .wallet-pass .reward-hint {
        font-size: 0.7rem !important;
    }

    .wallet-pass .pass-footer {
        font-size: 0.75rem !important;
    }
}

@media (max-width: 480px) {
    .wallet-pass .pass-type {
        font-size: 0.65rem !important;
    }

    .wallet-pass .points-display .label {
        font-size: 0.6rem !important;
    }

    .wallet-pass .points-display .value {
        font-size: 2.3rem !important;
    }

    .wallet-pass .reward-hint {
        font-size: 0.65rem !important;
    }

    .wallet-pass .pass-footer {
        font-size: 0.7rem !important;
    }
}

/* Increase points display text for better prominence */
@media (max-width: 768px) {
    .wallet-pass .points-display .label {
        font-size: 0.75rem !important;
        letter-spacing: 1.5px !important;
    }

    .wallet-pass .points-display .value {
        font-size: 3.2rem !important;
        font-weight: 700 !important;
    }
}

@media (max-width: 480px) {
    .wallet-pass .points-display .label {
        font-size: 0.7rem !important;
        letter-spacing: 1.2px !important;
    }

    .wallet-pass .points-display .value {
        font-size: 2.8rem !important;
        font-weight: 700 !important;
    }
}

/* Fix points display alignment to match desktop */
@media (max-width: 768px) {
    .wallet-pass .points-display {
        text-align: left !important;
    }

    .wallet-pass .points-display .label {
        display: block !important;
        text-align: left !important;
    }

    .wallet-pass .points-display .value {
        display: block !important;
        text-align: left !important;
    }
}

/* Ensure progress bar is visible and styled on mobile */
@media (max-width: 768px) {
    .wallet-pass .progress-container {
        background: rgba(255, 255, 255, 0.15) !important;
        height: 5px !important;
        border-radius: 10px !important;
        overflow: hidden !important;
        margin: 12px 0 !important;
    }

    .wallet-pass .progress-bar {
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7)) !important;
        height: 100% !important;
        border-radius: 10px !important;
        transition: width 0.3s ease !important;
    }
}

@media (max-width: 480px) {
    .wallet-pass .progress-container {
        height: 4px !important;
        margin: 10px 0 !important;
    }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--clr-text-main);
    border-radius: 10px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        z-index: 1000;
        gap: 24px;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a:not(.btn-primary) {
        display: block !important;
        font-size: 1.2rem;
        font-weight: 600;
    }

    .nav-links .login-link {
        margin-right: 0 !important;
        color: var(--clr-primary) !important;
    }
}

/* Hamburger to X Animation */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.login-link {
    text-decoration: none;
    color: var(--clr-text-muted);
    font-weight: 500;
    margin-right: 20px;
    transition: color 0.2s ease;
}

.login-link:hover {
    color: var(--clr-text-main);
}