/* =====================================================================
   ICMISC 2026 — International Conference on Recent Trends in
   Machine Learning, IoT, Smart Cities & Applications
   Stylesheet
   ===================================================================== */

:root {
  --navy: #0b1437;
  --navy-2: #111a47;
  --blue: #2563eb;
  --blue-dk: #1e3a8a;
  --cyan: #06b6d4;
  --cyan-lt: #22d3ee;
  --sky: #38bdf8;
  --amber: #f59e0b;
  --amber-lt: #fbbf24;
  --ink: #0f172a;
  --slate: #475569;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f6f9ff;
  --bg-soft-2: #eef4ff;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(15, 23, 42, .06);
  --shadow: 0 10px 30px rgba(15, 23, 42, .10);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, .18);
  --grad-brand: linear-gradient(120deg, #1e3a8a 0%, #2563eb 45%, #06b6d4 100%);
  --grad-brand-soft: linear-gradient(120deg, #eef4ff, #e0f7ff);
  --grad-amber: linear-gradient(120deg, #f59e0b, #fbbf24);
  --maxw: 1200px;
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* ---------- Reset & base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--cyan); }
ul { list-style: none; }
h1, h2, h3, h4 { line-height: 1.18; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
section { position: relative; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 26px; border-radius: 999px;
  font-weight: 700; font-size: .95rem; cursor: pointer;
  border: 1.5px solid transparent; transition: transform .18s ease, box-shadow .25s ease, background .25s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: 0 10px 24px rgba(37, 99, 235, .35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(37, 99, 235, .45); color:#fff; }
.btn-amber { background: var(--grad-amber); color: #3a2503; box-shadow: 0 10px 24px rgba(245, 158, 11, .35); }
.btn-amber:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(245, 158, 11, .45); color:#3a2503; }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.45); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.18); color: #fff; transform: translateY(-2px); }
.btn-outline { background: #fff; color: var(--blue-dk); border-color: var(--line); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-sm { padding: 9px 18px; font-size: .85rem; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy);
  color: #cbd5e1; font-size: .82rem;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; height: 40px; flex-wrap: wrap; }
.topbar a { color: #e2e8f0; }
.topbar a:hover { color: var(--cyan-lt); }
.topbar-left { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-left span, .topbar-left a { display: inline-flex; align-items: center; gap: 7px; }
.topbar .badge-pub { display:inline-flex; align-items:center; gap:7px; font-weight: 700; color: #fff; }
.topbar .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan-lt); box-shadow: 0 0 0 4px rgba(34,211,238,.18); }
.topbar svg { width: 14px; height: 14px; opacity: .85; }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease, background .25s ease;
}
.nav.scrolled { box-shadow: var(--shadow-sm); background: rgba(255,255,255,.96); }
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 46px; height: 46px; }
.brand-txt strong { display: block; font-size: 1.18rem; font-weight: 900; letter-spacing: -.03em; color: var(--ink); line-height: 1; }
.brand-txt small { display: block; font-size: .68rem; color: var(--muted); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  color: var(--slate); font-weight: 600; font-size: .92rem;
  padding: 9px 13px; border-radius: 10px; transition: background .2s, color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue-dk); background: var(--bg-soft-2); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; margin: 5px 0; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #eaf2ff; overflow: hidden;
  background: radial-gradient(1200px 600px at 80% -10%, #1e40af 0%, transparent 60%),
              radial-gradient(900px 500px at 5% 110%, #0e7490 0%, transparent 55%),
              linear-gradient(160deg, #0b1437 0%, #111a47 55%, #0b2447 100%);
  padding: 64px 0 90px;
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(148,197,255,.07) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(148,197,255,.07) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(900px 600px at 70% 20%, #000 0%, transparent 75%);
  pointer-events: none;
}
.hero-nodes { position: absolute; inset: 0; pointer-events: none; opacity: .5; }
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(56,189,248,.12); border: 1px solid rgba(56,189,248,.35);
  color: #bae6fd; padding: 8px 16px; border-radius: 999px;
  font-size: .8rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
  margin-bottom: 22px;
}
.hero-eyebrow .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan-lt); box-shadow: 0 0 0 0 rgba(34,211,238,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(34,211,238,.55);} 70%{box-shadow:0 0 0 12px rgba(34,211,238,0);} 100%{box-shadow:0 0 0 0 rgba(34,211,238,0);} }
.hero h1 { font-size: clamp(2rem, 4.4vw, 3.35rem); font-weight: 900; color: #fff; letter-spacing: -.03em; }
.hero h1 .accent { background: linear-gradient(120deg,#38bdf8,#22d3ee 60%,#a5f3fc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: 1.06rem; color: #c7d6f0; margin: 20px 0 26px; max-width: 560px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-meta .chip {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  padding: 11px 16px; border-radius: 12px; font-size: .9rem; color: #e4edff; font-weight: 600;
  backdrop-filter: blur(6px);
}
.hero-meta .chip svg { width: 18px; height: 18px; color: var(--cyan-lt); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { margin-top: 28px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; color:#9fb3d8; font-size:.82rem; }
.hero-trust strong { color:#fff; }

/* Hero card / countdown */
.hero-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
  border-radius: 22px; padding: 28px; backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lg);
}
.hero-card h3 { color: #fff; font-size: 1.05rem; margin-bottom: 4px; }
.hero-card .sub { color: #9fb3d8; font-size: .85rem; margin-bottom: 20px; }
.countdown { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-bottom: 22px; }
.countdown .unit { background: rgba(8,14,40,.55); border:1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 16px 8px; text-align: center; }
.countdown .num { font-size: 1.9rem; font-weight: 900; color: #fff; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown .lab { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: #9fb3d8; margin-top: 7px; }
.hero-card .deadline { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: rgba(245,158,11,.14); border: 1px solid rgba(245,158,11,.4); border-radius: 14px; padding: 14px 16px; }
.hero-card .deadline .l { font-size: .78rem; color: #fcd9a0; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.hero-card .deadline .d { font-size: 1.05rem; color: #fff; font-weight: 800; }

/* wave divider */
.wave { display: block; width: 100%; height: auto; margin-top: -1px; }

/* ---------- Stats strip ---------- */
.stats { background: #fff; margin-top: -2px; }
.stats .container { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; padding-top: 6px; padding-bottom: 6px; }
.stat { text-align: center; padding: 26px 12px; border-radius: var(--radius); }
.stat .n { font-size: 2.4rem; font-weight: 900; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -.03em; }
.stat .t { color: var(--muted); font-weight: 600; font-size: .92rem; margin-top: 4px; }

/* ---------- Section scaffolding ---------- */
.section { padding: 86px 0; }
.section.alt { background: var(--bg-soft); }
.section.dark { background: linear-gradient(160deg,#0b1437,#102052); color:#dce6fb; }
.sec-head { max-width: 720px; margin: 0 auto 54px; text-align: center; }
.sec-head.left { margin-left: 0; text-align: left; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--blue); font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em;
  margin-bottom: 14px;
}
.eyebrow::before { content:""; width: 26px; height: 2px; background: var(--cyan); border-radius: 2px; }
.section.dark .eyebrow { color: var(--cyan-lt); }
.sec-head h2 { font-size: clamp(1.8rem, 3.3vw, 2.6rem); }
.section.dark .sec-head h2 { color: #fff; }
.sec-head p { color: var(--muted); font-size: 1.05rem; margin-top: 14px; }
.section.dark .sec-head p { color: #aebfe0; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.about-grid p { color: var(--slate); margin-bottom: 16px; font-size: 1.02rem; }
.about-points { display: grid; gap: 14px; margin-top: 24px; }
.about-points li { display: flex; gap: 13px; align-items: flex-start; color: var(--ink); font-weight: 600; }
.about-points .ic { flex: 0 0 26px; width: 26px; height: 26px; border-radius: 8px; background: var(--grad-brand-soft); color: var(--blue); display: grid; place-items: center; }
.about-points .ic svg { width: 15px; height: 15px; }
.about-visual {
  position: relative; border-radius: 22px; padding: 34px; color: #fff;
  background: var(--grad-brand); box-shadow: var(--shadow-lg); overflow: hidden;
}
.about-visual::after { content:""; position:absolute; right:-40px; top:-40px; width: 180px; height: 180px; background: radial-gradient(circle, rgba(255,255,255,.25), transparent 70%); }
.about-visual h3 { color:#fff; font-size: 1.3rem; margin-bottom: 18px; }
.about-visual .org { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.18); }
.about-visual .org:first-of-type { border-top: 0; }
.about-visual .org .lab { font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: #cfe0ff; }
.about-visual .org .val { font-weight: 700; }

/* ---------- Indexing / publication ---------- */
.pub-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.pub-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; text-align: center; transition: transform .2s, box-shadow .25s, border-color .2s;
}
.pub-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #c7dbff; }
.pub-card .ic { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 16px; display: grid; place-items: center; background: var(--grad-brand-soft); color: var(--blue); }
.pub-card .ic svg { width: 27px; height: 27px; }
.pub-card h4 { font-size: 1.08rem; margin-bottom: 6px; }
.pub-card p { color: var(--muted); font-size: .9rem; }

/* ---------- Tracks ---------- */
.tracks-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.track {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; transition: transform .2s, box-shadow .25s, border-color .2s;
  position: relative; overflow: hidden;
}
.track::before { content:""; position:absolute; left:0; top:0; height: 100%; width: 4px; background: var(--grad-brand); transform: scaleY(0); transform-origin: top; transition: transform .3s; }
.track:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #cfe0ff; }
.track:hover::before { transform: scaleY(1); }
.track .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-brand-soft); color: var(--blue); margin-bottom: 16px; }
.track .ic svg { width: 26px; height: 26px; }
.track h4 { font-size: 1.12rem; margin-bottom: 10px; }
.track p { color: var(--muted); font-size: .92rem; margin-bottom: 14px; }
.track .tags { display: flex; flex-wrap: wrap; gap: 7px; }
.track .tags span { font-size: .74rem; font-weight: 600; color: var(--slate); background: var(--bg-soft); border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; }
.tracks-note { text-align:center; margin-top: 40px; color: var(--muted); }

/* ---------- Important dates timeline ---------- */
.timeline { max-width: 880px; margin: 0 auto; position: relative; }
.timeline::before { content:""; position:absolute; left: 27px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--blue), var(--cyan)); }
.tl-item { position: relative; padding: 0 0 30px 74px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot { position: absolute; left: 16px; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); display:grid; place-items:center; }
.tl-dot::after { content:""; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }
.tl-item.is-deadline .tl-dot { border-color: var(--amber); }
.tl-item.is-deadline .tl-dot::after { background: var(--amber); }
.tl-card { background:#fff; border:1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 20px; display:flex; justify-content: space-between; align-items:center; gap: 16px; flex-wrap: wrap; box-shadow: var(--shadow-sm); }
.tl-card .ev { font-weight: 700; color: var(--ink); }
.tl-card .ev small { display:block; font-weight:500; color: var(--muted); font-size: .82rem; }
.tl-card .dt { font-weight: 800; color: var(--blue-dk); white-space: nowrap; }
.tl-item.is-deadline .tl-card { border-color: #fcd9a0; background: #fffdf7; }
.tl-item.is-deadline .dt { color: #b45309; }
.badge-ext { font-size: .68rem; background: var(--grad-amber); color:#3a2503; font-weight:800; padding: 2px 9px; border-radius: 999px; margin-left: 8px; text-transform: uppercase; letter-spacing:.04em; }

/* ---------- Speakers ---------- */
.speakers-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.speaker {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: transform .2s, box-shadow .25s; position: relative; overflow:hidden;
}
.speaker:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.speaker .avatar {
  width: 72px; height: 72px; border-radius: 18px; display: grid; place-items: center;
  font-size: 1.6rem; font-weight: 900; color: #fff; background: var(--grad-brand); margin-bottom: 16px;
  box-shadow: 0 8px 18px rgba(37,99,235,.3);
}
.speaker h4 { font-size: 1.14rem; }
.speaker .role { color: var(--blue); font-weight: 700; font-size: .86rem; margin: 4px 0 2px; }
.speaker .aff { color: var(--muted); font-size: .88rem; }
.speaker .flag { display:inline-flex; align-items:center; gap:6px; margin-top: 10px; font-size:.8rem; color: var(--slate); font-weight:600; }
.speaker .talk { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--slate); font-style: italic; }
.speaker .tentative { position:absolute; top:18px; right:18px; font-size:.66rem; font-weight:800; text-transform:uppercase; letter-spacing:.05em; color:var(--amber); background:#fff7ed; border:1px solid #fed7aa; padding:3px 9px; border-radius:999px; }

/* ---------- Committee ---------- */
.committee-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.section.dark .comm-group {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: 24px;
}
.comm-group h4 { color: #fff; font-size: 1.02rem; margin-bottom: 16px; display:flex; align-items:center; gap:10px; }
.comm-group h4 .bar { width: 22px; height: 3px; border-radius: 3px; background: var(--cyan-lt); }
.comm-group li { padding: 9px 0; border-top: 1px solid rgba(255,255,255,.09); }
.comm-group li:first-of-type { border-top: 0; }
.comm-group .nm { color: #fff; font-weight: 700; font-size: .94rem; }
.comm-group .af { color: #9fb3d8; font-size: .82rem; }
.committee-cta { text-align:center; margin-top: 44px; }

/* ---------- Registration ---------- */
.reg-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; align-items: stretch; }
.reg-card {
  background: #fff; border: 1.5px solid var(--line); border-radius: 20px; padding: 32px 28px;
  display: flex; flex-direction: column; transition: transform .2s, box-shadow .25s, border-color .2s; position: relative;
}
.reg-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.reg-card.featured { border-color: var(--blue); box-shadow: var(--shadow); }
.reg-card.featured::before {
  content:"Most Popular"; position:absolute; top:-13px; left:50%; transform:translateX(-50%);
  background: var(--grad-brand); color:#fff; font-size:.72rem; font-weight:800; letter-spacing:.05em;
  padding: 5px 16px; border-radius: 999px; text-transform: uppercase;
}
.reg-card .cat { font-weight: 800; font-size: 1.12rem; }
.reg-card .who { color: var(--muted); font-size: .86rem; margin-bottom: 18px; }
.reg-card .price { font-size: 2.5rem; font-weight: 900; color: var(--ink); letter-spacing: -.03em; line-height: 1; }
.reg-card .price small { font-size: .9rem; color: var(--muted); font-weight: 600; }
.reg-card .late { color: var(--muted); font-size: .84rem; margin: 8px 0 20px; }
.reg-card .late b { color: var(--amber); }
.reg-card ul.incl { display: grid; gap: 11px; margin-bottom: 24px; flex: 1; }
.reg-card ul.incl li { display: flex; gap: 10px; align-items: flex-start; color: var(--slate); font-size: .92rem; }
.reg-card ul.incl li svg { width: 18px; height: 18px; color: #16a34a; flex: 0 0 18px; margin-top: 2px; }
.reg-tax { max-width: 880px; margin: 28px auto 0; text-align: center; font-weight: 700; color: var(--blue-dk); font-size: .95rem; }
.reg-note { max-width: 880px; margin: 16px auto 0; background: var(--bg-soft); border:1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; display:flex; gap: 14px; }
.reg-note svg { width: 22px; height: 22px; color: var(--blue); flex:0 0 22px; }
.reg-note p { color: var(--slate); font-size: .92rem; }
.reg-note b { color: var(--ink); }

/* ---------- History ---------- */
.history-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.hist-card {
  background:#fff; border:1px solid var(--line); border-radius: var(--radius);
  padding: 24px; transition: transform .2s, box-shadow .25s; display:flex; flex-direction:column; gap:6px;
}
.hist-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.hist-card .yr { font-size: 1.9rem; font-weight: 900; background: var(--grad-brand); -webkit-background-clip:text; background-clip:text; color:transparent; letter-spacing:-.03em; }
.hist-card .ed { font-weight: 700; color: var(--ink); }
.hist-card .pub { color: var(--muted); font-size: .86rem; margin: 6px 0 12px; flex:1; }
.hist-card a.pl { display:inline-flex; align-items:center; gap:7px; font-weight:700; font-size:.86rem; }
.hist-card a.pl svg { width:15px; height:15px; }

/* ---------- Venue ---------- */
.venue-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items:center; }
.venue-info h3 { font-size: 1.5rem; margin-bottom: 14px; }
.venue-info p { color: var(--slate); margin-bottom: 16px; }
.venue-list { display:grid; gap: 16px; margin-top: 20px; }
.venue-list li { display:flex; gap:14px; align-items:flex-start; }
.venue-list .ic { flex:0 0 42px; width:42px; height:42px; border-radius:12px; background: var(--grad-brand-soft); color:var(--blue); display:grid; place-items:center; }
.venue-list .ic svg { width:20px; height:20px; }
.venue-list .lab { font-size:.78rem; text-transform:uppercase; letter-spacing:.05em; color: var(--muted); font-weight:700; }
.venue-list .val { color: var(--ink); font-weight:600; }
.venue-map { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); border:1px solid var(--line); min-height: 360px; }
.venue-map iframe { width:100%; height:100%; min-height:360px; border:0; display:block; }

/* ---------- FAQ ---------- */
.faq { max-width: 840px; margin: 0 auto; }
.faq-item { border:1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 14px; background:#fff; overflow:hidden; transition: box-shadow .2s, border-color .2s; }
.faq-item.open { box-shadow: var(--shadow-sm); border-color: #c7dbff; }
.faq-q { width:100%; text-align:left; background:none; border:0; cursor:pointer; padding: 20px 24px; font-weight: 700; font-size: 1.02rem; color: var(--ink); display:flex; justify-content:space-between; align-items:center; gap:16px; font-family:inherit; }
.faq-q .pm { flex:0 0 26px; width:26px; height:26px; border-radius:50%; background:var(--bg-soft-2); color:var(--blue); display:grid; place-items:center; transition: transform .25s, background .2s; font-weight: 900; }
.faq-item.open .faq-q .pm { transform: rotate(45deg); background: var(--blue); color:#fff; }
.faq-a { max-height:0; overflow:hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 24px 20px; color: var(--slate); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--grad-brand); color:#fff; border-radius: 26px; padding: 56px; text-align:center;
  position: relative; overflow:hidden; box-shadow: var(--shadow-lg);
}
.cta-band::before { content:""; position:absolute; inset:0; background-image: linear-gradient(rgba(255,255,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(600px 300px at 50% 0,#000,transparent 75%); }
.cta-band > * { position: relative; z-index:1; }
.cta-band h2 { color:#fff; font-size: clamp(1.7rem,3vw,2.4rem); }
.cta-band p { color:#dbe7ff; margin: 14px auto 28px; max-width: 620px; font-size:1.05rem; }
.cta-band .hero-actions { justify-content:center; }

/* ---------- Contact ---------- */
.contact-grid { display:grid; grid-template-columns: .9fr 1.1fr; gap: 44px; }
.contact-cards { display:grid; gap:16px; }
.contact-card { display:flex; gap:16px; align-items:flex-start; background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: box-shadow .2s, transform .2s; }
.contact-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.contact-card .ic { flex:0 0 46px; width:46px; height:46px; border-radius:12px; background: var(--grad-brand-soft); color: var(--blue); display:grid; place-items:center; }
.contact-card .ic svg { width:22px; height:22px; }
.contact-card .lab { font-size:.76rem; text-transform:uppercase; letter-spacing:.05em; color:var(--muted); font-weight:700; }
.contact-card .val { color: var(--ink); font-weight:700; }
.contact-card .val a { color: var(--ink); }
.contact-card .val a:hover { color: var(--blue); }
.form { background:#fff; border:1px solid var(--line); border-radius: 20px; padding: 32px; box-shadow: var(--shadow-sm); }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.field { margin-bottom: 16px; }
.field label { display:block; font-weight:700; font-size:.86rem; color:var(--ink); margin-bottom:7px; }
.field input, .field textarea, .field select {
  width:100%; padding: 12px 15px; border:1.5px solid var(--line); border-radius: 11px;
  font-family:inherit; font-size:.95rem; color:var(--ink); background:#fff; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline:0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37,99,235,.12); }
.field textarea { resize: vertical; min-height: 120px; }
.form .note { font-size:.82rem; color: var(--muted); margin-top: 10px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #9fb3d8; padding: 64px 0 28px; }
.footer-grid { display:grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; border-bottom:1px solid rgba(255,255,255,.1); }
.footer .brand-txt strong { color:#fff; }
.footer .brand-txt small { color: #7e93bd; }
.footer p { font-size:.9rem; margin-top: 16px; max-width: 320px; }
.footer h5 { color:#fff; font-size: .82rem; text-transform: uppercase; letter-spacing:.08em; margin-bottom: 18px; }
.footer-col a, .footer-col li { display:block; color:#9fb3d8; font-size:.92rem; padding: 5px 0; }
.footer-col a:hover { color: var(--cyan-lt); }
.footer-soc { display:flex; gap:10px; margin-top: 18px; }
.footer-soc a { width:38px; height:38px; border-radius:10px; background:rgba(255,255,255,.07); display:grid; place-items:center; color:#cbd5e1; }
.footer-soc a:hover { background: var(--blue); color:#fff; }
.footer-soc svg { width:18px; height:18px; }
.footer-bottom { display:flex; justify-content:space-between; align-items:center; gap:16px; padding-top: 24px; flex-wrap:wrap; font-size:.85rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity:0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity:1; transform:none; }

/* ---------- Back to top ---------- */
.totop { position: fixed; right: 24px; bottom: 24px; width: 48px; height: 48px; border-radius: 14px; background: var(--grad-brand); color:#fff; display:grid; place-items:center; box-shadow: var(--shadow); border:0; cursor:pointer; opacity:0; pointer-events:none; transform: translateY(12px); transition: opacity .3s, transform .3s; z-index: 90; }
.totop.show { opacity:1; pointer-events:auto; transform:none; }
.totop svg { width:22px; height:22px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { max-width: 520px; }
  .tracks-grid, .speakers-grid, .committee-grid, .history-grid { grid-template-columns: repeat(2,1fr); }
  .pub-grid { grid-template-columns: repeat(2,1fr); }
  .about-grid, .venue-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-links { position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch; background:#fff; padding: 16px 24px 24px; gap: 4px; border-bottom:1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-120%); transition: transform .35s ease; }
  .nav-links.show { transform: translateY(0); }
  .nav-links a { padding: 13px; font-size: 1rem; }
  .nav-toggle { display: block; }
  .nav-cta .btn-text { display:none; }
  .reg-grid { grid-template-columns: 1fr; max-width: 460px; margin:0 auto; }
  .reg-card.featured { transform:none; }
}
@media (max-width: 620px) {
  .stats .container { grid-template-columns: repeat(2,1fr); }
  .tracks-grid, .speakers-grid, .committee-grid, .history-grid, .pub-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .countdown { grid-template-columns: repeat(4,1fr); gap:8px; }
  .countdown .num { font-size: 1.4rem; }
  .cta-band { padding: 38px 24px; }
  .topbar-left { gap: 14px; }
  .topbar .badge-pub { display:none; }
  .section { padding: 60px 0; }
  .hero h1 { font-size: 2rem; }
}
