:root {
    --primary: #C13584; /* Instagram purplish pink */
    --secondary: #F56040; /* Insta orange */
    --gradient: linear-gradient(135deg, #833AB4, #C13584, #E1306C, #FD1D1D, #F56040, #FFDC80);
    /* ✅ NEW LIGHT THEME */
    --bg-color: #f8f9fb;
    --text-main: #111;
    --text-muted: #666;
    --card-bg: #ffffff;
    --border-color: #e5e7eb;
    --glass-blur: blur(16px);
}

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

body {
    background: #f8f9fb;
    /*font-family: 'Inter', sans-serif;*/
    font-family: 'Segoe UI','Sans-Serif';
    /*background-color: var(--bg-color);*/
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    scroll-behavior: smooth;
}

/* Glassmorphism Utilities */
.glass {
    background: #ffffff;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: 80px 0;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #111;
    display: flex;
    align-items: center;
    gap: 8px;
}
.logo i {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.8rem;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 24px;
}

.nav-links a {
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    text-align: center;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(193, 53, 132, 0.1);
    border: 1px solid var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 16px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.download-card {
    padding: 30px;
    border-radius: 20px;
    margin: 0 auto;
    max-width: 700px;
}

.download-form {
    display: flex;
    gap: 12px;
}

.input-wrapper {
    flex: 1;
    position: relative;
    min-width: 0;
}

.input-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    z-index: 1;
}

.download-form input {
    width: 100%;
    box-sizing: border-box;
    padding: 16px 20px 16px 50px;
    border-radius: 12px;
    border: 1px solid #ddd;
    background: #f3f4f6;
    color: #111;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.3s;
}

.download-form input:focus {
    border-color: var(--primary);
}

.btn-primary {
    padding: 0 32px;
    border-radius: 12px;
    border: none;
    background: var(--gradient);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(193, 53, 132, 0.3);
}

.form-hint {
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.form-hint a {
    color: var(--primary);
    text-decoration: underline;
}

/* Background Blobs */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 1;
    opacity: 0.3;
}

.blob-1 {
    top: 20%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: var(--primary);
}

.blob-2 {
    bottom: 20%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: var(--secondary);
}

/* Sections */
.section-title {
    text-align: center;
    margin-bottom: 48px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.grid {
    display: grid;
    gap: 30px;
}

/* Features */
.features-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.feature-card {
    padding: 30px;
    border-radius: 16px;
    text-align: left;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.icon-box {
    width: 50px;
    height: 50px;
    background: rgba(193, 53, 132, 0.1);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* How to Use */
.bg-light {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.how-to-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    text-align: center;
}

.step-card {
    padding: 20px;
}

.step-num {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 20px auto;
}

.step-card h3 {
    margin-bottom: 10px;
}
.step-card p {
    color: var(--text-muted);
}

/* FAQ Accordion */
.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background: #ffffff;
    border: 1px solid var(--border-color);
    margin-bottom: 16px;
    border-radius: 12px;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    color: #111;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s;
}

.accordion-header:hover {
    background: rgba(255, 255, 255, 0.05);
}

.accordion-header i {
    transition: transform 0.3s;
}

.accordion-header.active i {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #fafafa;
}

.accordion-content p {
    padding: 20px;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
}

/* Loader */
.loader-container {
    margin-top: 24px;
    text-align: center;
}
.spinner {
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 3px solid rgba(193, 53, 132, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 10px;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

.results-container {
    margin-top: 24px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-align: left;
}

/* Content Pages (Privacy, Terms, About) */
.page-header {
    margin-top: 100px;
    margin-bottom: 40px;
    text-align: center;
}
.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}
.page-content {
    max-width: 800px;
    margin: 0 auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    margin-bottom: 60px;
}
.page-content h2 {
    margin: 30px 0 15px 0;
    font-size: 1.5rem;
    color: #111;
}
.page-content p {
    margin-bottom: 16px;
    color: var(--text-muted);
}
.page-content ul {
    margin-left: 20px;
    margin-bottom: 16px;
    color: var(--text-muted);
}
.page-content li {
    margin-bottom: 8px;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.contact-form label {
    font-weight: 600;
}
.contact-form input, .contact-form textarea {
    padding: 14px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-family: 'Inter', sans-serif;
    outline: none;
}
.contact-form input:focus, .contact-form textarea:focus {
    border-color: var(--primary);
}

/* Footer */
footer {
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    padding: 60px 0 20px 0;
    margin-top: 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 16px;
    max-width: 300px;
}

.footer-links h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #555;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.disclaimer-text {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .download-form {
        flex-direction: column;
    }
    .input-wrapper {
        width: 100%;
    }
    .btn-primary {
        width: 100%;
        padding: 16px;
        justify-content: center;
    }
    .footer-content {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    .page-content {
        padding: 20px;
    }
}
