/* --- Google Font --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

/* --- General Resets & Variables --- */
:root {
    --primary-blue: #2979FF;
    --secondary-blue: #40C4FF;
    --dark-bg: #0D1117;
    --dark-card: #161B22;
    --text-light: #E6EDF3;
    --text-muted: #8B949E;
    --glass-bg: rgba(22, 27, 34, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    --gradient-animation: linear-gradient(90deg, var(--secondary-blue), var(--primary-blue), var(--secondary-blue));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.8;
}

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

h1, h2, h3 { font-weight: 700; }

/* --- Announcement Bar --- */
.announcement-bar {
    background: var(--gradient-animation);
    background-size: 200% 200%;
    animation: gradient-flow 5s ease infinite;
    color: #fff;
    padding: 10px 0;
    text-align: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}
.announcement-bar p {
    margin: 0;
    font-weight: 500;
}
.announcement-bar img { height: 40px; }
.announcement-bar .close-btn {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}
.announcement-bar .close-btn:hover { opacity: 1; }

@keyframes gradient-flow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* --- Navigation Bar --- */
.navbar {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0; /* Adjusted by JS */
    left: 0;
    z-index: 100;
    transition: all 0.3s ease;
}
.navbar.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
}
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.navbar .logo { display: flex; align-items: center; gap: 12px; font-size: 24px; font-weight: 700; color: var(--text-light); text-decoration: none; }
.navbar .logo img { width: 40px; }
.navbar .nav-links a { color: var(--text-light); text-decoration: none; margin-left: 40px; font-weight: 500; transition: color 0.3s ease; }
.navbar .nav-links a:hover { color: var(--primary-blue); }
.menu-toggle { display: none; cursor: pointer; z-index: 101;}
.menu-toggle .bar { width: 25px; height: 3px; background: #fff; margin: 5px 0; transition: 0.4s; }

/* --- Mobile Menu Drawer --- */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--dark-card);
    z-index: 100;
    padding: 100px 30px 30px;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    flex-direction: column;
}
.mobile-nav.open { right: 0; }
.mobile-nav a { color: var(--text-light); text-decoration: none; font-size: 20px; display: block; padding: 15px 0; }
.mobile-nav .drawer-cta { margin-top: auto; }
.mobile-nav .drawer-cta p { color: var(--text-muted); margin-bottom: 15px; }
.mobile-nav .drawer-cta img { height: 50px; }

/* --- Animated Download Button --- */
.animated-button {
    position: relative;
    display: inline-block;
    padding: 12px 30px;
    color: #fff;
    background: var(--primary-blue);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.3s ease;
}
.animated-button:hover { transform: scale(1.05); }
.animated-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}
.animated-button:hover::before { width: 200px; height: 200px; }

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}
.hero .container { display: flex; align-items: center; gap: 50px; }
.hero-content { flex: 1.2; }
.hero-content .tagline { color: var(--primary-blue); font-weight: 600; margin-bottom: 10px; font-size: 18px; }
.hero-content h1 { font-size: 56px; line-height: 1.2; margin-bottom: 20px; }
.hero-content .subtitle { font-size: 18px; margin-bottom: 30px; color: var(--text-muted); }
.hero-image { flex: 1; position: relative; text-align: center; }
.hero-image img {
    max-width: 350px;
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* --- Sections --- */
section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 42px; margin-bottom: 10px; }
.section-header p { font-size: 18px; color: var(--text-muted); max-width: 600px; margin: 0 auto; }

/* --- Stats Section --- */
#stats { background: var(--dark-card); padding: 60px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center; }
.stat-item h3 { font-size: 48px; color: var(--primary-blue); font-weight: 800; }
.stat-item p { color: var(--text-muted); }

/* --- Why Choose Us / Features Section --- */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.feature-card {
    background: var(--dark-card);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.2); }
.feature-card .icon { font-size: 48px; margin-bottom: 20px; display: block; }
.feature-card h3 { font-size: 22px; margin-bottom: 10px; }
.feature-card p { color: var(--text-muted); }

/* --- Screenshots Section --- */
.screenshots-container { display: flex; gap: 50px; align-items: center; }
.screenshot-tabs { flex: 1; display: flex; flex-direction: column; gap: 15px; }
.tab { padding: 20px; background: var(--dark-card); border-radius: 12px; cursor: pointer; border: 1px solid var(--glass-border); transition: all 0.3s ease; }
.tab.active { background: var(--primary-blue); border-color: var(--primary-blue); }
.tab.active h3, .tab.active p { color: #fff; }
.tab h3 { font-size: 20px; margin-bottom: 5px; }
.tab p { color: var(--text-muted); }
.screenshot-display { flex: 1; text-align: center; }
.screenshot-display img { max-width: 280px; border-radius: 30px; box-shadow: 0 20px 50px rgba(0,0,0,0.3); transition: opacity 0.4s ease; }

/* --- Who Is It For Section (Marquee) --- */
#who-is-it-for { padding: 60px 0; background: var(--dark-card); }
.marquee { width: 100%; overflow: hidden; position: relative; white-space: nowrap; }
.marquee-content { display: inline-block; animation: marquee 30s linear infinite; }
.marquee-content span { font-size: 18px; font-weight: 500; color: var(--text-muted); padding: 10px 30px; margin: 0 10px; border: 1px solid var(--glass-border); border-radius: 50px; background: var(--dark-bg); }
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- Testimonials Section --- */
.testimonial-card { background: var(--dark-card); padding: 30px; border-radius: 12px; border: 1px solid var(--glass-border); }
.testimonial-card p { font-style: italic; font-size: 16px; margin-bottom: 20px; }
.testimonial-card .author { font-weight: 600; }
.testimonial-card .author span { font-weight: 400; color: var(--text-muted); }

/* --- FAQs Section --- */
.faq-item { background: var(--dark-card); margin-bottom: 15px; border-radius: 12px; border: 1px solid var(--glass-border); }
.faq-question { padding: 20px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 18px; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; color: var(--text-muted); }
.faq-answer p { padding: 0 20px 20px; }
.faq-item.active .faq-answer { max-height: 200px; /* Adjust as needed */ }
.faq-item.active .faq-question .icon { transform: rotate(45deg); }
.faq-question .icon { transition: transform 0.3s ease; }

/* --- Footer --- */
.footer { background: var(--dark-card); color: var(--text-muted); padding: 60px 0; border-top: 1px solid var(--glass-border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; text-align: left; }
.footer-about .logo { display: flex; align-items: center; gap: 12px; font-size: 24px; font-weight: 700; color: var(--text-light); text-decoration: none; margin-bottom: 15px; }
.footer-about .logo img { width: 40px; }
.footer h4 { color: var(--text-light); font-size: 18px; margin-bottom: 20px; position: relative; }
.footer h4::after { content: ''; position: absolute; left: 0; bottom: -5px; width: 30px; height: 2px; background: var(--primary-blue); }
.footer-links ul { list-style: none; }
.footer-links ul li a { color: var(--text-muted); text-decoration: none; display: block; margin-bottom: 10px; transition: color 0.3s ease, transform 0.3s ease; }
.footer-links ul li a:hover { color: var(--primary-blue); transform: translateX(5px); }
.footer-bottom { text-align: center; margin-top: 50px; padding-top: 20px; border-top: 1px solid var(--glass-border); font-size: 14px; }

/* --- Floating CTA --- */
.floating-cta { position: fixed; bottom: 20px; right: 20px; height: 60px; z-index: 99; transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease; transform: scale(0); opacity: 0; }
.floating-cta.visible { transform: scale(1); opacity: 1; }
.floating-cta img { height: 100%; transition: transform 0.3s ease; }
.floating-cta:hover img { transform: scale(1.05); }

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .hero .container { flex-direction: column; text-align: center; }
    .hero-content { order: 2; }
    .hero-image { order: 1; margin-bottom: 40px; }
    .hero-content h1 { font-size: 42px; }
    .screenshots-container { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer h4::after { left: 50%; transform: translateX(-50%); }
    .footer-about .logo { justify-content: center; }
}

@media (max-width: 768px) {
    .nav-links, .navbar .cta-button { display: none; }
    .menu-toggle { display: block; }
    .hero { padding: 150px 0 80px; }
    .hero-image img { max-width: 280px; }
    h1 { font-size: 36px !important; }
    h2 { font-size: 32px !important; }
    .stats-grid { grid-template-columns: 1fr; gap: 40px;}
    .floating-cta { height: 50px; bottom: 15px; right: 15px; }
}

/* ADD THIS to the end of your style.css file */

/* --- Contact Page Specific & Form Styling --- */
.page-header {
    background: var(--dark-bg);
    padding: 150px 0 80px;
    text-align: center;
}
.page-header h1 {
    font-size: 48px;
    color: var(--text-light);
}
.contact-section {
    padding: 0 0 100px;
    margin-top: -50px;
}
.contact-form-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--dark-card);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--card-shadow);
}
.contact-form-container p {
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 30px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-light);
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    background: var(--dark-bg);
    color: var(--text-light);
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    transition: border-color 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}
.form-group.captcha {
    display: flex;
    align-items: center;
    gap: 15px;
}
.form-group.captcha label {
    margin-bottom: 0;
}
.form-group.captcha input {
    width: 120px;
}
#contact-form button {
    width: 100%;
    margin-top: 10px;
}
#form-status {
    margin-top: 20px;
    text-align: center;
    font-weight: 500;
    padding: 15px;
    border-radius: 8px;
    display: none; /* Hidden by default */
}
#form-status.sending { display: block; background: rgba(41, 121, 255, 0.1); color: var(--primary-blue); }
#form-status.success { display: block; background: rgba(22, 163, 74, 0.1); color: #16A34A; }
#form-status.error { display: block; background: rgba(220, 38, 38, 0.1); color: #DC2626; }