/* --- Color Theme Variables based on your App --- */
:root {
    --primary: #C84B31; /* Terracotta Red */
    --primary-hover: #A83D27;
    --background: #FAF5F2; /* Soft Peach */
    --card-bg: #FFFFFF;
    --text-main: #1F2937; /* Dark Charcoal */
    --text-light: #6B7280;
    --success: #2E7D32; /* Forest Green */
    --gold: #D4AF37; /* Golden Glow */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--background);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Navigation --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: rgba(250, 245, 242, 0.95);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    backdrop-filter: blur(10px);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}

.brand-name {
    font-size: 1.2rem;
    font-weight: 700;
}

.brand-sub {
    display: block;
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 400;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* --- Buttons --- */
.btn-primary {
    background-color: var(--primary);
    color: white !important;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s, transform 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.btn-outline {
    display: block;
    text-align: center;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 10px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    margin-top: 20px;
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

/* --- Hero Section & Vector Art --- */
.hero-wrapper {
    position: relative;
    text-align: center;
    padding: 120px 20px;
    background-color: var(--background);
    overflow: hidden;
}

.hero-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none; 
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.6;
}

.blob-1 {
    top: -10%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(255, 180, 160, 0.5); 
}

.blob-2 {
    bottom: -20%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: rgba(200, 75, 49, 0.15); 
}

.blob-3 {
    top: 30%;
    right: 20%;
    width: 300px;
    height: 300px;
    background: rgba(46, 125, 50, 0.08); 
}

.hero-content {
    position: relative;
    z-index: 1; 
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3rem;
    color: var(--text-main);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.sub-text {
    font-size: 0.9rem !important;
    color: var(--success) !important;
    margin-top: 15px;
    font-weight: 600;
}

/* --- Features Section --- */
.features {
    padding: 80px 5%;
    background-color: #FFFFFF; 
    text-align: center;
    position: relative;
    z-index: 2;
}

.features h2 {
    font-size: 2.2rem;
    margin-bottom: 50px;
}

.feature-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    flex: 1 1 300px;
    max-width: 320px;
    padding: 30px;
    border-radius: 12px;
    background: var(--background);
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.icon-box {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.highlight-qr {
    position: relative;
    border: 2px solid var(--gold);
    background: #FFFDF5; 
    animation: goldPulse 2s infinite;
}

.highlight-qr .icon-box {
    color: var(--gold);
    font-size: 2.2rem;
}

@keyframes goldPulse {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

/* --- Pricing Section --- */
.pricing {
    padding: 80px 5%;
    background-color: #F5EBE6; 
    text-align: center;
}

.pricing h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.section-sub {
    color: var(--text-light);
    margin-bottom: 50px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: relative;
    text-align: left;
    transition: transform 0.3s;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card.popular {
    border: 2px solid var(--primary);
    transform: scale(1.02);
}

.pricing-card.popular:hover {
    transform: scale(1.02) translateY(-5px);
}

.badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--success);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 20px;
}

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

.pricing-card ul {
    list-style: none;
    margin-bottom: 20px;
}

.pricing-card ul li {
    margin-bottom: 10px;
    color: var(--text-light);
}

.pricing-card ul li i {
    color: var(--success);
    margin-right: 10px;
}

.per-day {
    font-size: 0.85rem;
    color: var(--success);
    font-weight: 600;
    margin-top: -15px;
    margin-bottom: 20px;
}

/* --- UPDATED FOOTER (FROSTED MUDDY ORANGE) --- */
footer {
    /* Muddy, semi-transparent orange gradient */
    background: linear-gradient(135deg, rgba(168, 75, 50, 0.9), rgba(140, 60, 40, 0.95));
    /* The frosted glass blur effect */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px); /* For Safari support */
    
    color: white;
    padding: 60px 5% 20px;
    position: relative; 
    overflow: hidden; 
    min-height: 300px; 
    /* Subtle light border at the top to simulate glass reflection */
    border-top: 1px solid rgba(255, 255, 255, 0.15); 
}

.footer-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(100px, 18vw, 350px); 
    font-weight: 900;
    /* Adjusted opacity so it blends nicely with the muddy orange */
    color: rgba(255, 255, 255, 0.06); 
    white-space: nowrap;
    pointer-events: none;
    z-index: 0;
    line-height: 1;
}

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

/* White text for brand name */
.footer-brand h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    color: #FFFFFF; 
    text-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

/* Light peach for description */
.footer-brand p {
    color: #FFEBE7; 
    font-size: 0.95rem;
    max-width: 400px; 
}

.footer-links h4 {
    margin-bottom: 15px;
    color: #FFFFFF;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

/* Light peach for links */
.footer-links ul li a {
    color: #FFEBE7;
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 10px; 
}

/* Pure white on hover */
.footer-links ul li a:hover {
    color: #FFFFFF;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5); /* Slight glow on hover */
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: #FFEBE7;
    font-size: 0.9rem;
    position: relative;
    z-index: 1; 
}

/* =========================================
   TRUE MOBILE UI (Max 768px)
   ========================================= */

@media (max-width: 768px) {
    /* --- Mobile Navbar --- */
    .navbar {
        padding: 12px 5%;
        background-color: #FAF5F2; /* Solid background for mobile */
    }
    
    .brand-name {
        font-size: 1.1rem;
    }

    /* Hide desktop text links completely */
    .nav-links a:not(.btn-primary) {
        display: none; 
    }
    
    .btn-primary {
        padding: 8px 14px;
        font-size: 0.85rem;
        border-radius: 6px;
    }

    /* --- Mobile Hero Section --- */
    .hero-wrapper {
        padding: 60px 20px 70px;
        /* Hide the SVG lines on mobile, they look messy on small screens */
    }
    
    .hero-lines {
        display: none; 
    }

    .hero-content h1 {
        font-size: 1.9rem;
        line-height: 1.3;
        margin-bottom: 15px;
    }

    .hero-content p {
        font-size: 0.95rem;
        margin-bottom: 25px;
        padding: 0 10px;
    }

    /* Full width button for easy tapping */
    .btn-large {
        width: 100%;
        justify-content: center;
        padding: 16px;
        font-size: 1.1rem;
        border-radius: 12px;
    }

    .sub-text {
        font-size: 0.85rem !important;
        margin-top: 15px;
    }

    /* --- Mobile Features Section --- */
    .features {
        padding: 50px 5%;
    }

    .features h2 {
        font-size: 1.6rem;
        margin-bottom: 30px;
        line-height: 1.3;
    }

    /* Force grid to stack vertically without squeezing */
    .feature-grid {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .feature-card {
        flex: none;
        width: 100%;
        max-width: 100%;
        padding: 25px 20px;
        border-radius: 16px; /* More rounded for mobile app feel */
        text-align: left; /* Left align text for better reading on mobile */
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .icon-box {
        margin-bottom: 15px;
        background: rgba(200, 75, 49, 0.1);
        padding: 12px;
        border-radius: 12px;
        display: inline-block;
    }
    
    .icon-box i {
        font-size: 1.5rem;
    }

    .highlight-qr {
        text-align: center;
        align-items: center;
    }

    /* --- Mobile Pricing Section --- */
    .pricing {
        padding: 50px 5%;
    }

    .pricing h2 {
        font-size: 1.6rem;
    }
    
    .section-sub {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

    .pricing-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .pricing-card {
        padding: 30px 20px;
        border-radius: 16px;
        width: 100%;
    }

    /* Remove scale effect on mobile to prevent horizontal scrolling */
    .pricing-card.popular {
        transform: none;
        border-width: 2px;
    }

    .price {
        font-size: 2.2rem;
    }

    .btn-outline, .pricing-card .btn-primary {
        width: 100%;
        padding: 14px;
        border-radius: 10px;
    }

    /* --- Mobile Footer --- */
    footer {
        padding: 40px 5% 20px;
        text-align: center;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .footer-brand p {
        margin: 0 auto;
        font-size: 0.9rem;
    }

    .footer-links h4 {
        margin-bottom: 20px;
    }

    .footer-links ul {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .footer-links ul li a {
        justify-content: center;
        font-size: 1rem;
    }

    /* Scale down giant watermark so it fits */
    .footer-bg-text {
        font-size: 22vw; 
        opacity: 0.05;
        bottom: 20px;
        top: auto;
        transform: translateX(-50%);
    }

    .footer-bottom {
        padding-top: 20px;
        margin-top: 30px;
        font-size: 0.8rem;
    }
}
/* =========================================
   TABLET / IPAD UI (769px to 1024px)
   ========================================= */

@media (min-width: 769px) and (max-width: 1024px) {
    /* --- Tablet Navbar --- */
    .navbar {
        padding: 20px 5%;
    }
    .nav-links {
        gap: 15px;
    }

    /* --- Tablet Hero Section --- */
    .hero-wrapper {
        padding: 90px 40px;
    }
    .hero-content h1 {
        font-size: 2.6rem;
    }
    .hero-content p {
        font-size: 1.1rem;
        padding: 0 20px;
    }

    /* --- Tablet Features Section --- */
    .features {
        padding: 70px 5%;
    }
    /* Force 2 columns layout */
    .feature-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 25px;
    }
    .feature-card {
        flex: 1 1 calc(50% - 25px); /* 2 cards per row */
        max-width: calc(50% - 25px);
        padding: 30px 20px;
    }
    /* Make the 5th card span across the bottom, centered */
    .highlight-qr {
        flex: 1 1 60%; 
        max-width: 60%;
    }

    /* --- Tablet Pricing Section --- */
    .pricing {
        padding: 70px 5%;
    }
    .pricing-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    /* Make the 3rd (Popular) card span both columns and center it */
    .pricing-card.popular {
        grid-column: 1 / -1; 
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
        transform: scale(1); /* Disable scale so it doesn't overlap */
    }
    .pricing-card.popular:hover {
        transform: translateY(-5px);
    }

    /* --- Tablet Footer --- */
    .footer-content {
        gap: 30px;
    }
    .footer-brand p {
        max-width: 300px; /* Prevents text from stretching too wide */
    }
}
