/* ============================================
   General Projects — Stylesheet
   Teal/Emerald theme, horizontal card layout
   Distinct from IEEE purple centered-grid style
   ============================================ */

/* Utility Classes */
.hidden {
    display: none !important;
}

/* ---------- Design Tokens ---------- */
:root {
    --bg-body: linear-gradient(135deg, #ffedd5 0%, #bae6fd 50%, #dcfce7 100%);
    --bg-white: #ffffff;
    --bg-dark: #022c22;
    --bg-hero: linear-gradient(135deg, #022c22 0%, #064e3b 35%, #047857 70%, #059669 100%);
    --accent: #059669;
    --accent-light: #34d399;
    --accent-lighter: #d1fae5;
    --accent-pale: #ecfdf5;
    --accent-dark: #047857;
    --accent-darker: #064e3b;
    --text-dark: #0f172a;
    --text-body: #475569;
    --text-muted: #94a3b8;
    --text-white: #ffffff;
    --border-light: #e2e8f0;
    --border-card: #d1d5db;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.1);
    --shadow-card: 0 2px 12px rgba(5, 150, 105, 0.1);
    --shadow-card-hover: 0 8px 28px rgba(5, 150, 105, 0.18);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    font-size: clamp(14px, 1.2vw + 0.5rem, 18px);
    min-height: 100vh;
    background: linear-gradient(
        135deg,
        hsl(calc(30 + var(--scroll-p, 0) * 120), 85%, 93%) 0%,
        hsl(calc(195 + var(--scroll-p, 0) * 80), 80%, 91%) 50%,
        hsl(calc(140 + var(--scroll-p, 0) * 110), 75%, 93%) 100%
    ) !important;
    background-attachment: fixed !important;
}

.hero-banner h1,
.hero-content h1,
.section-title,
.section-heading,
.page-title,
.logo-text h1,
.sidebar-title,
.domain-card h3 {
    background: linear-gradient(
        135deg,
        hsl(calc(15 + var(--scroll-p, 0) * 160), 90%, 25%) 0%,
        hsl(calc(160 + var(--scroll-p, 0) * 140), 85%, 35%) 100%
    ) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    transition: background 0.1s ease-out;
}

body {
    font-family: var(--font);
    background: transparent;
    color: var(--text-body);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ---------- Utility ---------- */
.page-container {
    width: min(1280px, 92%);
    margin: 0 auto;
}

.nav-container {
    width: min(1340px, 94%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-sample {
    padding: 12px 28px;
    border: 2px solid var(--accent);
    border-radius: var(--radius-sm);
    color: var(--accent-dark);
    background: var(--bg-white);
    font-weight: 600;
}

.btn-sample:hover {
    background: var(--accent);
    color: var(--text-white);
    box-shadow: 0 4px 16px rgba(5, 150, 105, 0.3);
    transform: translateY(-2px);
}

.btn-sample:hover svg {
    transform: translateX(3px);
}

.btn-sample svg {
    transition: transform var(--transition);
}

/* ===================================================
   HEADER / NAVBAR
   =================================================== */
.site-header { 
    position: fixed;
    top: 20px; left: 0; right: 0;
    z-index: 100;
    margin: 0 auto;
    width: 96%; max-width: 1400px; height: 90px; transition: all 0.3s ease;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(1px) url(#lg-filter) blur(2px) saturate(1.5) brightness(1.1);
    -webkit-backdrop-filter: blur(8px) saturate(1.8) brightness(1.15) contrast(1.05);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.15),
        inset 1.5px 1.5px 0 rgba(255, 255, 255, 0.5),
        inset 0 0 12px rgba(255, 255, 255, 0.2),
        0 8px 32px rgba(0, 0, 0, 0.2);
    border-bottom: none;
    padding: 0;
 }

.site-header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

.site-header .nav-container {
    height: 100%;
}

/* Logo */
.logo-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5mm;
  padding-top: 4px;
  text-decoration: none;
}

.logo-icon svg {
    display: block;
}

.logo-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: -0.3px;
}

.logo-tagline {
  font-size: 0.75rem;
  color: #279b04;
  font-weight: 700;
  text-align: center;
}

/* Nav */
.main-nav ul {

    
    background: transparent;
    border: 1px solid #1ba104;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 6px 16px;
    border-radius: 8px;
    box-shadow: none;

 
    

    display: flex;
    align-items: center;
    gap: 6px;
}

.main-nav a {
    color: #013220; text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
    
    font-size: 0.875rem;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 6px;
    transition: all var(--transition);
}

.main-nav a:hover,
.main-nav a.nav-active {
  color: #000000;
  background: transparent !important;
  box-shadow: none !important;
  transform: translateY(-2px);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.main-nav a.nav-active {
    color: #34d399;
}

/* ===================================================
   HERO BANNER — Emerald Tech Theme
   =================================================== */
.hero-banner {
    background: transparent;
    position: relative;
    overflow: hidden;
    padding: 150px 0 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-mesh {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(16, 185, 129, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 185, 129, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    background-position: center center;
    opacity: 0.5;
}
.hero-mesh::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 75% 25%, rgba(52, 211, 153, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(5, 150, 105, 0.2) 0%, transparent 40%);
    filter: blur(20px);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-left: max(4%, 24px);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(52, 211, 153, 0.15);
    color: var(--accent-light);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    margin-bottom: 16px;
    border: 1px solid #1ba104;
}

.hero-content h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    background: linear-gradient(to right, #fff, #a7f3d0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.7;
    max-width: 520px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 45%, var(--text-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Decorative Shapes — Different from IEEE circles */
.hero-shapes {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 55%;
    pointer-events: none;
    z-index: 1;
}

.shape {
    position: absolute;
}

.shape-1 {
    width: 140px;
    height: 140px;
    top: 20px;
    right: 80px;
    border: 2px solid rgba(52, 211, 153, 0.15);
    border-radius: 24px;
    transform: rotate(15deg);
    animation: shapeFloat 7s ease-in-out infinite;
}

.shape-2 {
    width: 60px;
    height: 60px;
    top: 40px;
    right: 280px;
    background: rgba(52, 211, 153, 0.08);
    border-radius: 50%;
    animation: shapeFloat 5s ease-in-out infinite reverse;
}

.shape-3 {
    width: 100px;
    height: 100px;
    bottom: 10px;
    right: 150px;
    border: 2px solid rgba(52, 211, 153, 0.1);
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    animation: shapeFloat 6s ease-in-out infinite;
}

.shape-4 {
    width: 200px;
    height: 200px;
    top: -40px;
    right: -30px;
    border: 1.5px solid rgba(52, 211, 153, 0.1);
    border-radius: 50%;
    animation: shapeFloat 9s ease-in-out infinite;
}

.shape-dots {
    top: 30px;
    right: 50px;
    width: 180px;
    height: 140px;
    background-image: radial-gradient(rgba(52, 211, 153, 0.12) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    border-radius: 12px;
    transform: rotate(-5deg);
}

@keyframes shapeFloat {
    0%,
    100% {
        transform: translateY(0) rotate(15deg);
    }

    50% {
        transform: translateY(-12px) rotate(18deg);
    }
}

/* ===================================================
   BREADCRUMB — Chevron style (different from IEEE)
   =================================================== */
.breadcrumb-bar {
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light);
    background: var(--bg-white);
}

.breadcrumb-bar nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.breadcrumb-bar a {
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: color var(--transition);
}

.breadcrumb-bar a:hover {
    color: var(--accent);
}

.breadcrumb-sep {
    display: flex;
    align-items: center;
    color: var(--text-muted);
}

.breadcrumb-current {
    color: var(--text-dark);
    font-size: 0.85rem;
    font-weight: 600;
}

/* ===================================================
   PAGE LAYOUT
   =================================================== */
.page-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 32px;
    padding-top: 28px;
    padding-bottom: 48px;
    align-items: start;
}

/* ===================================================
   SIDEBAR — Dot indicator style (vs IEEE left-border)
   =================================================== */
.sidebar {
    position: sticky;
    top: 90px;
}

.sidebar-categories {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 22px 18px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.sidebar-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.mobile-category-btn {
    display: none;
    background: rgba(16,185,129,0.1);
    border: none;
    color: var(--accent);
    cursor: pointer;
    padding: 6px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}
.mobile-category-btn:hover { background: rgba(16,185,129,0.2); }
.mobile-category-btn svg { transition: transform 0.3s ease; }
.mobile-category-btn.open svg { transform: rotate(180deg); }

.sidebar-title svg {
    color: var(--accent);
}

/* Category Items */
.category-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-body);
    cursor: pointer;
    transition: all var(--transition);
    margin-bottom: 2px;
    position: relative;
}

.cat-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-card);
    flex-shrink: 0;
    transition: all var(--transition);
}

.cat-count {
    margin-left: auto;
    background: var(--accent-lighter);
    color: var(--accent-dark);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 50px;
}

.category-list li:hover {
    background: var(--accent-pale);
    color: var(--accent-dark);
}

.category-list li:hover .cat-dot {
    background: var(--accent-light);
}

.category-list li.active {
    background: var(--accent-lighter);
    color: var(--accent-dark);
    font-weight: 600;
}

.category-list li.active .cat-dot {
    background: var(--accent);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.2);
}

/* Sidebar Tip Card */
.sidebar-tip-card {
    background: linear-gradient(135deg, var(--accent-pale) 0%, var(--accent-lighter) 100%);
    border: 1px solid #1ba104;
    border-radius: var(--radius-md);
    padding: 22px 18px;
    box-shadow: var(--shadow-sm);
}

.tip-icon {
    color: var(--accent);
    margin-bottom: 12px;
    width: 44px;
    height: 44px;
    background: var(--bg-white);
    border-radius: var(--radius-sm);
    display: grid;
    place-items: center;
    box-shadow: var(--shadow-sm);
}

.sidebar-tip-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent-darker);
    margin-bottom: 8px;
}

.sidebar-tip-card p {
    font-size: 0.82rem;
    color: var(--text-body);
    line-height: 1.55;
}

/* ===================================================
   DOMAIN HEADER
   =================================================== */
.domain-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.domain-header-text h2 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
    letter-spacing: -0.3px;
}

.domain-header-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Search Bar — Icon on left (vs IEEE icon-right) */
.search-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-white);
    border: 1.5px solid var(--border-light);
    border-radius: 50px;
    padding: 0 16px;
    overflow: hidden;
    transition: border-color var(--transition), box-shadow var(--transition);
    min-width: 240px;
}

.search-bar:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.search-icon {
    color: var(--text-muted);
    flex-shrink: 0;
}

.search-bar:focus-within .search-icon {
    color: var(--accent);
}

.search-bar input {
    border: none;
    outline: none;
    padding: 10px 0;
    font-size: 0.875rem;
    font-family: var(--font);
    background: transparent;
    flex: 1;
    color: var(--text-dark);
    min-width: 0;
}

.search-bar input::placeholder {
    color: var(--text-muted);
}

/* ===================================================
   DOMAIN CARDS — Horizontal list layout
   (vs IEEE centered 4-column grid)
   =================================================== */
.domain-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.project-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid #1ba104;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    cursor: pointer;
    animation: fadeUp 0.6s ease-out forwards;
}

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

.domain-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    display: flex;
    overflow: hidden;
    transition: all var(--transition);
    position: relative;
    /* Stagger animation */
    opacity: 0;
    transform: translateX(-20px);
    animation: cardSlideIn 0.4s ease forwards;
}

.domain-card:nth-child(1) { animation-delay: 0.03s; }
.domain-card:nth-child(2) { animation-delay: 0.06s; }
.domain-card:nth-child(3) { animation-delay: 0.09s; }
.domain-card:nth-child(4) { animation-delay: 0.12s; }
.domain-card:nth-child(5) { animation-delay: 0.15s; }
.domain-card:nth-child(6) { animation-delay: 0.18s; }
.domain-card:nth-child(7) { animation-delay: 0.21s; }
.domain-card:nth-child(8) { animation-delay: 0.24s; }

@keyframes cardSlideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.domain-card:hover {
    border-color: var(--accent-light);
    box-shadow: var(--shadow-card-hover);
    transform: translateX(4px);
}

/* Left Accent Bar */
.card-accent {
    width: 5px;
    flex-shrink: 0;
    background: linear-gradient(180deg, var(--accent-light) 0%, var(--accent) 100%);
    border-radius: 3px 0 0 3px;
    opacity: 0;
    transition: opacity var(--transition);
}

.domain-card:hover .card-accent {
    opacity: 1;
}

/* Card Body */
.card-body {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    flex: 1;
}

/* Card Icon */
.card-icon-wrap {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-pale);
    border-radius: var(--radius-sm);
    color: var(--accent);
    transition: all var(--transition);
}

.domain-card:hover .card-icon-wrap {
    background: var(--accent-lighter);
    transform: scale(1.06);
}

.card-icon-wrap svg {
    width: 32px;
    height: 32px;
}

/* Card Text */
.card-text {
    flex: 1;
    min-width: 0;
}

.card-text h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2px;
    letter-spacing: -0.2px;
}

.project-count {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent);
    background: var(--accent-lighter);
    padding: 2px 10px;
    border-radius: 50px;
    margin-bottom: 8px;
}

.card-text p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.45;
}

/* Card Arrow */
.card-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-pale);
    color: var(--accent);
    flex-shrink: 0;
    transition: all var(--transition);
}

.card-arrow:hover {
    background: var(--accent);
    color: var(--text-white);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

.card-arrow svg {
    transition: transform var(--transition);
}

.card-arrow:hover svg {
    transform: translateX(2px);
}

/* Hidden state for filtering */
.domain-card.hidden {
    display: none;
}

/* ===================================================
   FOOTER INFO BAR
   =================================================== */
.footer-info {
    background: var(--bg-white);
    border-top: 1px solid var(--border-light);
    padding: 24px 0;
    margin-top: 12px;
}

.footer-info-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-info-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-info-icon {
    width: 52px;
    height: 52px;
    background: var(--accent-lighter);
    border-radius: var(--radius-md);
    display: grid;
    place-items: center;
    color: var(--accent);
    flex-shrink: 0;
}

.footer-info-text h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.includes-list {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
}

.includes-list li {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.84rem;
    color: var(--text-body);
    font-weight: 500;
}

.includes-list li svg {
    color: var(--accent);
    flex-shrink: 0;
}

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 1100px) {
    .domain-grid {
        gap: 12px;
    }
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #0f172a;
    cursor: pointer;
    padding: 4px;
}
.nav-container { position: relative; }

@media (max-width: 960px) {
    .header-actions { display: none; }
    .mobile-menu-btn { display: block; margin-left: auto; }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        
      border-radius: 16px;
      background: rgba(255, 255, 255, 0.65);
      backdrop-filter: blur(24px) saturate(180%);
      -webkit-backdrop-filter: blur(24px) saturate(180%);
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
      border: 1px solid rgba(255, 255, 255, 0.4);
      margin-top: 10px;
      margin-bottom: 20px;
      width: 96%;
      left: 2%;

        border-top: 1px solid rgba(255,255,255,0.1);
        padding: 20px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.5);
        z-index: 100;
    }
    .main-nav.show { display: block; }
    .main-nav ul { 
    

        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    .main-nav a { display: block; width: 100%; text-align: left; padding: 10px; }

    .page-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .mobile-category-btn { display: block; }
    .category-list { 
        display: none; 
        margin-top: 16px; 
    }
    .category-list.show { 
        display: block; 
        animation: slideDownCat 0.3s ease forwards; 
    }
}

@media (max-width: 640px) {
    .hero-banner {
        padding: 150px 0 30px;
    }

    .hero-content h1 {
        font-size: 1.6rem;
    }

    .sidebar {
        grid-template-columns: 1fr;
    }

    .domain-header {
        flex-direction: column;
    }

    .search-bar {
        min-width: unset;
        width: 100%;
    }

    .card-body {
        flex-wrap: wrap;
        gap: 12px;
    }

    .footer-info-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-info-left {
        flex-direction: column;
    }

    .includes-list {
        justify-content: center;
    }
}



.mobile-menu-btn:hover { color: #000000; }

.main-nav ul {
    position: relative;
    z-index: 1;
}
.main-nav ul li {
    z-index: 2;
}
.hover-pill {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.3, 1);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.15) 100%);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-radius: 24px;
    box-shadow: 
      0 8px 32px rgba(0, 0, 0, 0.1),
      inset 0 0 0 1px rgba(255, 255, 255, 0.5),
      inset 0 2px 6px rgba(255, 255, 255, 0.8);
    opacity: 0;
    top: 0;
    left: 0;
}


/* ==========================================================================
   GLOBAL RESPONSIVE RESET & SMOOTH SCALING
   Ensures no horizontal scroll, fluid images, and smooth transitions
   ========================================================================== */
html, body {
    max-width: 100vw;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

img, picture, video, canvas, svg {
    max-width: 100%;
    height: auto;
}

* {
    -webkit-tap-highlight-color: transparent;
}

