:root {
    --primary: #4F46E5;
    --primary-dark: #4338CA;
    --secondary: #10B981;
    --dark: #1F2937;
    --light: #F3F4F6;
    --white: #FFFFFF;
    --gradient: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --gray: #6B7280;
    --text: #374151;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes float-delayed {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* New Hero Styles */
/* Override old hero background */
.hero {
    background: linear-gradient(180deg, #EEF2FF 0%, #FFFFFF 100%);
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
    text-align: left;
    /* Reset from center */
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    text-align: left;
    z-index: 2;
}

/* badge-pill removed — HTML element no longer exists */

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--dark);
    font-weight: 800;
}

.highlight-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--primary);
    /* Fallback */
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #4B5563;
    margin-bottom: 2.5rem;
    max-width: 90%;
    margin-left: 0;
    /* Reset centering */
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: flex-start;
    /* Left align */
    margin-bottom: 32px;
}

.btn-primary,
.btn-secondary {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 28px;
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    justify-content: center;
}

.btn-primary {
    background: var(--dark);
    color: white !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    background: #111827;
}

.btn-secondary {
    background: white;
    color: var(--dark) !important;
    border: 1px solid #E5E7EB;
}

.btn-secondary:hover {
    background: #F9FAFB;
    transform: translateY(-2px);
    border-color: var(--dark);
}

/* hero-trust removed — HTML element no longer exists */

/* Phone Mockups */
.hero-visual {
    position: relative;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: #f0f0f0;
    border: 12px solid #1F2937;
    border-radius: 40px;
    position: absolute;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    background-color: white;
    /* Internal screen bg */
}

.phone-1 {
    z-index: 2;
    transform: rotate(-3deg) translateX(-20px);
    animation: float 6s ease-in-out infinite;
    background: linear-gradient(135deg, #FDFBF7 0%, #FFFFFF 100%);
}

.phone-2 {
    z-index: 1;
    transform: rotate(6deg) translateX(120px) translateY(40px);
    animation: float-delayed 7s ease-in-out infinite;
    opacity: 0.9;
    border-color: #374151;
    /* Slightly lighter border for depth */
}

/* Mockup Content Styling */
.screen-content {
    padding: 20px;
    height: 100%;
    position: relative;
}

.bg-events {
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1540039155733-5bb30b53aa14?auto=format&fit=crop&w=600&q=80') center/cover no-repeat;
    display: flex;
    align-items: flex-end;
}

.bg-food {
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1546069901-ba9599a7e63c?auto=format&fit=crop&w=600&q=80') center/cover no-repeat;
    display: flex;
    align-items: flex-end;
}

.mock-card {
    background: white;
    padding: 12px;
    border-radius: 12px;
    width: 100%;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.mock-text {
    flex: 1;
    text-align: left;
}

.mock-text h5 {
    margin: 0 0 4px 0;
    color: #1F2937;
    font-size: 0.9rem;
}

.mock-text p {
    margin: 0 0 0 0;
    color: #6B7280;
    font-size: 0.75rem;
}

.mock-btn {
    background: var(--dark);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
}

/* Mobile Responsive Adjustments */
@media (max-width: 900px) {
    .hero-split {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-text {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .hero-subtitle {
        margin: 0 auto 2.5rem;
        /* Center on mobile */
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-visual {
        height: 480px;
        transform: scale(0.85);
        /* Slightly smaller on mobile */
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background-color: var(--light);
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    color: var(--dark);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background: white;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
}

.highlight {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--gray);
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-primary {
    background: var(--primary);
    color: white !important;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600 !important;
    border: 2px solid var(--primary);
    transition: all 0.3s;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

/* Old hero/btn-secondary rules removed — replaced by new hero styles at top of file */

/* Features */
.features-section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 1.2rem;
}

.bg-blue {
    background: #3B82F6;
}

.bg-purple {
    background: #8B5CF6;
}

.bg-orange {
    background: #F59E0B;
}

.bg-green {
    background: #10B981;
}

.bg-red {
    background: #EF4444;
}

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* How it Works */
.how-it-works-section {
    padding: 100px 0;
    background-color: white;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 50px;
    justify-content: center;
    /* Centers items if they wrap */
}

.step-card {
    text-align: center;
    position: relative;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.step-card .icon-box {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.step-card h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    min-height: 1.4em;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.4;
}

/* Arrow connectors for large screens (single row) */
@media (min-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 30px;
    }

    .step-card:not(:last-child)::after {
        content: '→';
        position: absolute;
        top: 20px;
        /* Adjusted to align with icon since numbers are gone */
        right: -20px;
        font-size: 1.5rem;
        color: var(--light);
        font-weight: 300;
        z-index: 1;
    }
}

/* FAQ */
.faq-section {
    padding: 100px 0;
    background: #F9FAFB;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.faq-item {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}

.faq-item:hover {
    transform: translateY(-3px);
}

.faq-item h4 {
    margin-bottom: 12px;
    font-size: 1.15rem;
    color: var(--dark);
}

.faq-item p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* CTA */
.cta-section {
    background: var(--dark);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    color: white;
    margin-bottom: 16px;
}

.cta-section p {
    color: #D1D5DB;
    margin-bottom: 40px;
    font-size: 1.2rem;
}

.store-badge img {
    height: 60px;
}

/* Footer */
.footer {
    background: white;
    padding: 80px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    margin-bottom: 24px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--gray);
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.social-links {
    margin-top: 20px;
    display: flex;
    gap: 16px;
}

.social-links a {
    color: var(--gray);
    font-size: 1.25rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #E5E7EB;
    color: var(--gray);
    font-size: 0.9rem;
}

/* Legal Pages */
.legal-content {
    max-width: 800px;
    margin: 60px auto;
    background: white;
    padding: 40px;
    border-radius: 16px;
}

.legal-content h1 {
    margin-bottom: 30px;
}

.legal-content h3 {
    margin: 20px 0 10px;
}

.legal-content p {
    margin-bottom: 15px;
    color: var(--gray);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: white;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.modal p {
    color: var(--gray);
    margin-bottom: 24px;
}

.modal-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    font-size: 1rem;
    transition: background 0.3s;
}

.modal-btn:hover {
    background: var(--primary-dark);
}


/* Toast Notification */
.toast-container {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: white;
    padding: 16px 24px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 2000;
    min-width: 300px;
}

.toast-container.active {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
}

.toast-icon {
    background: var(--primary);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9rem;
}

.toast-message {
    color: var(--dark);
    font-weight: 500;
    font-size: 0.95rem;
}


/* Custom Alert Box (Centered) */
.alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 3000;
    backdrop-filter: blur(2px);
}

.alert-overlay.active {
    opacity: 1;
    visibility: visible;
}

.alert-box {
    background: white;
    padding: 25px 30px;
    border-radius: 12px;
    text-align: center;
    max-width: 320px;
    width: 85%;
    transform: scale(0.95);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.alert-overlay.active .alert-box {
    transform: scale(1);
}

.alert-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}

.alert-desc {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.alert-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    font-size: 0.95rem;
    transition: background 0.2s;
}

.alert-btn:hover {
    background: var(--primary-dark);
}