/* ==========================================================
   Digital Envisioned Ultimate Digital Toolbox
   Brand: Deep Blue #0A2A43 | Teal #1FB8A6 | Slate #4A4F57
   Fonts: Montserrat (headings) + Inter (body)
   Mobile-first, optimized for Moto G Power (412px)
   ========================================================== */

:root {
    --deep-blue: #0A2A43;
    --teal: #1FB8A6;
    --teal-dark: #179e8f;
    --teal-light: #E6F7F5;
    --white: #FFFFFF;
    --slate: #4A4F57;
    --light-bg: #f0f4f8;
    --card-shadow: 0 8px 32px rgba(10, 42, 67, 0.08);
    --card-shadow-hover: 0 16px 48px rgba(10, 42, 67, 0.14);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── RESET ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--slate);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--teal-dark); }
h1,h2,h3,h4,h5,h6 { font-family: 'Montserrat', sans-serif; color: var(--deep-blue); line-height: 1.2; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ─── ADMIN BAR ─────────────────────────────────────────── */
.admin-bar {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff; padding: 8px 0; font-size: 13px;
    position: fixed; top: 0; left: 0; right: 0; z-index: 10000;
}
.admin-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.admin-bar a { color: #fff; padding: 4px 12px; background: rgba(255,255,255,0.15); border-radius: 4px; font-size: 12px; }
.admin-bar a:hover { background: rgba(255,255,255,0.3); }
.admin-bar ~ .main-nav { top: 37px; }

/* ─── NAVIGATION ────────────────────────────────────────── */
.main-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
    background: rgba(10, 42, 67, 0.95); backdrop-filter: blur(20px);
    padding: 12px 0; transition: var(--transition);
}
.main-nav.scrolled { background: rgba(10, 42, 67, 0.98); box-shadow: 0 2px 20px rgba(0,0,0,0.15); }
.main-nav .container { display: flex; justify-content: space-between; align-items: center; }
.nav-brand { display: flex; flex-direction: column; }
.nav-brand .brand-digital { color: #fff; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 20px; }
.nav-brand .brand-envisioned { color: var(--teal); font-family: 'Montserrat', sans-serif; font-weight: 400; font-size: 20px; }
.nav-brand small { color: rgba(255,255,255,0.5); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: var(--transition); }
.nav-links { list-style: none; display: flex; align-items: center; gap: 28px; }
.nav-links a { color: rgba(255,255,255,0.85); font-size: 14px; font-weight: 500; position: relative; }
.nav-links a:hover { color: var(--teal); }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--teal); transition: var(--transition); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
    background: var(--teal) !important; color: #fff !important; padding: 10px 24px !important;
    border-radius: 50px; font-weight: 600 !important;
}
.nav-cta:hover { background: var(--teal-dark) !important; transform: translateY(-1px); }
.nav-cta::after { display: none !important; }

/* ─── HERO SECTION ──────────────────────────────────────── */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    background: linear-gradient(160deg, #0A2A43 0%, #0d3a5c 40%, #0A2A43 100%);
    overflow: hidden; padding: 120px 0 80px;
}
.hero::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 600"><defs><linearGradient id="g" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%231FB8A6;stop-opacity:0.08"/><stop offset="100%" style="stop-color:%230A2A43;stop-opacity:0"/></linearGradient></defs><path fill="url(%23g)" d="M0,200 C360,100 720,300 1440,150 L1440,600 L0,600 Z"/></svg>') no-repeat bottom;
    background-size: cover; opacity: 0.5;
}
.hero-particles {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0; overflow: hidden;
}
.hero-particles span {
    position: absolute; width: 4px; height: 4px; background: rgba(31,184,166,0.3);
    border-radius: 50%; animation: float-up 8s linear infinite;
}
.hero-particles span:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 6s; }
.hero-particles span:nth-child(2) { left: 25%; animation-delay: 1s; animation-duration: 8s; }
.hero-particles span:nth-child(3) { left: 40%; animation-delay: 2s; animation-duration: 7s; }
.hero-particles span:nth-child(4) { left: 55%; animation-delay: 0.5s; animation-duration: 9s; }
.hero-particles span:nth-child(5) { left: 70%; animation-delay: 3s; animation-duration: 6s; }
.hero-particles span:nth-child(6) { left: 85%; animation-delay: 1.5s; animation-duration: 10s; }
.hero-particles span:nth-child(7) { left: 95%; animation-delay: 4s; animation-duration: 7s; }
@keyframes float-up {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100px) scale(1.5); opacity: 0; }
}

/* Birmingham skyline silhouette */
.hero-skyline {
    position: absolute; bottom: 0; left: 0; right: 0; height: 200px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 200"><path fill="%230d3554" d="M0,200 L0,180 L50,180 L50,120 L70,120 L70,100 L80,100 L80,80 L90,60 L100,80 L100,100 L120,100 L120,70 L130,70 L130,50 L140,50 L140,70 L150,70 L150,120 L200,120 L200,140 L220,140 L220,90 L230,90 L230,60 L240,40 L250,60 L250,90 L260,90 L260,140 L300,140 L300,100 L310,100 L310,80 L340,80 L340,45 L350,30 L360,45 L360,80 L380,80 L380,100 L420,100 L420,160 L500,160 L500,130 L510,130 L510,90 L530,90 L530,60 L540,40 L550,60 L550,90 L570,90 L570,130 L600,130 L600,110 L650,110 L650,85 L660,85 L660,55 L680,25 L700,55 L700,85 L710,85 L710,110 L760,110 L760,150 L820,150 L820,120 L840,120 L840,70 L855,50 L870,70 L870,120 L900,120 L900,140 L950,140 L950,100 L970,100 L970,75 L985,55 L1000,75 L1000,100 L1020,100 L1020,140 L1080,140 L1080,160 L1140,160 L1140,120 L1160,120 L1160,80 L1180,60 L1200,80 L1200,120 L1220,120 L1220,150 L1300,150 L1300,130 L1350,130 L1350,100 L1370,80 L1390,100 L1390,130 L1440,130 L1440,200 Z"/></svg>') no-repeat bottom;
    background-size: cover; opacity: 0.4;
}

.hero-content { position: relative; z-index: 2; text-align: center; max-width: 820px; margin: 0 auto; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(31,184,166,0.15); border: 1px solid rgba(31,184,166,0.3);
    padding: 8px 20px; border-radius: 50px; font-size: 13px; color: var(--teal);
    font-weight: 600; margin-bottom: 24px; backdrop-filter: blur(10px);
}
.hero-badge i { font-size: 14px; }
.hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; margin-bottom: 20px; }
.hero h1 span { color: var(--teal); }
.hero p { color: rgba(255,255,255,0.8); font-size: clamp(1rem, 2.5vw, 1.25rem); max-width: 640px; margin: 0 auto 32px; }
.hero-ctas { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ─── BUTTONS ───────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 32px; border-radius: 50px; font-family: 'Montserrat', sans-serif;
    font-weight: 600; font-size: 15px; border: none; cursor: pointer;
    transition: var(--transition); text-decoration: none; line-height: 1.4;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(31,184,166,0.3); }
.btn-secondary { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.3); }
.btn-secondary:hover { border-color: var(--teal); color: var(--teal); }
.btn-dark { background: var(--deep-blue); color: #fff; }
.btn-dark:hover { background: #0d3a5c; color: #fff; transform: translateY(-2px); }
.btn-outline { background: transparent; border: 2px solid var(--teal); color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: #fff; }
.btn-lg { padding: 18px 40px; font-size: 17px; }
.btn-sm { padding: 10px 20px; font-size: 13px; }
.btn-block { width: 100%; }

/* ─── PAIN POINTS SECTION ───────────────────────────────── */
.section { padding: 80px 0; }
.section-alt { background: var(--light-bg); }
.section-dark { background: var(--deep-blue); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255,255,255,0.8); }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.section-header h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); font-weight: 800; margin-bottom: 16px; }
.section-header p { font-size: 1.1rem; }
.section-header .tag {
    display: inline-block; background: var(--teal-light); color: var(--teal-dark);
    padding: 6px 16px; border-radius: 50px; font-size: 13px; font-weight: 600;
    margin-bottom: 12px; text-transform: uppercase; letter-spacing: 1px;
}

/* ─── PAIN AGITATION CARDS ──────────────────────────────── */
.pain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.pain-card {
    background: #fff; padding: 32px; border-radius: var(--radius);
    box-shadow: var(--card-shadow); border-left: 4px solid #e74c3c;
    transition: var(--transition);
}
.pain-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }
.pain-card .icon { width: 48px; height: 48px; border-radius: 12px; background: #ffeaea; color: #e74c3c; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 16px; }
.pain-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.pain-card .price-lost { font-size: 2rem; font-weight: 900; color: #e74c3c; font-family: 'Montserrat', sans-serif; }

/* ─── TOOL CARDS ────────────────────────────────────────── */
.tools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 28px; }
.tool-card {
    background: #fff; border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--card-shadow); transition: var(--transition);
    display: flex; flex-direction: column;
}
.tool-card:hover { transform: translateY(-6px); box-shadow: var(--card-shadow-hover); }
.tool-card-header {
    padding: 28px 28px 0; display: flex; align-items: flex-start; gap: 16px;
}
.tool-card-icon {
    width: 56px; height: 56px; border-radius: 14px; display: flex;
    align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0;
}
.tool-card-icon.creative { background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; }
.tool-card-icon.utility { background: linear-gradient(135deg, #f093fb, #f5576c); color: #fff; }
.tool-card-icon.ai { background: linear-gradient(135deg, #4facfe, #00f2fe); color: #fff; }
.tool-card-icon.legal { background: linear-gradient(135deg, #43e97b, #38f9d7); color: #fff; }
.tool-card-icon.realestate { background: linear-gradient(135deg, #fa709a, #fee140); color: #fff; }
.tool-card-icon.code { background: linear-gradient(135deg, #a18cd1, #fbc2eb); color: #fff; }
.tool-card-icon.free { background: linear-gradient(135deg, var(--teal), #38f9d7); color: #fff; }
.tool-card-body { padding: 16px 28px 28px; flex: 1; display: flex; flex-direction: column; }
.tool-card-body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.tool-card-body p { font-size: 0.95rem; flex: 1; margin-bottom: 16px; }
.tool-card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.tool-price { font-family: 'Montserrat', sans-serif; }
.tool-price .amount { font-size: 1.4rem; font-weight: 800; color: var(--deep-blue); }
.tool-price .period { font-size: 0.85rem; color: var(--slate); }
.tool-price.free-price .amount { color: var(--teal); }
.tool-badge {
    display: inline-block; padding: 4px 12px; border-radius: 50px; font-size: 11px;
    font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
}
.tool-badge.free { background: var(--teal-light); color: var(--teal-dark); }
.tool-badge.premium { background: #f0e6ff; color: #764ba2; }
.tool-badge.managed { background: #fff3e6; color: #e67e22; }

/* ─── PRICING SECTION ───────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.pricing-card {
    background: #fff; border-radius: var(--radius-lg); padding: 36px;
    box-shadow: var(--card-shadow); text-align: center; transition: var(--transition);
    position: relative; overflow: hidden;
}
.pricing-card.featured {
    border: 2px solid var(--teal);
    transform: scale(1.03);
}
.pricing-card.featured::before {
    content: 'MOST POPULAR'; position: absolute; top: 16px; right: -30px;
    background: var(--teal); color: #fff; padding: 4px 40px; font-size: 11px;
    font-weight: 700; transform: rotate(45deg); letter-spacing: 1px;
}
.pricing-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.pricing-card .price { font-size: 2.8rem; font-weight: 900; color: var(--deep-blue); font-family: 'Montserrat', sans-serif; margin: 16px 0; }
.pricing-card .price span { font-size: 1rem; font-weight: 400; color: var(--slate); }
.pricing-card ul { list-style: none; text-align: left; margin: 24px 0; }
.pricing-card li { padding: 8px 0; font-size: 0.95rem; display: flex; align-items: center; gap: 10px; }
.pricing-card li i { color: var(--teal); font-size: 14px; }

/* ─── GATE / LEAD CAPTURE ───────────────────────────────── */
.gate-overlay {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(160deg, #0A2A43 0%, #0d3a5c 50%, #0A2A43 100%);
    padding: 40px 20px;
}
.gate-card {
    background: #fff; border-radius: var(--radius-lg); padding: 40px;
    max-width: 480px; width: 100%; box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.gate-card h2 { text-align: center; margin-bottom: 8px; font-size: 1.6rem; }
.gate-card .subtitle { text-align: center; margin-bottom: 28px; font-size: 0.95rem; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; font-size: 13px; color: var(--deep-blue); margin-bottom: 6px; }
.form-group input {
    width: 100%; padding: 14px 16px; border: 2px solid #e8ecf0; border-radius: 10px;
    font-size: 15px; font-family: 'Inter', sans-serif; transition: var(--transition);
    outline: none;
}
.form-group input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(31,184,166,0.1); }
.form-error { color: #e74c3c; font-size: 13px; margin-top: 4px; }
.form-success { background: var(--teal-light); color: var(--teal-dark); padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; font-size: 14px; }

/* ─── TOOL PAGES ────────────────────────────────────────── */
.tool-page { padding-top: 80px; min-height: 100vh; }
.tool-page-header {
    background: linear-gradient(135deg, var(--deep-blue), #0d3a5c);
    padding: 60px 0 40px; margin-bottom: 40px;
}
.tool-page-header h1 { color: #fff; font-size: clamp(1.5rem, 4vw, 2.2rem); margin-bottom: 8px; }
.tool-page-header p { color: rgba(255,255,255,0.7); font-size: 1.05rem; }
.tool-workspace {
    background: #fff; border-radius: var(--radius-lg); padding: 32px;
    box-shadow: var(--card-shadow); margin-bottom: 40px;
}
.tool-workspace h3 { margin-bottom: 16px; }

/* Upload area */
.upload-area {
    border: 2px dashed #d1d5db; border-radius: var(--radius); padding: 48px 20px;
    text-align: center; cursor: pointer; transition: var(--transition);
    background: #fafbfc;
}
.upload-area:hover, .upload-area.dragover { border-color: var(--teal); background: var(--teal-light); }
.upload-area i { font-size: 48px; color: #c0c5cc; margin-bottom: 16px; }
.upload-area p { font-size: 0.95rem; }

/* Code output */
.code-output {
    background: #1e1e1e; color: #d4d4d4; padding: 20px; border-radius: var(--radius);
    font-family: 'Fira Code', 'Courier New', monospace; font-size: 13px;
    overflow-x: auto; position: relative; white-space: pre-wrap; word-break: break-all;
}
.code-output .copy-btn {
    position: absolute; top: 8px; right: 8px; background: rgba(255,255,255,0.15);
    color: #fff; border: none; padding: 6px 12px; border-radius: 6px; cursor: pointer;
    font-size: 12px;
}
.code-output .copy-btn:hover { background: var(--teal); }

/* Results area */
.result-area { margin-top: 24px; }
.result-area img { max-width: 100%; border-radius: var(--radius); }

/* ─── ADMIN DASHBOARD ───────────────────────────────────── */
.admin-layout { display: flex; min-height: 100vh; padding-top: 37px; }
.admin-sidebar {
    width: 240px; background: var(--deep-blue); padding: 24px 0;
    position: fixed; left: 0; top: 37px; bottom: 0; overflow-y: auto;
}
.admin-sidebar h3 { color: var(--teal); padding: 0 20px; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; }
.admin-sidebar a {
    display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,0.7);
    padding: 12px 20px; font-size: 14px; transition: var(--transition);
}
.admin-sidebar a:hover, .admin-sidebar a.active { color: #fff; background: rgba(31,184,166,0.15); border-right: 3px solid var(--teal); }
.admin-sidebar a i { width: 20px; text-align: center; }
.admin-main { flex: 1; margin-left: 240px; padding: 32px; background: var(--light-bg); }
.admin-main h1 { font-size: 1.6rem; margin-bottom: 24px; }

/* Admin Stats */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-bottom: 32px; }
.stat-card {
    background: #fff; border-radius: var(--radius); padding: 24px;
    box-shadow: var(--card-shadow); position: relative; overflow: hidden;
}
.stat-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%;
}
.stat-card.blue::before { background: var(--deep-blue); }
.stat-card.teal::before { background: var(--teal); }
.stat-card.green::before { background: #27ae60; }
.stat-card.orange::before { background: #e67e22; }
.stat-card .stat-label { font-size: 13px; color: var(--slate); margin-bottom: 8px; }
.stat-card .stat-value { font-size: 2rem; font-weight: 800; color: var(--deep-blue); font-family: 'Montserrat', sans-serif; }
.stat-card .stat-change { font-size: 12px; color: #27ae60; margin-top: 4px; }

/* Charts */
.chart-container { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--card-shadow); margin-bottom: 24px; }
.chart-container h3 { font-size: 1.1rem; margin-bottom: 16px; }
.charts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(460px, 1fr)); gap: 24px; }

/* Admin Tables */
.data-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--card-shadow); }
.data-table thead { background: var(--deep-blue); }
.data-table th { color: #fff; padding: 14px 16px; text-align: left; font-size: 13px; font-weight: 600; }
.data-table td { padding: 12px 16px; font-size: 14px; border-bottom: 1px solid #f0f2f5; }
.data-table tr:hover td { background: var(--teal-light); }
.status-badge { padding: 4px 10px; border-radius: 50px; font-size: 11px; font-weight: 600; }
.status-badge.active { background: #e6f7f0; color: #27ae60; }
.status-badge.pending { background: #fff3e6; color: #e67e22; }

/* ─── CHECKOUT ──────────────────────────────────────────── */
.checkout-container {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    background: var(--light-bg); padding: 40px 20px;
}
.checkout-card {
    background: #fff; border-radius: var(--radius-lg); max-width: 520px;
    width: 100%; overflow: hidden; box-shadow: var(--card-shadow);
}
.checkout-header { background: linear-gradient(135deg, var(--deep-blue), #0d3a5c); padding: 32px; text-align: center; }
.checkout-header h2 { color: #fff; font-size: 1.4rem; margin-bottom: 8px; }
.checkout-header .checkout-price { color: var(--teal); font-size: 2.5rem; font-weight: 900; font-family: 'Montserrat', sans-serif; }
.checkout-body { padding: 32px; }
.checkout-features { list-style: none; margin: 0 0 24px; }
.checkout-features li { padding: 8px 0; display: flex; align-items: center; gap: 10px; font-size: 0.95rem; }
.checkout-features li i { color: var(--teal); }

/* ─── TESTIMONIALS ──────────────────────────────────────── */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.testimonial-card {
    background: #fff; padding: 28px; border-radius: var(--radius); box-shadow: var(--card-shadow);
    position: relative;
}
.testimonial-card::before { content: '"'; font-size: 60px; color: var(--teal-light); font-family: Georgia, serif; position: absolute; top: 10px; left: 20px; line-height: 1; }
.testimonial-card p { font-style: italic; margin-bottom: 16px; padding-top: 20px; }
.testimonial-card .author { font-weight: 600; color: var(--deep-blue); font-size: 0.9rem; }
.testimonial-card .role { color: var(--slate); font-size: 0.85rem; }

/* ─── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-links {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        background: var(--deep-blue); flex-direction: column; padding: 20px;
        gap: 12px; border-top: 1px solid rgba(255,255,255,0.1);
    }
    .nav-links.open { display: flex; }
    .hero { padding: 100px 0 60px; }
    .hero h1 { font-size: 1.8rem; }
    .section { padding: 60px 0; }
    .pain-grid, .tools-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-card.featured { transform: none; }
    .admin-sidebar { display: none; }
    .admin-main { margin-left: 0; padding: 16px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .charts-grid { grid-template-columns: 1fr; }
    .hero-ctas { flex-direction: column; align-items: center; }
    .gate-card { padding: 28px 20px; }
    .tool-workspace { padding: 20px; }
}

@media (max-width: 412px) {
    /* Moto G Power specific */
    .container { padding: 0 16px; }
    .hero h1 { font-size: 1.6rem; }
    .hero p { font-size: 0.95rem; }
    .btn { padding: 12px 24px; font-size: 14px; }
    .btn-lg { padding: 14px 28px; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .stat-card { padding: 16px; }
    .stat-card .stat-value { font-size: 1.5rem; }
    .tool-card-header { padding: 20px 20px 0; }
    .tool-card-body { padding: 12px 20px 20px; }
}

/* ─── ANIMATIONS ────────────────────────────────────────── */
@keyframes pulse-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(31,184,166,0.4); } 70% { box-shadow: 0 0 0 12px rgba(31,184,166,0); } }
.pulse { animation: pulse-glow 2s infinite; }

.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ─── SHORTENER SPECIFIC ────────────────────────────────── */
.shortener-input-group { display: flex; gap: 12px; }
.shortener-input-group input { flex: 1; }
.links-list { margin-top: 24px; }
.link-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 16px; background: var(--light-bg); border-radius: 8px;
    margin-bottom: 8px; flex-wrap: wrap; gap: 8px;
}
.link-item .short-url { color: var(--teal); font-weight: 600; word-break: break-all; }
.link-item .original-url { color: var(--slate); font-size: 0.85rem; max-width: 50%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.link-item .clicks { font-size: 0.85rem; color: var(--slate); }
