/* ============================================
   FASTVIDL - RED & WHITE THEME
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #ffffff;
    color: #212529;
    line-height: 1.7;
}

:root {
    --primary-red: #dc3545;
    --primary-dark: #a71d2a;
    --primary-light: #ff6b7a;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --border-light: #e9ecef;
    --text-dark: #212529;
    --text-muted: #6c757d;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    --radius: 12px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   HEADER / NAVBAR
   ============================================ */
header {
    background: #ffffff;
    border-bottom: 4px solid var(--primary-red);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(220, 53, 69, 0.08);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}
.logo span {
    color: var(--primary-red);
}
.logo i {
    color: var(--primary-red);
    font-size: 26px;
}

nav {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    align-items: center;
}
nav a {
    color: #555;
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
nav a:hover,
nav a.active {
    background: var(--primary-red);
    color: #fff;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}
nav .nav-yt-btn {
    background: #dc3545;
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 50px;
}
nav .nav-yt-btn:hover {
    background: #a71d2a;
    transform: scale(1.03);
}

/* ============================================
   PAGE SECTIONS (SPA)
   ============================================ */
.page-section {
    display: none;
    padding: 40px 0 60px;
    animation: fadeIn 0.4s ease;
}
.page-section.active {
    display: block;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    text-align: center;
    padding: 20px 0 10px;
}
.hero h1 {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-dark);
}
.hero h1 i {
    color: var(--primary-red);
}
.hero p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 12px auto 30px;
}

/* ============================================
   AD PLACEHOLDER (CareerPatrika)
   ============================================ */
.ad-container {
    background: var(--bg-light);
    border: 2px solid #dee2e6;
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    margin: 20px 0 30px;
}
.ad-container .ad-label {
    display: inline-block;
    background: #dc3545;
    color: #fff;
    padding: 2px 16px;
    border-radius: 20px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}
.ad-container .ad-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-decoration: none;
    margin-top: 10px;
    flex-wrap: wrap;
}
.ad-container .ad-banner i {
    font-size: 36px;
    color: #dc3545;
}
.ad-container .ad-banner .ad-text {
    text-align: left;
}
.ad-container .ad-banner .ad-text strong {
    font-size: 22px;
    color: #212529;
    display: block;
}
.ad-container .ad-banner .ad-text span {
    color: #6c757d;
    font-size: 14px;
}
.ad-container .ad-banner .ad-btn {
    background: #dc3545;
    color: #fff;
    padding: 8px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
    transition: all 0.3s;
}
.ad-container .ad-banner .ad-btn:hover {
    background: #a71d2a;
    transform: scale(1.05);
}

/* ============================================
   DOWNLOADER WRAPPER (Center Aligned)
   ============================================ */
.downloader-wrapper {
    background: #ffffff;
    border-radius: var(--radius);
    padding: 40px 30px;
    max-width: 750px;
    margin: 0 auto 30px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    text-align: center;
}

/* Form Group - Center everything */
.download-form .form-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
}

/* Input Wrapper */
.download-form .input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    background: var(--bg-light);
    border-radius: 50px;
    padding: 0 20px;
    border: 2px solid #dee2e6;
    transition: border 0.3s, box-shadow 0.3s;
    max-width: 450px;
}
.download-form .input-wrapper:focus-within {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.15);
}
.download-form .input-wrapper i {
    color: #aaa;
    font-size: 18px;
}
.download-form .input-wrapper .form-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 16px 12px;
    font-size: 16px;
    background: transparent;
    color: var(--text-dark);
    min-width: 200px;
}
.download-form .input-wrapper .form-input::placeholder {
    color: #aaa;
}

/* ============================================
   DOWNLOAD BUTTON - ATTRACTIVE RED GRADIENT
   ============================================ */
.download-form .form-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #dc3545, #b02a37, #dc3545);
    background-size: 200% 200%;
    animation: gradientMove 3s ease infinite;
    border: none;
    border-radius: 50px;
    padding: 16px 40px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 25px rgba(220, 53, 69, 0.4);
    white-space: nowrap;
    letter-spacing: 0.5px;
}
.download-form .form-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 35px rgba(220, 53, 69, 0.5);
}
.download-form .form-btn:active {
    transform: scale(0.97);
}
@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.downloader-wrapper .info-text {
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 16px;
}
.downloader-wrapper .info-text i {
    color: var(--primary-red);
}

/* ============================================
   FEATURES
   ============================================ */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 30px;
}
.feature-card {
    background: #ffffff;
    padding: 30px 20px;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid var(--border-light);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    box-shadow: var(--shadow);
}
.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-red);
    box-shadow: 0 8px 30px rgba(220, 53, 69, 0.10);
}
.feature-card i {
    font-size: 40px;
    color: var(--primary-red);
    margin-bottom: 14px;
}
.feature-card h3 {
    font-size: 19px;
    color: var(--text-dark);
    margin-bottom: 6px;
}
.feature-card p {
    color: var(--text-muted);
    font-size: 14px;
    margin: 0;
}

/* Guide Section */
.guide-section {
    margin-top: 50px;
    text-align: center;
}
.guide-section h2 {
    font-size: 28px;
    font-weight: 700;
    color: #212529;
}
.guide-section > p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 10px auto 30px;
}
.guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}
.step-card {
    background: #ffffff;
    padding: 25px;
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}
.step-card:hover {
    transform: translateY(-4px);
}
.step-card i {
    font-size: 36px;
    color: var(--primary-red);
}
.step-card h3 {
    font-size: 18px;
    margin: 10px 0 6px;
    color: var(--text-dark);
}
.step-card p {
    color: var(--text-muted);
    font-size: 14px;
    margin: 0;
}

/* ============================================
   CONTENT CARDS (About, Contact, Privacy)
   ============================================ */
.content-card {
    background: #ffffff;
    border-radius: var(--radius);
    padding: 40px 35px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 0 auto;
}
.content-card h2 {
    font-size: 30px;
    color: var(--text-dark);
    margin-bottom: 16px;
}
.content-card h2 i {
    color: var(--primary-red);
    margin-right: 10px;
}
.content-card h3 {
    font-size: 22px;
    color: var(--text-dark);
    margin-top: 25px;
    margin-bottom: 12px;
}
.content-card p {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 14px;
}
.content-card ul {
    color: var(--text-muted);
    padding-left: 22px;
    margin-bottom: 14px;
}
.content-card ul li {
    margin-bottom: 8px;
}
.content-card a {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
}
.content-card a:hover {
    text-decoration: underline;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 18px;
}
.contact-info .contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text-dark);
    font-size: 16px;
}
.contact-info .contact-item i {
    color: var(--primary-red);
    width: 24px;
    font-size: 20px;
}

/* ============================================
   FAQ
   ============================================ */
.faq-item {
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    background: #fff;
}
.faq-item .faq-question {
    background: #fff;
    padding: 16px 22px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 16px;
}
.faq-item .faq-question:hover {
    background: var(--bg-light);
}
.faq-item .faq-question i {
    color: var(--primary-red);
    transition: transform 0.3s;
}
.faq-item .faq-answer {
    padding: 0 22px 18px;
    color: var(--text-muted);
    display: none;
    line-height: 1.7;
}
.faq-item.active .faq-answer {
    display: block;
}
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: var(--bg-light);
    border-top: 2px solid var(--border-light);
    padding: 40px 0 20px;
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 20px;
}
footer a {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 500;
}
footer a:hover {
    text-decoration: underline;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 20px;
}
.footer-logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark);
}
.footer-logo span {
    color: var(--primary-red);
}
.footer-logo i {
    color: var(--primary-red);
}
.footer-about p {
    color: var(--text-muted);
    font-size: 14px;
    max-width: 400px;
    margin: 8px 0;
}
.footer-about .small {
    font-size: 13px;
}
.footer-about .copyright {
    margin-top: 12px;
    font-size: 13px;
}
.footer-links h6 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    border-bottom: 2px solid var(--primary-red);
    display: inline-block;
    padding-bottom: 4px;
}
.footer-links ul {
    list-style: none;
    padding: 0;
}
.footer-links ul li {
    margin-bottom: 8px;
}
.footer-links ul li a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s;
}
.footer-links ul li a:hover {
    color: var(--primary-red);
}
.security-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 14px 20px;
    margin: 20px 0;
    box-shadow: var(--shadow);
}
.security-box i {
    color: var(--primary-red);
    font-size: 20px;
}
.security-box span {
    color: var(--text-muted);
    font-size: 14px;
}
.footer-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
    font-size: 13px;
    color: var(--text-muted);
}
.footer-meta i {
    color: var(--primary-red);
    margin-right: 4px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .hero h1 { font-size: 34px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .header-inner { flex-direction: column; align-items: stretch; gap: 10px; }
    .logo { justify-content: center; font-size: 24px; }
    nav { justify-content: center; flex-wrap: wrap; }
    nav a { padding: 6px 14px; font-size: 13px; }
    .hero h1 { font-size: 28px; }
    .downloader-wrapper { padding: 25px 18px; }
    .download-form .form-group {
        flex-direction: column;
        align-items: stretch;
    }
    .download-form .input-wrapper {
        max-width: 100%;
    }
    .download-form .form-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 17px;
    }
    .content-card { padding: 25px 20px; }
    .features { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-meta { flex-direction: column; gap: 6px; align-items: center; }
    .ad-container .ad-banner { flex-direction: column; text-align: center; }
    .ad-container .ad-banner .ad-text { text-align: center; }
}
@media (max-width: 480px) {
    .hero h1 { font-size: 22px; }
    .features { grid-template-columns: 1fr; }
    .guide-steps { grid-template-columns: 1fr; }
}