/*
Theme Name: ICC27 - International Conference on IoT, Data and Cloud Computing
Theme URI: https://icc27.org
Author: M&A Ecom Enterprises LLC
Description: Prestigious light purple gradient theme for ICC'27 — elegant lavender and violet tones with warm gold accents.
Version: 3.1.0
License: GNU General Public License v2 or later
Text Domain: icc27
*/

:root {
  --purple-900: #2D1854;
  --purple-800: #3B1F6E;
  --purple-700: #4C2889;
  --purple-600: #6D3CBF;
  --purple-500: #8B5CF6;
  --purple-400: #A78BFA;
  --purple-300: #C4B5FD;
  --purple-200: #DDD6FE;
  --purple-100: #EDE9FE;
  --purple-50: #F5F3FF;
  --gold-600: #B8952F;
  --gold-500: #D4A843;
  --gold-400: #E8C36A;
  --gold-300: #F0D88E;
  --gold-200: #F7EABD;
  --plum-700: #6B2157;
  --plum-500: #9D3B7D;
  --plum-100: #FAEAF5;
  --white: #FFFFFF;
  --surface: #F3EFFE;
  --surface-raised: rgba(255,255,255,0.78);
  --surface-overlay: rgba(255,255,255,0.92);
  --border: rgba(109,60,191,0.1);
  --border-hover: rgba(109,60,191,0.2);
  --text-primary: #1E0A3C;
  --text-secondary: #4A3562;
  --text-body: #5C4876;
  --text-muted: #8A77A0;
  --font-heading: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --max-width: 1200px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: linear-gradient(170deg, #EDE9FE 0%, #F5F0FF 12%, #FFF5F5 24%, #FFF8F0 36%, #F5F3FF 48%, #F0F7FF 60%, #FDF8F3 72%, #FAF5FF 84%, #FFFFFF 100%);
  background-attachment: fixed;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
  max-width: 100vw;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul, ol { list-style: none; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; width: 100%; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1.2;
  font-weight: 600;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.25rem; }
p { margin-bottom: 1em; }

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--purple-600);
  margin-bottom: 0.75rem;
  display: block;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--purple-900);
  border-color: var(--gold-500);
  box-shadow: 0 4px 16px rgba(212, 168, 67, 0.3);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(212, 168, 67, 0.4);
}
.btn-outline {
  background: transparent;
  color: var(--purple-700);
  border-color: var(--purple-300);
}
.btn-outline:hover {
  border-color: var(--purple-500);
  background: rgba(139, 92, 246, 0.04);
}
.btn-dark {
  background: linear-gradient(135deg, var(--purple-800), var(--purple-900));
  color: var(--gold-400);
  border-color: var(--purple-800);
  box-shadow: 0 4px 16px rgba(59, 31, 110, 0.25);
}
.btn-dark:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(59, 31, 110, 0.35);
}
.btn-teal {
  background: var(--purple-600);
  color: var(--white);
  border-color: var(--purple-600);
}
.btn-teal:hover { transform: translateY(-1px); background: var(--purple-700); }

/* HEADER */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(237, 233, 254, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(109, 60, 191, 0.08);
  transition: all var(--transition);
}
.site-header.scrolled {
  background: rgba(245, 243, 255, 0.95);
  box-shadow: 0 4px 30px rgba(109, 60, 191, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 72px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.site-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.logo-icon {
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.site-logo:hover .logo-icon { transform: rotate(8deg) scale(1.08); }

/* SVG node animations */
.logo-node { transition: all 0.4s; }
.logo-node-1 { animation: logoPulse 3s ease-in-out infinite; }
.logo-node-2 { animation: logoPulse 3s ease-in-out 0.5s infinite; }
.logo-node-3 { animation: logoPulse 3s ease-in-out 1s infinite; }
@keyframes logoPulse {
  0%, 100% { r: 3; opacity: 1; }
  50% { r: 3.8; opacity: 0.8; }
}
.logo-dot { animation: logoDotFloat 4s ease-in-out infinite; }
.logo-dot-1 { animation-delay: 0s; }
.logo-dot-2 { animation-delay: 1.3s; }
.logo-dot-3 { animation-delay: 2.6s; }
@keyframes logoDotFloat {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}
.logo-line { animation: logoLineGlow 4s ease-in-out infinite; }
@keyframes logoLineGlow {
  0%, 100% { stroke-opacity: 0.7; }
  50% { stroke-opacity: 1; }
}

/* Text group */
.logo-text-group { display: flex; align-items: center; gap: 12px; }
.logo-title {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
}
.logo-icc {
  color: var(--text-primary);
  transition: color 0.3s;
}
.logo-27 {
  color: var(--purple-600);
  transition: color 0.3s;
}
.site-logo:hover .logo-icc { color: var(--purple-800); }
.site-logo:hover .logo-27 { color: var(--gold-500); }

.logo-subtitle-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-sep {
  display: block;
  width: 1px;
  height: 32px;
  background: var(--purple-300);
  opacity: 0.5;
  flex-shrink: 0;
}
.logo-subtitle-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.logo-subtitle-text span {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.3;
  opacity: 0.7;
  transition: opacity 0.3s;
}
.site-logo:hover .logo-subtitle-text span { opacity: 1; }

/* Shimmer on hover */
.logo-title { position: relative; overflow: hidden; }
.logo-title::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212,168,67,0.15), transparent);
  transition: left 0.6s ease;
  pointer-events: none;
}
.site-logo:hover .logo-title::after { left: 150%; }

.main-nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; }
.main-nav a {
  display: block;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-body);
  border-radius: 4px;
  transition: all var(--transition);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav .current-menu-item a {
  color: var(--purple-700);
  background: rgba(139, 92, 246, 0.06);
}
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--text-primary); margin: 5px 0; transition: var(--transition); }

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(150deg, #E4DAFC 0%, #F2E6FF 12%, #FFE8EC 24%, #FFF3E6 36%, #EDE9FE 48%, #E6F0FA 60%, #FFF0E8 72%, #F5EEFF 84%, #FFF9F5 100%);
  overflow: hidden;
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image:
    radial-gradient(circle at 20% 50%, var(--purple-500) 1px, transparent 1px),
    radial-gradient(circle at 80% 20%, var(--gold-500) 1px, transparent 1px),
    radial-gradient(circle at 40% 80%, #E8A0BF 1px, transparent 1px);
  background-size: 60px 60px, 80px 80px, 70px 70px;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 85%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 15%, rgba(212, 168, 67, 0.08) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 40%, rgba(232, 160, 191, 0.06) 0%, transparent 40%),
    radial-gradient(ellipse at 75% 70%, rgba(147, 197, 253, 0.06) 0%, transparent 45%),
    radial-gradient(ellipse at 30% 20%, rgba(253, 230, 200, 0.08) 0%, transparent 40%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 140px 0 100px;
}
.hero-conference-tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--white);
  border: 1px solid rgba(139, 92, 246, 0.15);
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--purple-700);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.06);
}
.hero h1 { color: var(--text-primary); margin-bottom: 12px; max-width: 800px; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--purple-700), var(--plum-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 600px;
}

/* Countdown */
.countdown { display: flex; gap: 16px; margin-bottom: 40px; }
.countdown-item {
  text-align: center;
  background: var(--white);
  border: 1px solid rgba(139, 92, 246, 0.1);
  border-radius: 8px;
  padding: 14px 18px;
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.05);
  min-width: 72px;
}
.countdown-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--purple-700);
  line-height: 1;
  margin-bottom: 4px;
}
.countdown-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta {
  display: flex; gap: 32px; margin-top: 48px;
  padding-top: 32px; border-top: 1px solid rgba(139, 92, 246, 0.1);
}
.hero-meta-item {
  display: flex; align-items: center; gap: 10px;
  color: var(--text-muted); font-size: 0.9rem;
}
.hero-meta-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid rgba(139, 92, 246, 0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  box-shadow: 0 2px 6px rgba(139, 92, 246, 0.05);
}

/* SECTIONS */
.section { padding: 100px 0; }
.section-dark {
  background: linear-gradient(150deg, #3B1F6E 0%, #2D1854 40%, #1E0A3C 70%, #1A0B35 100%);
  color: rgba(255,255,255,0.8);
}
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .section-label { color: var(--gold-400); }
.section-cream {
  background: linear-gradient(170deg, #F5F3FF 0%, #FFF5F7 30%, #FFF8F0 50%, #F0F4FF 70%, #F9F5FF 100%);
}
.section-header { text-align: center; max-width: 680px; margin: 0 auto 60px; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; margin-top: 12px; }
.section-dark .section-header p { color: rgba(255,255,255,0.55); }
.gold-line {
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--purple-500), #E8A0BF);
  margin: 16px auto 0; border-radius: 2px;
}
.about-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.about-quote {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: 16px;
  padding: 0;
  border: none;
}
.about-quote cite {
  display: block;
  font-style: normal;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--gold-600);
  margin-top: 8px;
  font-weight: 600;
}

/* TOPIC CARDS */
.topics-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.topic-card {
  padding: 24px;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(139, 92, 246, 0.08);
  border-radius: 6px;
  transition: all var(--transition);
}
.topic-card:hover {
  border-color: var(--purple-300);
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.08);
  transform: translateY(-2px);
}
.topic-card .topic-icon {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--purple-100), var(--plum-100));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; font-size: 1.1rem;
}
.topic-card h4 { font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; margin-bottom: 6px; }
.topic-card p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0; line-height: 1.5; }

/* SPEAKER CARDS */
.speakers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.speaker-card {
  text-align: center; padding: 32px 24px;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(139, 92, 246, 0.08);
  border-radius: 8px; transition: all var(--transition);
}
.speaker-card:hover { box-shadow: 0 8px 30px rgba(139, 92, 246, 0.08); transform: translateY(-3px); }
.speaker-photo {
  width: 120px; height: 120px;
  border-radius: 50%; margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--purple-200), var(--plum-100));
  border: 3px solid var(--white);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: var(--purple-600); overflow: hidden;
}
.speaker-photo img { width: 100%; height: 100%; object-fit: cover; }
.speaker-card h4 { font-family: var(--font-heading); font-size: 1.2rem; margin-bottom: 4px; }
.speaker-role { font-size: 0.85rem; color: var(--gold-600); font-weight: 500; margin-bottom: 4px; }
.speaker-affiliation { font-size: 0.8rem; color: var(--text-muted); }

/* TIMELINE */
.timeline { max-width: 700px; margin: 0 auto; position: relative; }
.timeline::before {
  content: ''; position: absolute; left: 20px; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(to bottom, var(--purple-400), #E8A0BF, var(--gold-400));
}
.timeline-item {
  position: relative; padding-left: 56px; padding-bottom: 36px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 0 8px 8px 0;
  padding-top: 8px; padding-right: 12px; padding-bottom: 28px;
  margin-left: -8px; padding-left: 64px;
}
.timeline-item:hover {
  background: rgba(255,255,255,0.7);
  transform: scale(1.02) translateX(4px);
  box-shadow: 0 6px 24px rgba(139, 92, 246, 0.08);
}
.timeline-item:hover .timeline-dot {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 6px rgba(212, 168, 67, 0.15);
  transform: scale(1.2);
}
.timeline-dot {
  position: absolute; left: 20px; top: 12px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--purple-500);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.timeline-item.past .timeline-dot { border-color: var(--text-muted); }
.timeline-date {
  font-size: 0.8rem; font-weight: 600;
  color: var(--gold-600); text-transform: uppercase;
  letter-spacing: 0.06em; margin-bottom: 4px;
  transition: color 0.3s;
}
.timeline-item:hover .timeline-date { color: var(--gold-500); }
.timeline-item h4 { font-family: var(--font-body); font-weight: 600; font-size: 1rem; margin-bottom: 4px; transition: color 0.3s; }
.timeline-item:hover h4 { color: var(--purple-700); }
.timeline-item p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 0; }

/* SCHEDULE */
.schedule-tabs { display: flex; gap: 4px; margin-bottom: 32px; border-bottom: 2px solid var(--purple-200); overflow-x: auto; }
.schedule-tab {
  padding: 12px 24px; font-size: 0.9rem; font-weight: 600;
  color: var(--text-muted); border: none; background: none; cursor: pointer;
  border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all var(--transition); white-space: nowrap;
}
.schedule-tab.active, .schedule-tab:hover { color: var(--purple-700); border-bottom-color: var(--gold-500); }
.schedule-block {
  padding: 20px 24px;
  border-left: 3px solid var(--purple-400);
  background: rgba(255,255,255,0.7);
  margin-bottom: 12px; border-radius: 0 6px 6px 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
}
.schedule-block:hover {
  background: rgba(255,255,255,0.95);
  transform: scale(1.02) translateX(4px);
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.1), 0 0 0 1px rgba(139, 92, 246, 0.06), inset 0 0 20px rgba(139, 92, 246, 0.02);
  border-left-width: 5px;
  z-index: 2;
  position: relative;
}
.schedule-block:hover .schedule-time { color: var(--purple-700); }
.schedule-block:hover h4 { color: var(--purple-800); }
.schedule-time { font-size: 0.8rem; font-weight: 700; color: var(--purple-600); font-family: var(--font-mono); margin-bottom: 4px; transition: color 0.3s; }
.schedule-block h4 { font-family: var(--font-body); font-weight: 600; font-size: 1rem; margin-bottom: 2px; transition: color 0.3s; }
.schedule-block .schedule-speaker { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0; }
.schedule-block.keynote { border-left-color: var(--gold-500); background: rgba(232, 195, 106, 0.06); }
.schedule-block.keynote:hover {
  background: rgba(232, 195, 106, 0.12);
  box-shadow: 0 8px 32px rgba(212, 168, 67, 0.12), 0 0 0 1px rgba(212, 168, 67, 0.08);
}
.schedule-block.keynote:hover .schedule-time { color: var(--gold-600); }
.schedule-block.keynote:hover h4 { color: var(--text-primary); }
.schedule-block.break-item { border-left-color: var(--purple-200); opacity: 0.6; }
.schedule-block.break-item:hover { opacity: 0.8; transform: scale(1.01) translateX(2px); box-shadow: none; }

/* COMMITTEE */
.committee-section { margin-bottom: 48px; }
.committee-section h3 { margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--purple-200); }
.committee-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.committee-member {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; background: rgba(255,255,255,0.6);
  border-radius: 6px; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.committee-member:hover {
  background: rgba(255,255,255,0.95);
  transform: translateX(4px) scale(1.01);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.08);
}
.committee-member:hover .committee-avatar {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(109, 60, 191, 0.2);
}
.committee-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-600), var(--purple-800));
  color: var(--gold-400); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700; font-size: 0.95rem; flex-shrink: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.committee-info h4 { font-family: var(--font-body); font-weight: 600; font-size: 0.9rem; margin-bottom: 2px; }
.committee-info p { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0; }

/* PRICING */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.pricing-card {
  padding: 36px 30px; border-radius: 8px;
  border: 1px solid rgba(139, 92, 246, 0.08);
  background: rgba(255,255,255,0.8); backdrop-filter: blur(10px);
  text-align: center; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.pricing-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 48px rgba(139, 92, 246, 0.12), 0 0 0 1px rgba(139, 92, 246, 0.08);
  border-color: var(--purple-300);
  background: rgba(255,255,255,0.95);
}
.pricing-card.featured {
  background: linear-gradient(150deg, var(--purple-800), var(--purple-900));
  border-color: var(--gold-500);
  color: var(--white);
  transform: scale(1.03);
  box-shadow: 0 12px 40px rgba(59, 31, 110, 0.2);
}
.pricing-card.featured:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 20px 60px rgba(59, 31, 110, 0.3), 0 0 0 2px rgba(212, 168, 67, 0.3);
}
.pricing-card.featured h3, .pricing-card.featured h4 { color: var(--white); }
.pricing-badge {
  display: inline-block; padding: 4px 14px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-600));
  color: var(--purple-900); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: 20px; margin-bottom: 16px;
}
.pricing-amount { font-family: var(--font-heading); font-size: 2.8rem; font-weight: 700; margin: 12px 0 4px; color: var(--text-primary); }
.pricing-amount .currency { font-size: 1.4rem; vertical-align: super; }
.pricing-card.featured .pricing-amount { color: var(--gold-400); }
.pricing-period { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 24px; }
.pricing-card.featured .pricing-period { color: rgba(255,255,255,0.5); }
.pricing-features { text-align: left; margin-bottom: 28px; }
.pricing-features li {
  padding: 8px 0; font-size: 0.9rem;
  border-bottom: 1px solid rgba(139, 92, 246, 0.06);
  display: flex; align-items: center; gap: 10px;
}
.pricing-card.featured .pricing-features li { border-bottom-color: rgba(255,255,255,0.08); color: rgba(255,255,255,0.8); }
.pricing-features li::before { content: '✓'; color: var(--purple-500); font-weight: 700; font-size: 0.85rem; }

/* VENUE */
.venue-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.venue-info-card {
  padding: 28px; background: rgba(255,255,255,0.75);
  border-radius: 8px; border-left: 3px solid var(--purple-400);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.venue-info-card:hover {
  transform: translateY(-4px) scale(1.02);
  background: rgba(255,255,255,0.95);
  box-shadow: 0 12px 36px rgba(139, 92, 246, 0.1);
  border-left-width: 5px;
  border-left-color: var(--gold-500);
}
.venue-info-card h4 { font-family: var(--font-body); font-weight: 600; font-size: 1rem; margin-bottom: 8px; }
.venue-info-card p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 0; }
.map-container {
  width: 100%; height: 0; padding-bottom: 45%;
  border-radius: 8px; overflow: hidden;
  margin-top: 40px; border: 1px solid rgba(139, 92, 246, 0.1);
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.map-container:hover {
  box-shadow: 0 12px 40px rgba(139, 92, 246, 0.12);
  border-color: var(--purple-300);
}
.map-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }

/* SUBMISSION */
.submission-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; margin-bottom: 48px; }
.submission-step { text-align: center; padding: 28px 20px; }
.step-number {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-700), var(--purple-800));
  color: var(--gold-400);
  font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  box-shadow: 0 4px 12px rgba(59, 31, 110, 0.2);
}
.submission-step h4 { font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; margin-bottom: 6px; }
.submission-step p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0; }
.submission-guidelines { background: rgba(255,255,255,0.7); padding: 36px; border-radius: 8px; border: 1px solid rgba(139,92,246,0.06); }
.submission-guidelines h3 { margin-bottom: 16px; }
.submission-guidelines ul { list-style: none; }
.submission-guidelines li {
  padding: 8px 0 8px 24px; position: relative; font-size: 0.92rem;
  border-bottom: 1px solid rgba(139, 92, 246, 0.06);
}
.submission-guidelines li::before { content: '—'; position: absolute; left: 0; color: var(--purple-500); font-weight: 700; }

/* CFP HIGHLIGHTS */
.cfp-highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-bottom: 48px; }
.cfp-highlight {
  padding: 24px; text-align: center;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); border-radius: 8px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.cfp-highlight:hover {
  transform: translateY(-4px) scale(1.03);
  background: rgba(255,255,255,0.14);
  border-color: rgba(232, 195, 106, 0.25);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.15);
}
.cfp-highlight:hover .highlight-value { color: var(--gold-300); }
.cfp-highlight .highlight-value {
  font-family: var(--font-heading); font-size: 2rem; font-weight: 700;
  color: var(--gold-400); display: block; margin-bottom: 4px;
}
.cfp-highlight .highlight-label { font-size: 0.85rem; color: rgba(255,255,255,0.6); }

/* SPONSORS */
.sponsors-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px; align-items: center; }
.sponsor-logo {
  width: 140px; height: 70px; background: rgba(255,255,255,0.6);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; color: var(--text-muted); border: 1px solid rgba(139, 92, 246, 0.06);
}

/* PAGE HERO */
.page-hero {
  background: linear-gradient(150deg, var(--purple-800) 0%, var(--purple-900) 100%);
  padding: 140px 0 80px;
  text-align: center; position: relative; overflow: hidden;
}
/* Video background */
.page-hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.page-hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  opacity: 0.55;
}
.page-hero-video-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, rgba(59, 31, 110, 0.55) 0%, rgba(45, 24, 84, 0.5) 40%, rgba(30, 10, 60, 0.6) 100%);
  z-index: 1;
}
/* Canvas animated background */
.page-hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.35;
}
/* Dot pattern on top of overlay */
.page-hero::before {
  content: ''; position: absolute; inset: 0; opacity: 0.04;
  background-image: radial-gradient(circle, var(--gold-400) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 2;
}
.page-hero .container { position: relative; z-index: 3; }
.page-hero-interactive {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: auto;
}
.page-hero h1 { color: var(--white); position: relative; }
.page-hero .section-label { color: var(--gold-400); position: relative; }
.page-hero p { color: rgba(255,255,255,0.6); font-size: 1.1rem; max-width: 600px; margin: 12px auto 0; position: relative; }

/* FOOTER */
.site-footer { background: #1A0E30; color: rgba(255,255,255,0.45); padding: 60px 0 0; position: relative; overflow: hidden; }
.site-footer .container { position: relative; z-index: 3; }
.site-footer .footer-grid { position: relative; z-index: 3; }
.site-footer .footer-bottom { position: relative; z-index: 3; }

/* Video/Canvas in any dark section */
.has-video-bg { position: relative; overflow: hidden; }
.has-video-bg > .container { position: relative; z-index: 3; }
.has-video-bg > .page-hero-video-wrap { z-index: 0; }
.has-video-bg > .page-hero-interactive { z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.6; margin-top: 12px; max-width: 300px; }
.footer-col h4 {
  font-family: var(--font-body); font-weight: 600; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--gold-400); margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { font-size: 0.88rem; color: rgba(255,255,255,0.45); transition: color var(--transition); }
.footer-col ul a:hover { color: var(--gold-400); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0; display: flex; justify-content: space-between; align-items: flex-start; font-size: 0.8rem;
  position: relative; z-index: 3;
}
.footer-bottom-right { text-align: right; }
.footer-bottom-right > span { display: block; }
.footer-secured {
  margin-top: 6px;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.02em;
}
.footer-acm { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.35); }

/* SITE BLUR WHEN MODAL OPEN */
.site-blurred {
  filter: blur(8px) brightness(0.7);
  transition: filter 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

/* DISTINGUISHED SPEAKER CARDS */
.speaker-distinguished {
  position: relative;
  border: 2px solid rgba(212, 168, 67, 0.25);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.speaker-distinguished:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 16px 48px rgba(109, 60, 191, 0.15), 0 0 0 1px rgba(212, 168, 67, 0.3);
  border-color: var(--gold-400);
}
.speaker-distinguished .speaker-photo {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s;
}
.speaker-distinguished:hover .speaker-photo {
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(109, 60, 191, 0.2);
}
.speaker-badge-distinguished {
  display: inline-block;
  padding: 3px 12px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--purple-900);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 20px;
  margin-bottom: 12px;
}
.speaker-hover-hint {
  margin-top: 12px;
  font-size: 0.72rem;
  color: var(--purple-400);
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s;
}
.speaker-distinguished:hover .speaker-hover-hint { opacity: 1; }

/* SPEAKER MODAL — zoom from card to center */
.speaker-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(30, 10, 60, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.5s;
  padding: 24px;
}
.speaker-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.speaker-modal {
  background: var(--white);
  border-radius: 20px;
  max-width: 740px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.4);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
  box-shadow: 0 40px 100px rgba(30, 10, 60, 0.35), 0 0 0 1px rgba(139, 92, 246, 0.08);
}
.speaker-modal-overlay.active .speaker-modal {
  transform: scale(1);
  opacity: 1;
}
.speaker-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(139, 92, 246, 0.06);
  color: var(--text-body);
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 2;
}
.speaker-modal-close:hover {
  background: rgba(139, 92, 246, 0.15);
  color: var(--purple-700);
  transform: rotate(90deg);
}
.speaker-modal-inner {
  display: flex;
  gap: 36px;
  padding: 44px;
}
.speaker-modal-photo-wrap {
  flex-shrink: 0;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid var(--purple-200);
  box-shadow: 0 12px 40px rgba(109, 60, 191, 0.2);
  transform: scale(0.5) rotate(-10deg);
  opacity: 0;
  transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s, opacity 0.5s ease 0.15s;
}
.speaker-modal-overlay.active .speaker-modal-photo-wrap {
  transform: scale(1) rotate(0deg);
  opacity: 1;
}
.speaker-modal-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.speaker-modal-content {
  flex: 1;
  min-width: 0;
  transform: translateX(20px);
  opacity: 0;
  transition: transform 0.5s ease 0.25s, opacity 0.5s ease 0.25s;
}
.speaker-modal-overlay.active .speaker-modal-content {
  transform: translateX(0);
  opacity: 1;
}
.speaker-modal-content .speaker-badge-distinguished { margin-bottom: 10px; }
.speaker-modal-name {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  line-height: 1.15;
}
.speaker-modal-role {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--purple-600);
  margin-bottom: 2px;
}
.speaker-modal-affiliation {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.speaker-modal-talk {
  font-size: 0.92rem;
  color: var(--purple-700);
  font-style: italic;
  margin-bottom: 0;
  display: none;
}
.speaker-modal-talk.has-talk { display: block; }
.speaker-modal-divider {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--purple-400), #E8A0BF);
  margin: 18px 0;
  border-radius: 2px;
}
.speaker-modal-bio {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-body);
}

@media (max-width: 640px) {
  .speaker-modal-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 18px;
    gap: 20px;
  }
  .speaker-modal-photo-wrap { width: 140px; height: 140px; }
  .speaker-modal-divider { margin: 12px auto; }
  .speaker-modal-name { font-size: 1.4rem; }
  .speaker-modal { max-width: 95vw; margin: 12px; }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-meta { flex-direction: column; gap: 14px; }
  .countdown-number { font-size: 1.8rem; }
  .hero-dual-panel { grid-template-columns: 1fr; gap: 24px; }
  .editions-cards { flex-direction: column; }
  .edition-card { min-width: 0; flex: none; width: 100%; }
  .topics-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .speakers-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .committee-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .venue-info-grid { grid-template-columns: 1fr; }
  .submission-steps { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
  .cfp-highlights { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
}

@media (max-width: 768px) {
  body { overflow-x: hidden; }
  .container { padding: 0 16px; }

  /* Header & Nav */
  .logo-subtitle-wrap { display: none; }
  .logo-title { font-size: 1.3rem; }
  .logo-icon svg { width: 38px; height: 38px; }
  .site-logo { gap: 10px; }
  .header-inner { height: 60px; padding: 0 16px; }
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .main-nav.active {
    display: flex; position: absolute; top: 60px; left: 0; right: 0;
    background: var(--white); padding: 12px 16px;
    border-top: 1px solid rgba(139, 92, 246, 0.08);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    z-index: 1000;
  }
  .main-nav.active > ul { flex-direction: column; width: 100%; }
  .main-nav.active a { padding: 12px 16px; font-size: 0.9rem; }
  .main-nav.active .sub-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 20px;
    display: none;
    transform: none;
    background: rgba(139,92,246,0.03);
    border-radius: 0;
    min-width: 0;
    border-left: 2px solid var(--purple-200);
    margin: 4px 0 4px 16px;
    flex-direction: column;
  }
  .main-nav.active .sub-menu.mobile-open {
    display: flex;
  }
  .main-nav.active .menu-item-has-children > a::after { content: ' ▸'; font-size: 0.7rem; opacity: 0.5; }
  .main-nav.active .menu-item-has-children.mobile-expanded > a::after { content: ' ▾'; }

  /* Hero */
  .hero { min-height: auto; }
  .hero-content { padding: 80px 0 40px; }
  h1 { font-size: clamp(1.6rem, 6vw, 2.4rem); }
  .hero-subtitle { font-size: 1rem; }
  .hero-dual-panel { grid-template-columns: 1fr; gap: 20px; }
  .hero-dual-right { padding: 16px; }
  .hero-dates-grid { gap: 0; }
  .hero-date-card { padding: 10px 12px; gap: 10px; }
  .hero-date-icon { width: 30px; height: 30px; font-size: 0.9rem; }
  .hero-date-value { font-size: 0.75rem; }

  /* Subscribe bar */
  .hero-subscribe { padding: 14px 16px; margin-bottom: 20px; }
  .hero-subscribe-fields { flex-direction: column; }
  .hero-subscribe-fields input { min-width: 0; width: 100%; }
  .hero-subscribe-btn { width: 100%; justify-content: center; }

  /* Editions — prevent overflow */
  .previous-editions { margin-bottom: 20px; }
  .editions-cards { flex-direction: column; gap: 8px; }
  .edition-card { min-width: 0; flex: none; width: 100%; padding: 12px 14px; gap: 10px; }
  .edition-year { font-size: 0.85rem; padding: 6px 8px; }
  .edition-details strong { font-size: 0.75rem; }
  .edition-details span { font-size: 0.68rem; }

  /* Countdown */
  .countdown { gap: 8px; flex-wrap: wrap; justify-content: center; }
  .countdown-item { padding: 10px 12px; min-width: 56px; flex: 1; }
  .countdown-number { font-size: 1.6rem; }

  /* Sections */
  .section { padding: 48px 0; }
  .section-header { margin-bottom: 36px; }
  h2 { font-size: clamp(1.4rem, 5vw, 2rem); }

  /* Grids */
  .topics-grid { grid-template-columns: 1fr; gap: 10px; }
  .about-features-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .speakers-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .speaker-card { padding: 20px 14px; }
  .speaker-photo { width: 90px; height: 90px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* Pricing */
  .pricing-card.featured { transform: none; }
  .pricing-grid { grid-template-columns: 1fr; }

  /* Page hero */
  .page-hero { padding: 90px 0 50px; }
  .page-hero h1 { font-size: clamp(1.5rem, 6vw, 2.2rem); }
  .page-hero p { font-size: 0.95rem; }

  /* Subscribe standalone */
  .subscribe-fields { flex-direction: column; }
  .subscribe-btn { width: 100%; justify-content: center; }

  /* Timeline */
  .timeline { max-width: 100%; }

  /* Schedule */
  .schedule-tabs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .schedule-tab { flex-shrink: 0; }

  /* Map */
  .map-container { padding-bottom: 75%; }
}

@media (max-width: 480px) {
  .container { padding: 0 12px; }
  .hero-content { padding: 75px 0 32px; }
  .countdown { gap: 6px; flex-wrap: wrap; justify-content: center; }
  .countdown-item { min-width: 60px; flex: 1 1 calc(50% - 6px); }
  .countdown-number { font-size: 1.4rem; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-meta-item { font-size: 0.8rem; }
  .hero-meta-icon { width: 28px; height: 28px; font-size: 0.75rem; }
  .speakers-grid { grid-template-columns: 1fr; }
  .about-features-grid { grid-template-columns: 1fr; }

  /* Editions — stack fully */
  .edition-card { flex-direction: row; text-align: left; padding: 10px 12px; gap: 8px; }
  .edition-year { font-size: 0.78rem; padding: 5px 7px; }
  .edition-details strong { font-size: 0.72rem; }
  .edition-details span { font-size: 0.65rem; }
  .edition-arrow { display: none; }

  /* Subscribe bar */
  .hero-subscribe { padding: 12px; margin-bottom: 14px; border-radius: 10px; }
  .hero-subscribe-label { font-size: 0.68rem; margin-bottom: 8px; }

  /* Dates panel */
  .hero-dual-right { padding: 12px; border-radius: 12px; }
  .hero-dates-label { font-size: 0.65rem; margin-bottom: 10px; }
  .hero-date-card { padding: 8px 10px; gap: 8px; }
  .hero-date-icon { width: 26px; height: 26px; font-size: 0.8rem; border-radius: 6px; }
  .hero-date-value { font-size: 0.72rem; }
  .hero-date-name { font-size: 0.65rem; }

  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.3rem; }
  .section { padding: 36px 0; }
  .topic-card { padding: 16px; }
  .btn { padding: 12px 20px; font-size: 0.85rem; }
  .page-hero { padding: 80px 0 40px; }

  /* Hero subtitle */
  .hero-subtitle { font-size: 0.88rem; margin-bottom: 20px; }
}

/* DROPDOWN MENUS */
.menu-item-has-children { position: relative; }
.menu-item-has-children > a::after {
  content: '▾';
  font-size: 0.65rem;
  margin-left: 4px;
  opacity: 0.5;
  display: inline-block;
}
.main-nav .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid rgba(139, 92, 246, 0.1);
  border-radius: 0 0 8px 8px;
  padding: 6px 0 8px;
  min-width: 180px;
  box-shadow: 0 12px 40px rgba(109, 60, 191, 0.12);
  z-index: 1001;
  list-style: none;
  flex-direction: column;
  gap: 0;
}
.main-nav .sub-menu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}
.menu-item-has-children:hover > .sub-menu { display: flex; }
.main-nav .sub-menu li { width: 100%; }
.main-nav .sub-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 0.85rem;
  color: var(--text-body);
  transition: all var(--transition);
  white-space: nowrap;
}
.main-nav .sub-menu li a:hover {
  background: rgba(139, 92, 246, 0.05);
  color: var(--purple-700);
  padding-left: 24px;
}

/* PREVIOUS EDITIONS SHOWCASE */
.previous-editions { margin-bottom: 28px; }
.edition-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple-600);
  margin-bottom: 10px;
}
.editions-cards { display: flex; gap: 12px; flex-wrap: wrap; }
.edition-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: var(--white);
  border: 1px solid rgba(139, 92, 246, 0.12);
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(139, 92, 246, 0.06);
  text-decoration: none;
  color: inherit;
  transition: all var(--transition);
  flex: 1;
  min-width: min(280px, 100%);
}
.edition-card:hover {
  border-color: var(--gold-400);
  box-shadow: 0 8px 28px rgba(212, 168, 67, 0.15);
  transform: translateY(-2px);
}
.edition-year {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  background: linear-gradient(135deg, var(--purple-700), var(--purple-900));
  padding: 8px 12px;
  border-radius: 8px;
  white-space: nowrap;
  line-height: 1;
}
.edition-details { flex: 1; min-width: 0; }
.edition-details strong {
  display: block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 2px;
}
.edition-details span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.edition-publisher {
  color: var(--gold-600) !important;
  font-weight: 600;
  font-size: 0.7rem !important;
  letter-spacing: 0.02em;
}
.edition-arrow {
  font-size: 1.1rem;
  color: var(--purple-400);
  transition: all var(--transition);
  flex-shrink: 0;
}
.edition-card:hover .edition-arrow {
  color: var(--gold-500);
  transform: translate(2px, -2px);
}

/* HERO DUAL PANEL — countdown left, dates right */
.hero-dual-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 40px;
}
.hero-dual-left { }
.hero-dual-right {
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(139, 92, 246, 0.1);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 32px rgba(109, 60, 191, 0.06), inset 0 1px 0 rgba(255,255,255,0.8);
}

.hero-dates-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple-700);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid linear-gradient(90deg, var(--gold-500), var(--purple-400));
  border-bottom: 2px solid var(--purple-200);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-dates-label::before {
  content: '';
  width: 24px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--purple-500));
  border-radius: 2px;
  display: inline-block;
}
.hero-dates-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hero-date-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 10px;
  transition: all var(--transition);
  position: relative;
}
.hero-date-card:not(:last-child) {
  border-bottom: 1px solid rgba(139, 92, 246, 0.06);
}
.hero-date-card:hover {
  background: rgba(139, 92, 246, 0.04);
}
.hero-date-card-highlight {
  background: linear-gradient(135deg, rgba(232, 195, 106, 0.08), rgba(212, 168, 67, 0.04));
  border-radius: 10px;
  border-bottom: none !important;
  margin: 2px 0;
}
.hero-date-card-highlight::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 3px;
  background: linear-gradient(to bottom, var(--gold-500), var(--gold-400));
  border-radius: 2px;
}
.hero-date-card-accent {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.06), rgba(139, 92, 246, 0.02));
  border-radius: 10px;
  border-bottom: none !important;
  margin-top: 2px;
}
.hero-date-card-accent::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 3px;
  background: linear-gradient(to bottom, var(--purple-500), var(--purple-400));
  border-radius: 2px;
}
.hero-date-icon {
  font-size: 1rem;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.7);
  border-radius: 8px;
  border: 1px solid rgba(139, 92, 246, 0.06);
}
.hero-date-info { min-width: 0; }
.hero-date-value {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--text-primary);
  line-height: 1.2;
}
.hero-date-name {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.3;
  font-weight: 500;
}

/* HERO SUBSCRIBE BAR */
.hero-subscribe {
  margin-bottom: 28px;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(139, 92, 246, 0.1);
  border-radius: 14px;
  padding: 18px 24px;
  box-shadow: 0 4px 20px rgba(109, 60, 191, 0.06);
}
.hero-subscribe-form { }
.hero-subscribe-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple-700);
  margin-bottom: 10px;
}
.hero-subscribe-fields {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.hero-subscribe-fields input {
  flex: 1;
  min-width: min(160px, 100%);
  padding: 12px 16px;
  border: 1px solid rgba(139, 92, 246, 0.12);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-primary);
  background: var(--white);
  transition: all var(--transition);
  outline: none;
}
.hero-subscribe-fields input:focus {
  border-color: var(--purple-400);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.08);
}
.hero-subscribe-fields input::placeholder { color: var(--text-muted); opacity: 0.5; }
.hero-subscribe-btn {
  padding: 12px 28px;
  white-space: nowrap;
  flex-shrink: 0;
}
.hero-subscribe-success {
  text-align: center;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--purple-700);
  padding: 4px 0;
}

/* Old subscribe form kept for standalone page use */
.subscribe-form-wrap {
  max-width: 700px;
  margin: 0 auto;
}
.subscribe-fields {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  flex-wrap: wrap;
}
.subscribe-field {
  flex: 1;
  min-width: 200px;
}
.subscribe-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.subscribe-field input {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid rgba(139, 92, 246, 0.15);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-primary);
  background: var(--white);
  transition: all var(--transition);
  outline: none;
}
.subscribe-field input:focus {
  border-color: var(--purple-400);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}
.subscribe-field input::placeholder { color: var(--text-muted); opacity: 0.6; }
.subscribe-btn {
  padding: 14px 32px;
  white-space: nowrap;
  height: fit-content;
}
.subscribe-success {
  text-align: center;
  padding: 40px;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid rgba(139, 92, 246, 0.1);
}
.subscribe-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-600), var(--purple-800));
  color: var(--gold-400);
  font-size: 1.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.subscribe-success h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 6px;
}
.subscribe-success p { color: var(--text-muted); margin-bottom: 0; }

/* ANIMATIONS */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.animate-in { opacity: 0; animation: fadeInUp 0.6s ease forwards; }
.delay-1 { animation-delay: 0.1s; } .delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; } .delay-4 { animation-delay: 0.4s; }

/* ========== IEEE CPS NOTICE MARQUEE ========== */
.ieee-notice-banner {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(26, 35, 65, 0.85), rgba(42, 20, 60, 0.8));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(200, 169, 81, 0.3);
    border-radius: 14px;
    padding: 0;
    margin-bottom: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 24px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.06);
    cursor: pointer;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.ieee-notice-banner:hover {
    border-color: rgba(200, 169, 81, 0.55);
    box-shadow: 0 4px 32px rgba(200, 169, 81, 0.15), inset 0 1px 0 rgba(255,255,255,0.08);
}
.ieee-notice-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    background: linear-gradient(90deg, rgba(200,169,81,0.08) 0%, transparent 30%, transparent 70%, rgba(200,169,81,0.08) 100%);
    pointer-events: none;
}
.ieee-notice-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    min-height: 48px;
    background: linear-gradient(135deg, var(--gold-500), var(--gold-600, #b8942e));
    color: var(--navy-900, #0c1222);
    border-radius: 14px 0 0 14px;
    position: relative;
    z-index: 2;
}
.ieee-notice-icon::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 0;
    bottom: 0;
    width: 16px;
    background: linear-gradient(90deg, rgba(26, 35, 65, 0.85), transparent);
    z-index: 3;
    pointer-events: none;
}
.ieee-notice-track {
    flex: 1;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
}
.ieee-notice-scroll {
    display: flex;
    white-space: nowrap;
    animation: ieeeMarquee 32s linear infinite;
    will-change: transform;
}
.ieee-notice-banner:hover .ieee-notice-scroll {
    animation-play-state: paused;
}
.ieee-notice-text {
    display: inline-block;
    padding: 12px 0;
    font-size: 0.82rem;
    letter-spacing: 0.01em;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
}
.ieee-notice-text strong {
    color: var(--gold-400, #d4b44a);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.78rem;
}
.ieee-notice-sep {
    display: inline-flex;
    align-items: center;
    padding: 0 24px;
    color: var(--gold-500);
    font-size: 0.7rem;
    opacity: 0.5;
}
.ieee-notice-cta {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 16px;
    color: var(--gold-400, #d4b44a);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    white-space: nowrap;
    position: relative;
    z-index: 2;
    transition: color 0.2s;
}
.ieee-notice-banner:hover .ieee-notice-cta {
    color: #fff;
}
.ieee-notice-cta svg {
    transition: transform 0.2s;
}
.ieee-notice-banner:hover .ieee-notice-cta svg {
    transform: translateX(2px);
}
@keyframes ieeeMarquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========== IEEE CPS MODAL ========== */
.ieee-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(10, 12, 30, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s, visibility 0.35s;
    padding: 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.ieee-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.ieee-modal {
    background: linear-gradient(160deg, #1a2341 0%, #2a1440 100%);
    border: 1px solid rgba(200, 169, 81, 0.35);
    border-radius: 20px;
    max-width: 560px;
    width: 100%;
    padding: 40px 36px 32px;
    position: relative;
    box-shadow: 0 24px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.04) inset;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
}
.ieee-modal-overlay.active .ieee-modal {
    transform: translateY(0) scale(1);
}
.ieee-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
    line-height: 1;
}
.ieee-modal-close:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
}
.ieee-modal-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-500), var(--gold-600, #b8942e));
    color: var(--navy-900, #0c1222);
    margin: 0 auto 20px;
}
.ieee-modal-title {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: 1.35rem;
    color: #fff;
    margin: 0 0 20px;
    font-weight: 700;
}
.ieee-modal-body {
    text-align: left;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 24px;
}
.ieee-modal-body p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.8);
    margin: 0 0 12px;
}
.ieee-modal-body p.ieee-highlight {
    color: var(--gold-400, #d4b44a);
    font-weight: 600;
}
.ieee-modal-body p:last-child { margin-bottom: 0; }
.ieee-modal-body strong {
    color: #fff;
    font-weight: 600;
}
.ieee-modal-ok {
    min-width: 140px;
    border-radius: 10px;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .ieee-notice-banner { border-radius: 10px; margin-bottom: 14px; }
    .ieee-notice-icon { width: 38px; min-height: 38px; border-radius: 10px 0 0 10px; }
    .ieee-notice-icon svg { width: 16px; height: 16px; }
    .ieee-notice-text { font-size: 0.74rem; padding: 10px 0; }
    .ieee-notice-scroll { animation-duration: 26s; }
    .ieee-notice-cta { padding: 0 10px; font-size: 0.68rem; }
    .ieee-notice-cta span { display: none; }
    .ieee-notice-cta svg { width: 18px; height: 18px; }
    .ieee-modal-overlay { padding: 12px; }
    .ieee-modal { padding: 28px 18px 24px; border-radius: 16px; max-width: 100%; }
    .ieee-modal-icon { width: 50px; height: 50px; margin-bottom: 14px; }
    .ieee-modal-icon svg { width: 24px; height: 24px; }
    .ieee-modal-title { font-size: 1.1rem; margin-bottom: 16px; }
    .ieee-modal-body { padding: 14px 16px; border-radius: 10px; margin-bottom: 18px; }
    .ieee-modal-body p { font-size: 0.84rem; line-height: 1.6; margin-bottom: 10px; }
    .ieee-modal-close { width: 30px; height: 30px; font-size: 1.1rem; top: 10px; right: 10px; }
    .ieee-modal-ok { min-width: 120px; padding: 10px 24px; font-size: 0.88rem; }
}
@media (max-width: 480px) {
    .ieee-notice-banner { border-radius: 8px; margin-bottom: 10px; }
    .ieee-notice-icon { width: 34px; min-height: 34px; border-radius: 8px 0 0 8px; }
    .ieee-notice-icon svg { width: 14px; height: 14px; }
    .ieee-notice-text { font-size: 0.7rem; padding: 8px 0; }
    .ieee-notice-scroll { animation-duration: 22s; }
    .ieee-modal-overlay { padding: 8px; align-items: flex-end; }
    .ieee-modal { padding: 24px 16px 20px; border-radius: 18px 18px 0 0; max-height: 85vh; overflow-y: auto; -webkit-overflow-scrolling: touch; }
    .ieee-modal-icon { width: 44px; height: 44px; margin-bottom: 12px; }
    .ieee-modal-icon svg { width: 22px; height: 22px; }
    .ieee-modal-title { font-size: 1rem; margin-bottom: 14px; }
    .ieee-modal-body { padding: 12px 14px; }
    .ieee-modal-body p { font-size: 0.8rem; line-height: 1.55; margin-bottom: 8px; }
    .ieee-modal-ok { width: 100%; min-width: 0; }
}

/* ================================================================
   NUCLEAR MOBILE FIX — catches every overflow source
   Applied LAST so it overrides everything above
   ================================================================ */

/* --- Force viewport constraint on ALL phones --- */
@media (max-width: 768px) {
  html, body {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  /* Every section and container must stay in bounds */
  section, .hero, .site-footer, main,
  .container, .hero-content,
  .section, .section-dark, .section-cream {
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  /* All grid/flex children must respect their parent */
  .container > *,
  .hero-content > *,
  .editions-cards > *,
  .hero-dual-panel > *,
  .hero-dates-grid > *,
  .about-features-grid > *,
  .topics-grid > *,
  .speakers-grid > *,
  .committee-grid > *,
  .pricing-grid > *,
  .footer-grid > * {
    max-width: 100% !important;
    min-width: 0 !important;
  }

  /* Force all grids to single or safe column */
  .about-features-grid { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
  .topics-grid { grid-template-columns: 1fr !important; }
  .speakers-grid { grid-template-columns: 1fr 1fr !important; gap: 12px !important; }
  .committee-grid { grid-template-columns: 1fr !important; }
  .pricing-grid { grid-template-columns: 1fr !important; }
  .venue-info-grid { grid-template-columns: 1fr !important; }
  .submission-steps { grid-template-columns: 1fr 1fr !important; }
  .cfp-highlights { grid-template-columns: 1fr !important; }
  .footer-grid { grid-template-columns: 1fr !important; gap: 20px !important; }

  /* Force editions to stack */
  .editions-cards { flex-direction: column !important; }
  .edition-card { 
    flex: none !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  /* Force hero-dual to single column */
  .hero-dual-panel { grid-template-columns: 1fr !important; }

  /* Subscribe inputs must be full width */
  .hero-subscribe-fields { flex-direction: column !important; }
  .hero-subscribe-fields input,
  .hero-subscribe-fields button,
  .hero-subscribe-btn {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  /* Countdown must wrap safely */
  .countdown {
    flex-wrap: wrap !important;
    justify-content: center !important;
  }
  .countdown-item {
    min-width: 0 !important;
    flex: 1 1 calc(25% - 8px) !important;
  }

  /* Buttons must not push out */
  .btn {
    max-width: 100% !important;
    white-space: normal !important;
    text-align: center !important;
    word-break: break-word !important;
  }
  .hero-ctas {
    flex-wrap: wrap !important;
  }
  .hero-ctas .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  /* Images must be constrained */
  img, svg, video, canvas, iframe {
    max-width: 100% !important;
  }

  /* Inline feature grid items — tighten padding */
  .about-features-grid > div {
    padding: 14px 10px !important;
  }

  /* Blockquote/about-quote */
  .about-quote {
    font-size: 0.95rem !important;
    padding: 0 !important;
  }

  /* Tables */
  table { 
    width: 100% !important;
    table-layout: fixed !important;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 12px !important; }

  /* Everything single column */
  .about-features-grid { grid-template-columns: 1fr !important; }
  .speakers-grid { grid-template-columns: 1fr !important; }
  .submission-steps { grid-template-columns: 1fr !important; }

  /* Countdown 2x2 */
  .countdown-item {
    flex: 1 1 calc(50% - 6px) !important;
  }

  /* Hero heading tighter */
  h1 { font-size: 1.4rem !important; }
  h2 { font-size: 1.2rem !important; }
  .hero-subtitle { font-size: 0.85rem !important; }

  /* Editions compact */
  .edition-card {
    padding: 10px !important;
    gap: 8px !important;
  }
  .edition-year {
    font-size: 0.75rem !important;
    padding: 4px 6px !important;
  }
  .edition-details strong { font-size: 0.7rem !important; }
  .edition-details span { font-size: 0.62rem !important; }

  /* Subscribe compact */
  .hero-subscribe {
    padding: 10px !important;
    border-radius: 10px !important;
  }

  /* Dates panel compact */
  .hero-dual-right {
    padding: 10px !important;
    border-radius: 10px !important;
  }
  .hero-date-card {
    padding: 8px !important;
    gap: 8px !important;
  }
  .hero-date-icon {
    width: 24px !important;
    height: 24px !important;
    font-size: 0.75rem !important;
  }

  /* Section padding */
  .section { padding: 32px 0 !important; }
  .section-header { margin-bottom: 24px !important; }

  /* Footer */
  .site-footer { padding: 40px 0 0 !important; }
  .footer-grid { gap: 16px !important; }
  .footer-brand p { max-width: 100% !important; }

  /* Speaker cards */
  .speaker-card { padding: 16px 10px !important; }
  .speaker-photo { width: 70px !important; height: 70px !important; }

  /* Topic cards */
  .topic-card { padding: 14px !important; }
}

/* --- Extra safety for 320px devices (iPhone SE etc) --- */
@media (max-width: 360px) {
  .container { padding: 0 10px !important; }
  h1 { font-size: 1.25rem !important; }
  .hero-content { padding: 70px 0 28px !important; }
  .countdown-number { font-size: 1.2rem !important; }
  .btn { padding: 10px 16px !important; font-size: 0.8rem !important; }
  .edition-arrow { display: none !important; }
  .hero-dates-label { font-size: 0.6rem !important; }
  .hero-date-value { font-size: 0.68rem !important; }
  .hero-date-name { font-size: 0.6rem !important; }
  .about-quote { font-size: 0.85rem !important; }
  .section-label { font-size: 0.65rem !important; }
}
