/* ═══════════════════════════════════════════
   DAFTARCHA — shared stylesheet
   ═══════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --green: #1a6b4a; --green-light: #e8f5ee; --green-mid: #2d9b6a; --green-dark: #0f4a32;
  --gold: #c8972b; --gold-light: #fdf4e3; --cream: #faf8f3;
  --dark: #1a1a18; --text: #2e2e2a; --text-muted: #6b6b66;
  --border: #e0ddd4; --radius: 12px; --radius-lg: 20px;
  --nav-h: 64px;
}
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--cream); color: var(--text); line-height: 1.6; overflow-x: hidden; }
h1,h2,h3,h4,.btn,.nav-logo,.stat-num,.card-title,.res-title,.step-card h3,.footer-logo { font-family: 'Plus Jakarta Sans', sans-serif; }
img, svg { max-width: 100%; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--green-mid); outline-offset: 2px; }

/* NAV */
nav { position: sticky; top: 0; z-index: 200; background: rgba(250,248,243,0.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); padding: 0 5%; display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.nav-logo { font-weight: 800; font-size: 1.4rem; color: var(--green); text-decoration: none; display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-logo-icon { width: 32px; height: 32px; background: var(--green); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 1.8rem; list-style: none; }
.nav-links a { text-decoration: none; color: var(--text-muted); font-size: 0.9rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--green); }
.nav-cta { background: var(--green); color: white; padding: 0.5rem 1.2rem; border-radius: 50px; font-size: 0.85rem; font-weight: 600; text-decoration: none; font-family: 'Plus Jakarta Sans', sans-serif; transition: background .2s, transform .15s; white-space: nowrap; }
.nav-cta:hover { background: var(--green-dark); transform: translateY(-1px); }
.nav-right { display: flex; align-items: center; gap: 1rem; }

.nav-burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; background: none; border: none; cursor: pointer; padding: 0; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--dark); border-radius: 2px; transition: transform .25s, opacity .25s; margin: 0 auto; }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; background: var(--cream); z-index: 190; padding: 1.5rem 6%; overflow-y: auto; }
.mobile-menu.open { display: block; animation: fadeUp .25s ease both; }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-menu a { display: block; padding: 0.9rem 0; font-size: 1.05rem; font-weight: 600; color: var(--dark); text-decoration: none; border-bottom: 1px solid var(--border); }
.mobile-menu .nav-cta { display: block; text-align: center; margin-top: 1.5rem; }

/* PAGE HEADER (for sub-pages) */
.page-header { padding: 3.5rem 5% 2.5rem; text-align: center; background: var(--green-light); border-bottom: 1px solid #c8e8d8; }
.page-header .section-eyebrow { justify-content: center; display: flex; }
.page-header h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; color: var(--dark); margin-bottom: 0.75rem; }
.page-header p { color: var(--text-muted); max-width: 560px; margin: 0 auto; font-size: 1rem; }

/* HERO */
.hero { padding: 4rem 5% 3.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; max-width: 1200px; margin: 0 auto; }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--green-light); color: var(--green-dark); font-size: 0.8rem; font-weight: 600; padding: 5px 14px; border-radius: 50px; margin-bottom: 1.5rem; border: 1px solid #b8dfc9; }
.hero-badge::before { content: '●'; font-size: 0.5rem; color: var(--green-mid); }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; line-height: 1.15; color: var(--dark); margin-bottom: 1.2rem; }
.hero h1 em { font-style: normal; color: var(--green); }
.hero > div > p { font-size: 1.02rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 2rem; max-width: 460px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn { display: inline-block; padding: 0.75rem 1.8rem; border-radius: 50px; font-size: 0.92rem; font-weight: 700; text-decoration: none; border: none; cursor: pointer; transition: all .2s; }
.btn-primary { background: var(--green); color: white; }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--green); border: 2px solid var(--green); }
.btn-outline:hover { background: var(--green-light); }
.hero-stats { display: flex; gap: 2rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--border); flex-wrap: wrap; }
.stat-num { font-size: 1.5rem; font-weight: 800; color: var(--dark); }
.stat-label { font-size: 0.78rem; color: var(--text-muted); }

/* HERO ILLUSTRATION */
.hero-visual { display: flex; align-items: center; justify-content: center; min-width: 0; }
.hero-illus-wrap { background: var(--green-light); border-radius: 28px; padding: 1.75rem; width: 100%; max-width: 420px; border: 1px solid #c8e8d8; position: relative; overflow: hidden; }
.hero-illus-wrap::before { content: ''; position: absolute; top: -40px; right: -40px; width: 180px; height: 180px; border-radius: 50%; background: rgba(26,107,74,0.08); }
.hero-illus-wrap svg { width: 100%; height: auto; display: block; position: relative; z-index: 1; }
.illus-card { background: white; border-radius: 14px; border: 1px solid var(--border); padding: 0.9rem 1.1rem; margin-top: 1rem; box-shadow: 0 4px 20px rgba(0,0,0,0.07); }
.illus-card-tag { font-size: 0.68rem; font-weight: 700; padding: 2px 9px; border-radius: 50px; margin-bottom: 0.4rem; display: inline-block; background: var(--green-light); color: var(--green-dark); }
.illus-card-title { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 0.85rem; color: var(--dark); }
.illus-card-meta { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.3rem; }

/* AI SECTION */
.ai-section { background: var(--dark); padding: 4.5rem 5%; position: relative; overflow: hidden; }
.ai-section::before { content: ''; position: absolute; top: -80px; left: -80px; width: 300px; height: 300px; background: radial-gradient(circle, rgba(26,107,74,0.25) 0%, transparent 70%); pointer-events: none; }
.ai-inner { max-width: 800px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.ai-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(26,107,74,0.2); color: #6ee4a8; font-size: 0.76rem; font-weight: 700; padding: 5px 14px; border-radius: 50px; border: 1px solid rgba(110,228,168,0.25); margin-bottom: 1.5rem; letter-spacing: 0.05em; }
.ai-badge::before { content: '✦'; font-size: 0.7rem; }
.ai-section h2 { font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 800; color: white; margin-bottom: 1rem; line-height: 1.2; }
.ai-section h2 span { color: #6ee4a8; }
.ai-inner > p { color: rgba(255,255,255,0.55); font-size: 0.98rem; margin-bottom: 2.25rem; }
.ai-search-box { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-lg); padding: 1.25rem; }
.search-input-row { display: flex; gap: 0.75rem; margin-bottom: 1rem; flex-wrap: wrap; }
#ai-input { flex: 1; min-width: 0; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); border-radius: 50px; padding: 0.75rem 1.25rem; color: white; font-family: 'Inter', sans-serif; font-size: 0.95rem; outline: none; transition: border .2s; }
#ai-input::placeholder { color: rgba(255,255,255,0.3); }
#ai-input:focus { border-color: rgba(110,228,168,0.5); }
#ai-btn { background: var(--green-mid); color: white; border: none; border-radius: 50px; padding: 0.75rem 1.5rem; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 0.88rem; cursor: pointer; transition: background .2s, transform .15s; white-space: nowrap; }
#ai-btn:hover { background: var(--green); transform: translateY(-1px); }
#ai-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.ai-chips { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.ai-chip { background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.6); border: 1px solid rgba(255,255,255,0.1); border-radius: 50px; padding: 4px 12px; font-size: 0.78rem; cursor: pointer; transition: all .2s; font-family: 'Inter', sans-serif; }
.ai-chip:hover { background: rgba(110,228,168,0.15); color: #6ee4a8; border-color: rgba(110,228,168,0.3); }
#ai-response { margin-top: 1.25rem; padding: 1.25rem; background: rgba(255,255,255,0.05); border-radius: var(--radius); border-left: 3px solid #6ee4a8; color: rgba(255,255,255,0.85); font-size: 0.93rem; line-height: 1.75; display: none; text-align: left; }
.typing-dots span { display: inline-block; width: 6px; height: 6px; background: #6ee4a8; border-radius: 50%; margin: 0 2px; animation: bounce 1.2s infinite; }
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes bounce { 0%,60%,100%{transform:translateY(0)} 30%{transform:translateY(-6px)} }

/* HOW IT WORKS */
.how-section { padding: 4.5rem 5%; max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-eyebrow { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); margin-bottom: 0.75rem; }
.section-header h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); font-weight: 800; color: var(--dark); line-height: 1.2; }
.section-header p.section-sub { color: var(--text-muted); max-width: 520px; margin: 0.75rem auto 0; font-size: 0.95rem; }
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.step-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem 1.75rem; transition: transform .3s, box-shadow .3s; }
.step-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.step-number { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 2.75rem; font-weight: 800; color: var(--green-light); line-height: 1; margin-bottom: 1rem; }
.step-icon { width: 48px; height: 48px; background: var(--green-light); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 1rem; }
.step-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--dark); margin-bottom: 0.5rem; }
.step-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; }

/* WHY / BENEFITS (how-it-works page) */
.benefits-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.25rem; margin-top: 1rem; }
.benefit-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem; display: flex; gap: 1rem; align-items: flex-start; }
.benefit-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--gold-light); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; flex-shrink: 0; }
.benefit-card h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 0.35rem; }
.benefit-card p { font-size: 0.87rem; color: var(--text-muted); line-height: 1.6; }

/* RESOURCES */
.resources-section { padding: 4.5rem 5%; background: white; }
.resources-inner { max-width: 1200px; margin: 0 auto; }
.filter-bar { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.filter-btn { padding: 0.5rem 1.1rem; border-radius: 50px; border: 1.5px solid var(--border); background: transparent; font-family: 'Inter', sans-serif; font-size: 0.85rem; cursor: pointer; color: var(--text-muted); transition: all .2s; }
.filter-btn.active, .filter-btn:hover { background: var(--green); color: white; border-color: var(--green); }
.search-bar-row { display: flex; gap: 0.75rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.search-bar-row input, .search-bar-row select { flex: 1; min-width: 160px; padding: 0.7rem 1.1rem; border-radius: 50px; border: 1.5px solid var(--border); font-family: 'Inter', sans-serif; font-size: 0.9rem; background: var(--cream); color: var(--text); }
.search-bar-row input:focus, .search-bar-row select:focus { border-color: var(--green-mid); outline: none; }
.resources-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(260px,1fr)); gap: 1.25rem; }
.res-card { background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; transition: all .25s; }
.res-card:hover { border-color: var(--green-mid); box-shadow: 0 6px 24px rgba(26,107,74,0.1); transform: translateY(-3px); }
.res-card.highlight { background: var(--green-light); border-color: #c8e8d8; }
.res-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 0.75rem; }
.res-icon { font-size: 1.8rem; }
.res-rating { font-size: 0.78rem; color: var(--gold); font-weight: 600; }
.res-title { font-weight: 700; font-size: 0.95rem; color: var(--dark); margin-bottom: 0.35rem; }
.res-uni { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.res-footer { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.res-type { font-size: 0.73rem; font-weight: 700; padding: 3px 10px; border-radius: 50px; }
.res-downloads { font-size: 0.78rem; color: var(--text-muted); }
.res-actions { margin-top: 1rem; display: flex; gap: 0.5rem; }
.res-download-btn { flex: 1; text-align: center; background: var(--green); color: white; border: none; border-radius: 50px; padding: 0.55rem 1rem; font-size: 0.82rem; font-weight: 700; text-decoration: none; cursor: pointer; transition: background .2s; font-family: 'Plus Jakarta Sans', sans-serif; }
.res-download-btn:hover { background: var(--green-dark); }
.res-download-btn.disabled { background: var(--border); color: var(--text-muted); cursor: not-allowed; pointer-events: none; }
.no-results { text-align: center; padding: 3rem 1rem; color: var(--text-muted); }

/* UNIVERSITIES */
.unis-section { padding: 4.5rem 5%; background: var(--cream); }
.unis-inner { max-width: 1100px; margin: 0 auto; }
.unis-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px,1fr)); gap: 1rem; margin-top: 2.5rem; }
.uni-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.1rem 1rem; display: flex; align-items: center; gap: 0.9rem; transition: all .2s; cursor: pointer; text-decoration: none; }
.uni-card:hover { border-color: var(--green); box-shadow: 0 4px 16px rgba(26,107,74,0.1); transform: translateY(-2px); }
.uni-logo-box { width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 0.75rem; letter-spacing: -0.5px; }
.uni-name { font-size: 0.82rem; font-weight: 600; color: var(--dark); line-height: 1.3; }
.uni-count { font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; }

/* UPLOAD CTA */
.upload-section { padding: 4.5rem 5%; background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%); text-align: center; }
.upload-inner { max-width: 600px; margin: 0 auto; }
.upload-section h2 { color: white; font-size: clamp(1.6rem,3.5vw,2.4rem); font-weight: 800; margin-bottom: 1rem; }
.upload-section p { color: rgba(255,255,255,0.7); margin-bottom: 2rem; }
.btn-white { background: white; color: var(--green-dark); font-weight: 700; }
.btn-white:hover { background: #f0faf5; transform: translateY(-2px); }

/* FOOTER */
footer { background: var(--dark); color: rgba(255,255,255,0.5); padding: 3rem 5% 6.5rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 2rem; }
.footer-logo { font-size: 1.4rem; font-weight: 800; color: white; margin-bottom: 0.75rem; }
.footer-logo span { color: #6ee4a8; }
footer p { font-size: 0.85rem; line-height: 1.7; margin-bottom: 1rem; }
footer h4 { font-family: 'Plus Jakarta Sans', sans-serif; color: white; font-size: 0.9rem; margin-bottom: 1rem; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 0.5rem; }
footer ul a { color: rgba(255,255,255,0.45); text-decoration: none; font-size: 0.85rem; transition: color .2s; }
footer ul a:hover { color: #6ee4a8; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; flex-wrap: wrap; gap: 0.5rem; max-width: 1200px; margin: 0 auto; }
.footer-bottom a { color: #6ee4a8; text-decoration: none; }

@keyframes fadeUp { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }
.fade-up { animation: fadeUp 0.6s ease forwards; }
.fade-up-2 { animation: fadeUp 0.6s 0.15s ease both; }

/* ═══════════════════════════════════════════
   FLOATING CHATBOT WIDGET (all pages)
   ═══════════════════════════════════════════ */
#dc-launcher { position: fixed; bottom: 20px; right: 20px; z-index: 500; width: 60px; height: 60px; border-radius: 50%; background: var(--green); color: white; border: none; cursor: pointer; box-shadow: 0 8px 24px rgba(15,74,50,0.35); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; transition: transform .2s, background .2s; }
#dc-launcher:hover { background: var(--green-dark); transform: scale(1.06); }
#dc-launcher .dc-pulse { position: absolute; inset: 0; border-radius: 50%; background: var(--green-mid); opacity: 0.55; animation: dcPulse 2.4s ease-out infinite; }
@keyframes dcPulse { 0% { transform: scale(1); opacity: 0.55; } 100% { transform: scale(1.7); opacity: 0; } }
#dc-launcher .dc-badge { position: absolute; top: -2px; right: -2px; background: var(--gold); color: var(--dark); font-size: 0.6rem; font-weight: 800; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 2px solid var(--cream); }

#dc-panel { position: fixed; bottom: 92px; right: 20px; z-index: 500; width: 360px; max-width: calc(100vw - 32px); height: 500px; max-height: calc(100vh - 140px); background: var(--dark); border-radius: 20px; box-shadow: 0 20px 60px rgba(0,0,0,0.35); display: none; flex-direction: column; overflow: hidden; border: 1px solid rgba(255,255,255,0.08); }
#dc-panel.open { display: flex; animation: fadeUp .25s ease both; }
.dc-header { padding: 1rem 1.1rem; background: rgba(255,255,255,0.04); display: flex; align-items: center; gap: 0.6rem; border-bottom: 1px solid rgba(255,255,255,0.08); flex-shrink: 0; }
.dc-header-icon { width: 34px; height: 34px; border-radius: 9px; background: var(--green-mid); display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.dc-header-text { flex: 1; min-width: 0; }
.dc-header-text .dc-title { color: white; font-weight: 700; font-size: 0.88rem; font-family: 'Plus Jakarta Sans', sans-serif; }
.dc-header-text .dc-sub { color: #6ee4a8; font-size: 0.72rem; }
.dc-close { background: none; border: none; color: rgba(255,255,255,0.5); font-size: 1.3rem; cursor: pointer; line-height: 1; padding: 4px; }
.dc-close:hover { color: white; }
.dc-messages { flex: 1; overflow-y: auto; padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: 0.7rem; }
.dc-msg { max-width: 85%; padding: 0.6rem 0.9rem; border-radius: 14px; font-size: 0.86rem; line-height: 1.55; }
.dc-msg.bot { background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.9); align-self: flex-start; border-bottom-left-radius: 4px; }
.dc-msg.user { background: var(--green-mid); color: white; align-self: flex-end; border-bottom-right-radius: 4px; }
.dc-msg.error { background: rgba(248,113,113,0.12); color: #f87171; align-self: flex-start; border: 1px solid rgba(248,113,113,0.25); }
.dc-typing span { display: inline-block; width: 5px; height: 5px; background: #6ee4a8; border-radius: 50%; margin-right: 3px; animation: bounce 1.2s infinite; }
.dc-typing span:nth-child(2) { animation-delay: .2s; } .dc-typing span:nth-child(3) { animation-delay: .4s; }
.dc-suggest-row { padding: 0 1.1rem 0.75rem; display: flex; gap: 0.4rem; flex-wrap: wrap; flex-shrink: 0; }
.dc-suggest { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.6); border: 1px solid rgba(255,255,255,0.1); border-radius: 50px; padding: 4px 10px; font-size: 0.72rem; cursor: pointer; }
.dc-suggest:hover { color: #6ee4a8; border-color: rgba(110,228,168,0.3); }
.dc-input-row { padding: 0.85rem 1rem; border-top: 1px solid rgba(255,255,255,0.08); display: flex; gap: 0.5rem; flex-shrink: 0; }
.dc-input-row input { flex: 1; min-width: 0; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); border-radius: 50px; padding: 0.6rem 1rem; color: white; font-size: 0.85rem; outline: none; }
.dc-input-row input::placeholder { color: rgba(255,255,255,0.35); }
.dc-input-row button { background: var(--green-mid); color: white; border: none; border-radius: 50%; width: 38px; height: 38px; flex-shrink: 0; cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center; }
.dc-input-row button:hover { background: var(--green); }
.dc-input-row button:disabled { opacity: 0.5; cursor: not-allowed; }

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .hero { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 6% 2.5rem; text-align: left; }
  .hero > div > p { max-width: 100%; }
  .hero-visual { order: -1; max-width: 320px; margin: 0 auto; }
  .steps-grid, .benefits-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .unis-grid { grid-template-columns: repeat(auto-fill, minmax(140px,1fr)); }
  .search-input-row { flex-direction: column; }
  #ai-btn { width: 100%; }
  .search-bar-row { flex-direction: column; }
  #dc-panel { right: 16px; left: 16px; width: auto; bottom: 84px; max-height: calc(100vh - 120px); }
  #dc-launcher { bottom: 16px; right: 16px; }
  .resources-grid { grid-template-columns: 1fr; }
  section, .hero, .how-section, .resources-inner, .unis-inner { padding-left: 6%; padding-right: 6%; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 1.8rem; }
  .hero-stats { gap: 1.25rem; }
  .nav-logo { font-size: 1.2rem; }
}
