/* ---- DESIGN SYSTEM & VARIABLES ---- */
:root {
    --bg-color: #0B1220;
    --primary-color: #22C55E;
    --primary-hover: #16a34a;
    --secondary-color: #94A3B8;
    --text-color: #FFFFFF;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

/* ---- RESET & GLOBAL ---- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Glow Effects */
.bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(34,197,94,0.15) 0%, rgba(11,18,32,0) 70%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}
.bg-glow.top-left { top: -200px; left: -200px; }
.bg-glow.bottom-right { bottom: -200px; right: -200px; position: fixed;}

/* ---- TYPOGRAPHY ---- */
h1 { font-size: 3.5rem; font-weight: 700; line-height: 1.1; margin-bottom: 1.5rem; }
h2 { font-size: 2.5rem; font-weight: 600; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.5rem; }
p { color: var(--secondary-color); margin-bottom: 1rem; }
a { text-decoration: none; color: var(--text-color); transition: var(--transition); }
.text-center { text-align: center; }
.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--secondary-color); }
.text-small { font-size: 0.875rem; }
.mb-2 { margin-bottom: 1rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }

.gradient-text {
    background: linear-gradient(to right, #FFFFFF, var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ---- UTILITIES & COMPONENTS ---- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: 6rem 0;
}

.section-header {
    max-width: 600px;
    margin: 0 auto 4rem auto;
}

/* Glassmorphism */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}
.btn-primary {
    background-color: var(--primary-color);
    color: #000;
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.4);
}
.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}
.btn-secondary {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--secondary-color);
}
.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}
.justify-center { justify-content: center; display: flex; gap: 1rem;}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 2rem;
}
.features-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

/* Cards */
.card {
    padding: 2rem;
    transition: var(--transition);
}
.card:hover {
    transform: translateY(-5px);
    border-color: rgba(34, 197, 94, 0.3);
}
.card-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* ---- NAVBAR ---- */
.navbar {
    position: fixed;
    top: 0; width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    border-radius: 0;
    border-top: none; border-left: none; border-right: none;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
}
.logo-img { width: 32px; height: 32px; border-radius: 8px; }
.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}
.nav-links a:hover { color: var(--primary-color); }
.menu-toggle { display: none; font-size: 1.5rem; cursor: pointer; }

/* ---- HERO SECTION ---- */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10rem;
    padding-bottom: 4rem;
    min-height: 100vh;
}
.hero-content { flex: 1; padding-right: 2rem; }
.hero-buttons { display: flex; gap: 1rem; margin-top: 2rem; }
.hero-image { flex: 1; display: flex; justify-content: center; }

.phone-mockup {
    width: 300px;
    height: 600px;
    border: 8px solid #1e293b;
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(34, 197, 94, 0.15);
}
.phone-mockup img { width: 100%; height: 100%; object-fit: cover; }

.trust-badges {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: var(--secondary-color);
}
.trust-badges i { color: var(--primary-color); }

/* ---- TIMELINE (How it works) ---- */
.timeline { position: relative; max-width: 800px; margin: 0 auto; }
.timeline::before {
    content: ''; position: absolute; top: 0; left: 24px; height: 100%; width: 2px;
    background: var(--glass-border);
}
.timeline-item {
    position: relative; margin-bottom: 2rem; padding-left: 4rem;
}
.timeline-dot {
    position: absolute; left: 10px; top: 0; width: 30px; height: 30px;
    background: var(--bg-color); border: 2px solid var(--primary-color);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: bold; color: var(--primary-color); z-index: 1;
}
.timeline-content { padding: 1.5rem; }

/* ---- SCREENSHOT SLIDER ---- */
.screenshot-slider-container {
    position: relative;
    max-width: 350px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
}
.slider-track {
    display: flex;
    transition: transform 0.5s ease;
}
.slider-track img {
    width: 100%; flex-shrink: 0; border-radius: 20px; border: 4px solid var(--glass-border);
}
.slider-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: var(--primary-color); border: none; width: 40px; height: 40px;
    border-radius: 50%; cursor: pointer; z-index: 10; display: flex; justify-content: center; align-items: center;
}
.slider-btn.prev { left: -20px; }
.slider-btn.next { right: -20px; }

/* ---- FAQ ACCORDION ---- */
.faq-container { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem;}
.faq-item { padding: 1.5rem; cursor: pointer; transition: var(--transition); }
.faq-question { display: flex; justify-content: space-between; font-weight: 600; font-size: 1.1rem; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; color: var(--secondary-color); margin-top: 0;}
.faq-item.active .faq-answer { max-height: 200px; margin-top: 1rem; }
.faq-item.active .faq-question i { transform: rotate(180deg); }

/* ---- CTA & FOOTER ---- */
.cta-box { padding: 4rem 2rem; }
.glass-footer { border-top: 1px solid var(--glass-border); padding: 4rem 0 2rem 0; margin-top: 4rem; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.social-icons { display: flex; gap: 1rem; margin-top: 1rem; font-size: 1.5rem; }
.social-icons a:hover { color: var(--primary-color); }
.footer-links ul { list-style: none; margin-top: 1rem; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: var(--secondary-color); }
.footer-links a:hover { color: var(--primary-color); }

/* ---- INTERNAL PAGES (Privacy, Terms, Contact) ---- */
.page-header { padding-top: 8rem; padding-bottom: 3rem; text-align: center; }
.content-box { max-width: 800px; margin: 0 auto; padding: 3rem; margin-bottom: 4rem; }
.content-box h2, .content-box h3 { color: var(--primary-color); margin-top: 2rem; }
.content-box ul { margin-left: 2rem; margin-bottom: 1rem; color: var(--secondary-color); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; max-width: 900px; margin: 0 auto 4rem auto;}
.contact-card { text-align: center; padding: 3rem 2rem; }

/* ---- ANIMATIONS ---- */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-15px); } 100% { transform: translateY(0px); } }
.float-anim { animation: float 6s ease-in-out infinite; }

/* ---- RESPONSIVE ---- */
@media (max-width: 992px) {
    .hero { flex-direction: column; text-align: center; padding-top: 8rem; }
    .hero-content { padding-right: 0; margin-bottom: 3rem; }
    .hero-buttons { justify-content: center; }
    .trust-badges { justify-content: center; }
}
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .nav-links, .nav-btn { display: none; }
    .menu-toggle { display: block; }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .social-icons { justify-content: center; }
    .contact-grid { grid-template-columns: 1fr; }
    .hero-buttons { flex-direction: column; }
    .timeline::before { left: 15px; }
    .timeline-dot { left: 0; width: 25px; height: 25px; font-size: 12px; }
    .timeline-item { padding-left: 3rem; }
}
/* Mobile par screenshots aur mockup ko chhota karne ke liye */
@media (max-width: 768px) {
    .phone-mockup {
        width: 220px;
        height: 450px;
        border: 6px solid #1e293b;
    }
    .screenshot-slider-container {
        max-width: 250px;
    }
}

/* Mobile par Powerful Features ko 3 columns mein dikhane ke liye */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 box ek line mein */
        gap: 0.5rem; /* Boxes ke beech ki jagah kam ki hai */
    }
    
    .features-grid .card {
        padding: 1rem 0.5rem; /* Box ke andar ki jagah kam ki hai */
    }
    
    .features-grid .card-icon {
        font-size: 1.2rem; /* Icon thoda chhota kiya hai */
        margin-bottom: 0.5rem;
    }
    
    .features-grid h3 {
        font-size: 0.8rem; /* Heading thodi choti ki hai */
        line-height: 1.2;
    }
    
    .features-grid p {
        font-size: 0.65rem; /* Paragraph text chhota kiya hai taaki fit aa jaye */
        line-height: 1.3;
        margin-bottom: 0;
    }
}

/* "Beautifully Designed" section ke slider ko mobile me chhota karne ke liye */
@media (max-width: 768px) {
    .screenshot-slider-container {
        max-width: 180px; /* Ise chhota kar diya gaya hai (Aap chahein to 200px bhi kar sakte hain) */
        border-radius: 16px;
    }
    
    .slider-track img {
        border-width: 2px; /* Image ka border thoda patla kiya hai */
        border-radius: 16px;
    }

    /* Slider ke aage-peeche wale buttons ko chhota karne ke liye */
    .slider-btn {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    /* Buttons ki jagah sahi karne ke liye */
    .slider-btn.prev { left: -12px; }
    .slider-btn.next { right: -12px; }
}

/* Mobile par Footer ko chhota aur compact (sikudne) ke liye */
@media (max-width: 768px) {
    .glass-footer {
        padding: 2rem 0 1rem 0; /* Footer ki upar-niche ki jagah (padding) aadhi kar di */
        margin-top: 2rem; /* Upar ka gap kam kar diya */
    }

    .footer-content {
        gap: 1rem; /* Alag-alag sections ke beech ki jagah kam ki */
        margin-bottom: 1rem;
    }

    .footer-brand p {
        margin-bottom: 0.5rem;
        font-size: 0.85rem; /* Text thoda chhota kiya */
    }

    .social-icons {
        margin-top: 0.5rem;
        font-size: 1.2rem; /* Social media icons thode chhote kiye */
    }

    .footer-links h4 {
        font-size: 1rem;
        margin-bottom: 0.5rem; /* Heading ke niche ki jagah kam ki */
    }

    .footer-links li {
        margin-bottom: 0.25rem; /* Links ke beech ka gap kam kiya */
    }

    .footer-links a {
        font-size: 0.85rem; /* Link ka font chhota kiya */
    }

    .footer-bottom p {
        font-size: 0.75rem; /* Copyright wale text ko chhota kiya */
    }
}

/* Mobile ke "Desktop Site" mode aur Tablet ki khali jagah hatane ke liye */
@media (orientation: portrait), (max-width: 1024px) {
    .hero {
        min-height: auto !important; /* Lambaai ko khinchne se rokega */
        padding-top: 8rem; 
        padding-bottom: 3rem; 
    }
}
