/* ============================================
   LANDING PAGE - WIDER LAYOUT
   ============================================ */

:root {
    /* YOUR BRAND COLORS */
    --primary: #4caac9;       /* Cyan/Teal */
    --primary-dark: #3d98b3;  /* Darker Teal */
    --accent: #10b981;        /* Green */
    
    --text-main: #1e293b;
    --text-light: #64748b;
    
    --bg-page: #f8fafc;
    --bg-card: #ffffff;
    
    /* Gradients based on YOUR brand */
    --gradient-text: linear-gradient(135deg, #1e293b 0%, #4caac9 100%);
    --gradient-primary: linear-gradient(135deg, #4caac9, #3d98b3);
    --gradient-accent: linear-gradient(135deg, #10b981, #059669);
    --gradient-dark: linear-gradient(135deg, #1e293b, #334155);

    --shadow-sm: 0 4px 6px -1px rgba(76, 170, 201, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(76, 170, 201, 0.15);
    --shadow-lg: 0 20px 25px -5px rgba(76, 170, 201, 0.2);
    
    --radius-lg: 24px;
    --radius-md: 16px;
    
    /* UPDATED: MADE WIDER */
    --container-width: 1440px; 
    --header-container-width: 1440px;
    --header-height: 70px; 
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

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

a { text-decoration: none; }
ul { list-style: none; }

/* --- BACKGROUND BLOB EFFECTS --- */
.bg-decoration {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh; z-index: -1;
    overflow: hidden; pointer-events: none;
}
.blob {
    position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.3;
    animation: floatBlob 10s infinite alternate;
}
.blob-1 { width: 500px; height: 500px; background: #e0f2fe; top: -100px; right: -100px; }
.blob-2 { width: 400px; height: 400px; background: #dcfce7; bottom: -100px; left: -100px; animation-delay: 5s; }

@keyframes floatBlob {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 50px); }
}

/* --- UTILITIES --- */
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 2rem; }
.text-gradient { background: var(--gradient-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.full-width { width: 100%; }

/* --- BUTTONS --- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.8rem 1.8rem; border-radius: 50px; font-weight: 600; transition: all 0.2s; cursor: pointer; border: none; font-size: 0.95rem; }
.btn-primary { background: var(--gradient-primary); color: white; box-shadow: 0 4px 15px rgba(76, 170, 201, 0.4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(76, 170, 201, 0.6); }

.btn-glass { background: rgba(255,255,255,0.7); border: 1px solid rgba(0,0,0,0.1); color: var(--text-main); backdrop-filter: blur(10px); }
.btn-glass:hover { background: white; border-color: var(--primary); color: var(--primary); }

.btn-outline { border: 2px solid #e2e8f0; background: transparent; color: var(--text-main); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.85rem; }

/* --- HEADER --- */
.landing-header { position: fixed; top: 0; left: 0; width: 100%; height: var(--header-height); background: rgba(255,255,255,0.9); backdrop-filter: blur(12px); z-index: 1000; border-bottom: 1px solid rgba(0,0,0,0.05); }
.header-container { display: flex; justify-content: space-between; align-items: center; height: 100%; max-width: var(--header-container-width); margin: 0 auto; padding: 0 2rem; }
.logo { display: flex; align-items: center; gap: 0.8rem; }
.logo-icon { width: 32px; height: 32px; background: var(--gradient-primary); color: white; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.logo-text span { font-weight: 800; font-size: 1.1rem; letter-spacing: -0.5px; color: var(--primary-dark); }

.header-nav { display: flex; gap: 2rem; align-items: center; }
.nav-link { color: var(--text-light); font-weight: 500; font-size: 0.9rem; transition: color 0.2s; }
.nav-link:hover { color: var(--primary); }
.nav-auth { display: flex; align-items: center; gap: 1rem; margin-left: 1rem; padding-left: 1.5rem; border-left: 1px solid #e2e8f0; }
.nav-login { font-weight: 600; color: var(--text-main); font-size: 0.9rem; }
.mobile-menu-btn { display: none; background: none; border: none; font-size: 1.5rem; color: var(--text-main); }

/* --- HERO --- */
.hero-section { 
    padding-top: 150px; 
    
    /* UPDATED: Reduced bottom padding and min-height to pull content up */
    padding-bottom: 4rem; 
    min-height: auto; 
    
    display: flex; 
    align-items: center; 
}
.hero-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 6rem; align-items: center; }

.badge-pill { display: inline-flex; align-items: center; gap: 0.5rem; background: #e0f2fe; padding: 0.4rem 1rem; border-radius: 20px; font-size: 0.85rem; font-weight: 600; color: var(--primary-dark); margin-bottom: 1.5rem; }
.hero-content h1 { font-size: 4rem; line-height: 1.1; margin-bottom: 1.5rem; font-weight: 800; letter-spacing: -1px; color: var(--text-main); }
.hero-sub { font-size: 1.1rem; color: var(--text-light); margin-bottom: 2.5rem; max-width: 550px; }
.hero-buttons { display: flex; gap: 1rem; margin-bottom: 3rem; }

.trust-row { display: flex; gap: 2rem; border-top: 1px solid #e2e8f0; padding-top: 1.5rem; }
.trust-item { display: flex; gap: 0.5rem; align-items: center; font-size: 0.9rem; color: var(--text-light); font-weight: 500; }
.trust-item i { color: var(--accent); }

/* --- HERO VISUAL (MOCKUP) --- */
.hero-visual { position: relative; }
.mockup-container { background: white; border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid #e2e8f0; transform: perspective(1000px) rotateY(-5deg) rotateX(2deg); transition: transform 0.5s ease; }
.mockup-container:hover { transform: perspective(1000px) rotateY(0) rotateX(0); }
.mockup-header { background: #f1f5f9; padding: 0.8rem 1rem; display: flex; align-items: center; gap: 0.4rem; border-bottom: 1px solid #e2e8f0; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ef4444; } .dot.yellow { background: #f59e0b; } .dot.green { background: #22c55e; }
.mockup-address { margin-left: 1rem; background: white; padding: 0.2rem 1rem; border-radius: 4px; font-size: 0.7rem; color: #94a3b8; flex-grow: 1; text-align: center; }
.mockup-screen { background: white; aspect-ratio: 16/10; position: relative; }

/* Generic Placeholder for Screenshots */
.screenshot-placeholder { height: 100%; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #f8fafc; color: var(--text-light); gap: 1rem; text-align: center; padding: 2rem; border: 2px dashed #cbd5e1; transition: background 0.2s; }
.screenshot-placeholder:hover { background: #f1f5f9; }
.placeholder-icon { font-size: 3rem; color: #cbd5e1; }
.screenshot-placeholder span { font-size: 0.9rem; font-weight: 600; color: #94a3b8; }

.floating-card { position: absolute; bottom: 30px; left: -30px; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); padding: 1rem; border-radius: 12px; display: flex; align-items: center; gap: 1rem; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,0.5); animation: float 6s infinite ease-in-out; }
.icon-circle { width: 40px; height: 40px; background: #dcfce7; color: #166534; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.floating-text { display: flex; flex-direction: column; line-height: 1.2; font-size: 0.9rem; }

/* --- FEATURES (UNIFORM 2x2 GRID) --- */
.section-features { padding: 8rem 0 5rem; }
.section-header { text-align: center; max-width: 600px; margin: 0 auto 4rem; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 1rem; letter-spacing: -1px; }

.bento-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }


/* Cards */
.bento-card { 
    background: white; 
    border-radius: var(--radius-lg); 
    padding: 2.5rem; 
    border: 1px solid #f1f5f9; 
    box-shadow: var(--shadow-sm); 
    transition: transform 0.3s; 
    overflow: hidden; 
    position: relative; 
    
    /* UPDATED: Increased height from 480px to 700px to fit vertical screenshots */
    height: 600px; 
    
    display: flex;
    flex-direction: column;
}

.bento-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.card-content { z-index: 2; position: relative; margin-bottom: 1.5rem; }

.card-visual { 
    flex-grow: 1; 
    position: relative; 
    background: #f8fafc; 
    border-radius: 12px 12px 0 0; 
    border: 1px solid #e2e8f0; 
    border-bottom: none; 
    overflow: hidden; 
    display: flex;
}

.icon-box { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.1rem; margin-bottom: 1.2rem; }
.gradient-primary { background: var(--gradient-primary); }
.gradient-accent { background: var(--gradient-accent); }
.gradient-dark { background: var(--gradient-dark); }

.bento-card h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.bento-card p { color: var(--text-light); font-size: 0.95rem; }

/* --- PRICING --- */
.section-pricing { padding: 6rem 0; background: white; }
.pricing-wrapper { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; margin-bottom: 3rem; }

.pricing-plan { background: var(--bg-page); border-radius: var(--radius-lg); padding: 2.5rem; border: 1px solid #e2e8f0; position: relative; display: flex; flex-direction: column; }
.pricing-plan.popular { background: white; border: 2px solid var(--primary); transform: scale(1.05); z-index: 2; box-shadow: var(--shadow-md); }

.badge-popular { position: absolute; top: 0; left: 0; width: 100%; background: var(--primary); color: white; text-align: center; padding: 0.3rem; font-size: 0.8rem; font-weight: 700; }

.plan-header { text-align: center; margin-bottom: 2rem; }
.plan-header h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 0.5rem; }
.plan-header .price { font-size: 2.5rem; font-weight: 800; color: var(--text-main); }
.plan-header .price span { font-size: 1rem; font-weight: 400; color: var(--text-light); }

.plan-features { flex-grow: 1; margin-bottom: 2rem; }
.plan-features li { display: flex; gap: 0.8rem; margin-bottom: 1rem; font-size: 0.95rem; }
.plan-features i { color: var(--accent); }

/* Pro Banner */
.pro-banner { background: #f0fdf4; border: 1px dashed var(--accent); border-radius: var(--radius-md); padding: 1.5rem; display: flex; justify-content: space-between; align-items: center; max-width: 900px; margin: 0 auto; flex-wrap: wrap; gap: 1rem; }
.tag-coming-soon { background: #14532d; color: white; font-size: 0.7rem; padding: 0.2rem 0.5rem; border-radius: 4px; text-transform: uppercase; font-weight: 700; margin-bottom: 0.5rem; display: inline-block; }
.pro-content h4 { font-size: 1.1rem; color: #14532d; margin-bottom: 0.2rem; }
.pro-content p { font-size: 0.9rem; color: #166534; }
.pro-price { font-size: 1.5rem; font-weight: 800; color: #14532d; }

/* --- FOOTER --- */
.landing-footer { background: white; padding: 4rem 0 2rem; border-top: 1px solid #e2e8f0; }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 3rem; margin-bottom: 3rem; }
.footer-brand p { color: var(--text-light); max-width: 250px; margin-top: 1rem; font-size: 0.9rem; }
.footer-nav { display: flex; gap: 5rem; flex-wrap: wrap; }
.footer-nav .col { display: flex; flex-direction: column; gap: 0.8rem; }
.footer-nav h5 { font-size: 0.9rem; color: var(--text-main); font-weight: 700; margin-bottom: 0.5rem; }
.footer-nav a { color: var(--text-light); font-size: 0.9rem; transition: color 0.2s; }
.footer-nav a:hover { color: var(--primary); }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #e2e8f0; padding-top: 2rem; font-size: 0.85rem; color: #94a3b8; }
.socials { display: flex; gap: 1.5rem; }
.socials a { color: #94a3b8; font-size: 0.9rem; }

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
    .hero-buttons { justify-content: center; }
    .hero-content h1 { font-size: 3rem; }
    .trust-row { justify-content: center; }
    .bento-grid { grid-template-columns: 1fr; }
    .header-nav { display: none; }
    .mobile-menu-btn { display: block; }
}

/* Animations */
.reveal { opacity: 0; transform: translateY(20px); transition: all 0.6s ease-out; }
.reveal.active { opacity: 1; transform: translate(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Mobile Menu */
.mobile-menu { position: fixed; top: var(--header-height); left: 0; width: 100%; background: white; padding: 2rem; box-shadow: 0 10px 20px rgba(0,0,0,0.1); transform: translateY(-150%); transition: transform 0.3s ease-in-out; z-index: 999; }
.mobile-menu.active { transform: translateY(0); }
.mobile-nav { display: flex; flex-direction: column; gap: 1.5rem; text-align: center; }

/* --- SCREENSHOT IMAGES --- */

/* 1. Main Laptop Image */
.main-screenshot {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Ensures it fills the frame */
}

/* --- RESPONSIVE IMAGE SWITCHING --- */

/* Default: Hide Mobile, Show Desktop */
.mobile-only {
    display: none;
}
.desktop-only {
    display: block;
    position: relative; /* Maintain relative context for floating elements */
}

/* Tablet & Mobile Styles (<= 1024px) */
@media (max-width: 1024px) {
    /* Hide Desktop Mockup */
    .desktop-only {
        display: none;
    }

    /* Show Mobile Mockups */
    .mobile-only {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
        padding: 1rem 0;
    }

    /* Style the mobile screenshots */
    .mobile-shot {
        width: 42%; /* Fits two side-by-side */
        max-width: 200px; /* Cap size so they don't get huge */
        height: auto;
        border-radius: 12px; /* Smooth corners like a phone */
        box-shadow: var(--shadow-lg);
        border: 4px solid white; /* Phone bezel look */
        transition: transform 0.3s ease;
    }

    /* Add slight tilt for visual flair */
    .shot-1 {
        transform: rotate(-3deg) translateY(10px);
        z-index: 1;
    }
    
    .shot-2 {
        transform: rotate(3deg) translateY(-10px);
        z-index: 2;
    }
}

/* --- DUAL VERTICAL SCREENSHOTS (Smart Settlements) --- */
.visual-dual {
    display: flex;
    justify-content: center;
    align-items: flex-start; 
    gap: 1rem;
    
    /* UPDATED: Reduced padding to pull images closer to text */
    padding-top: 0.5rem; 
    
    background: transparent !important; 
    border: none !important;            
    overflow: visible !important;       
    box-shadow: none !important;
}

.vertical-shot {
    width: 48%;          
    max-width: 340px;    
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
    border: 3px solid white;
    transition: transform 0.3s ease;
}

/* Tilt effects */
.shot-left {
    transform: rotate(-3deg) translateY(10px);
    z-index: 1;
}

.shot-right {
    transform: rotate(3deg) translateY(10px);
    z-index: 2;
}

/* Hover effect */
.bento-card:hover .shot-left {
    transform: rotate(-6deg) translateY(5px) translateX(-5px);
}
.bento-card:hover .shot-right {
    transform: rotate(6deg) translateY(5px) translateX(5px);
}

/* --- MOBILE ADJUSTMENTS FOR SETTLEMENTS --- */
@media (max-width: 768px) {
    /* 1. Make the card taller so images fit */
    .bento-card {
        height: auto !important; 
        min-height: 750px;
        padding-bottom: 2rem;
    }

    /* 2. Stack images vertically */
    .visual-dual {
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding-top: 1rem;
    }

    /* 3. Make images BIGGER */
    .vertical-shot {
        width: 85%; /* Much wider on mobile */
        max-width: 320px;
        margin-bottom: -20px; /* Slight overlap */
    }

    /* 4. TIGHTEN NOTIFICATION IMAGE ON MOBILE ONLY */
    .shot-single {
        margin-top: -3rem; /* Pulls the single image UP closer to text */
        margin-bottom: 0;
    }

    /* Adjust tilt for vertical stack */
    .shot-left { transform: rotate(-3deg) translateY(0); z-index: 1; }
    .shot-right { transform: rotate(3deg) translateY(0); z-index: 2; }
}

/* --- SINGLE SHOT ADJUSTMENT --- */
/* Overrides for when there is only one screenshot in the card */
.shot-single {
    width: auto;        
    max-width: 340px;   
    transform: rotate(-2deg) translateY(10px); 
    z-index: 1;
    /* Removed margin-top: -1.5rem so Desktop is normal */
}

/* Specific hover effect for single shot */
.bento-card:hover .shot-single {
    transform: rotate(0deg) translateY(0) scale(1.05);
}

/* --- FEATURE HEADER (Icon + Title Side-by-Side) --- */
.feature-header {
    display: flex;
    align-items: center;
    gap: 1rem;            /* Space between icon and text */
    margin-bottom: 0.8rem;
}

.feature-header .icon-box {
    margin-bottom: 0;     /* Remove old bottom margin */
    flex-shrink: 0;       /* Prevent icon from squishing */
}

.feature-header h3 {
    margin-bottom: 0;     /* Remove old bottom margin */
    line-height: 1.2;
    font-size: 1.25rem;
}

/* Logo images */
.logo-header-image {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: contain;
}

.logo-footer-image {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    object-fit: contain;
}

/* Adjust footer logo layout */
.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.5rem;
}

.footer-brand .logo span {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-main);
}