/* assets/css/site.css — CloudOS: modern, minimal, enterprise, dark+blue */

:root {
  --bg: #0B0F1A;
  --surface: #121826;
  --surface-2: #1A2233;
  --border: #26304A;
  --text: #E8ECF4;
  --text-muted: #8B93A7;
  --accent: #3B82F6;
  --accent-hover: #2563EB;
  --accent-glow: rgba(59,130,246,0.35);
  --success: #22C55E;
  --error: #EF4444;
  --warning: #F59E0B;
  --radius: 10px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(1200px 600px at 20% -10%, #16203A 0%, var(--bg) 60%);
  color: var(--text);
  line-height: 1.5;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Navbar */
.navbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0; border-bottom: 1px solid var(--border);
}
.navbar-left { display: flex; align-items: center; gap: 14px; }
.navbar .brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--text); }
.navbar .brand:hover { color: var(--text); }
.navbar .brand .logo-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent-glow); }
.navbar nav { display: flex; gap: 28px; align-items: center; }
.navbar nav a { color: var(--text-muted); font-size: 14px; font-weight: 500; }
.navbar nav a:hover { color: var(--text); }
.navbar nav a.active { color: var(--accent); }
.navbar .cta { display: flex; gap: 10px; }
.btn-icon-label svg { display: none; width: 18px; height: 18px; flex-shrink: 0; }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 32px; height: 28px; background: none; border: none; padding: 0; cursor: pointer; flex-shrink: 0;
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--text); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 20px; border-radius: 8px; font-size: 14px; font-weight: 600;
  border: 1px solid var(--border); background: var(--surface-2); color: var(--text); cursor: pointer;
}
.btn:hover { border-color: var(--accent); color: var(--text); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 4px 20px var(--accent-glow); }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-block { width: 100%; }
.btn-lg { padding: 14px 28px; font-size: 15px; }

/* Hero */
.hero { text-align: center; padding: 100px 0 60px; }
.hero .badge {
  display: inline-block; padding: 6px 14px; border-radius: 20px; font-size: 12px; font-weight: 600;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--accent); margin-bottom: 24px;
}
.hero h1 { font-size: 48px; font-weight: 800; margin: 0 0 16px; letter-spacing: -0.02em; }
.hero h1 .accent { color: var(--accent); }
.hero p.lead { font-size: 18px; color: var(--text-muted); max-width: 640px; margin: 0 auto 36px; }
.hero .actions { display: flex; gap: 14px; justify-content: center; }

.drive-mock {
  margin: 60px auto 0; max-width: 720px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}
.drive-mock .titlebar { background: var(--surface-2); padding: 10px 16px; font-size: 12px; color: var(--text-muted); border-bottom: 1px solid var(--border); }
.drive-mock .body { padding: 20px; text-align: left; }
.drive-mock .row { display: flex; align-items: center; gap: 12px; padding: 10px 8px; border-radius: 6px; font-size: 14px; }
.drive-mock .row:hover { background: var(--surface-2); }
.drive-mock .row .icon { width: 20px; text-align: center; }
.drive-mock .row.disk { font-weight: 700; color: var(--accent); }

/* Sections */
.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: 32px; font-weight: 800; margin: 0 0 12px; }
.section-header p { color: var(--text-muted); font-size: 16px; }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.feature-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.feature-card .icon { font-size: 28px; margin-bottom: 14px; }
.feature-card h3 { font-size: 16px; margin: 0 0 8px; }
.feature-card p { font-size: 14px; color: var(--text-muted); margin: 0; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.price-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; text-align: center; position: relative; }
.price-card.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 20px 60px var(--accent-glow); }
.price-card .plan-name { font-size: 15px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; }
.price-card .plan-price { font-size: 34px; font-weight: 800; margin: 14px 0 4px; }
.price-card .plan-price small { font-size: 13px; font-weight: 400; color: var(--text-muted); }
.price-card ul { list-style: none; padding: 0; margin: 20px 0; text-align: left; font-size: 13px; color: var(--text-muted); }
.price-card ul li { padding: 6px 0; display: flex; gap: 8px; }
.price-card ul li::before { content: "✓"; color: var(--success); font-weight: 700; }

/* Billing-cycle toggle (monthly / yearly) */
.cycle-toggle { display: inline-flex; align-items: center; gap: 4px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 4px; margin: 4px 0 28px; }
.cycle-toggle button { border: none; background: transparent; color: var(--text-muted); font-size: 13px; font-weight: 600; padding: 9px 20px; border-radius: 999px; cursor: pointer; transition: background .15s, color .15s; }
.cycle-toggle button.active { background: var(--accent); color: #fff; box-shadow: 0 4px 16px var(--accent-glow); }
.cycle-toggle .save-tag { background: rgba(34,197,94,0.15); color: #4ADE80; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 8px; margin-left: 6px; }
.price-card .plan-price .cycle-unit { font-size: 13px; font-weight: 400; color: var(--text-muted); }
.price-card .yearly-note { font-size: 12px; color: var(--success); min-height: 16px; margin-top: -2px; margin-bottom: 4px; }
.current-plan-panel { display: flex; flex-wrap: wrap; gap: 32px; padding: 18px 22px; }
.current-plan-panel .cpp-item .cpp-label { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); margin-bottom: 4px; }
.current-plan-panel .cpp-item .cpp-value { font-size: 15px; font-weight: 600; }

/* Forms / Auth cards */
.auth-wrap { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 24px; }
.auth-card { width: 100%; max-width: 400px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.auth-card h1 { font-size: 20px; text-align: center; margin: 0 0 6px; }
.auth-card p.subtitle { text-align: center; color: var(--text-muted); font-size: 13px; margin: 0 0 24px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
input[type=text], input[type=email], input[type=password], select {
  width: 100%; padding: 10px 12px; font-size: 14px; border-radius: 7px;
  border: 1px solid var(--border); background: var(--surface-2); color: var(--text);
}
input:focus, select:focus { outline: none; border-color: var(--accent); }
.auth-links { display: flex; justify-content: space-between; font-size: 13px; margin-top: 16px; }
.auth-footer { text-align: center; font-size: 13px; color: var(--text-muted); margin-top: 20px; }

.alert { padding: 12px 14px; border-radius: 7px; font-size: 13px; margin-bottom: 16px; }
.alert-error { background: rgba(239,68,68,0.1); color: #FCA5A5; border: 1px solid rgba(239,68,68,0.3); }
.alert-success { background: rgba(34,197,94,0.1); color: #86EFAC; border: 1px solid rgba(34,197,94,0.3); }
.alert-info { background: rgba(59,130,246,0.1); color: #93C5FD; border: 1px solid rgba(59,130,246,0.3); }

/* Dashboard shell */
.dash-shell { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
.dash-sidebar { background: var(--surface); border-right: 1px solid var(--border); padding: 20px 0; }
.dash-sidebar .brand { display: flex; align-items: center; gap: 10px; padding: 0 20px 24px; font-weight: 700; }
.dash-sidebar a { display: flex; align-items: center; gap: 10px; padding: 11px 20px; color: var(--text-muted); font-size: 14px; }
.dash-sidebar a:hover { background: var(--surface-2); color: var(--text); }
.dash-sidebar a.active { background: rgba(59,130,246,0.12); color: var(--accent); border-right: 2px solid var(--accent); }
.dash-main { padding: 32px 40px; }
.dash-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.dash-header h1 { font-size: 22px; margin: 0; }

.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 28px; }
.stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.stat-card .label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .03em; }
.stat-card .value { font-size: 26px; font-weight: 800; margin-top: 8px; }
.stat-card .sub { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 24px; }
.panel-header { padding: 16px 20px; border-bottom: 1px solid var(--border); font-weight: 600; font-size: 14px; display: flex; justify-content: space-between; align-items: center; }

table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { text-align: left; padding: 12px 20px; border-bottom: 1px solid var(--border); }
th { color: var(--text-muted); font-weight: 600; font-size: 11px; text-transform: uppercase; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--surface-2); }

.badge { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 11px; font-weight: 600; }
.badge.active { background: rgba(34,197,94,0.15); color: #4ADE80; }
.badge.pending { background: rgba(245,158,11,0.15); color: #FBBF24; }
.badge.expired, .badge.suspended, .badge.revoked { background: rgba(239,68,68,0.15); color: #F87171; }

.btn-sm { padding: 5px 12px; font-size: 12px; border-radius: 6px; border: 1px solid var(--border); background: var(--surface-2); color: var(--text); cursor: pointer; margin-right: 4px; }
.btn-sm.danger { color: #F87171; border-color: rgba(239,68,68,0.3); }
.btn-sm:hover { border-color: var(--accent); }

.quota-bar { height: 8px; background: var(--surface-2); border-radius: 4px; overflow: hidden; margin: 8px 0; }
.quota-fill { height: 100%; background: linear-gradient(90deg, var(--accent), #60A5FA); }

/* Sticky navbar */
.navbar.sticky-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11,15,26,0.85); backdrop-filter: blur(10px);
}

/* Trusted-by / compatibility strip */
.trusted-strip { padding: 32px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trusted-strip .trusted-label { text-align: center; font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 20px; }
.trusted-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; }
.trusted-logos .logo-item { display: flex; align-items: center; gap: 8px; color: var(--text-muted); font-weight: 600; font-size: 14px; opacity: .8; }
.trusted-logos .logo-item .ico { font-size: 20px; }

/* Stats */
.stats-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; padding: 60px 0; }
.stats-strip .stat-item { text-align: center; }
.stats-strip .stat-item .num { font-size: 40px; font-weight: 800; color: var(--accent); letter-spacing: -0.02em; }
.stats-strip .stat-item .label { font-size: 13px; color: var(--text-muted); margin-top: 6px; }

/* Workflow */
.workflow-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; align-items: start; }
.workflow-steps .step { text-align: center; padding: 0 12px; position: relative; }
.workflow-steps .step .num-badge {
  width: 40px; height: 40px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--accent);
  color: var(--accent); font-weight: 800; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; font-size: 15px;
}
.workflow-steps .step h4 { font-size: 15px; margin: 0 0 6px; }
.workflow-steps .step p { font-size: 13px; color: var(--text-muted); margin: 0; }
.workflow-steps .step:not(:last-child)::after {
  content: "→"; position: absolute; top: 10px; right: -8px; color: var(--border); font-size: 18px;
}
@media (max-width: 720px) {
  .workflow-steps { grid-template-columns: 1fr; gap: 32px; }
  .workflow-steps .step:not(:last-child)::after { content: "↓"; top: auto; bottom: -26px; right: 50%; transform: translateX(50%); }
}

/* Comparison table */
.compare-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.compare-table th, .compare-table td { padding: 14px 18px; text-align: center; border-bottom: 1px solid var(--border); font-size: 14px; }
.compare-table th:first-child, .compare-table td:first-child { text-align: left; color: var(--text-muted); font-weight: 500; }
.compare-table th { background: var(--surface-2); font-size: 13px; }
.compare-table th.brand-col { color: var(--accent); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .yes { color: var(--success); font-weight: 700; }
.compare-table .no { color: var(--text-muted); opacity: .5; }

/* Testimonials */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.testimonial-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.testimonial-card .stars { color: var(--warning); font-size: 14px; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-card p.quote { font-size: 14px; color: var(--text); margin: 0 0 16px; line-height: 1.6; }
.testimonial-card .author { display: flex; align-items: center; gap: 10px; }
.testimonial-card .avatar {
  width: 32px; height: 32px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: var(--accent);
}
.testimonial-card .author .name { font-size: 13px; font-weight: 600; }
.testimonial-card .author .role { font-size: 12px; color: var(--text-muted); }

/* FAQ accordion */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-item summary {
  padding: 18px 22px; cursor: pointer; font-size: 15px; font-weight: 600; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 20px; color: var(--text-muted); flex-shrink: 0; transition: transform .15s; }
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-answer { padding: 0 22px 20px; color: var(--text-muted); font-size: 14px; line-height: 1.6; }

/* Live demo mock */
.demo-frame {
  max-width: 760px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}
.demo-frame .titlebar { background: var(--surface-2); padding: 10px 16px; font-size: 12px; color: var(--text-muted); border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; }
.demo-frame .body { padding: 20px; }
.demo-frame .file-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px;
  border-radius: 6px; font-size: 14px; cursor: default;
}
.demo-frame .file-row:hover { background: var(--surface-2); }
.demo-frame .file-row .left { display: flex; align-items: center; gap: 10px; }
.demo-frame .file-row .file-actions { display: none; gap: 6px; }
.demo-frame .file-row:hover .file-actions { display: flex; }
.demo-frame .file-actions button {
  border: 1px solid var(--border); background: var(--surface); color: var(--text-muted); font-size: 11px;
  padding: 3px 8px; border-radius: 5px; cursor: pointer;
}
.demo-frame .file-actions button:hover { color: var(--text); border-color: var(--accent); }
.demo-frame .sync-status { font-size: 12px; color: var(--success); display: flex; align-items: center; gap: 6px; }
.demo-frame .sync-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success); box-shadow: 0 0 6px var(--success); animation: pulse-dot 1.6s infinite; }
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

/* Sync animation under hero */
.sync-flow { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 36px auto 0; max-width: 480px; }
.sync-flow .node { text-align: center; font-size: 12px; color: var(--text-muted); }
.sync-flow .node .box {
  width: 56px; height: 56px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-size: 22px; margin: 0 auto 8px;
}
.sync-flow .arrow { display: flex; flex-direction: column; align-items: center; gap: 3px; color: var(--accent); font-size: 18px; }
.sync-flow .arrow .beam { width: 32px; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); background-size: 200% 100%; animation: beam-move 1.6s linear infinite; }
@keyframes beam-move { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* Floating download button */
.floating-cta {
  position: fixed; bottom: 24px; right: 24px; z-index: 200;
  display: flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px;
  background: var(--accent); color: #fff; font-size: 14px; font-weight: 700;
  box-shadow: 0 10px 30px var(--accent-glow); opacity: 0; pointer-events: none;
  transform: translateY(12px); transition: opacity .2s, transform .2s;
}
.floating-cta.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.floating-cta:hover { background: var(--accent-hover); color: #fff; }

/* Footer columns */
.footer { border-top: 1px solid var(--border); padding: 56px 0 28px; color: var(--text-muted); font-size: 13px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; padding-bottom: 36px; }
.footer-col .footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; color: var(--text); margin-bottom: 10px; }
.footer-col p { font-size: 13px; color: var(--text-muted); line-height: 1.6; max-width: 260px; }
.footer-col h5 { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--text); margin: 0 0 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { color: var(--text-muted); font-size: 13px; }
.footer-col ul a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 20px; text-align: center; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* Comparison table horizontal scroll on narrow screens */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll .compare-table { min-width: 480px; }

/* ============================================================
   Mobile responsive (tablet & phone)
   ============================================================ */
@media (max-width: 880px) {
  .navbar { flex-wrap: wrap; position: relative; }
  .navbar nav {
    order: 3; flex-basis: 100%;
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    max-height: 0; overflow: hidden;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-top: 0; opacity: 0;
    transition: max-height .25s ease, opacity .2s ease, margin-top .25s ease;
  }
  .navbar nav.open { max-height: 480px; overflow-y: auto; margin-top: 12px; opacity: 1; }
  .navbar nav a { padding: 14px 24px; border-bottom: 1px solid var(--border); font-size: 15px; }
  .navbar nav a:last-child { border-bottom: none; }
  .navbar .cta { gap: 18px; }
  .navbar .cta .btn-icon-label {
    width: auto; height: auto; padding: 4px;
    border: none; background: none; box-shadow: none; border-radius: 0;
    color: var(--text-muted);
  }
  .navbar .cta .btn-icon-label.btn-primary { color: var(--accent); }
  .navbar .cta .btn-icon-label svg { display: block; width: 22px; height: 22px; }
  .navbar .cta .btn-icon-label .btn-label { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .navbar { padding: 14px 0; }
  .navbar .brand { font-size: 16px; }

  .hero { padding: 48px 0 40px; }
  .hero h1 { font-size: 30px; }
  .hero p.lead { font-size: 15px; margin-bottom: 28px; }
  .hero .actions { flex-direction: column; width: 100%; }
  .hero .actions .btn { width: 100%; }
  .hero .badge { font-size: 11px; padding: 5px 12px; }

  .sync-flow { gap: 8px; margin-top: 28px; }
  .sync-flow .node .box { width: 40px; height: 40px; font-size: 16px; }
  .sync-flow .node { font-size: 10px; }
  .sync-flow .arrow { font-size: 14px; }
  .sync-flow .arrow .beam { width: 16px; }

  .drive-mock { margin-top: 36px; }
  .drive-mock .row { font-size: 13px; }

  .section { padding: 48px 0; }
  .section-header { margin-bottom: 32px; }
  .section-header h2 { font-size: 24px; }
  .section-header p { font-size: 14px; }

  .trusted-strip { padding: 24px 0; }
  .trusted-logos { gap: 20px; }
  .trusted-logos .logo-item { font-size: 12px; }

  .stats-strip { grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 40px 0; }
  .stats-strip .stat-item .num { font-size: 28px; }

  .features-grid, .pricing-grid, .testimonial-grid { grid-template-columns: 1fr; }

  .compare-table th, .compare-table td { padding: 10px 12px; font-size: 13px; }

  .demo-frame .file-actions { display: flex; }
  .demo-frame .file-row .left span { font-size: 13px; }
  .demo-frame .titlebar { flex-direction: column; align-items: flex-start; gap: 4px; }

  .faq-item summary { padding: 14px 16px; font-size: 14px; }
  .faq-item .faq-answer { padding: 0 16px 16px; font-size: 13px; }

  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-col p { max-width: none; }

  .floating-cta { bottom: 16px; right: 16px; padding: 10px 16px; font-size: 13px; }

  .price-card.featured { box-shadow: 0 0 0 1px var(--accent), 0 10px 30px var(--accent-glow); }

  .auth-card { padding: 24px; }

  .dash-shell { grid-template-columns: 1fr; }
  .dash-sidebar { border-right: none; border-bottom: 1px solid var(--border); padding: 12px 0; }
  .dash-sidebar .brand { padding: 0 16px 12px; }
  .dash-sidebar nav { display: flex; overflow-x: auto; gap: 4px; padding: 0 12px; }
  .dash-sidebar a { white-space: nowrap; border-right: none !important; padding: 8px 14px; border-radius: 8px; }
  .dash-sidebar a.active { border-right: none; }
  .dash-main { padding: 20px 16px; }
  .dash-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .stat-cards { grid-template-columns: 1fr 1fr; gap: 12px; }

  table { font-size: 12px; }
  th, td { padding: 10px 12px; }
}

@media (max-width: 400px) {
  .hero h1 { font-size: 26px; }
  .stats-strip { grid-template-columns: 1fr; }
  .stat-cards { grid-template-columns: 1fr; }
}
