/* css/style.css */

/* --- 0. PRELOADER --- */
#preloader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: #050505; z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.5s ease;
}
.loader {
    width: 40px; height: 40px; 
    border: 3px solid rgba(138, 43, 226, 0.3); 
    border-radius: 50%; border-top-color: #8A2BE2;
    animation: spin 1s ease-in-out infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* --- 1. CORE VARIABLES --- */
:root {
    --purple: #8A2BE2;
    --pink: #FF007F;
    --orange: #FF8C00;
    --bg: #050505;
    --card-bg: #0f0f0f;
    --text: #ffffff;
    --text-muted: #a0a0a0;
    --border: 1px solid rgba(255,255,255,0.1);
    --grad-main: linear-gradient(135deg, var(--purple), var(--pink));
    --grad-text: linear-gradient(90deg, #fff, #ff7eb3);
    --font-head: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

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

/* --- 2. ANIMATED BACKGROUND --- */
.ambient-bg {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh; z-index: -1; pointer-events: none;
    overflow: hidden;
}
.blob {
    position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.15;
    animation: float 10s infinite ease-in-out alternate;
}
.blob-1 { width: 600px; height: 600px; background: var(--purple); top: -200px; left: -200px; }
.blob-2 { width: 500px; height: 500px; background: var(--pink); bottom: -100px; right: -100px; animation-delay: -5s; }
.blob-3 { width: 300px; height: 300px; background: var(--orange); top: 40%; left: 30%; opacity: 0.08; animation-delay: -2s; }

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 30px) scale(1.1); }
}

/* --- 3. LAYOUT UTILITIES --- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
section { padding: 100px 0; }
h1, h2, h3, h4 { font-family: var(--font-head); color: white; line-height: 1.1; }
p { color: var(--text-muted); font-size: 1rem; }
.text-center { text-align: center; }
.gradient-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* --- 4. NAVBAR --- */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    padding: 20px 0; background: rgba(5,5,5,0.9);
    backdrop-filter: blur(12px); border-bottom: var(--border);
}
.nav-content { display: flex; justify-content: space-between; align-items: center; }
.logo-img { height: 90px; width: auto; display: block; }
.nav-links { display: flex; gap: 40px; list-style: none; align-items: center; }
.nav-links a { color: white; text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: 0.3s; }
.nav-links a:hover { color: var(--pink); }
.btn-nav { background: var(--purple); padding: 12px 28px; border-radius: 50px; font-weight: 700; transition: 0.3s; }
.btn-nav:hover { background: var(--pink); box-shadow: 0 0 20px rgba(255,0,127,0.4); }

/* --- 5. HERO --- */
.hero { padding-top: 180px; padding-bottom: 100px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.badge {
    display: inline-block; padding: 8px 20px;
    border: 1px solid rgba(255, 140, 0, 0.3); background: rgba(255, 140, 0, 0.1);
    border-radius: 50px; color: var(--orange); margin-bottom: 30px; font-weight: 600; letter-spacing: 1px; font-size: 0.85rem; text-transform: uppercase;
}
.hero h1 { font-size: clamp(3rem, 6vw, 5.5rem); font-weight: 800; margin-bottom: 24px; }
.hero p { font-size: 1.25rem; max-width: 600px; margin: 0 auto 40px; }
.btn-group { display: flex; gap: 20px; justify-content: center; margin-bottom: 25px; }
.btn-primary { background: var(--grad-main); color: white; padding: 18px 40px; border-radius: 50px; text-decoration: none; font-weight: 700; font-size: 1.1rem; box-shadow: 0 10px 30px rgba(138, 43, 226, 0.3); transition: 0.3s; }
.btn-primary:hover { transform: translateY(-3px); }
.btn-outline { border: 1px solid rgba(255,255,255,0.3); color: white; padding: 18px 40px; border-radius: 50px; text-decoration: none; font-weight: 700; font-size: 1.1rem; transition: 0.3s; }
.btn-outline:hover { border-color: white; background: rgba(255,255,255,0.05); }

/* Hero Trial Glimpse */
.hero-trial-link {
    color: #ccc; text-decoration: none; font-size: 0.95rem; 
    border-bottom: 1px dashed rgba(255,255,255,0.3); padding-bottom: 2px;
    transition: 0.3s; display: inline-flex; align-items: center; gap: 8px;
}
.hero-trial-link:hover { color: var(--orange); border-color: var(--orange); }
.hero-trial-link i { color: var(--orange); animation: pulse 1.5s infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.2); opacity: 0.8; } 100% { transform: scale(1); opacity: 1; } }


/* --- 6. MARQUEE --- */
.marquee-wrap { background: var(--purple); padding: 20px 0; transform: rotate(-2deg); width: 102%; margin-left: -1%; border-top: 2px solid white; border-bottom: 2px solid white; margin-bottom: 80px; }
.marquee-content { white-space: nowrap; overflow: hidden; font-weight: 800; font-size: 1.2rem; font-family: var(--font-head); }

/* --- 7. PROCESS GRID --- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 60px; }
.process-card { background: var(--card-bg); border: var(--border); padding: 30px; border-radius: 20px; position: relative; transition: 0.3s; }
.process-card:hover { transform: translateY(-10px); border-color: var(--purple); }
.step-num { font-size: 3rem; font-weight: 800; opacity: 0.1; position: absolute; top: 20px; right: 20px; }
.icon-box { width: 50px; height: 50px; background: rgba(255,255,255,0.05); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--orange); margin-bottom: 20px; }
.process-card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.process-card p { font-size: 0.9rem; line-height: 1.5; }

/* --- 8. PORTFOLIO --- */
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; }
.portfolio-item { height: 450px; border-radius: 24px; overflow: hidden; position: relative; background-size: cover; background-position: center; cursor: pointer; }
.portfolio-overlay { position: absolute; bottom: 0; left: 0; width: 100%; padding: 40px; background: linear-gradient(to top, black, transparent); }

/* --- 9. PRICING & TOGGLE --- */
.pricing-toggle { display: flex; justify-content: center; gap: 10px; margin: 40px 0 60px; background: #111; padding: 5px; border-radius: 50px; border: 1px solid #333; display: inline-flex; }
.toggle-btn { background: transparent; color: #aaa; border: none; padding: 10px 25px; border-radius: 40px; cursor: pointer; font-weight: 600; transition: 0.3s; font-family: var(--font-body); white-space: nowrap; }
.toggle-btn.active { background: var(--purple); color: white; box-shadow: 0 0 15px rgba(138, 43, 226, 0.4); }
.toggle-btn:hover:not(.active) { color: white; }
.badge-save { background: #25D366; color: black; font-size: 0.7rem; padding: 2px 6px; border-radius: 4px; margin-left: 5px; font-weight: 800; vertical-align: middle; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: flex-start; margin-bottom: 60px; }
.pricing-card { background: var(--card-bg); border: var(--border); padding: 40px; border-radius: 24px; position: relative; }
.pricing-card.popular { background: #121212; border: 1px solid var(--purple); transform: scale(1.05); z-index: 2; box-shadow: 0 0 50px rgba(138,43,226,0.1); }

.price { font-size: 3.5rem; font-weight: 800; margin: 20px 0; letter-spacing: -1px; }
.price span { font-size: 1rem; color: var(--text-muted); font-weight: 400; }
.billed-text { display: block; font-size: 0.9rem; color: #666; margin-top: -15px; margin-bottom: 20px; font-weight: 500; }

.features-list { list-style: none; margin: 30px 0; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; }
.features-list li { margin-bottom: 15px; color: #ccc; display: flex; gap: 10px; font-size: 0.9rem; align-items: flex-start; }
.features-list li i { color: var(--purple); margin-top: 4px; flex-shrink: 0; }

.btn-full { display: block; width: 100%; text-align: center; padding: 16px; border-radius: 12px; font-weight: 700; text-decoration: none; color: white; background: rgba(255,255,255,0.1); transition: 0.3s; }
.btn-pop { background: var(--purple); }
.btn-full:hover { background: white; color: black; }
.btn-pop:hover { background: var(--pink); color: white; }

/* --- REDESIGNED TRIAL OFFER CARD --- */
.trial-section { max-width: 850px; margin: 0 auto; }

.trial-header-text { 
    display: block; text-align: center; color: var(--text-muted); 
    text-transform: uppercase; font-size: 0.85rem; letter-spacing: 2px; margin-bottom: 15px; font-weight: 600;
}

.trial-card {
    background: rgba(255, 255, 255, 0.03); /* Glass Effect */
    border: 1px solid rgba(138, 43, 226, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 35px 40px;
    display: flex; align-items: center; justify-content: space-between;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.trial-card:hover { transform: translateY(-3px); border-color: var(--purple); }

/* Decorative Glow inside card */
.trial-card::before {
    content: ''; position: absolute; top: -50px; right: -50px;
    width: 150px; height: 150px; background: var(--purple);
    filter: blur(80px); opacity: 0.3; pointer-events: none;
}

.trial-info { max-width: 60%; }

.trial-title { 
    font-size: 1.6rem; font-weight: 800; color: white; margin-bottom: 8px; 
    display: flex; align-items: center; gap: 10px; font-family: var(--font-head);
}
.trial-title i { color: var(--orange); }

.trial-desc { font-size: 1rem; color: #ccc; line-height: 1.5; margin: 0; }
.trial-validity { display: block; font-size: 0.85rem; color: var(--text-muted); margin-top: 5px; }

.trial-action { 
    display: flex; align-items: center; gap: 25px; 
    background: rgba(0,0,0,0.3); padding: 15px 25px; border-radius: 50px; border: 1px solid rgba(255,255,255,0.05);
}

.trial-price-box { text-align: right; line-height: 1.1; }
.old-price { display: block; font-size: 0.9rem; color: #666; text-decoration: line-through; }
.new-price { font-size: 1.5rem; font-weight: 800; color: white; display: block; }

.btn-trial {
    background: var(--grad-main); color: white; padding: 12px 28px;
    border-radius: 50px; text-decoration: none; font-weight: 700; font-size: 0.95rem;
    transition: 0.3s; display: flex; align-items: center; gap: 8px;
}
.btn-trial:hover { box-shadow: 0 0 20px rgba(255,0,127,0.4); transform: scale(1.02); }

.trial-badge {
    position: absolute; top: 0; right: 0;
    background: var(--orange); color: black; font-weight: 800;
    font-size: 0.7rem; padding: 6px 15px;
    border-bottom-left-radius: 15px;
}

.payment-note {
    text-align: center; margin-top: 40px; color: #666; font-size: 0.9rem; background: #0f0f0f; display: inline-block; padding: 10px 20px; border-radius: 50px; border: 1px solid #222;
}

/* --- 10. FORM SECTION --- */
.contact-container { max-width: 600px; margin: 0 auto; background: #111; border: var(--border); padding: 50px; border-radius: 30px; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; margin-bottom: 8px; font-size: 0.9rem; color: var(--text-muted); }
input, select { width: 100%; padding: 18px; background: #080808; border: 1px solid #333; color: white; border-radius: 12px; font-size: 1rem; font-family: var(--font-body); outline: none; transition: 0.3s; }
input:focus, select:focus { border-color: var(--purple); box-shadow: 0 0 15px rgba(138, 43, 226, 0.2); }
.wa-block { background: #25D366; color: white; padding: 15px; border-radius: 12px; display: flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; font-weight: 700; margin-bottom: 30px; }

/* --- 11. FAQ SECTION --- */
.faq-container { max-width: 800px; margin: 60px auto 0; }
.faq-item { background: var(--card-bg); border: var(--border); margin-bottom: 15px; border-radius: 12px; overflow: hidden; }
.faq-question { padding: 20px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 600; }
.faq-question:hover { background: rgba(255,255,255,0.02); }
.faq-answer { max-height: 0; overflow: hidden; transition: 0.3s ease; padding: 0 20px; color: var(--text-muted); font-size: 0.95rem; }
.faq-item.active .faq-answer { max-height: 200px; padding-bottom: 20px; }
.faq-icon { transition: 0.3s; }
.faq-item.active .faq-icon { transform: rotate(180deg); }

/* --- 12. FOOTER --- */
footer { background: #000; border-top: var(--border); padding: 80px 0 40px; margin-top: 100px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.footer-col h4 { font-size: 1.2rem; margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: var(--text-muted); text-decoration: none; transition: 0.3s; }
.footer-col a:hover { color: white; }
.footer-bottom { text-align: center; border-top: var(--border); padding-top: 30px; color: #555; font-size: 0.9rem; }

/* FOOTER LOGO: 100px height, 5px margin */
.footer-logo { height: 100px; width: auto; margin-bottom: 5px; }

/* --- MOBILE RESPONSIVE --- */
.hamburger { display: none; cursor: pointer; color: white; font-size: 1.5rem; }
.mobile-menu { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: #000; z-index: 2000; flex-direction: column; align-items: center; justify-content: center; gap: 30px; }
.mobile-menu.active { display: flex; }
.mobile-menu a { color: white; font-size: 1.5rem; text-decoration: none; font-weight: 700; }
.close-btn { position: absolute; top: 20px; right: 20px; font-size: 2rem; color: white; cursor: pointer; }

@media (max-width: 992px) {
    .logo-img { height: 60px; }
    .nav-links, .btn-nav { display: none; }
    .hamburger { display: block; }
    .hero h1 { font-size: 3rem; }
    .process-grid { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; gap: 50px; }
    .pricing-card.popular { transform: scale(1); }
    .pricing-toggle { flex-direction: column; width: 100%; border-radius: 20px; }
    .toggle-btn { width: 100%; border-radius: 15px; }
    
    /* Trial Card Mobile */
    .trial-card { flex-direction: column; text-align: center; padding: 30px; gap: 20px; }
    .trial-info { max-width: 100%; }
    .trial-title { justify-content: center; }
    .trial-action { width: 100%; justify-content: space-between; }
    
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .btn-group { flex-direction: column; width: 100%; }
    .btn-primary, .btn-outline { width: 100%; text-align: center; }
    .footer-logo { margin: 0 auto 5px; } /* Mobile center with 5px margin */
}