/* ==========================================
   TikTok Coins Pakistan - Complete Stylesheet
   Domain: tiktokcoins.pk
   ========================================== */

/* --- CSS Variables --- */
:root {
    --pink: #e8405e;
    --pink-dark: #c4304e;
    --pink-light: #fce4ec;
    --cyan: #25f4ee;
    --cyan-dark: #1dd4ce;
    --cyan-light: #e0fafa;
    --gold: #d4a017;
    --gold-light: #f5d76e;
    --whatsapp: #25d366;
    --whatsapp-dark: #1da851;
    --dark: #1a1a2e;
    --dark-light: #2d2d44;
    --bg: #f8f9fc;
    --bg-card: #ffffff;
    --text: #1a1a2e;
    --text-muted: #6b7280;
    --border: #e5e7eb;
    --shadow: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.1);
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- Utility --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.mt-4 { margin-top: 24px; }
.mt-5 { margin-top: 32px; }
.gradient-text-pink { background: linear-gradient(135deg, var(--pink), var(--cyan)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.gradient-text-gold { background: linear-gradient(135deg, var(--gold), var(--gold-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.gradient-text-cyan { background: linear-gradient(135deg, var(--cyan-dark), var(--pink)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.text-gold { color: var(--gold); }
.link-pink { color: var(--pink); font-weight: 600; }
.link-pink:hover { text-decoration: underline; }

/* --- Badges --- */
.badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid;
}
.badge-hero { background: rgba(232,64,94,0.15); color: var(--pink); border-color: rgba(232,64,94,0.3); margin-bottom: 20px; }
.badge-pink { background: rgba(232,64,94,0.08); color: var(--pink); border-color: rgba(232,64,94,0.2); margin-bottom: 16px; }
.badge-cyan { background: rgba(37,244,238,0.08); color: var(--cyan-dark); border-color: rgba(37,244,238,0.2); margin-bottom: 16px; }
.badge-gold { background: rgba(212,160,23,0.08); color: var(--gold); border-color: rgba(212,160,23,0.2); margin-bottom: 16px; }
.badge-whatsapp { background: rgba(37,211,102,0.08); color: var(--whatsapp); border-color: rgba(37,211,102,0.2); margin-bottom: 16px; }

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 14px 28px; font-size: 17px; }
.btn-xl { padding: 18px 40px; font-size: 20px; font-weight: 700; }
.btn-block { width: 100%; }
.btn-pink { background: var(--pink); color: #fff; }
.btn-pink:hover { background: var(--pink-dark); color: #fff; }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: var(--dark-light); color: #fff; }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { background: var(--whatsapp-dark); color: #fff; }
.btn-outline-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.3); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); color: #fff; }
.btn-white { background: #fff; color: var(--pink); }
.btn-white:hover { background: #f0f0f0; color: var(--pink); }
.btn.disabled { opacity: 0.5; pointer-events: none; }

/* --- Pulse Glow Animation --- */
.pulse-glow {
    animation: pulseGlow 2s ease-in-out infinite;
}
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(232,64,94,0.3); }
    50% { box-shadow: 0 0 40px rgba(232,64,94,0.6); }
}

/* --- Navbar --- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow); }
.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo img { border-radius: 10px; }
.logo-text { display: flex; flex-direction: column; }
.logo-title {
    font-size: 18px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--pink), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}
.logo-subtitle { font-size: 11px; color: var(--text-muted); line-height: 1; }
.nav-links { display: flex; gap: 24px; }
.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
}
.nav-links a:hover { color: var(--pink); }
.btn-nav { display: flex; }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.mobile-menu {
    display: none;
    flex-direction: column;
    padding: 16px 20px 20px;
    border-top: 1px solid var(--border);
    background: #fff;
}
.mobile-menu.active { display: flex; }
.mobile-menu a { padding: 10px 0; font-size: 14px; font-weight: 500; color: var(--text-muted); border-bottom: 1px solid var(--border); }
.mobile-menu a:hover { color: var(--pink); }

@media (max-width: 768px) {
    .nav-links, .btn-nav { display: none; }
    .hamburger { display: flex; }
}

/* --- Sections --- */
.section { padding: 80px 0; }
.section-light { background: linear-gradient(to bottom, var(--bg), rgba(248,249,252,0.5)); }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.section-title { font-size: 32px; font-weight: 800; margin-bottom: 16px; line-height: 1.3; }
.section-desc { font-size: 17px; color: var(--text-muted); line-height: 1.7; }

/* --- Hero Section --- */
.hero {
    position: relative;
    padding: 60px 0 80px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--dark), #16163a, var(--dark));
    color: #fff;
}
.hero-bg-shapes { position: absolute; inset: 0; overflow: hidden; opacity: 0.2; pointer-events: none; }
.hero-shape { position: absolute; border-radius: 50%; filter: blur(100px); }
.shape-pink { width: 300px; height: 300px; background: var(--pink); top: 5%; left: 5%; }
.shape-cyan { width: 300px; height: 300px; background: var(--cyan); bottom: 10%; right: 5%; }
.shape-gold { width: 200px; height: 200px; background: var(--gold); top: 30%; right: 20%; }
.hero-content { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hero-title { font-size: 48px; font-weight: 900; line-height: 1.15; margin-bottom: 20px; }
.hero-desc { font-size: 19px; color: rgba(255,255,255,0.7); line-height: 1.7; margin-bottom: 28px; }
.hero-desc strong { color: var(--gold); }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 28px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 20px; }
.hero-badge-item { display: flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255,255,255,0.5); }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot-green { background: #4ade80; animation: blink 2s infinite; }
.dot-gold { background: var(--gold); }
.dot-cyan { background: var(--cyan); }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero-image { position: relative; display: flex; justify-content: center; }
.hero-image img { border-radius: var(--radius-xl); box-shadow: 0 20px 60px rgba(232,64,94,0.2); max-width: 100%; }
.hero-float-badge {
    position: absolute;
    bottom: -16px;
    right: -16px;
    background: var(--gold);
    color: #000;
    font-weight: 700;
    font-size: 17px;
    padding: 12px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    animation: float 3s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Stats */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 60px; }
.stat-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
}
.stat-value { font-size: 28px; font-weight: 800; }
.stat-label { font-size: 13px; color: rgba(255,255,255,0.4); margin-top: 4px; }

/* --- Pricing --- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(232,64,94,0.3); }
.pricing-popular { border-color: var(--pink); box-shadow: 0 8px 30px rgba(232,64,94,0.1); }
.popular-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--pink);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 16px;
    border-bottom-left-radius: var(--radius);
}
.pricing-header { margin-bottom: 8px; }
.pricing-label { font-size: 13px; color: var(--text-muted); font-weight: 500; display: block; margin-bottom: 4px; }
.pricing-coins { font-size: 28px; font-weight: 800; }
.pricing-coins-label { font-size: 16px; font-weight: 400; color: var(--text-muted); }
.pricing-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 16px; }
.pricing-amount { font-size: 36px; font-weight: 900; }
.pricing-total-label { color: var(--text-muted); font-size: 14px; }
.pricing-divider { border: none; border-top: 1px solid var(--border); margin: 0 0 16px; }
.pricing-features { margin-bottom: 20px; flex: 1; }
.pricing-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-muted);
    padding: 6px 0;
}
.pricing-features svg { flex-shrink: 0; }

/* --- Steps --- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    position: relative;
    transition: var(--transition);
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(232,64,94,0.3); }
.step-number {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--pink);
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
}
.step-icon { font-size: 36px; margin: 12px 0 16px; }
.step-title { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.step-desc { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* --- Features --- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(232,64,94,0.3); }
.feature-icon { font-size: 32px; margin-bottom: 16px; }
.feature-title { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature-desc { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* --- Calculator --- */
.section-gradient {
    background: linear-gradient(135deg, var(--pink), var(--cyan));
    color: #fff;
}
.calc-wrapper { max-width: 600px; margin: 0 auto; text-align: center; }
.calc-title { font-size: 36px; font-weight: 800; margin-bottom: 12px; }
.calc-desc { font-size: 17px; color: rgba(255,255,255,0.8); margin-bottom: 32px; }
.calc-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-xl);
    padding: 32px;
    text-align: left;
}
.calc-label { display: block; font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.9); margin-bottom: 8px; }
.calc-input {
    width: 100%;
    padding: 14px 16px;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 18px;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}
.calc-input::placeholder { color: rgba(255,255,255,0.4); }
.calc-input:focus { border-color: rgba(255,255,255,0.5); }
.calc-result { margin: 20px 0; }
.calc-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 15px; color: rgba(255,255,255,0.9); }
.calc-val { font-weight: 700; }
.calc-divider { border-top: 1px solid rgba(255,255,255,0.2); margin: 8px 0; }
.calc-total { font-size: 22px; color: #fff; }
.calc-error { color: #ff9999; font-size: 14px; }

/* --- Testimonials --- */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: var(--transition);
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.testimonial-stars { display: flex; gap: 2px; margin-bottom: 12px; }
.testimonial-name { font-size: 15px; font-weight: 700; }
.testimonial-city { font-size: 12px; color: var(--text-muted); }
.testimonial-text { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-top: 12px; }

/* --- FAQ --- */
.faq-list { max-width: 750px; margin: 0 auto; }
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
}
.faq-question {
    width: 100%;
    text-align: left;
    padding: 18px 20px;
    font-size: 15px;
    font-weight: 600;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-family: inherit;
    color: var(--text);
    transition: var(--transition);
}
.faq-question:hover { color: var(--pink); }
.faq-arrow { transition: transform 0.3s; flex-shrink: 0; }
.faq-item.active .faq-arrow { transform: rotate(180deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.active .faq-answer { max-height: 500px; }
.faq-answer p { padding: 0 20px 20px; font-size: 14px; color: var(--text-muted); line-height: 1.8; }

/* --- Contact --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-whatsapp-card {
    background: linear-gradient(135deg, var(--whatsapp-dark), var(--whatsapp));
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 32px;
}
.contact-wa-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 22px; font-weight: 700; }
.contact-wa-desc { font-size: 15px; color: rgba(255,255,255,0.8); line-height: 1.7; margin-bottom: 16px; }
.contact-wa-number { font-size: 28px; font-weight: 800; margin-bottom: 20px; }
.contact-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
}
.contact-info-title { font-size: 20px; font-weight: 700; margin-bottom: 20px; }
.contact-info-items { display: flex; flex-direction: column; gap: 20px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 12px; }
.contact-info-item strong { font-size: 15px; display: block; margin-bottom: 2px; }
.contact-info-item p { font-size: 14px; color: var(--text-muted); margin: 0; }
.contact-info-icon { padding: 10px; border-radius: 10px; flex-shrink: 0; }
.icon-pink { background: rgba(232,64,94,0.1); color: var(--pink); }
.icon-cyan { background: rgba(37,244,238,0.1); color: var(--cyan-dark); }
.icon-gold { background: rgba(212,160,23,0.1); color: var(--gold); }
.icon-green { background: rgba(34,197,94,0.1); color: #22c55e; }

/* --- CTA Section --- */
.section-cta {
    background: linear-gradient(135deg, var(--pink), var(--cyan));
    color: #fff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.section-cta::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: #fff;
    opacity: 0.05;
    top: -200px;
    left: 20%;
    filter: blur(80px);
}
.section-cta::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: #fff;
    opacity: 0.05;
    bottom: -200px;
    right: 20%;
    filter: blur(80px);
}
.cta-title { font-size: 40px; font-weight: 900; margin-bottom: 20px; position: relative; z-index: 1; }
.cta-desc { font-size: 19px; color: rgba(255,255,255,0.8); max-width: 600px; margin: 0 auto 32px; position: relative; z-index: 1; }

/* --- Footer --- */
.footer {
    background: var(--dark);
    color: #fff;
    padding: 60px 0 30px;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.footer-desc { font-size: 14px; color: #999; line-height: 1.7; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.footer-links a { font-size: 14px; color: #999; transition: var(--transition); }
.footer-links a:hover { color: #fff; }
.footer-contact-item { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #999; }
.footer-contact-item a { color: #999; }
.footer-contact-item a:hover { color: #fff; }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,0.1); margin: 32px 0; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: #666; }

/* --- WhatsApp Float --- */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    background: var(--whatsapp);
    color: #fff;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(37,211,102,0.6); color: #fff; }
.whatsapp-float-tooltip {
    position: absolute;
    right: 68px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    color: #333;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 8px;
    white-space: nowrap;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}
.whatsapp-float:hover .whatsapp-float-tooltip { opacity: 1; }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-image { display: none; }
    .hero-buttons { justify-content: center; }
    .hero-badges { justify-content: center; }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .hero-title { font-size: 32px; }
    .hero-desc { font-size: 16px; }
    .section { padding: 60px 0; }
    .section-title { font-size: 26px; }
    .pricing-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-title { font-size: 28px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-buttons .btn { width: 100%; }
}

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--pink); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--pink-dark); }

/* --- Selection --- */
::selection { background: var(--pink); color: #fff; }
