/* ============================================
   HAXD 2026 - Unified Stylesheet
   Human-AI Interaction and Experience Design Conference
   ============================================ */

/* ============================================
   1. CSS VARIABLES
   ============================================ */
:root {
  /* Brand Colors */
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --secondary: #10b981;
  --secondary-dark: #059669;
  --secondary-light: #34d399;
  --accent: #4361ee;
  --accent-light: #6366f1;

  /* Status Colors */
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;

  /* Text Colors */
  --text: #1e293b;
  --text-light: #64748b;
  --text-lighter: #94a3b8;
  --text-white: #ffffff;

  /* Surface Colors */
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-elevated: #f1f5f9;
  --border: #e2e8f0;
  --border-light: #f1f5f9;

  /* Glass Effects */
  --glass: rgba(255, 255, 255, 0.9);
  --glass-95: rgba(255, 255, 255, 0.95);
  --glass-98: rgba(255, 255, 255, 0.98);
  --glass-border: rgba(255, 255, 255, 0.2);

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 6px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 25px 50px -12px rgba(37, 99, 235, 0.25);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #2563eb 0%, #10b981 100%);
  --gradient-hero: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
  --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);

  /* Border Radius */
  --radius-sm: 6px;
  --radius: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease-out;
  --transition-slow: all 0.5s ease-in-out;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;

  /* Color scheme */
  color-scheme: light dark;
}

/* ============================================
   DARK MODE - System/Browser Preference
   ============================================ */
@media (prefers-color-scheme: dark) {
  :root {
    /* Text Colors - Dark Mode */
    --text: #e2e8f0;
    --text-light: #94a3b8;
    --text-lighter: #64748b;
    --text-white: #ffffff;

    /* Surface Colors - Dark Mode */
    --bg: #0f172a;
    --surface: #1e293b;
    --surface-elevated: #334155;
    --border: #334155;
    --border-light: #1e293b;

    /* Glass Effects - Dark Mode */
    --glass: rgba(15, 23, 42, 0.9);
    --glass-95: rgba(15, 23, 42, 0.95);
    --glass-98: rgba(15, 23, 42, 0.98);
    --glass-border: rgba(51, 65, 85, 0.5);

    /* Shadows - Dark Mode (more subtle) */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 6px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.4);
    --shadow-hover: 0 25px 50px -12px rgba(59, 130, 246, 0.4);

    /* Gradients - Dark Mode */
    --gradient-hero: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(16, 185, 129, 0.2) 100%);

    /* Adjusted Brand Colors for Dark Mode (slightly brighter) */
    --primary: #3b82f6;
    --primary-light: #60a5fa;
    --secondary: #34d399;
    --accent: #818cf8;
    --accent-light: #a5b4fc;
  }

  /* ========== UNIVERSAL TEXT COLOR OVERRIDES ========== */

  /* Body and main elements */
  body {
    color: var(--text);
    background-color: var(--bg);
  }

  /* All paragraph elements */
  p {
    color: var(--text);
  }

  /* All headings */
  h1, h2, h3, h4, h5, h6,
  .h1, .h2, .h3, .h4, .h5, .h6 {
    color: var(--text);
  }

  /* All span, div, section elements with text */
  span, div, section, article, main, aside {
    color: inherit;
  }

  /* Bootstrap font size utilities */
  .fs-1, .fs-2, .fs-3, .fs-4, .fs-5, .fs-6 {
    color: var(--text);
  }

  /* Bootstrap font weight utilities */
  .fw-bold, .fw-bolder, .fw-semibold, .fw-medium, .fw-normal, .fw-light, .fw-lighter {
    color: inherit;
  }

  /* Bootstrap display headings */
  .display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    color: var(--text);
  }

  /* Override Bootstrap text-dark, text-body, text-black */
  .text-dark,
  .text-body,
  .text-black,
  [class*="text-dark"],
  [class*="text-body"],
  [class*="text-black"] {
    color: var(--text) !important;
  }

  /* Override Bootstrap text-muted */
  .text-muted {
    color: var(--text-lighter) !important;
  }

  /* Lead paragraphs */
  .lead {
    color: var(--text-light);
  }

  /* Small text */
  small, .small {
    color: var(--text-light);
  }

  /* Strong and bold text */
  strong, b, .fw-bold {
    color: inherit;
  }

  /* Links */
  a {
    color: var(--primary-light);
  }

  a:hover {
    color: var(--accent-light);
  }

  /* Inherit text color for inline elements */
  em, i:not([class*="bi-"]), mark, ins, del, s, u, sub, sup, abbr, cite, code, kbd, samp, var {
    color: inherit;
  }

  /* All content inside content-card */
  .content-card,
  .content-card p,
  .content-card span,
  .content-card div,
  .content-card li,
  .content-card td,
  .content-card th {
    color: var(--text);
  }

  .content-card .text-muted,
  .content-card .small.text-muted {
    color: var(--text-lighter) !important;
  }

  /* Navbar - Dark Mode */
  .navbar {
    background: var(--glass-98);
    border-bottom-color: var(--border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  }

  .navbar-brand {
    color: var(--primary-light);
  }

  .navbar-brand:hover {
    color: var(--accent-light);
  }

  .navbar-nav .nav-link {
    color: var(--text-light);
  }

  .navbar-nav .nav-link:hover {
    color: var(--primary-light);
  }

  .navbar-nav .nav-link.active {
    color: var(--accent-light);
  }

  .dropdown-menu {
    background: var(--surface);
    border-color: var(--border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  }

  .dropdown-item {
    color: var(--text-light);
  }

  .dropdown-item:hover,
  .dropdown-item.active {
    background: rgba(59, 130, 246, 0.15);
    color: var(--primary-light);
    border-left-color: var(--primary-light);
  }

  .navbar-toggler {
    border-color: var(--primary-light);
  }

  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%2360a5fa' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }

  .offcanvas.offcanvas-nav {
    background: var(--surface);
    border-right-color: var(--border);
  }

  .offcanvas-header {
    border-bottom-color: var(--border);
  }

  /* Cards - Dark Mode */
  .card,
  .info-card,
  .content-card,
  .stat-card,
  .timeline-item,
  .keynote-card,
  .sponsor-card,
  .partner-card,
  .tier,
  .topic-card,
  .track-card,
  .contact-card,
  .venue-info-card,
  .edition-card {
    background: var(--surface);
    border-color: var(--border);
  }

  .card-title,
  .keynote-name {
    color: var(--text);
  }

  .card-text,
  .keynote-bio {
    color: var(--text-light);
  }

  /* Tables - Dark Mode */
  .table {
    --bs-table-bg: var(--surface);
    --bs-table-color: var(--text);
    --bs-table-border-color: var(--border);
    --bs-table-striped-bg: var(--surface-elevated);
    --bs-table-striped-color: var(--text);
    --bs-table-hover-bg: var(--surface-elevated);
    --bs-table-hover-color: var(--text);
    color: var(--text);
  }

  .table thead th,
  .dates-table thead th,
  .fees-table thead th,
  thead.bg-light th,
  .table thead.bg-light th {
    background: var(--surface-elevated) !important;
    color: var(--text) !important;
  }

  .table td,
  .table th,
  .table tbody td,
  .table tbody th {
    color: var(--text);
    border-color: var(--border);
  }

  .table caption,
  .fees-table caption,
  .dates-table caption {
    color: var(--text-lighter);
  }

  /* Override Bootstrap bg-light in dark mode */
  .bg-light {
    background-color: var(--surface-elevated) !important;
    color: var(--text) !important;
  }

  /* Bootstrap text alignment classes - ensure text color inherited */
  .text-start,
  .text-center,
  .text-end {
    color: inherit;
  }

  /* Table text-start cells */
  .table .text-start,
  .table td.text-start,
  .table th.text-start {
    color: var(--text);
  }

  /* Table striped rows */
  .table-striped > tbody > tr:nth-of-type(odd) > * {
    color: var(--text);
  }

  /* Note Callout - Dark Mode */
  .note-callout {
    background: rgba(14, 165, 233, 0.1);
    border-color: rgba(14, 165, 233, 0.3);
  }

  /* Warning/Info Boxes - Dark Mode */
  .warning-box {
    background: rgba(245, 158, 11, 0.1);
    border-left-color: #f59e0b;
  }

  .info-box {
    background: rgba(59, 130, 246, 0.1);
    border-left-color: #3b82f6;
  }

  /* Badges - Dark Mode */
  .badge-soft {
    background: rgba(52, 211, 153, 0.2);
    color: #34d399;
  }

  .badge-critical {
    background: rgba(59, 130, 246, 0.3);
    color: #93c5fd;
  }

  .badge-archive {
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
    border-color: rgba(59, 130, 246, 0.3);
  }

  .badge-technical {
    background: rgba(52, 211, 153, 0.15);
    color: #34d399;
  }

  .badge-gold,
  .badge-silver {
    color: #1e293b;
  }

  /* Chips - Dark Mode */
  .chip {
    background: var(--surface-elevated);
    border-color: var(--border);
    color: var(--text);
  }

  /* Logo Box - Dark Mode */
  .logo-box {
    background: var(--surface-elevated);
    border-color: var(--border);
  }

  /* Form Controls - Dark Mode (Bootstrap override) */
  .form-control,
  .form-select {
    background-color: var(--surface);
    border-color: var(--border);
    color: var(--text);
  }

  .form-control:focus,
  .form-select:focus {
    background-color: var(--surface);
    border-color: var(--primary);
    color: var(--text);
  }

  /* Accordion - Dark Mode */
  .accordion-item {
    background: var(--surface);
    border-color: var(--border);
  }

  .accordion-button {
    background: var(--surface);
    color: var(--text);
  }

  .accordion-button:not(.collapsed) {
    background: var(--surface-elevated);
    color: var(--primary-light);
  }

  .accordion-button::after {
    filter: invert(1);
  }

  .accordion-body {
    background: var(--surface);
    color: var(--text-light);
  }

  /* Links - Dark Mode */
  a {
    color: var(--primary-light);
  }

  a:hover {
    color: var(--accent-light);
  }

  /* Guideline Items - Dark Mode */
  .guideline-item,
  .member-item,
  .submission-steps li {
    border-bottom-color: var(--border);
  }

  /* Committee Title - Dark Mode */
  .committee-title {
    color: var(--primary-light);
    border-bottom-color: var(--border);
  }

  /* IEEE Banner - Dark Mode */
  .ieee-banner {
    background: var(--surface);
    border-color: var(--primary);
    color: var(--text);
  }

  .ieee-banner .label,
  .ieee-banner span {
    color: var(--text);
  }

  .ieee-banner strong {
    color: var(--primary-light);
  }

  .hero-with-image .ieee-banner {
    background: var(--surface);
  }

  /* Hero Pills - Dark Mode */
  .hero-pills .pill {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
    border-color: var(--border);
  }

  .hero-pills .pill i {
    color: var(--primary-light);
  }

  /* Theme Highlight - Dark Mode */
  .theme-highlight {
    background: rgba(37, 99, 235, 0.2);
    border-color: rgba(37, 99, 235, 0.4);
  }

  .theme-text,
  .theme-text .highlight,
  .theme-highlight h2,
  .theme-highlight .theme-text {
    color: var(--text);
  }

  .theme-text .highlight {
    background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  /* Text Light Custom - Dark Mode */
  .text-light-custom {
    color: var(--text);
  }

  /* Edition Card Overlay - Dark Mode */
  .edition-card {
    border-color: var(--border);
  }

  /* Sticky CTA - Dark Mode */
  .sticky-cta {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.06), var(--surface) 40%);
    border-top-color: var(--border);
  }

  /* Images - slight adjustment for dark backgrounds */
  .floating-image,
  .venue-image,
  .venue-image-main,
  .venue-image-secondary {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  }

  /* Bootstrap Text Utilities Override */
  .text-muted {
    color: var(--text-lighter) !important;
  }

  /* Bootstrap Background Utilities Override */
  .bg-light {
    background-color: var(--surface-elevated) !important;
  }

  /* Contact Card Icons */
  .contact-card i,
  .venue-info-card i {
    color: var(--primary-light);
  }

  /* Keynote Placeholder */
  .keynote-placeholder,
  .speaker-placeholder,
  .logo-placeholder {
    background: var(--gradient-hero);
  }

  .keynote-placeholder i {
    color: var(--primary-light);
  }

  /* Topic Card - Dark Mode */
  .topic-card,
  .track-card {
    border-top-color: var(--primary-light);
  }

  .topic-list li {
    color: var(--text-light);
  }

  .topic-list li::before {
    color: var(--primary-light);
  }

  /* Speaker Photo Border */
  .speaker-photo {
    border-color: var(--primary-light);
  }

  /* Date Item - Dark Mode */
  .date-item {
    border-bottom-color: var(--border);
  }

  /* =====================
     COMPREHENSIVE TEXT COLOR FIXES - Dark Mode
     ===================== */

  /* Body and general text */
  body {
    color: var(--text);
  }

  /* All headings */
  h1, h2, h3, h4, h5, h6,
  .h1, .h2, .h3, .h4, .h5, .h6,
  .display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    color: var(--text);
  }

  /* Paragraphs and spans */
  p, span, li, td, th, label, small {
    color: inherit;
  }

  /* Bootstrap text utilities - Force dark mode colors */
  .text-dark,
  .text-body,
  .text-black {
    color: var(--text) !important;
  }

  .text-secondary {
    color: var(--text-light) !important;
  }

  /* Bootstrap font-size utilities with text colors */
  p.fs-5,
  p.fs-6,
  .fs-5,
  .fs-6,
  .fs-5.mb-0,
  .fs-5.mb-2,
  .fs-5.mb-3,
  .fs-6.mb-0,
  .fs-6.mb-2,
  .fs-6.mb-3 {
    color: var(--text);
  }

  /* Content card paragraphs with Bootstrap utilities */
  .content-card p.fs-5,
  .content-card p.fs-6,
  .content-card .fs-5,
  .content-card .fs-6 {
    color: var(--text);
  }

  /* Section titles */
  .section-title,
  .section-title.h3 {
    color: var(--text);
  }

  /* Lead text */
  .lead,
  p.lead {
    color: var(--text-light);
  }

  /* Strong and bold text */
  strong, b {
    color: inherit;
  }

  /* Generic paragraph inside any card/container */
  .hover-card p,
  .hover-card li,
  .hover-card span,
  .info-card p,
  .info-card li {
    color: var(--text);
  }

  /* Card content - comprehensive */
  .content-card,
  .content-card h2,
  .content-card h3,
  .content-card h4,
  .content-card h5,
  .content-card p,
  .content-card li,
  .content-card span,
  .content-card div {
    color: var(--text);
  }

  .content-card .text-muted,
  .content-card small,
  .content-card .small {
    color: var(--text-lighter) !important;
  }

  /* Note callout with fs classes */
  .note-callout,
  .note-callout .fs-6,
  .note-callout strong {
    color: var(--text);
  }

  /* List inside content-card */
  .content-card ul li,
  .content-card ol li {
    color: var(--text);
  }

  /* List items with icons (cf-sponsors, etc.) */
  .list-unstyled li {
    color: var(--text);
  }

  .list-unstyled li i.bi {
    color: var(--secondary);
  }

  .list-unstyled li i.text-success {
    color: var(--secondary) !important;
  }

  /* Bootstrap text color utilities override for dark mode */
  .text-success {
    color: var(--secondary) !important;
  }

  .text-primary {
    color: var(--primary-light) !important;
  }

  .text-info {
    color: #38bdf8 !important;
  }

  .text-warning {
    color: #fbbf24 !important;
  }

  .text-danger {
    color: #f87171 !important;
  }

  /* Included items on registration page */
  .included-item,
  .included-item span,
  .included-item i {
    color: var(--text);
  }

  .included-item i.bi {
    color: var(--primary-light);
  }

  /* Topic card text */
  .topic-card h3 {
    color: var(--text);
  }

  /* Track card text */
  .track-card h5 {
    color: var(--text);
  }

  .track-card li {
    color: var(--text-light);
  }

  /* Member names and affiliations */
  .member-name {
    color: var(--text);
  }

  .member-affiliation {
    color: var(--text-light);
  }

  /* Contact card - comprehensive text colors */
  .contact-card {
    color: var(--text);
  }

  .contact-card h4,
  .contact-card h5,
  .contact-card h6 {
    color: var(--text);
  }

  .contact-card p,
  .contact-card span {
    color: var(--text-light);
  }

  .contact-card a {
    color: var(--primary-light);
  }

  .contact-card a:hover {
    color: var(--accent-light);
  }

  /* Venue info card */
  .venue-info-card h4 {
    color: var(--primary-light);
  }

  .venue-info-card p {
    color: var(--text-light);
  }

  /* Edition card text - comprehensive */
  .edition-card {
    color: var(--text);
  }

  .edition-card h3,
  .edition-card h5,
  .edition-card p {
    color: var(--text);
  }

  .edition-card .small,
  .edition-card .text-muted,
  .edition-card span.small {
    color: var(--text-lighter) !important;
  }

  .edition-card a {
    color: var(--primary-light);
  }

  .edition-card .edition-overlay span {
    color: #ffffff;
  }

  .edition-card .badge {
    color: inherit;
  }

  /* Tier card text */
  .tier h4 {
    color: var(--text);
  }

  .tier li {
    color: var(--text-light);
  }

  .tier .price {
    color: var(--primary-light);
  }

  /* Keynote card */
  .keynote-title {
    color: var(--primary-light);
  }

  .keynote-talk h5 {
    color: var(--text);
  }

  .keynote-talk p {
    color: var(--text-light);
  }

  /* Stat card */
  .stat-label {
    color: var(--text-light);
  }

  /* Timeline */
  .timeline-date {
    color: var(--primary-light);
  }

  .timeline-title {
    color: var(--text);
  }

  .timeline-desc {
    color: var(--text-light);
  }

  /* Feature items - comprehensive */
  .feature-item {
    color: var(--text);
  }

  .feature-item h4,
  .feature-item h5,
  .feature-text h4,
  .feature-text h5 {
    color: var(--text);
  }

  .feature-item p,
  .feature-text p {
    color: var(--text-light);
  }

  .feature-icon {
    color: var(--primary-light);
  }

  /* Info card - comprehensive (index.php hero cards) */
  .info-card {
    background: var(--surface);
    border-color: var(--border);
    color: var(--text);
  }

  .info-card .card-icon,
  .info-card .card-icon i {
    color: var(--primary-light);
  }

  .info-card .card-title,
  .info-card h3,
  .info-card h4 {
    color: var(--text);
  }

  .info-card p {
    color: var(--text-light);
  }

  /* List items in cards */
  ul li, ol li {
    color: var(--text-light);
  }

  /* Bootstrap list groups */
  .list-group-item {
    background-color: var(--surface);
    border-color: var(--border);
    color: var(--text);
  }

  /* Captions */
  caption, .caption {
    color: var(--text-lighter);
  }

  /* Blockquotes */
  blockquote {
    color: var(--text-light);
  }

  /* Bootstrap alerts */
  .alert {
    color: var(--text);
  }

  /* Hero section text - ensure white on dark gradient */
  .page-hero h1,
  .page-hero h2,
  .page-hero h3,
  .page-hero p,
  .page-hero .lead,
  .page-hero .display-4 {
    color: #ffffff;
  }

  /* Stepper text */
  .stepper .body,
  .step .body {
    color: var(--text);
  }

  .step .body a {
    color: var(--primary-light);
  }

  /* Note callout - comprehensive styling */
  .note-callout {
    background: rgba(14, 165, 233, 0.15);
    border-color: rgba(14, 165, 233, 0.4);
    color: var(--text);
  }

  .note-callout i,
  .note-callout .bi {
    color: var(--primary-light);
  }

  .note-callout a {
    color: var(--primary-light);
  }

  .note-callout strong {
    color: var(--text);
  }

  /* Warning/Info box - comprehensive styling */
  .warning-box,
  .info-box {
    color: var(--text);
  }

  .warning-box strong,
  .info-box strong {
    color: var(--text);
  }

  /* Guideline items */
  .guideline-item {
    color: var(--text);
  }

  /* Submission steps */
  .submission-steps li {
    color: var(--text);
  }

  /* Included items */
  .included-item {
    color: var(--text);
  }

  /* Icon list items */
  .icon-li {
    color: var(--text);
  }

  /* Bootstrap modals */
  .modal-content {
    background-color: var(--surface);
    color: var(--text);
  }

  .modal-header,
  .modal-footer {
    border-color: var(--border);
  }

  .modal-title {
    color: var(--text);
  }

  /* Close button */
  .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
  }

  /* Breadcrumbs */
  .breadcrumb-item {
    color: var(--text-light);
  }

  .breadcrumb-item.active {
    color: var(--text);
  }

  .breadcrumb-item + .breadcrumb-item::before {
    color: var(--text-lighter);
  }

  /* Bootstrap cards (generic) */
  .card-header,
  .card-footer {
    background-color: var(--surface-elevated);
    border-color: var(--border);
    color: var(--text);
  }

  .card-body {
    color: var(--text);
  }

  /* Input placeholder */
  ::placeholder {
    color: var(--text-lighter) !important;
    opacity: 1;
  }

  /* Selection */
  ::selection {
    background: rgba(59, 130, 246, 0.3);
    color: var(--text);
  }

  /* Scrollbar - Webkit */
  ::-webkit-scrollbar {
    width: 10px;
    height: 10px;
  }

  ::-webkit-scrollbar-track {
    background: var(--bg);
  }

  ::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 5px;
  }

  ::-webkit-scrollbar-thumb:hover {
    background: var(--text-lighter);
  }
}

/* ============================================
   2. RESET & BASE STYLES
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  font-size: var(--text-base);
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--primary-light), transparent 45%);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}

/* ============================================
   3. TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-4);
  color: var(--text);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-6);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: var(--text-xl);
  color: var(--text-light);
  margin-bottom: var(--space-8);
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: var(--text-4xl);
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-12);
  color: var(--text);
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  border-radius: 2px;
}

.section-title.text-start::after,
.section-title.text-left::after,
.text-start .section-title::after,
.text-left .section-title::after {
  left: 0;
  transform: none;
}

.section-title.text-end::after,
.section-title.text-right::after,
.text-end .section-title::after,
.text-right .section-title::after {
  left: auto;
  right: 0;
  transform: none;
}

.page-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  margin-bottom: var(--space-4);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-subtitle {
  font-size: var(--text-lg);
  color: var(--text-light);
  max-width: 36rem;
  margin: 0 auto;
}

.lead {
  font-size: var(--text-lg);
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: var(--space-6);
  color: var(--text-light);
}

/* ============================================
   4. NAVIGATION
   ============================================ */
.navbar {
  background: var(--glass-98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(37, 99, 235, 0.15);
  padding: 0.35rem 0;
  z-index: 1030;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.navbar-brand {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.75rem;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: -0.02em;
  transition: var(--transition);
}

.navbar-brand:hover {
  transform: scale(1.05);
  color: var(--accent);
}

.navbar-brand img {
  height: 60px;
  width: auto;
}

.brand-text {
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--text-light);
  margin: 0 0.25rem;
  padding: 0.65rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  text-decoration: none;
  transition: var(--transition);
}

.navbar-nav .nav-link.active {
  color: var(--accent);
}

.navbar-nav .nav-link:hover {
  color: var(--primary);
  text-decoration: none;
}

.navbar-nav .nav-link.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
}

.navbar-nav .nav-link.dropdown-toggle::after {
  margin-left: 0;
  flex-shrink: 0;
}

/* Dropdowns */
.dropdown-menu {
  background: var(--surface);
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: 0;
  padding: 0.75rem 0;
  margin-top: 0.5rem;
  min-width: 260px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
}

.dropdown-item {
  padding: 0.7rem 1rem;
  color: var(--text-light);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.dropdown-item.active,
.dropdown-item:hover {
  background: rgba(37, 99, 235, 0.08);
  color: var(--accent);
  border-left: 2px solid var(--accent);
  padding-left: 1.2rem;
}

.dropdown-item.disabled {
  pointer-events: none;
  opacity: 0.6;
}

/* Toggler */
.navbar-toggler {
  border: 1px solid var(--primary);
  padding: 0.5rem;
  border-radius: 0;
  background: transparent;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%232563eb' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Offcanvas Mobile Nav */
.offcanvas.offcanvas-nav {
  width: 20rem;
  background: var(--surface);
  border-right: 1px solid rgba(37, 99, 235, 0.15);
}

.offcanvas-header {
  border-bottom: 1px solid rgba(37, 99, 235, 0.15);
}

.offcanvas-header img {
  height: 55px;
  width: auto;
}

.offcanvas .navbar-nav .nav-link {
  color: var(--text-light);
}

.offcanvas .navbar-nav .nav-link:hover {
  color: var(--accent);
}

.offcanvas .navbar-nav .nav-link.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
}

.offcanvas .navbar-nav .nav-link.dropdown-toggle::after {
  margin-left: 0;
  flex-shrink: 0;
}

/* ============================================
   5. BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--text-base);
  text-align: center;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--text-white);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  color: var(--text-white);
  text-decoration: none;
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--text-white);
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-lg);
}

.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
}

/* Submit Button */
.submit-btn,
.submit-btn-mobile {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.5px;
  position: relative;
  border-radius: 0;
  transition: var(--transition);
}

.submit-btn:hover,
.submit-btn-mobile:hover {
  background: var(--accent);
  color: var(--text-white);
}

/* ============================================
   6. HERO SECTIONS
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
  padding-top: 5rem;
  padding-bottom: var(--space-20);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -25%;
  width: 50%;
  height: 200%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
  animation: float 20s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -25%;
  width: 50%;
  height: 200%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
  animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-banner {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.page-hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  padding: clamp(84px, 10vw, 120px) 0 64px;
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(37, 99, 235, 0.25), transparent 60%),
    radial-gradient(1000px 600px at 85% -20%, rgba(16, 185, 129, 0.25), transparent 60%),
    linear-gradient(135deg, #1e40af 0%, #3730a3 55%, #4f46e5 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent 70%);
}

.page-hero h1,
.page-hero h2,
.page-hero h3,
.page-hero .display-4,
.page-hero .section-title {
  color: #ffffff;
}

.page-hero .lead {
  color: rgba(255, 255, 255, 0.9);
  max-width: 840px;
  margin-inline: auto;
}

.page-hero .section-title::after {
  background: linear-gradient(to right, #ffffff, rgba(255, 255, 255, 0.6));
}

.hero-kicker {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
  color: #a5b4fc;
  font-size: 0.85rem;
}

.hero-pills .pill {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.page-header {
  padding: 8rem 0 var(--space-16);
  background: var(--gradient-hero);
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 4rem;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -25%;
  width: 50%;
  height: 200%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
  animation: float 20s ease-in-out infinite;
}

/* ============================================
   7. CARDS & COMPONENTS
   ============================================ */
.card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition);
}

.card:hover::before {
  opacity: 1;
}

.info-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.info-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.card-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto var(--space-4);
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-2xl);
  color: var(--text-white);
  box-shadow: var(--shadow);
}

.card-title {
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-2);
  font-family: var(--font-heading);
  color: var(--text);
}

.card-text {
  color: var(--text-light);
  font-size: var(--text-base);
  line-height: 1.6;
}

.content-card {
  background: var(--surface);
  border-radius: var(--radius-2xl);
  padding: var(--space-12);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  margin: var(--space-8) 0;
  border: 1px solid var(--border-light);
}

.content-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--gradient-primary);
}

/* Hover Card Animation */
.hover-card {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.hover-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(2, 6, 23, 0.12);
}

/* Note Callout */
.note-callout {
  border-left: 4px solid var(--secondary);
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.3);
  border-left-width: 4px;
  border-left-color: var(--secondary);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  color: var(--text);
}

/* ============================================
   8. STATS & TIMELINE
   ============================================ */
.stat-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border-light);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-2);
  display: block;
}

.stat-label {
  color: var(--text-light);
  font-weight: 500;
  font-size: var(--text-base);
}

/* Timeline */
.timeline-item {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.timeline-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
}

.timeline-date {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--space-2);
}

.timeline-title {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-1);
  color: var(--text);
}

.timeline-desc {
  font-size: var(--text-sm);
  color: var(--text-light);
}

/* Countdown */
.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin: 1.5rem auto;
  background: transparent;
  max-width: 600px;
}

.countdown-item {
  background: var(--surface);
  border-radius: 0;
  padding: 1rem 0.75rem;
  min-width: auto;
  text-align: center;
  border: none;
  position: relative;
  transition: var(--transition);
}

.countdown-number {
  font-size: 2rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
  letter-spacing: 0.5px;
  font-family: 'Courier New', monospace;
}

.countdown-label {
  font-size: 0.65rem;
  color: var(--text-light);
  margin-top: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 500;
}

/* ============================================
   9. VENUE SECTION
   ============================================ */
.venue-image-main {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.venue-image-main:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.venue-image-main img {
  width: 100%;
  height: 24rem;
  object-fit: cover;
  transition: var(--transition-slow);
}

.venue-image-main:hover img {
  transform: scale(1.05);
}

.venue-image-secondary {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.venue-image-secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.venue-image-secondary img {
  width: 100%;
  height: 11rem;
  object-fit: cover;
  transition: var(--transition-slow);
}

.venue-image-secondary:hover img {
  transform: scale(1.05);
}

.venue-features {
  padding: var(--space-6);
}

.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--space-6);
  padding: var(--space-4);
  background: var(--surface-elevated);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  border: 1px solid var(--border-light);
}

.feature-item:hover {
  transform: translateX(8px);
  background: rgba(37, 99, 235, 0.05);
  border-color: var(--primary);
}

.feature-icon {
  font-size: var(--text-2xl);
  margin-right: var(--space-4);
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: var(--radius);
  color: var(--text-white);
}

.feature-text h5 {
  color: var(--text);
  margin-bottom: var(--space-1);
  font-weight: 600;
  font-size: var(--text-base);
}

.feature-text p {
  color: var(--text-light);
  margin-bottom: 0;
  font-size: var(--text-sm);
  line-height: 1.5;
}

/* Venue Page Specific */
.venue-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  margin-bottom: 1.5rem;
}

.venue-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.venue-image:hover img {
  transform: scale(1.02);
}

.venue-info-card {
  background: var(--surface, white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.venue-info-card h4 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.venue-info-card i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

/* ============================================
   10. KEYNOTES & SPEAKERS
   ============================================ */
.keynote-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border-light);
  height: 100%;
}

.keynote-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.keynote-image {
  margin-bottom: var(--space-6);
}

.speaker-placeholder {
  width: 100%;
  height: 12rem;
  background: var(--gradient-hero);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-5xl);
  color: var(--primary);
}

.speaker-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem;
  display: block;
  border: 4px solid var(--primary);
}

.keynote-name {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--text);
}

.keynote-title {
  font-size: var(--text-base);
  color: var(--primary);
  margin-bottom: var(--space-4);
  font-weight: 500;
}

.keynote-bio {
  color: var(--text-light);
  margin-bottom: var(--space-4);
  line-height: 1.6;
}

.keynote-talk h5 {
  color: var(--text);
  margin-bottom: var(--space-2);
  font-size: var(--text-base);
}

.keynote-talk p {
  color: var(--text-light);
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
}

.keynote-links {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.keynote-placeholder {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
  border-radius: 12px;
  padding: 4rem 2rem;
  text-align: center;
}

.keynote-placeholder i {
  font-size: 4rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

/* ============================================
   11. SPONSORS
   ============================================ */
.sponsor-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border-light);
  height: 100%;
}

.sponsor-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.sponsor-logo {
  margin-bottom: var(--space-4);
}

.logo-placeholder {
  width: 100%;
  height: 8rem;
  background: var(--gradient-hero);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: var(--text-2xl);
  color: var(--primary);
  gap: var(--space-2);
}

.logo-placeholder.small {
  height: 6rem;
  font-size: var(--text-xl);
}

.tier-title {
  font-size: var(--text-3xl);
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-8);
  position: relative;
}

.tier-title.platinum { color: #9333ea; }
.tier-title.gold { color: #f59e0b; }
.tier-title.silver { color: #6b7280; }
.tier-title.academic { color: var(--primary); }

.sponsor-tier {
  margin-bottom: var(--space-16);
}

/* Partner Cards */
.partner-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  background: var(--surface);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.partner-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.logo-box {
  height: 80px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: var(--surface);
}

.logo-box img {
  max-height: 60px;
  width: auto;
  object-fit: contain;
}

/* Tier Badges */
.badge-tier { font-weight: 700; }
.badge-platinum { background: linear-gradient(135deg, #64748b, #94a3b8); color: #fff; }
.badge-gold { background: linear-gradient(135deg, #eab308, #f59e0b); color: #111; }
.badge-silver { background: linear-gradient(135deg, #cbd5e1, #e2e8f0); color: #111; }
.badge-technical { background: rgba(16, 185, 129, 0.15); color: #065f46; }
.badge-soft { background: rgba(16, 185, 129, 0.75); color: #090909; }
.badge-critical { background: rgba(37, 99, 235, 0.85); color: #fff; }
.badge-archive { background: rgba(59, 130, 246, 0.15); color: #1e40af; border: 1px solid rgba(59, 130, 246, 0.3); font-weight: 600; }

/* Sponsorship Tier Cards */
.tier {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  height: 100%;
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.tier:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.tier h4 { font-weight: 800; margin: 0; font-size: 1.25rem; }
.tier .price { font-size: 1.5rem; font-weight: 800; color: var(--primary); }
.tier ul { list-style: none; padding-left: 0; margin-bottom: 0; margin-top: 1rem; }
.tier li { display: flex; gap: 0.6rem; align-items: flex-start; margin: 0.5rem 0; font-size: 0.95rem; }
.tier li i { color: var(--secondary); flex-shrink: 0; margin-top: 0.15rem; }

/* Tier Badge Icons */
.tier-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(2, 6, 23, 0.08);
  flex: 0 0 48px;
}

.tier-badge i {
  font-size: 1.25rem;
  line-height: 1;
  opacity: 0.95;
}

.tier-badge.badge-platinum {
  background: linear-gradient(135deg, #eef2f7 0%, #f8fafc 60%, #ffffff 100%);
  border-color: #d1d5db;
}
.tier-badge.badge-platinum i { color: #475569; }

.tier-badge.badge-gold {
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 50%, #facc15 100%);
  border-color: #eab308;
}
.tier-badge.badge-gold i { color: #4a3b03; }

.tier-badge.badge-silver {
  background: linear-gradient(135deg, #cbd5e1 0%, #e2e8f0 55%, #f1f5f9 100%);
  border-color: #cbd5e1;
}
.tier-badge.badge-silver i { color: #334155; }

/* IEEE Sponsor Highlight */
.ieee-sponsor {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
  border: 2px solid var(--primary);
}

/* Filter Pills */
.filter-pills .btn { border-radius: var(--radius-full); }
.filter-pills .btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ============================================
   12. PAGE-SPECIFIC STYLES
   ============================================ */

/* --- INDEX PAGE --- */
.hero-with-image {
  position: relative;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/valencia_general_4.png');
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  z-index: -1;
}

.floating-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.floating-image img {
  width: 100%;
  height: auto;
  display: block;
}

.image-divider {
  height: 300px;
  background-image: url('../images/valencia_general_2.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

.image-divider::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
}

.ieee-banner {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.9rem 1.25rem;
  border-radius: 9999px;
  border: 2px solid var(--primary);
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.08), 0 0.125rem 0.5rem rgba(0, 0, 0, 0.06);
  font-weight: 600;
  line-height: 1.1;
  z-index: 2;
}

.hero-with-image .ieee-banner {
  background: rgba(255, 255, 255, 0.97);
}

.ieee-banner img {
  height: 42px;
  width: auto;
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.05));
}

.ieee-banner .label {
  letter-spacing: 0.01em;
}

.theme-highlight {
  text-align: center;
  padding: 2rem;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  margin-top: 1rem;
}

.theme-text {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text, #000000);
  line-height: 1.5;
  margin: 0;
}

.theme-text .highlight {
  color: var(--text, #000000);
  display: block;
}

.theme-container {
  max-width: 800px;
  margin: 0 auto;
}

/* --- CFP PAGE --- */
.topic-card {
  background: var(--surface, white);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 4px solid var(--primary);
}

.topic-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.topic-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.topic-icon {
  font-size: 1.8rem;
  margin-right: 0.8rem;
}

.topic-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}

.topic-list {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 0;
}

.topic-list li {
  padding: 0.4rem 0;
  position: relative;
  padding-left: 1.5rem;
  color: var(--text-light, #495057);
}

.topic-list li::before {
  content: "•";
  color: var(--primary);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.text-light-custom {
  color: var(--text, #000000);
  line-height: 1.7;
}

/* --- CFPS (POSTERS) PAGE --- */
.guideline-item {
  display: flex;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border-light, #f1f3f4);
  color: var(--text);
}

.guideline-item:last-child {
  border-bottom: none;
}

.warning-box {
  background: rgba(255, 193, 7, 0.1);
  border-left: 4px solid #ffc107;
  padding: 1.5rem;
  border-radius: 8px;
  color: var(--text);
  margin: 1.5rem 0;
}

.info-box {
  background: rgba(13, 110, 253, 0.1);
  border-left: 4px solid #0d6efd;
  padding: 1.5rem;
  border-radius: 8px;
  margin: 1.5rem 0;
  color: var(--text);
}

/* --- CF-WORKSHOPS PAGE --- */
.icon-li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  color: var(--text);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--surface, #f1f5f9);
  border: 1px solid var(--border, #e2e8f0);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}

.track-card {
  background: var(--surface, white);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
  border-top: 4px solid var(--primary);
}

.track-card h5 {
  color: var(--text);
  margin-bottom: 1rem;
}

.track-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.track-card li {
  padding: 0.3rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--text-light);
}

.track-card li i {
  color: var(--primary);
  margin-top: 0.2rem;
}

/* --- COMMITTEE PAGE --- */
.committee-section {
  margin-bottom: 3rem;
}

.committee-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border, #e9ecef);
}

.member-list {
  list-style: none;
  padding: 0;
}

.member-item {
  padding: 1rem 0;
  border-bottom: 1px solid #f1f3f4;
}

.member-item:last-child {
  border-bottom: none;
}

.member-name {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.member-affiliation {
  color: var(--text-light, #6c757d);
  font-size: 0.95rem;
}

/* --- CONTACT PAGE --- */
.contact-card {
  background: var(--surface, white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.contact-card i {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.contact-card h4 {
  margin-bottom: 1rem;
}

.contact-card a {
  color: var(--primary);
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}

/* --- REGISTRATION PAGE --- */
.fees-table th {
  font-weight: 700;
}

.fees-table td,
.fees-table th {
  vertical-align: middle;
}

.included-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.5rem 0;
}

.included-item i {
  color: var(--primary);
  font-size: 1.1rem;
  margin-top: 0.1rem;
}

/* --- SUBMISSION PAGE --- */
.submission-steps {
  list-style: none;
  padding-left: 0;
}

.submission-steps li {
  padding: 0.8rem 0;
  border-bottom: 1px solid #f1f3f4;
}

.submission-steps li:last-child {
  border-bottom: none;
}

/* --- DATES PAGE --- */
.dates-table thead th {
  background: #f8fafc;
  font-weight: 700;
}

.dates-table td,
.dates-table th {
  vertical-align: middle;
}

.dates-table td del {
  color: #ef4444;
  opacity: 0.85;
}

/* --- VERSIONS/PREVIOUS EDITIONS PAGE --- */
.edition-card {
  background: var(--surface, #fff);
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}

.edition-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(2, 6, 23, 0.12);
}

.edition-cover {
  position: relative;
  border-bottom: 1px solid var(--border, #eef2f7);
}

.edition-cover .ratio > img {
  object-fit: cover;
  transition: transform 0.5s ease;
}

.edition-card:hover .edition-cover .ratio > img {
  transform: scale(1.05);
}

.edition-cover-img {
  object-fit: cover;
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
}

.edition-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30, 58, 138, 0.65), rgba(0, 0, 0, 0) 60%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0.75rem 0.75rem 1rem;
}

.edition-overlay .year {
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 10px rgba(30, 58, 138, 0.35);
}

.edition-ctas {
  gap: 0.5rem;
}

/* ============================================
   13. FOOTER
   ============================================ */
.modern-footer {
  background: #000000;
  color: #ffffff;
  margin-top: 4rem;
  position: relative;
  overflow: hidden;
  border-top: 1px solid #333333;
}

.modern-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #ffffff, transparent);
}

.footer-main {
  padding: 3.25rem 0 2rem;
  position: relative;
  z-index: 1;
  background: #000000;
  color: #ffffff;
}

.footer-section {
  height: 100%;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-logo {
  height: 50px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0;
  color: #ffffff;
}

.footer-description {
  color: #ffffff;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  position: relative;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 40px;
  height: 2px;
  background: #ffffff;
  border-radius: 0;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: #cccccc;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0;
  border-radius: 0;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 0.5rem;
  border-left: 2px solid #ffffff;
}

.footer-links i {
  opacity: 1;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 400;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #cccccc;
  transition: var(--transition);
}

.contact-item i {
  min-width: 20px;
  color: #ffffff;
  opacity: 1;
  font-size: 1.1rem;
  font-weight: 400;
}

.contact-item a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

.contact-item:hover,
.contact-item a:hover {
  color: #ffffff;
}

.modern-footer .bi {
  color: #ffffff;
}

.important-dates {
  margin-bottom: 1.25rem;
}

.date-item {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #333333;
}

.date-label {
  color: #cccccc;
  font-weight: 500;
}

.date-value {
  color: #ffffff;
  font-weight: 700;
}

.social-heading {
  color: #ffffff;
}

.social-icons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 0;
  background: transparent;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 400;
  text-decoration: none;
  border: 1px solid #ffffff;
  transition: var(--transition);
}

.social-link i {
  color: #ffffff;
  opacity: 1;
}

.social-link:hover {
  background: #ffffff;
  color: #000000;
  transform: translateY(-2px);
}

.social-link:hover i {
  color: #000000;
}

.footer-bottom {
  background: #000000;
  padding: 1rem 0;
  border-top: 1px solid #333333;
}

.footer-bottom .copyright {
  color: #cccccc;
  font-size: 0.9rem;
}

.footer-bottom .text-white-50 {
  color: #cccccc;
}

.link-footer {
  color: var(--text-light);
  text-decoration: none;
}

.link-footer:hover {
  color: var(--primary);
}

.link-footer i {
  color: var(--primary);
}

/* Back to Top */
.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top i {
  color: #ffffff;
}

/* ============================================
   14. UTILITIES
   ============================================ */
.fade-in {
  animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

.mt-4 { margin-top: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }

/* Sticky CTA (mobile) */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1030;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), #fff 40%);
  border-top: 1px solid var(--border);
  padding: 0.75rem 1rem;
  display: none;
}

/* ============================================
   15. RESPONSIVE DESIGN
   ============================================ */
@media (min-width: 992px) {
  .ieee-banner {
    font-size: 1.1rem;
  }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--surface);
    border-radius: 0;
    margin-top: 1rem;
    padding: 1.25rem;
    border: 1px solid rgba(37, 99, 235, 0.15);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
  }

  .navbar-nav {
    gap: 0.25rem;
  }

  .navbar-nav .nav-link {
    text-align: center;
    margin: 0;
    padding: 0.95rem;
    color: var(--text-light);
  }

  .navbar-nav .nav-link.dropdown-toggle {
    justify-content: center;
    gap: 0.25rem;
  }

  .navbar-nav .nav-link.dropdown-toggle::after {
    margin-left: 0;
  }

  .dropdown-menu {
    background: var(--surface);
    border: 1px solid rgba(37, 99, 235, 0.15);
    margin: 0.5rem 0;
    border-radius: 0;
  }

  .submit-btn-mobile {
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: var(--text-4xl);
  }

  .section-title {
    font-size: var(--text-3xl);
  }

  .venue-image-main img {
    height: 16rem;
  }

  .venue-image-secondary img {
    height: 8rem;
  }

  .feature-item {
    flex-direction: column;
    text-align: center;
  }

  .feature-icon {
    margin-right: 0;
    margin-bottom: var(--space-3);
  }

  .keynote-links {
    justify-content: center;
  }

  .speaker-placeholder {
    height: 8rem;
    font-size: var(--text-3xl);
  }

  .logo-placeholder {
    height: 6rem;
  }

  .logo-placeholder.small {
    height: 4rem;
    font-size: var(--text-base);
  }

  .card,
  .content-card {
    padding: var(--space-6);
  }

  .hero {
    padding-top: 4rem;
    padding-bottom: var(--space-12);
  }

  .page-header {
    padding: 6rem 0 var(--space-12);
  }

  .image-divider {
    height: 200px;
    background-attachment: scroll;
  }

  .footer-section {
    text-align: center;
  }

  .footer-brand {
    justify-content: center;
  }

  .footer-heading::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .date-item {
    flex-direction: column;
    align-items: center;
  }

  .social-icons {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .navbar-brand {
    font-size: 1.4rem;
  }

  .countdown-number {
    font-size: 1.75rem;
  }

  .countdown-item {
    min-width: 76px;
  }

  .ieee-banner img {
    height: 32px;
  }

  .sticky-cta {
    display: block;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: var(--text-3xl);
  }

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

  .keynote-links {
    flex-direction: column;
  }
}

/* Print Styles */
@media print {
  .modern-footer {
    background: var(--surface);
    color: var(--text);
    page-break-inside: avoid;
  }

  .footer-main {
    padding: 2rem 0;
  }

  .social-icons,
  .footer-bottom {
    display: none;
  }
}
