/* ============================================
   Liammy Tec Solutions - ISP Premium
   ============================================ */

:root {
    --primary: #2563EB;
    --primary-dark: #1D4ED8;
    --primary-light: #3B82F6;
    --cyan: #06B6D4;
    --cyan-light: #22D3EE;
    --bg-body: #0B1121;
    --bg-card: #111827;
    --bg-card-hover: #1A2332;
    --bg-section: #0E1525;
    --text-white: #FFFFFF;
    --text-gray: #9CA3AF;
    --text-muted: #6B7280;
    --border-color: rgba(59,130,246,0.12);
    --border-hover: rgba(59,130,246,0.3);
    --gradient-blue: linear-gradient(135deg, var(--primary), var(--cyan));
    --shadow-card: 0 4px 20px rgba(0,0,0,0.25);
    --shadow-glow: 0 0 30px rgba(37,99,235,0.15);
    --radius: 16px;
    --radius-sm: 12px;
    --transition: 0.3s ease;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --max-width: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); background: var(--bg-body); color: var(--text-gray); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--cyan); }
ul { list-style: none; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; position: relative; }
.text-accent { color: var(--cyan); }
.section-header { text-align: center; margin-bottom: 50px; }
.section-title { font-size: 2.2rem; font-weight: 800; color: var(--text-white); margin-bottom: 14px; }
.section-divider { width: 60px; height: 3px; background: var(--primary); margin: 0 auto; border-radius: 2px; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 32px; border-radius: var(--radius-sm); font-family: var(--font);
    font-size: 0.95rem; font-weight: 700; border: none; cursor: pointer;
    transition: all var(--transition); text-decoration: none; letter-spacing: 0.5px;
}
.btn-primary { background: var(--gradient-blue); color: #fff; box-shadow: 0 4px 15px rgba(37,99,235,0.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(37,99,235,0.4); color: #fff; }
.btn-outline { background: transparent; color: var(--text-white); border: 2px solid rgba(255,255,255,0.25); }
.btn-outline:hover { border-color: var(--primary-light); color: var(--primary-light); }
.btn-outline-light { background: rgba(255,255,255,0.06); color: var(--text-white); border: 2px solid rgba(255,255,255,0.2); backdrop-filter: blur(4px); }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.4); color: #fff; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ---- NAVBAR ---- */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 12px 0; transition: all var(--transition); background: transparent; }
.navbar.scrolled { background: rgba(11,17,33,0.96); backdrop-filter: blur(20px); padding: 8px 0; border-bottom: 1px solid var(--border-color); }
.navbar-content { display: flex; align-items: center; justify-content: space-between; }
.navbar-brand { display: flex; align-items: center; }
.brand-logo { height: 52px; width: auto; }
.brand-text { color: var(--text-white); font-weight: 800; font-size: 1.3rem; }
.navbar-menu { display: flex; align-items: center; gap: 8px; }
.navbar-menu a { padding: 8px 20px; color: var(--text-gray); font-size: 0.95rem; font-weight: 500; border-radius: 8px; transition: all var(--transition); }
.navbar-menu a:hover, .navbar-menu a.active { color: var(--text-white); }
.navbar-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; z-index: 1002; }
.navbar-toggle span { width: 24px; height: 2px; background: var(--text-white); border-radius: 2px; transition: all var(--transition); transform-origin: center; }
.navbar-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar-toggle.active span:nth-child(2) { opacity: 0; }
.navbar-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 999; backdrop-filter: blur(4px); }
.nav-overlay.active { display: block; }
body.menu-open { overflow: hidden; }

/* ---- HERO SLIDER ---- */
.hero { position: relative; min-height: 600px; max-height: 80vh; display: flex; align-items: center; overflow: hidden; }
.hero-slider { position: absolute; inset: 0; z-index: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; z-index: 1; }
.hero-dots { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; gap: 10px; }
.hero-dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.5); background: transparent; cursor: pointer; transition: all var(--transition); padding: 0; }
.hero-dot.active, .hero-dot:hover { background: var(--cyan); border-color: var(--cyan); }
.hero-content { position: relative; z-index: 3; display: flex; align-items: center; justify-content: center; padding-top: 80px; width: 100%; }
.hero-text { flex: 1; text-align: center; max-width: 700px; margin: 0 auto; }
.hero-icon { margin-bottom: 28px; }
.hero-icon svg { width: 68px; height: 68px; color: var(--cyan-light); margin: 0 auto; filter: drop-shadow(0 0 20px rgba(6,182,212,0.3)); }
.hero-title { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 900; color: var(--text-white); line-height: 1.15; margin-bottom: 18px; text-transform: uppercase; letter-spacing: 2px; }
.hero-title .text-accent { background: var(--gradient-blue); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-subtitle { font-size: 1.1rem; color: var(--text-gray); margin-bottom: 36px; letter-spacing: 0.3px; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---- FEATURES ---- */
.features-section { background: var(--bg-section); padding: 60px 0; }
.features-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; max-width: 1200px; margin: 0 auto; }
.feature-card { display: flex; align-items: flex-start; gap: 16px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-sm); padding: 24px 20px; transition: all var(--transition); flex: 0 1 calc(25% - 15px); min-width: 260px; }
.feature-card:hover { border-color: var(--border-hover); transform: translateY(-3px); }
.feature-icon { width: 44px; height: 44px; min-width: 44px; border-radius: 10px; background: rgba(37,99,235,0.1); display: flex; align-items: center; justify-content: center; color: var(--cyan); }
.feature-icon svg { width: 22px; height: 22px; }
.feature-text h3 { color: var(--text-white); font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.feature-text p { font-size: 0.85rem; line-height: 1.5; color: var(--text-gray); }

/* ---- PLANS ---- */
.plans-section { background: var(--bg-body); }
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 32px; }
.plan-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius); padding: 32px 24px; transition: all var(--transition); position: relative; overflow: hidden; }
.plan-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-glow); border-color: var(--border-hover); }
.plan-highlighted { border-color: var(--primary); box-shadow: 0 0 35px rgba(37,99,235,0.2); }
.plan-highlighted .pf-check { color: var(--cyan-light); }

/* Enterprise */
.plans-grid-enterprise { margin-top: 8px; }
.plan-enterprise { background: linear-gradient(160deg, rgba(37,99,235,0.08) 0%, rgba(6,182,212,0.04) 100%); border-color: rgba(37,99,235,0.3); }
.plan-enterprise:hover { border-color: rgba(37,99,235,0.5); box-shadow: 0 0 40px rgba(37,99,235,0.2); }
.plan-badge-enterprise { position: absolute; top: 14px; right: 14px; background: rgba(37,99,235,0.12); border: 1px solid rgba(37,99,235,0.3); color: var(--cyan-light); font-size: 0.72rem; font-weight: 700; padding: 4px 12px; border-radius: 6px; text-transform: uppercase; letter-spacing: 0.5px; }

.plan-header { margin-bottom: 20px; }
.plan-speed { color: var(--text-gray); font-size: 0.95rem; margin-bottom: 8px; }
.plan-speed strong { color: var(--text-white); font-size: 1.8rem; font-weight: 800; }
.plan-price { display: flex; align-items: baseline; gap: 2px; }
.price-label { font-size: 1rem; color: var(--text-white); font-weight: 700; }
.price-amount { font-size: 2.5rem; font-weight: 900; color: var(--text-white); line-height: 1; }
.price-period { font-size: 0.88rem; color: var(--text-muted); }
.plan-features { margin-bottom: 24px; }
.plan-features li { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 0.88rem; color: var(--text-gray); }
.pf-check { width: 18px; height: 18px; color: var(--cyan); flex-shrink: 0; }
.pf-check svg { width: 100%; height: 100%; }
.plan-btn { text-transform: uppercase; letter-spacing: 1px; font-size: 0.85rem; }
.plans-tagline { text-align: center; color: var(--cyan); font-size: 1.1rem; font-style: italic; font-weight: 500; padding-top: 20px; }

/* ---- NETWORK ---- */
.network-section { position: relative; overflow: hidden; text-align: center; }
.network-bg { position: absolute; inset: 0; z-index: 0; }
.network-bg img { width: 100%; height: 100%; object-fit: cover; }
.network-overlay { position: absolute; inset: 0; background: rgba(11,17,33,0.78); }
.network-content { position: relative; z-index: 2; }
.network-content .section-title { margin-bottom: 16px; }
.network-desc { max-width: 700px; margin: 0 auto 48px; font-size: 1rem; line-height: 1.7; }
.network-stats { display: flex; justify-content: center; gap: 80px; }
.stat-item { text-align: center; }
.stat-value { font-size: 2.5rem; font-weight: 900; background: var(--gradient-blue); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1.2; }
.stat-label { font-size: 0.95rem; color: var(--text-gray); margin-top: 6px; }

/* ---- ABOUT ---- */
.about-section { background: var(--bg-body); }
.about-grid-full { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.about-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius); padding: 32px 24px; text-align: center; transition: all var(--transition); }
.about-card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: var(--shadow-glow); }
.about-card h3 { color: var(--text-white); font-size: 1.1rem; font-weight: 800; margin-bottom: 14px; }
.about-card p { font-size: 0.9rem; line-height: 1.7; }

/* ---- CONTACT ---- */
.contact-section { background: var(--bg-section); }
.contact-cards { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; }
.contact-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius); padding: 40px 32px; text-align: center; min-width: 220px; max-width: 280px; flex: 1; transition: all var(--transition); }
.contact-card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: var(--shadow-glow); }
.contact-card-icon { margin-bottom: 18px; }
.contact-card-icon svg { width: 42px; height: 42px; color: var(--primary-light); margin: 0 auto; }
.contact-card h4 { color: var(--text-white); font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.contact-card p { font-size: 0.9rem; color: var(--text-gray); }

/* ---- FOOTER ---- */
.footer { background: var(--bg-card); border-top: 1px solid var(--border-color); }
.footer-top { padding: 64px 0 48px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-col-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-logo { height: 44px; width: auto; max-width: 180px; object-fit: contain; }
.footer-brand-text { color: var(--text-white); font-weight: 800; font-size: 1.3rem; }
.footer-desc { font-size: 0.9rem; color: var(--text-gray); line-height: 1.6; }
.footer-socials { display: flex; gap: 12px; margin-top: 4px; }
.footer-socials a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.06); border: 1px solid var(--border-color); display: flex; align-items: center; justify-content: center; color: var(--text-gray); transition: all var(--transition); }
.footer-socials a:hover { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateY(-2px); }
.footer-socials svg { width: 18px; height: 18px; }
.footer-col-title { color: var(--text-white); font-size: 1rem; font-weight: 700; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer-col-title::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: var(--primary); border-radius: 2px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--text-gray); font-size: 0.9rem; transition: all var(--transition); display: inline-flex; align-items: center; gap: 6px; }
.footer-links a:hover { color: var(--cyan-light); padding-left: 4px; }
.footer-contact { display: flex; flex-direction: column; gap: 14px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.88rem; color: var(--text-gray); }
.footer-contact svg { width: 18px; height: 18px; min-width: 18px; color: var(--primary-light); margin-top: 2px; }
.footer-contact a { color: var(--text-gray); }
.footer-contact a:hover { color: var(--cyan-light); }
.footer-bottom { border-top: 1px solid var(--border-color); padding: 20px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; }
.footer-copy { font-size: 0.82rem; color: var(--text-muted); }
.footer-dev { font-size: 0.82rem; }
.footer-dev a { color: var(--cyan); }
.footer-dev a:hover { color: var(--text-white); }
.footer-grid-3 { grid-template-columns: 1.4fr 1fr 1.2fr; }

/* ---- WHATSAPP FLOAT ---- */
.whatsapp-float { position: fixed; bottom: 24px; right: 24px; width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; z-index: 999; box-shadow: 0 4px 20px rgba(37,211,102,0.4); transition: all var(--transition); }
.whatsapp-float:hover { transform: scale(1.1); color: #fff; box-shadow: 0 6px 30px rgba(37,211,102,0.5); }
.whatsapp-float svg { width: 30px; height: 30px; }

/* ---- ANIMATIONS ---- */
[data-animate] { opacity: 0; transform: translateY(25px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-animate].animated { opacity: 1; transform: translateY(0); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
    .feature-card { flex: 0 1 calc(50% - 10px); }
    .plans-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid-full { grid-template-columns: repeat(2, 1fr); }
    .network-stats { gap: 48px; }
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
    .footer-grid-3 { grid-template-columns: 1.3fr 1fr 1.2fr; }
}

/* ---- MOBILE (≤ 768px) ---- */
@media (max-width: 768px) {
    .section { padding: 60px 0; }
    .section-title { font-size: 1.8rem; }

    /* Navbar */
    .navbar-toggle { display: flex; }
    .navbar-menu {
        position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
        background: rgba(11,17,33,0.98); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
        flex-direction: column; padding: 80px 20px 32px; align-items: stretch;
        gap: 4px; transition: right var(--transition);
        border-left: 1px solid var(--border-color); box-shadow: -10px 0 40px rgba(0,0,0,0.4);
        z-index: 1001; overflow-y: auto;
    }
    .navbar-menu.open { right: 0; }
    .navbar-menu a { padding: 14px 16px; font-size: 1rem; border-radius: 10px; }
    .navbar-menu a:hover, .navbar-menu a.active { background: rgba(37,99,235,0.1); color: var(--text-white); }

    /* Hero */
    .hero { min-height: auto; max-height: none; padding: 100px 0 64px; }
    .hero-content { flex-direction: column; }
    .hero-icon svg { width: 52px; height: 52px; }
    .hero-title { font-size: clamp(1.7rem, 6.5vw, 2.4rem); letter-spacing: 1px; }
    .hero-subtitle { font-size: 0.95rem; }
    .hero-buttons { gap: 12px; }
    .hero-buttons .btn { flex: 1 1 140px; }

    /* Features */
    .features-section { padding: 50px 0; }
    .feature-card { flex: 0 1 100%; min-width: 0; }

    /* Plans */
    .plans-grid { grid-template-columns: 1fr; gap: 16px; }
    .plan-card { padding: 24px 20px; }

    /* Network */
    .network-stats { flex-direction: column; gap: 24px; }
    .network-desc { margin-bottom: 32px; }

    /* About */
    .about-grid-full { grid-template-columns: 1fr 1fr; gap: 16px; }
    .about-card { padding: 24px 16px; }

    /* Contact */
    .contact-cards { flex-direction: column; align-items: center; }
    .contact-card { max-width: 100%; width: 100%; padding: 28px 20px; }

    /* Footer */
    .footer-top { padding: 48px 0 36px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid-3 { grid-template-columns: 1fr 1fr; }
    .footer-bottom-inner { flex-direction: column; gap: 8px; text-align: center; }
    .footer-col-title::after { left: 50%; transform: translateX(-50%); }
}

/* ---- SMALL MOBILE (≤ 480px) ---- */
@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .section { padding: 48px 0; }
    .section-title { font-size: 1.55rem; }

    /* Hero */
    .hero { padding: 88px 0 56px; }
    .hero-icon { margin-bottom: 20px; }
    .hero-icon svg { width: 44px; height: 44px; }
    .hero-title { font-size: 1.65rem; letter-spacing: 0.5px; }
    .hero-subtitle { font-size: 0.9rem; margin-bottom: 28px; }
    .hero-buttons { flex-direction: column; align-items: stretch; gap: 10px; }
    .hero-buttons .btn { width: 100%; flex: none; padding: 15px 20px; }

    /* Navbar brand */
    .brand-logo { height: 40px; }

    /* Plans */
    .plan-card { padding: 20px 16px; }
    .price-amount { font-size: 2rem; }
    .plan-speed strong { font-size: 1.6rem; }

    /* Network */
    .stat-value { font-size: 2rem; }

    /* About */
    .about-grid-full { grid-template-columns: 1fr; }

    /* Contact */
    .contact-card { padding: 24px 16px; }

    /* Features */
    .features-section { padding: 40px 0; }

    /* Footer */
    .footer-top { padding: 40px 0 28px; }
    .footer-grid, .footer-grid-3 { grid-template-columns: 1fr; }
    .footer-col-brand { align-items: center; text-align: center; }
    .footer-socials { justify-content: center; }
    .footer-col { text-align: center; }
    .footer-col-title::after { left: 50%; transform: translateX(-50%); }
    .footer-contact li { justify-content: center; }
    .footer-links { align-items: center; }
}

/* ---- EXTRA SMALL (≤ 375px) ---- */
@media (max-width: 375px) {
    .container { padding: 0 14px; }
    .hero-title { font-size: 1.45rem; }
    .hero-subtitle { font-size: 0.85rem; }
    .section-title { font-size: 1.35rem; }
    .plan-speed strong { font-size: 1.45rem; }
    .price-amount { font-size: 1.8rem; }
    .stat-value { font-size: 1.8rem; }
    .navbar-menu { width: 100%; border-left: none; }
    .btn { padding: 13px 18px; font-size: 0.9rem; }
    .plan-card { padding: 18px 14px; }
    .about-card { padding: 20px 14px; }
}

/* ---- PLAN CONTRACT MODAL ---- */
.plan-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 24px 16px;
}
.plan-modal-overlay.open {
    display: flex;
    align-items: center;
    justify-content: center;
}
.plan-modal {
    position: relative;
    width: 100%;
    max-width: 560px;
    background: var(--bg-card);
    border: 1px solid rgba(37,99,235,0.28);
    border-radius: 24px;
    box-shadow: 0 24px 80px rgba(0,0,0,0.65), 0 0 0 1px rgba(37,99,235,0.07), inset 0 1px 0 rgba(255,255,255,0.04);
    overflow: hidden;
    animation: pmIn 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes pmIn {
    from { opacity: 0; transform: scale(0.9) translateY(16px); }
    to   { opacity: 1; transform: scale(1)   translateY(0); }
}

/* Close button */
.plan-modal-close {
    position: absolute; top: 14px; right: 14px;
    width: 34px; height: 34px; border-radius: 50%;
    background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
    color: var(--text-gray); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all var(--transition); z-index: 2;
}
.plan-modal-close:hover { background: rgba(255,255,255,0.14); color: var(--text-white); border-color: rgba(255,255,255,0.22); }
.plan-modal-close svg { width: 18px; height: 18px; }

/* Header */
.plan-modal-header {
    padding: 36px 32px 24px; text-align: center;
    background: linear-gradient(160deg, rgba(37,99,235,0.09) 0%, rgba(6,182,212,0.04) 55%, transparent 100%);
    border-bottom: 1px solid var(--border-color); position: relative; overflow: hidden;
}
.plan-modal-header::before {
    content: ''; position: absolute; top: -70px; left: 50%; transform: translateX(-50%);
    width: 240px; height: 240px;
    background: radial-gradient(circle, rgba(37,99,235,0.09) 0%, transparent 70%);
    pointer-events: none;
}
.plan-modal-icon {
    width: 64px; height: 64px; margin: 0 auto 16px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(37,99,235,0.2), rgba(6,182,212,0.1));
    border: 1px solid rgba(37,99,235,0.25);
    display: flex; align-items: center; justify-content: center;
    color: var(--cyan); box-shadow: 0 8px 24px rgba(37,99,235,0.18);
}
.plan-modal-icon svg { width: 28px; height: 28px; }
.plan-modal-title {
    color: var(--text-white); font-size: 1.5rem; font-weight: 800;
    margin-bottom: 6px; letter-spacing: -0.3px;
}
.plan-modal-subtitle {
    color: var(--text-gray); font-size: 0.88rem; margin-bottom: 16px; line-height: 1.5;
}
.plan-modal-badge {
    display: none; align-items: center; gap: 8px;
    background: linear-gradient(135deg, rgba(37,99,235,0.14), rgba(6,182,212,0.07));
    border: 1px solid rgba(37,99,235,0.28);
    color: var(--cyan-light); font-size: 0.82rem; font-weight: 700;
    padding: 7px 18px; border-radius: 30px;
    width: fit-content; margin: 0 auto; letter-spacing: 0.3px;
}
.plan-modal-badge.visible { display: inline-flex; }

/* Form */
.plan-modal-form { padding: 28px 32px 32px; }
.pmf-row { margin-bottom: 16px; }
.pmf-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pmf-group { display: flex; flex-direction: column; gap: 6px; }
.pmf-group label { color: var(--text-white); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.2px; }
.pmf-req { color: #f87171; margin-left: 1px; }
.pmf-opt { color: var(--text-muted); font-weight: 400; font-size: 0.78rem; }
.pmf-group input {
    width: 100%; background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-color); border-radius: 10px;
    padding: 11px 14px; color: var(--text-white); font-family: var(--font);
    font-size: 0.92rem; outline: none; -webkit-appearance: none; appearance: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.pmf-group input:focus {
    border-color: var(--primary-light); background: rgba(37,99,235,0.05);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.13);
}
.pmf-group input::placeholder { color: var(--text-muted); font-size: 0.85rem; }
.pmf-group input.pmf-error { border-color: #f87171; box-shadow: 0 0 0 3px rgba(248,113,113,0.1); }

/* Actions */
.plan-modal-actions { margin-top: 22px; }
.pmf-note {
    display: flex; align-items: flex-start; gap: 7px;
    color: var(--text-muted); font-size: 0.76rem; margin-bottom: 14px; line-height: 1.5;
}
.pmf-note svg { min-width: 14px; color: var(--cyan); margin-top: 2px; }
.plan-modal-submit {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; padding: 15px 24px; font-size: 0.98rem; font-weight: 700;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #fff; border: none; border-radius: var(--radius-sm);
    box-shadow: 0 6px 20px rgba(37,211,102,0.28); cursor: pointer;
    font-family: var(--font); transition: all var(--transition); letter-spacing: 0.4px;
}
.plan-modal-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(37,211,102,0.38); color: #fff; }
.plan-modal-submit:active { transform: translateY(0); }
.plan-modal-submit svg { width: 20px; height: 20px; flex-shrink: 0; }

/* Mobile modal — full screen sheet */
@media (max-width: 600px) {
    .plan-modal-overlay { padding: 0; align-items: flex-end; }
    .plan-modal {
        max-width: 100%; border-radius: 22px 22px 0 0; border-bottom: none;
        animation: pmInSheet 0.32s ease;
    }
    @keyframes pmInSheet {
        from { opacity: 0; transform: translateY(100%); }
        to   { opacity: 1; transform: translateY(0); }
    }
    .plan-modal-header { padding: 28px 20px 20px; }
    .plan-modal-form { padding: 20px 20px 40px; }
    .pmf-row-2 { grid-template-columns: 1fr; gap: 16px; }
    .plan-modal-title { font-size: 1.3rem; }
    .plan-modal-icon { width: 52px; height: 52px; border-radius: 14px; }
    .plan-modal-close { top: 14px; right: 14px; }
}

/* ---- PLAN RECOMMENDATION BLOCK ---- */
.plan-modal-recommend {
    margin: 16px 32px 0;
    background: linear-gradient(135deg, rgba(37,99,235,0.06) 0%, rgba(6,182,212,0.03) 100%);
    border: 1px solid rgba(37,99,235,0.18);
    border-radius: 12px;
    overflow: hidden;
}
.pmr-header {
    display: flex; align-items: center; gap: 6px;
    padding: 7px 13px 6px;
    border-bottom: 1px solid rgba(37,99,235,0.11);
}
.pmr-icon { font-size: 0.95rem; line-height: 1; }
.pmr-tier {
    color: var(--cyan-light); font-size: 0.72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.pmr-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 0;
}
.pmr-item {
    display: flex; align-items: flex-start; gap: 7px;
    padding: 7px 13px;
    border-right: 1px solid rgba(37,99,235,0.09);
    border-bottom: 1px solid rgba(37,99,235,0.09);
}
.pmr-item:nth-child(even) { border-right: none; }
.pmr-item:nth-child(3), .pmr-item:nth-child(4) { border-bottom: none; }
.pmr-item-icon { font-size: 0.85rem; line-height: 1; margin-top: 1px; flex-shrink: 0; }
.pmr-item-label {
    color: var(--text-muted); font-size: 0.62rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.35px; margin-bottom: 1px;
}
.pmr-item-val { color: var(--text-white); font-size: 0.75rem; font-weight: 600; line-height: 1.3; }
.pmr-ideal {
    padding: 6px 13px 8px;
    font-size: 0.73rem; color: var(--text-gray); line-height: 1.4;
    border-top: 1px solid rgba(37,99,235,0.09);
}
.pmr-ideal-label { color: var(--cyan); font-weight: 700; margin-right: 4px; }

@media (max-width: 600px) {
    .plan-modal-recommend { margin: 14px 20px 0; }
    .pmr-grid { grid-template-columns: 1fr 1fr; }
    .pmr-item { padding: 6px 11px; }
    .plan-modal-form { padding: 16px 20px 36px; }
}
