/* ============================================================
   COMPANY NAME — MOBILE FIRST
   Font: Nunito | Palette: Plum · Rose · Coral
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800&display=swap');

/* ── VARIABLES ── */
:root {
    --plum:       #1A0533;
    --rose:       #8B1A5E;
    --coral:      #C4785A;
    --grad:       linear-gradient(135deg, #1A0533 0%, #8B1A5E 55%, #C4785A 100%);
    --grad-btn:   linear-gradient(135deg, #8B1A5E 0%, #C4785A 100%);
    --grad-btn-h: linear-gradient(135deg, #6B1248 0%, #A05540 100%);
    --grad-light: linear-gradient(135deg, rgba(26,5,51,0.05) 0%, rgba(139,26,94,0.05) 100%);
    --dark-bg:    #0E0118;
    --text:       #1A1A2E;
    --muted:      #6B6275;
    --border:     #E8E4F0;
    --light-bg:   #FAF9FC;
    --white:      #FFFFFF;
    --navbar-h:   64px;
    --radius:     14px;
    --shadow:     0 2px 16px rgba(26,5,51,0.08);
    --shadow-lg:  0 12px 48px rgba(26,5,51,0.14);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Nunito', sans-serif; font-weight: 800; line-height: 1.2; color: var(--text); }
p  { color: var(--muted); line-height: 1.8; }
a  { text-decoration: none; color: inherit; }

/* Prevent iOS zoom on input focus */
input, select, textarea {
    font-size: 16px !important;
}

/* ── GRAD TEXT ── */
.grad-text {
    background: var(--grad-btn);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ══════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════ */

.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    height: var(--navbar-h);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 5%;
    background: rgba(255,255,255,0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s;
}

.navbar.scrolled { box-shadow: 0 2px 20px rgba(26,5,51,0.08); }

.navbar-brand {
    font-size: 1.3rem; font-weight: 800;
    color: var(--plum);
    letter-spacing: -0.3px;
    z-index: 1001;
}

/* Desktop nav links */
.navbar-links {
    display: flex; align-items: center; gap: 28px; list-style: none;
}

.navbar-links a {
    font-size: 0.9rem; font-weight: 600; color: var(--muted);
    transition: color 0.2s; position: relative;
}
.navbar-links a::after {
    content: ''; position: absolute; bottom: -3px; left: 0;
    width: 0; height: 2px; background: var(--rose);
    border-radius: 2px; transition: width 0.25s;
}
.navbar-links a:hover { color: var(--plum); }
.navbar-links a:hover::after { width: 100%; }

/* Hamburger button — hidden on desktop */
.hamburger {
    display: none;
    flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px;
    background: none; border: none; cursor: pointer;
    padding: 8px; z-index: 1001;
    -webkit-tap-highlight-color: transparent;
}

.hamburger span {
    display: block; width: 22px; height: 2px;
    background: var(--plum); border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Hamburger open state */
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-menu {
    display: none;
    position: fixed;
    top: var(--navbar-h); left: 0; right: 0;
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 16px 5% 24px;
    z-index: 999;
    box-shadow: 0 8px 32px rgba(26,5,51,0.12);
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu.open {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }

.mobile-menu ul li a {
    display: block; padding: 13px 0;
    font-size: 1rem; font-weight: 600;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    transition: color 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu ul li:last-child a { border-bottom: none; }
.mobile-menu ul li a:hover { color: var(--rose); }

.mobile-menu-cta {
    margin-top: 16px;
}

.mobile-menu-cta .btn {
    width: 100%; justify-content: center;
}

/* ══════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════ */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 28px; border-radius: 50px;
    font-family: 'Nunito', sans-serif; font-size: 0.92rem; font-weight: 700;
    cursor: pointer; border: none;
    transition: all 0.22s ease; text-decoration: none;
    min-height: 48px; /* touch target */
    -webkit-tap-highlight-color: transparent;
}

.btn-primary {
    background: var(--grad-btn);
    color: #FFFFFF !important;
    box-shadow: 0 4px 16px rgba(139,26,94,0.32);
}
.btn-primary:hover, .btn-primary:active {
    background: var(--grad-btn-h);
    box-shadow: 0 6px 24px rgba(139,26,94,0.45);
    transform: translateY(-1px);
}

.btn-white {
    background: var(--white); color: var(--plum) !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.btn-white:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.2); transform: translateY(-1px); }

.btn-outline {
    background: transparent; color: var(--rose) !important;
    border: 2px solid var(--rose);
}
.btn-outline:hover, .btn-outline:active { background: var(--rose); color: var(--white) !important; }

.btn-ghost {
    background: transparent; color: var(--muted) !important; padding: 13px 16px;
}
.btn-ghost:hover { color: var(--plum) !important; }

/* ══════════════════════════════════════
   HERO
   ══════════════════════════════════════ */

.hero {
    min-height: 100vh; display: flex; align-items: center;
    padding-top: var(--navbar-h);
    position: relative; overflow: hidden; background: var(--white);
}

.hero-orb-1 { position: absolute; width: 640px; height: 640px; top: -180px; right: -120px; background: radial-gradient(circle, rgba(139,26,94,0.09) 0%, transparent 65%); border-radius: 50%; pointer-events: none; }
.hero-orb-2 { position: absolute; width: 480px; height: 480px; bottom: -140px; left: -80px;  background: radial-gradient(circle, rgba(26,5,51,0.07)  0%, transparent 65%); border-radius: 50%; pointer-events: none; }
.hero-orb-3 { position: absolute; width: 280px; height: 280px; top: 50%; left: 40%;          background: radial-gradient(circle, rgba(196,120,90,0.08) 0%, transparent 65%); border-radius: 50%; pointer-events: none; }

.hero-content {
    position: relative; z-index: 1;
    max-width: 1160px; margin: 0 auto;
    padding: 64px 5%;
    display: flex; align-items: center; gap: 64px;
}

.hero-text { flex: 1; }

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--grad-light);
    border: 1px solid rgba(139,26,94,0.14);
    border-radius: 50px; padding: 7px 16px;
    font-size: 0.82rem; font-weight: 600;
    color: var(--rose); margin-bottom: 24px;
}

.hero-badge-dot {
    width: 7px; height: 7px; background: var(--coral);
    border-radius: 50%; animation: pulse 2s ease-in-out infinite; flex-shrink: 0;
}

@keyframes pulse { 0%,100%{ opacity:1; transform:scale(1); } 50%{ opacity:0.5; transform:scale(0.7); } }

.hero h1 { margin-bottom: 16px; color: var(--plum); }
.hero-sub { font-size: 1.05rem; color: var(--muted); margin-bottom: 32px; max-width: 460px; }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 40px; }

.hero-trust {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.8rem; color: var(--muted); flex-wrap: wrap;
}
.hero-trust-dot { width: 4px; height: 4px; background: var(--coral); border-radius: 50%; flex-shrink: 0; }

/* Profile cards */
.hero-visual { flex: 0 0 380px; position: relative; height: 440px; }

.profile-card {
    position: absolute; background: white; border-radius: 18px;
    padding: 20px; box-shadow: var(--shadow-lg); border: 1px solid var(--border);
}
.profile-card:nth-child(1) { animation: floatA 7s ease-in-out infinite; top:40px;   left:50px;  width:200px; z-index:3; }
.profile-card:nth-child(2) { animation: floatB 7s ease-in-out infinite; top:10px;   right:10px; width:160px; z-index:2; opacity:0.92; }
.profile-card:nth-child(3) { animation: floatC 7s ease-in-out infinite; bottom:40px;left:10px;  width:180px; z-index:2; opacity:0.88; }

@keyframes floatA { 0%,100%{transform:translateY(0)}    50%{transform:translateY(-12px)} }
@keyframes floatB { 0%,100%{transform:translateY(-5px)} 50%{transform:translateY(8px)}   }
@keyframes floatC { 0%,100%{transform:translateY(4px)}  50%{transform:translateY(-9px)}  }

.profile-avatar { width:46px; height:46px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:1.2rem; font-weight:800; color:white; margin-bottom:10px; }
.profile-name   { font-size:1rem; font-weight:700; color:var(--text); margin-bottom:5px; }
.profile-tag    { display:inline-block; padding:3px 10px; border-radius:50px; font-size:0.72rem; font-weight:600; background:var(--grad-light); color:var(--rose); border:1px solid rgba(139,26,94,0.12); }

/* ══════════════════════════════════════
   SECTIONS
   ══════════════════════════════════════ */

section { padding: 80px 5%; }
.section-inner { max-width: 1160px; margin: 0 auto; }
.section-label { font-size:0.75rem; font-weight:800; letter-spacing:2px; text-transform:uppercase; color:var(--rose); margin-bottom:12px; display:block; }
.section-title { margin-bottom:14px; }
.section-sub   { font-size:1rem; color:var(--muted); max-width:520px; margin-bottom:52px; }

/* ── THREE PILLARS ── */
.pillars-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }

.pillar-card {
    background:white; border:1px solid var(--border); border-radius:18px;
    padding:36px 28px; transition:all 0.3s; position:relative; overflow:hidden;
}
.pillar-card::after { content:''; position:absolute; bottom:0; left:0; right:0; height:3px; background:var(--grad-btn); transform:scaleX(0); transform-origin:left; transition:transform 0.3s; }
.pillar-card:hover { box-shadow:var(--shadow-lg); transform:translateY(-6px); border-color:rgba(139,26,94,0.15); }
.pillar-card:hover::after { transform:scaleX(1); }

.pillar-icon { width:56px; height:56px; border-radius:16px; background:var(--grad-light); border:1px solid rgba(139,26,94,0.1); display:flex; align-items:center; justify-content:center; font-size:1.5rem; margin-bottom:20px; }
.pillar-card h3 { font-size:1.2rem; margin-bottom:10px; color:var(--plum); }

/* ── HOW IT WORKS ── */
.how-bg { background:var(--light-bg); }

.steps-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:44px; position:relative; }
.steps-grid::before { content:''; position:absolute; top:28px; left:18%; right:18%; height:1px; background:var(--grad-btn); opacity:0.25; }

.step-item { text-align:center; }
.step-number { width:56px; height:56px; background:var(--grad-btn); border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:1.3rem; font-weight:800; color:white; margin:0 auto 24px; position:relative; z-index:1; box-shadow:0 6px 20px rgba(139,26,94,0.28); }
.step-item h3 { margin-bottom:10px; color:var(--plum); }

/* ── NO SUBSCRIPTION ── */
.nosub-grid { display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; }
.nosub-text h2 { margin-bottom:16px; }
.nosub-text p  { margin-bottom:32px; }

.nosub-points { list-style:none; display:flex; flex-direction:column; gap:16px; margin-bottom:36px; }
.nosub-point  { display:flex; align-items:flex-start; gap:12px; }
.nosub-point-icon { width:24px; height:24px; background:var(--grad-btn); border-radius:50%; display:flex; align-items:center; justify-content:center; color:white; font-size:0.7rem; flex-shrink:0; margin-top:3px; }
.nosub-point-text { font-size:0.95rem; color:var(--text); line-height:1.6; }

.nosub-visual { background:var(--grad); border-radius:24px; padding:48px 36px; color:white; text-align:center; position:relative; overflow:hidden; }
.nosub-visual::before { content:''; position:absolute; width:260px; height:260px; top:-70px; right:-50px; background:rgba(255,255,255,0.06); border-radius:50%; }
.nosub-big { font-size:3.4rem; font-weight:800; line-height:1.1; position:relative; z-index:1; }
.nosub-big-label { font-size:0.95rem; opacity:0.8; margin-top:8px; position:relative; z-index:1; }
.nosub-divider { width:44px; height:1px; background:rgba(255,255,255,0.28); margin:24px auto; position:relative; z-index:1; }
.nosub-points-dark { list-style:none; text-align:left; display:flex; flex-direction:column; gap:12px; position:relative; z-index:1; }
.nosub-points-dark li { font-size:0.88rem; opacity:0.85; display:flex; align-items:center; gap:10px; }
.nosub-points-dark li::before { content:'✓'; font-weight:800; color:rgba(255,255,255,0.9); flex-shrink:0; }

/* ── CTA SECTION ── */
.cta-section { background:var(--dark-bg); padding:96px 5%; position:relative; overflow:hidden; }
.cta-section::before { content:''; position:absolute; width:560px; height:560px; top:-180px; left:-80px; background:radial-gradient(circle, rgba(139,26,94,0.22) 0%, transparent 65%); border-radius:50%; }
.cta-section::after  { content:''; position:absolute; width:440px; height:440px; bottom:-130px; right:-60px; background:radial-gradient(circle, rgba(196,120,90,0.14) 0%, transparent 65%); border-radius:50%; }

.cta-inner { max-width:640px; margin:0 auto; text-align:center; position:relative; z-index:1; }
.cta-inner h2 { color:white; margin-bottom:18px; }
.cta-inner p  { color:rgba(255,255,255,0.58); font-size:1rem; margin-bottom:40px; line-height:1.8; }

/* ── FORM PAGE ── */
.form-page { min-height:100vh; padding-top:var(--navbar-h); background:var(--light-bg); display:flex; align-items:center; justify-content:center; }
.form-wrapper { width:100%; max-width:520px; padding:40px 20px; }
.form-card { background:white; border-radius:22px; padding:40px 36px; box-shadow:var(--shadow-lg); border:1px solid var(--border); }
.form-header { text-align:center; margin-bottom:32px; }
.form-header h2 { margin-bottom:8px; color:var(--plum); }

.form-group { margin-bottom:20px; }
.form-group label { display:block; font-size:0.85rem; font-weight:700; color:var(--text); margin-bottom:7px; }

.form-group input,
.form-group select {
    width:100%; padding:14px 16px;
    border:1.5px solid var(--border); border-radius:12px;
    font-family:'Nunito',sans-serif;
    font-size:16px; /* prevents iOS zoom */
    color:var(--text); background:white; outline:none; appearance:none;
    transition:border-color 0.2s, box-shadow 0.2s;
    min-height:50px; /* touch target */
}

.form-group input:focus,
.form-group select:focus { border-color:var(--rose); box-shadow:0 0 0 3px rgba(139,26,94,0.08); }

.form-row        { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.form-row-mobile { display:grid; grid-template-columns:120px 1fr; gap:12px; }
.form-submit     { width:100%; padding:15px; border-radius:50px; font-size:1rem; margin-top:6px; min-height:52px; }

.form-msg         { text-align:center; margin-top:14px; font-size:0.88rem; font-weight:600; min-height:22px; }
.form-msg.success { color:#16a34a; }
.form-msg.error   { color:#dc2626; }
.form-footer-note { text-align:center; margin-top:20px; font-size:0.77rem; color:var(--muted); line-height:1.7; }

/* ── LOGIN PAGE ── */
.login-page {
    min-height:100vh; display:flex; align-items:center; justify-content:center;
    background:var(--light-bg); padding:20px; position:relative; overflow:hidden;
}
.login-page::before { content:''; position:absolute; width:480px; height:480px; top:-140px; right:-90px; background:radial-gradient(circle, rgba(139,26,94,0.07) 0%, transparent 65%); border-radius:50%; }

.login-card { background:white; border-radius:22px; padding:44px 36px; width:100%; max-width:420px; box-shadow:var(--shadow-lg); border:1px solid var(--border); position:relative; z-index:1; }
.login-logo      { text-align:center; margin-bottom:28px; }
.login-logo-text { font-size:1.6rem; font-weight:800; color:var(--plum); }
.login-title     { font-size:1.6rem; font-weight:800; text-align:center; margin-bottom:6px; color:var(--plum); }
.login-sub       { text-align:center; margin-bottom:28px; font-size:0.9rem; color:var(--muted); }

/* ── ADMIN PAGES ── */
.admin-page { padding-top:var(--navbar-h); min-height:100vh; background:var(--light-bg); }
.admin-header { background:white; border-bottom:1px solid var(--border); padding:24px 5%; }
.admin-header h1 { font-size:1.4rem; font-weight:800; color:var(--plum); }
.admin-header p  { font-size:0.87rem; color:var(--muted); margin-top:3px; }
.admin-body { padding:24px 5%; max-width:1280px; margin:0 auto; }

.admin-card { background:white; border-radius:var(--radius); border:1px solid var(--border); overflow:hidden; margin-bottom:24px; }
.admin-card-header { padding:18px 22px; border-bottom:1px solid var(--border); display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px; }
.admin-card-header h3 { font-size:0.95rem; font-weight:700; color:var(--plum); }

/* Table with horizontal scroll on mobile */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.admin-table { width:100%; border-collapse:collapse; font-size:0.88rem; min-width:600px; }
.admin-table th { background:var(--light-bg); padding:11px 16px; text-align:left; font-size:0.72rem; font-weight:700; text-transform:uppercase; letter-spacing:0.8px; color:var(--muted); border-bottom:1px solid var(--border); white-space:nowrap; }
.admin-table td { padding:13px 16px; border-bottom:1px solid var(--border); color:var(--text); white-space:nowrap; }
.admin-table tr:last-child td { border-bottom:none; }
.admin-table tr:hover td { background:var(--light-bg); }

.badge           { display:inline-block; padding:3px 11px; border-radius:50px; font-size:0.73rem; font-weight:700; }
.badge-plum      { background:rgba(26,5,51,0.07);   color:var(--plum); }
.badge-rose      { background:rgba(139,26,94,0.08);  color:var(--rose); }
.badge-champagne { background:rgba(196,120,90,0.12); color:#8B4A2A; }

.btn-sm     { padding:6px 14px; font-size:0.8rem; border-radius:50px; cursor:pointer; border:none; font-family:'Nunito',sans-serif; font-weight:700; transition:all 0.2s; min-height:34px; }
.btn-danger { background:rgba(220,38,38,0.07); color:#dc2626; border:1px solid rgba(220,38,38,0.18); }
.btn-danger:hover:not(:disabled) { background:#dc2626; color:white; }
.btn-edit   { background:rgba(139,26,94,0.07); color:var(--rose); border:1px solid rgba(139,26,94,0.18); }
.btn-edit:hover { background:var(--rose); color:white; }
button:disabled { opacity:0.36; cursor:not-allowed; }

.admin-create-form { padding:22px; display:flex; gap:14px; align-items:flex-end; flex-wrap:wrap; }
.admin-create-form .form-group { margin-bottom:0; flex:1; min-width:160px; }
.admin-msg         { padding:0 22px 16px; font-size:0.85rem; font-weight:600; min-height:28px; }
.admin-msg.success { color:#16a34a; }
.admin-msg.error   { color:#dc2626; }
.empty-state       { text-align:center; padding:48px 20px; color:var(--muted); font-size:0.9rem; }

/* ── CONTENT PAGES ── */
.content-page { padding-top:var(--navbar-h); min-height:100vh; }
.content-hero { background:var(--grad); padding:72px 5%; text-align:center; }
.content-hero h1 { color:white; margin-bottom:12px; }
.content-hero p  { color:rgba(255,255,255,0.78); font-size:1rem; }
.content-body    { max-width:760px; margin:0 auto; padding:56px 5%; }
.content-body h2 { font-size:1.35rem; margin-top:36px; margin-bottom:12px; color:var(--plum); }
.content-body h2:first-child { margin-top:0; }
.content-body p  { margin-bottom:16px; }
.content-body ul { margin:10px 0 16px 20px; color:var(--muted); line-height:1.9; }

/* ── FOOTER ── */
.footer       { background:var(--dark-bg); color:rgba(255,255,255,0.5); padding:56px 5% 28px; }
.footer-inner { max-width:1160px; margin:0 auto; }
.footer-top   { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:44px; margin-bottom:44px; }

.footer-brand { font-size:1.25rem; font-weight:800; color:white; margin-bottom:12px; display:block; }
.footer-desc  { font-size:0.87rem; line-height:1.8; color:rgba(255,255,255,0.36); }

.footer-col h4  { font-size:0.72rem; font-weight:800; text-transform:uppercase; letter-spacing:2px; color:rgba(255,255,255,0.3); margin-bottom:16px; }
.footer-col ul  { list-style:none; display:flex; flex-direction:column; gap:10px; }
.footer-col ul li a { font-size:0.87rem; color:rgba(255,255,255,0.44); transition:color 0.2s; }
.footer-col ul li a:hover { color:white; }

.footer-bottom { border-top:1px solid rgba(255,255,255,0.07); padding-top:24px; display:flex; align-items:center; justify-content:space-between; font-size:0.8rem; color:rgba(255,255,255,0.26); }

/* ── ANIMATIONS ── */
.fade-up { opacity:0; transform:translateY(24px); transition:opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity:1; transform:translateY(0); }
.fade-up-d1 { transition-delay:0.1s; }
.fade-up-d2 { transition-delay:0.2s; }
.fade-up-d3 { transition-delay:0.3s; }

/* ══════════════════════════════════════
   MOBILE — 768px and below
   ══════════════════════════════════════ */

@media (max-width: 768px) {

    /* Typography scale down */
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.75rem; }

    /* Navbar */
    .navbar-links { display: none; }
    .hamburger    { display: flex; }
    .mobile-menu  { display: block; }

    /* Hero */
    .hero-content {
        flex-direction: column;
        padding: 40px 5% 56px;
        text-align: center;
        gap: 0;
    }
    .hero-visual  { display: none; }
    .hero-actions { justify-content: center; }
    .hero-trust   { justify-content: center; gap: 6px; }
    .hero-sub     { margin: 0 auto 28px; }
    .hero h1      { font-size: 2.4rem; }

    /* Sections */
    section { padding: 56px 5%; }
    .section-sub { margin-bottom: 36px; }

    /* Pillars */
    .pillars-grid { grid-template-columns: 1fr; gap: 16px; }
    .pillar-card  { padding: 28px 22px; }

    /* Steps */
    .steps-grid { grid-template-columns: 1fr; gap: 32px; }
    .steps-grid::before { display: none; }

    /* No subscription — text first, visual second */
    .nosub-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .nosub-text  { order: 1; }
    .nosub-visual { order: 2; padding: 36px 28px; }
    .nosub-big   { font-size: 2.8rem; }

    /* CTA */
    .cta-section { padding: 72px 5%; }
    .cta-inner h2 { font-size: 1.8rem; }

    /* Form */
    .form-wrapper { padding: 32px 16px; }
    .form-card    { padding: 32px 20px; border-radius: 18px; }
    .form-row     { grid-template-columns: 1fr; gap: 0; }
    .form-row-mobile { grid-template-columns: 110px 1fr; }

    /* Login */
    .login-card { padding: 36px 22px; }

    /* Admin */
    .admin-body { padding: 20px 4%; }
    .admin-create-form { flex-direction: column; gap: 12px; }
    .admin-create-form .form-group { min-width: 100%; }

    /* Footer */
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }
    .footer-top > div:first-child {
        grid-column: 1 / -1;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    /* Content pages */
    .content-hero { padding: 56px 5%; }
    .content-hero h1 { font-size: 2rem; }
    .content-body { padding: 40px 5%; }
}

/* ══════════════════════════════════════
   SMALL PHONES — 400px and below
   ══════════════════════════════════════ */

@media (max-width: 400px) {
    .hero h1 { font-size: 2rem; }
    .btn { padding: 12px 22px; font-size: 0.88rem; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { text-align: center; }
    .form-card { padding: 28px 16px; }
    .footer-top { grid-template-columns: 1fr; }
}
