/* public/assets/fe/css/home_style.css */

/* --- CSS VARIABLES & THEME --- */
:root {
    --bg-dark: #0B0F19;
    --bg-card: rgba(21, 26, 37, 0.7);
    --primary-blue: #2563EB;
    --accent-cyan: #06B6D4;
    --accent-green: #10B981;
    --accent-purple: #8B5CF6;
    --text-white: #FFFFFF;
    --text-gray: #9CA3AF;
    --border-color: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* --- UTILITIES --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-blue);
    color: white;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
    display: inline-block;
}

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

.btn-outline {
    background: transparent;
    border: 1px solid var(--text-gray);
    color: var(--text-white);
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s;
}

.btn-outline:hover {
    border-color: var(--text-white);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid transparent;
}

.badge-cyan { background: rgba(6, 182, 212, 0.1); color: var(--accent-cyan); border-color: rgba(6, 182, 212, 0.2); }
.badge-purple { background: rgba(139, 92, 246, 0.1); color: var(--accent-purple); border-color: rgba(139, 92, 246, 0.2); }
.badge-green { background: rgba(16, 185, 129, 0.1); color: var(--accent-green); border-color: rgba(16, 185, 129, 0.2); }
.badge-blue { background: rgba(37, 99, 235, 0.1); color: #60A5FA; border-color: rgba(37, 99, 235, 0.3); }

/* Typography */
h1 { font-size: 4rem; line-height: 1.1; font-weight: 800; letter-spacing: -1px; margin-bottom: 20px; }
h2 { font-size: 2.8rem; font-weight: 700; margin-bottom: 20px; line-height: 1.2; }
h3 { font-size: 1.5rem; margin-bottom: 10px; font-weight: 600; }

p.subtext {
    color: #94A3B8;
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 50px;
    max-width: 700px;
    font-weight: 400;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.gradient-text {
    background: linear-gradient(90deg, #FFFFFF 0%, #94A3B8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- HEADER --- */
header {
    position: fixed; top: 25px; left: 0; width: 100%; z-index: 1000;
    display: flex; justify-content: center; pointer-events: none;
}

.nav-wrapper {
    background: rgba(17, 24, 39, 0.85); backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 100px;
    padding: 15px 15px 15px 40px; width: 95%; max-width: 1250px;
    display: flex; justify-content: space-between; align-items: center;
    pointer-events: auto; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.logo { font-family: 'Inter', sans-serif; font-size: 1.5rem; font-weight: 800; color: white; letter-spacing: 0.5px; }

.nav-links { display: flex; gap: 40px; list-style: none; padding: 0; margin: 0; }
.nav-links a { text-decoration: none; color: #9CA3AF; font-weight: 500; font-size: 0.95rem; transition: color 0.3s; }
.nav-links a:hover { color: white; }

.nav-btn {
    background-color: #0066FF; color: white; padding: 10px 24px;
    border-radius: 50px; font-weight: 600; font-size: 0.9rem;
    border: none; cursor: pointer; transition: 0.3s;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}
.nav-btn:hover { background-color: #0052cc; transform: translateY(-1px); }

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-wrapper { padding: 10px 20px; width: 95%; }
}

/* --- SECTIONS --- */
section { padding: 100px 0; }

/* --- HERO --- */
.hero { padding-top: 140px; padding-bottom: 80px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(31, 41, 55, 0.6); border: 1px solid rgba(75, 85, 99, 0.5); padding: 6px 16px; border-radius: 50px; font-size: 0.85rem; color: #E5E7EB; margin-bottom: 30px; backdrop-filter: blur(4px); }
.dot-indicator { width: 8px; height: 8px; background-color: #10B981; border-radius: 50%; box-shadow: 0 0 8px rgba(16, 185, 129, 0.6); }
.hero-title { font-size: 4.5rem; line-height: 1.1; font-weight: 900; letter-spacing: -1.5px; margin-bottom: 25px; color: white; }
.text-cyan { color: #06B6D4; }
.hero-actions { display: flex; gap: 20px; margin-top: 10px; margin-bottom: 50px; flex-wrap: wrap; justify-content: center; }
.btn-glow { background-color: #0066FF; box-shadow: 0 0 20px rgba(0, 102, 255, 0.4); border: none; }
.btn-glow:hover { background-color: #0052cc; box-shadow: 0 0 30px rgba(0, 102, 255, 0.6); }
.btn-play { display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.2); padding: 12px 28px; }
.btn-play:hover { background: rgba(255, 255, 255, 0.1); border-color: white; }
.hero-footer-stats { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.stat-pill { background: rgba(31, 41, 55, 0.5); border: 1px solid rgba(75, 85, 99, 0.5); border-radius: 50px; padding: 8px 20px; display: flex; align-items: center; gap: 12px; color: #D1D5DB; font-size: 0.9rem; }
.avatar-group { display: flex; align-items: center; }
.avatar { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #0B0F19; margin-right: -8px; }
.av-1 { background: #3B82F6; } .av-2 { background: #06B6D4; } .av-3 { background: #10B981; } .av-4 { background: #6366F1; }
.star-group { color: #F59E0B; font-size: 1rem; letter-spacing: -2px; }

@media (max-width: 768px) {
    .hero-title { font-size: 2.8rem; }
    .hero-footer-stats { flex-direction: column; align-items: center; gap: 10px; }
}

/* --- FEATURES --- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-bottom: 40px; }
.feature-row.reverse { direction: rtl; }
.feature-row.reverse>* { direction: ltr; }
.feature-list li { display: flex; gap: 15px; margin-bottom: 25px; align-items: flex-start; }
.check-icon { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: bold; flex-shrink: 0; background: rgba(255, 255, 255, 0.1); }

/* --- DASHBOARD MOCKUPS --- */
.dashboard-mockup {
    background: #0F131C;
    border: 1px solid #1F2937;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
    /* Changes here: */
    height: 90%; /* Text column ke barabar stretch hoga */
    min-height: 450px; /* Kam se kam itni height rahegi taaki content dabe nahi */
    display: flex;
    flex-direction: column;
    /* justify-content: center; <-- Ye hata diya container se */
}
.dash-url { background: #1F2937; color: #6B7280; font-size: 0.8rem; padding: 8px 15px; border-radius: 6px; margin-bottom: 20px; text-align: center; }
.sales-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 20px; }
.sales-box { background: #1A202C; padding: 15px 10px; border-radius: 6px; text-align: center; }
.stat-num { font-size: 1.4rem; font-weight: bold; display: block; }
.stat-badge { font-size: 0.7rem; color: var(--accent-green); }
.heatmap-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 5px; margin-top: 10px; }
.heat-box { aspect-ratio: 1; border-radius: 3px; }
.h-red { background: #EF4444; } .h-green { background: #10B981; } .h-yellow { background: #F59E0B; }
/* --- TABLE GRID FIX (For Agency Section) --- */
.table-row {
    display: grid; /* Flex hata kar Grid lagaya */
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr; /* 5 Columns ki width fix ki */
    gap: 15px; /* Columns ke beech space */
    padding: 12px 10px; /* Thoda side padding diya */
    border-bottom: 1px solid #1F2937;
    font-size: 0.85rem;
    align-items: center; /* Vertical center */
}

.table-head {
    color: #9CA3AF;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #374151;
    background: rgba(31, 41, 55, 0.3); /* Header ko thoda alag dikhane ke liye */
    border-radius: 6px 6px 0 0;
}

/* Amount wale columns ko Right Align karein taaki numbers acche dikhein */
.table-row span:nth-child(4), 
.table-row span:nth-child(5) {
    text-align: right;
}

/* Dashboard Mockup ki padding thodi badha di */
.dashboard-mockup {
    padding: 25px; /* Pehle 20px tha */
}

/* --- AI SECTION --- */
.ai-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 60px; }
.ai-card { background: var(--bg-card); padding: 40px 20px; border-radius: 12px; border: 1px solid var(--border-color); text-align: center; transition: 0.3s; }
.ai-card:hover { transform: translateY(-10px); border-color: var(--primary-blue); }
.ai-icon { font-size: 3rem; margin-bottom: 20px; display: inline-block; }

/* --- TESTIMONIAL --- */
.testimonial-box { background: var(--bg-card); border-radius: 20px; padding: 60px; text-align: center; border: 1px solid var(--border-color); position: relative; }
.quote-symbol { font-size: 5rem; color: #1F2937; position: absolute; top: 20px; left: 40px; line-height: 0; }

/* --- SLIDER --- */
.slider-wrapper { position: relative; width: 100%; max-width: 700px; margin: 0 auto; cursor: pointer; height: 320px; }
.slide-card { background: #0F131C; border: 1px solid #1F2937; border-radius: 16px; padding: 40px; text-align: left; position: relative; z-index: 10; transition: all 0.5s ease-in-out; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5); }
.card-stack-1, .card-stack-2 { position: absolute; left: 50%; transform: translateX(-50%); background: #1F2937; border-radius: 16px; opacity: 0.3; z-index: 1; }
.card-stack-1 { bottom: -10px; width: 95%; height: 100%; }
.card-stack-2 { bottom: -20px; width: 90%; height: 100%; }
.quote-icon { font-size: 3rem; color: #2563EB; font-family: serif; line-height: 1; margin-bottom: 20px; opacity: 0.8; }
.slide-text { font-size: 1.25rem; color: #E5E7EB; margin-bottom: 40px; line-height: 1.5; min-height: 80px; }
.slide-footer { display: flex; justify-content: space-between; align-items: flex-end; border-top: 1px solid #1F2937; padding-top: 20px; }
.slide-author { font-weight: 700; color: white; font-size: 1rem; }
.slide-role { color: #9CA3AF; font-size: 0.85rem; }
.slide-stat-val { font-size: 2rem; font-weight: 800; color: #3B82F6; line-height: 1; }
.slide-stat-label { font-size: 0.8rem; color: #9CA3AF; }
.fade-anim { animation: fadeIn 0.6s ease; }
.slider-dots { margin-top: 40px; display: flex; justify-content: center; gap: 10px; }
.dot { width: 10px; height: 10px; background: #374151; border-radius: 50%; cursor: pointer; transition: 0.3s; }
.dot.active { background: #2563EB; width: 30px; border-radius: 5px; }

/* --- FOOTER --- */
footer { border-top: 1px solid var(--border-color); padding: 60px 0 30px; background: #050912; }
.footer-cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--text-gray); font-size: 0.9rem; }

@media (max-width: 900px) {
    h1 { font-size: 2.8rem; }
    /* Ensure reversed sections stack correctly on mobile */
    .feature-row, .feature-row.reverse { grid-template-columns: 1fr; direction: ltr; }
    .ai-cards, .sales-grid, .footer-cols { grid-template-columns: 1fr; }
    .nav-links { display: none; }
}

/* --- MODAL --- */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(8px); z-index: 2000; align-items: flex-start; justify-content: center; overflow-y: auto; padding: 40px 0; }
.modal-container { background: #0B1221; background: rgba(11, 18, 33, 0.95); backdrop-filter: blur(12px); width: 95%; max-width: 600px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.1); padding: 40px 50px; box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.8); color: white; position: relative; max-height: none; overflow: visible; margin: auto; animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } }
.close-btn { position: absolute; top: 20px; right: 25px; font-size: 24px; cursor: pointer; color: #6B7280; }
.close-btn:hover { color: white; }

.form-section-title { font-size: 1rem; color: #2563EB; margin-top: 25px; margin-bottom: 15px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.form-section-title::after { content: ''; flex: 1; height: 1px; background: #1F2937; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; text-align: left; }
.form-group label { display: block; margin-bottom: 8px; font-size: 0.9rem; font-weight: 500; }
.form-input { width: 100%; background: #151C2C; border: 1px solid #2D3748; padding: 12px 15px; border-radius: 8px; color: white; outline: none; font-size: 0.95rem; }
.form-input:focus { border-color: #2563EB; box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2); }
.checkbox-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.check-card { display: flex; align-items: center; background: #151C2C; border: 1px solid #2D3748; padding: 12px; border-radius: 8px; cursor: pointer; transition: 0.2s; }
.check-card:hover { border-color: #4B5563; }
.check-card input { margin-right: 10px; accent-color: #2563EB; transform: scale(1.2); }
.check-card span { font-size: 0.85rem; }
.text-center { text-align: center; } .text-gray { color: #9CA3AF; font-size: 0.95rem; } .text-red { color: #EF4444; } .mb-4 { margin-bottom: 25px; }
.form-input.error { border-color: #EF4444 !important; background-color: rgba(239, 68, 68, 0.05); }
.error-text { color: #EF4444; font-size: 0.85rem; margin-top: 5px; display: block; text-align: left; animation: fadeIn 0.3s ease; }
.success-icon { width: 70px; height: 70px; background: linear-gradient(135deg, #06B6D4, #2563EB); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto; box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3); }
.expect-box { background: #151C2C; padding: 25px; border-radius: 12px; text-align: left; border: 1px solid #2D3748; }
.expect-box ul { list-style: none; padding: 0; color: #9CA3AF; font-size: 0.9rem; }
.expect-box li { margin-bottom: 10px; display: flex; gap: 10px; }

@media(max-width: 600px) {
    .form-grid { grid-template-columns: 1fr; gap: 0; }
    .checkbox-grid { grid-template-columns: 1fr; }
    .modal-container { padding: 20px; width: 100%; height: 100%; border-radius: 0; max-height: 100vh; overflow-y: scroll; }
}

/* --- FEATURE SLIDER CSS (Only for Marketing Section) --- */

/* Normal Feature Lists (Agency & Sales) should be fully visible */
.feature-list li {
    opacity: 1; 
    padding-left: 0;
    margin-bottom: 25px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

/* Marketing Section Specific Logic (Opacity & Border) */
#marketing-bullets li {
    opacity: 0.5; /* Inactive items faded */
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    padding-left: 0;
    cursor: pointer;
}

#marketing-bullets li.active {
    opacity: 1; /* Active item fully visible */
    border-left: 3px solid #A78BFA;
    padding-left: 15px;
}

/* Fix Box Height Consistency */
.feature-slide {
    animation: fadeEffect 0.5s;
    height: 100%; /* Full height usage */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content vertically */
}



@keyframes fadeEffect {
    from {opacity: 0; transform: translateY(5px);}
    to {opacity: 1; transform: translateY(0);}
}


/* --- REALISTIC MAP PINS --- */
.pin {
    width: 14px;
    height: 14px;
    border-radius: 50% 50% 50% 0;
    background: #EF4444; /* Red color */
    position: absolute;
    transform: rotate(-45deg);
    left: 50%;
    top: 50%;
    margin: -20px 0 0 -20px;
    animation: bounce 2s infinite;
    border: 1px solid #991B1B;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.pin::after {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: white;
    position: absolute;
    margin: 3px 0 0 3px;
}

@keyframes bounce {
    0% { transform: translateY(0) rotate(-45deg); }
    50% { transform: translateY(-5px) rotate(-45deg); }
    100% { transform: translateY(0) rotate(-45deg); }
}
