/* ==========================================================================
   GLOBAL VARIABLES & RESET
   ========================================================================== */
:root {
    --primary: #3b82f6; /* Beautiful Light Blue */
    --primary-hover: #2563eb;
    --secondary: #e0f2fe; /* Soft tint */
    --secondary-hover: #bae6fd;
    --bg-main: #f8fafc; /* Crisp Off-White */
    --text-main: #0f172a; /* Deep Navy */
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    --gradient-hover: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    --success: #10b981;
    --error: #ef4444;
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
    --card-bg: #ffffff;
}

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

body {
    font-family: var(--font-family);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

.logo-img {
    height: 32px;
    width: auto;
}

.brand-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-links a, .dropbtn {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s ease;
}

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

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: var(--card-bg);
    min-width: 200px;
    box-shadow: 0px 10px 15px -3px rgba(0,0,0,0.1);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    padding: 10px 0;
    z-index: 1;
}

.dropdown-content a {
    color: var(--text-main);
    padding: 10px 20px;
    display: block;
    font-size: 14px;
}

.dropdown-content a:hover {
    background-color: var(--secondary);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.auth-group {
    display: flex;
    gap: 16px;
    align-items: center;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.btn-small {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    background-color: var(--text-main);
    color: white;
    cursor: pointer;
    border: none;
    transition: background 0.2s ease;
}

.btn-small:hover {
    background-color: #334155;
}

.btn-text {
    color: var(--text-main);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}

.btn-text:hover {
    color: var(--primary);
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(99, 102, 241, 0.2);
}

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

.btn-secondary {
    background-color: var(--secondary);
    color: var(--text-main);
}

.btn-secondary:hover {
    background-color: var(--secondary-hover);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    text-align: center;
    padding: 80px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(147, 51, 234, 0.1) 100%);
    color: #7e22ce;
    border: 1px solid rgba(147, 51, 234, 0.2);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 56px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.hero h1 span {
    color: var(--primary);
}

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

.button-group {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* ==========================================================================
   TRUST BAR & GRIDS
   ========================================================================== */
.trust-bar {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-main);
}

.trust-bar p {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
    color: var(--text-muted);
    font-weight: 600;
}

.features-header {
    text-align: center;
    margin-bottom: 48px;
}

.features-header h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.features-header p {
    color: var(--text-muted);
    font-size: 18px;
}

/* ==========================================================================
   SECTIONS & CARDS
   ========================================================================== */
.deep-dive-section, .how-it-works, .features-section, .pricing-section, .faq-section {
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.content-split {
    display: flex;
    align-items: center;
    gap: 60px;
}

.text-side {
    flex: 1;
}

.text-side h2 {
    font-size: 40px;
    margin: 20px 0;
    line-height: 1.2;
}

.text-side p {
    color: var(--text-muted);
    margin-bottom: 16px;
    font-size: 18px;
}

.check-list {
    list-style: none;
    margin-top: 24px;
}

.check-list li {
    margin-bottom: 12px;
    font-weight: 500;
}

.visual-side {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.step-card {
    background: var(--bg-main);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.step-number {
    height: 40px;
    width: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 20px;
}

/* Features Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.card {
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
}

.icon-box {
    height: 48px;
    width: 48px;
    background: var(--secondary);
    color: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

/* ==========================================================================
   PRICING
   ========================================================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.pricing-card {
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 32px;
    background: var(--card-bg);
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card.highlighted {
    border: 2px solid var(--primary);
    box-shadow: 0 20px 25px -5px rgba(99, 102, 241, 0.1);
}

.tier-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
}

.pricing-card h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.fake-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 16px;
}

.price {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
}

.price span {
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 500;
}

.desc {
    color: var(--text-muted);
    margin-bottom: 24px;
    min-height: 48px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
    flex: 1;
}

.pricing-features li {
    margin-bottom: 12px;
    color: var(--text-main);
    font-size: 15px;
}

/* ==========================================================================
   PHONE MOCKUP (VISUALS)
   ========================================================================== */
.phone-mockup {
    width: 300px;
    height: 600px;
    background: var(--card-bg);
    border: 12px solid #0f172a;
    border-radius: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: #0f172a;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    z-index: 10;
}

.phone-screen {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #09090b;
}

.ig-header {
    padding: 40px 16px 16px;
    background: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 14px;
}

.ig-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.phone-chat-body {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
}

.phone-chat-bubble {
    padding: 10px 14px;
    border-radius: 18px;
    font-size: 13px;
    max-width: 85%;
    line-height: 1.4;
}

.phone-chat-bubble.user {
    background: #27272a;
    color: var(--text-main);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.phone-chat-bubble.bot {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.ig-input {
    padding: 16px;
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
}

.ig-input-box {
    background: #27272a;
    padding: 10px 16px;
    border-radius: 20px;
    color: var(--text-muted);
    font-size: 13px;
}

/* ==========================================================================
   FAQ & CTA & FOOTER
   ========================================================================== */
.faq-section {
    padding: 100px 5%;
    background: #ffffff;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 32px 0;
    transition: transform 0.2s ease;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 12px;
}

.faq-question::before {
    content: "Q.";
    color: var(--primary);
    font-size: 14px;
}

.faq-answer {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 16px;
    padding-left: 28px;
}

.final-cta {
    text-align: center;
    padding: 100px 20px;
    background: var(--text-main);
    color: white;
}

.final-cta h2 {
    font-size: 40px;
    margin-bottom: 16px;
}

.final-cta p {
    color: var(--text-muted);
    font-size: 18px;
    margin-bottom: 32px;
}

.site-footer {
    background: #020617;
    color: var(--text-muted);
    padding: 60px 5%;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-col h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 16px;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 14px;
}

.footer-col a:hover {
    color: white !important;
    opacity: 1;
    transition: all 0.2s ease;
    transform: translateX(4px);
}

.social-icon:hover {
    transform: scale(1.1);
    color: var(--primary-color) !important;
}

.pricing-badge {
    background: #10b981;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 8px;
    vertical-align: middle;
}

.copyright, .address {
    margin-top: 20px;
    font-size: 12px;
}

/* ==========================================================================
   🚨 THE MODAL FIX 🚨
   ========================================================================== */
.modal-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.modal-overlay.active {
    display: flex; /* Shown when JS adds .active class */
}

.modal-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 16px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    animation: modalFadeIn 0.2s ease-out;
}

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

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-muted);
}

.close-btn:hover {
    color: var(--text-main);
}

.modal-card h2 {
    font-size: 24px;
    margin-bottom: 8px;
}

.modal-card p {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 14px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-main);
}

.form-group input { width: 100%; padding: 12px; border: 1px solid var(--border-color); border-radius: 8px; font-family: inherit; font-size: 14px; transition: border-color 0.2s; background: var(--card-bg); color: var(--text-main); }

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--text-main);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.submit-btn:hover {
    background: #334155;
}

.social-login {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.fb-btn {
    width: 100%;
    padding: 12px;
    background: #1877F2;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: opacity 0.2s;
}

.fb-btn:hover {
    opacity: 0.9;
}

.fb-btn img {
    height: 18px;
    width: 18px;
}

/* Alerts */
#form-message {
    margin-top: 20px;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    display: none;
}

.msg-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.msg-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Loading Spinner */
.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-right: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 40px; }
    .content-split { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .button-group { flex-direction: column; }
}
/* ==========================================================================
   MASTER UX POLISH & MICRO-ANIMATIONS
   ========================================================================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero h1 { animation: fadeInUp 0.6s ease-out forwards; }
.hero p { animation: fadeInUp 0.6s ease-out 0.1s forwards; opacity: 0; }
.hero .button-group { animation: fadeInUp 0.6s ease-out 0.2s forwards; opacity: 0; }

.pricing-card { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.pricing-card:hover { transform: translateY(-5px); box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }

input:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2); }

.card:hover, .step-card:hover { transform: translateY(-2px); box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05); transition: all 0.2s ease; }

.toggle-switch input:focus + .slider { box-shadow: 0 0 1px var(--primary); }

/* PAYWALL STYLES */





/* ABSOLUTE PAYWALL STYLES */
.paywall-overlay { display: none !important; position: fixed !important; top: 0 !important; left: 0 !important; width: 100vw !important; height: 100vh !important; background: rgba(255, 255, 255, 0.5) !important; backdrop-filter: blur(16px) !important; -webkit-backdrop-filter: blur(16px) !important; z-index: 99999 !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; text-align: center !important; animation: fadeIn 0.4s ease-out !important; padding: 20px !important; }
.paywall-card { background: #ffffff !important; padding: 48px !important; border-radius: 24px !important; box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.25) !important; max-width: 480px !important; border: 1px solid var(--border-color) !important; position: relative !important; z-index: 100000 !important; }
.paywall-card h2 { font-size: 28px !important; margin-bottom: 20px !important; color: #0f172a !important; font-weight: 800 !important; line-height: 1.2 !important;}
.paywall-card p { color: var(--text-muted) !important; font-size: 15px !important; margin-bottom: 32px !important; line-height: 1.6 !important; font-weight: 500 !important; }
/* GRID BACKGROUND PHYSICS */
body { background-image: radial-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 0); background-size: 40px 40px; background-position: -19px -19px; }
.btn-primary { box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.3) !important; border: none !important; }
.phone-notch { background: #000000; box-shadow: inset 0 -2px 5px rgba(255,255,255,0.1); }