    /* ===== CSS RESET & BASE ===== */
    *,
    *::before,
    *::after {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    /* ===== CSS CUSTOM PROPERTIES (Design System) ===== */
    :root {
      /* Dark Theme (Default) */
      --bg-primary: #0d1117;
      --bg-secondary: #161b22;
      --bg-tertiary: #1c2128;
      --bg-elevated: #21262d;
      --text-primary: #e6edf3;
      --text-secondary: #8b949e;
      --text-tertiary: #6e7681;
      --accent-primary: #58a6ff;
      --accent-secondary: #bc8cff;
      --accent-success: #3fb950;
      --accent-warning: #f0883e;
      --accent-danger: #f85149;
      --border: rgba(240, 246, 252, 0.1);
      --border-muted: rgba(240, 246, 252, 0.05);
      /* Gradients */
      --gradient-primary: linear-gradient(135deg, #58a6ff 0%, #bc8cff 100%);
      --gradient-secondary: linear-gradient(135deg, #bc8cff 0%, #f0883e 100%);
      --gradient-card: linear-gradient(180deg, rgba(88, 166, 255, 0.08) 0%, transparent 100%);
      --gradient-glow: radial-gradient(ellipse at center, rgba(88, 166, 255, 0.15) 0%, transparent 70%);
      /* Typography */
      --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
      --font-mono: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
      /* Fluid Typography - Using clamp() */
      --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
      --text-sm: clamp(0.875rem, 0.825rem + 0.25vw, 1rem);
      --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
      --text-lg: clamp(1.125rem, 1.05rem + 0.375vw, 1.5rem);
      --text-xl: clamp(1.5rem, 1.35rem + 0.75vw, 2rem);
      --text-2xl: clamp(2rem, 1.75rem + 1.25vw, 3rem);
      --text-3xl: clamp(2.5rem, 2rem + 2.5vw, 4rem);
      /* Spacing */
      --space-xs: 0.25rem;
      --space-sm: 0.5rem;
      --space-md: 1rem;
      --space-lg: 1.5rem;
      --space-xl: 2rem;
      --space-2xl: 3rem;
      --space-3xl: 4rem;
      /* Border Radius */
      --radius-sm: 6px;
      --radius-md: 10px;
      --radius-lg: 16px;
      --radius-xl: 24px;
      --radius-full: 9999px;
      /* Shadows */
      --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
      --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
      --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
      --shadow-glow: 0 0 40px rgba(88, 166, 255, 0.3);
      /* Transitions */
      --transition-fast: 150ms ease;
      --transition-base: 250ms ease;
      --transition-slow: 400ms ease;
      /* Container */
      --container-max: 1280px;
      --header-height: 70px;
    }

    /* Light Theme - Using color-mix() for dynamic colors */
    [data-theme="light"] {
      --bg-primary: #ffffff;
      --bg-secondary: #f6f8fa;
      --bg-tertiary: #eaeef2;
      --bg-elevated: #ffffff;
      --text-primary: #1f2328;
      --text-secondary: #656d76;
      --text-tertiary: #8c959f;
      --accent-primary: #0969da;
      --accent-secondary: #8250df;
      --accent-success: #1a7f37;
      --accent-warning: #bf5600;
      --border: rgba(31, 35, 40, 0.15);
      --border-muted: rgba(31, 35, 40, 0.08);
      --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.1);
      --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
      --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
      --shadow-glow: 0 0 40px rgba(9, 105, 218, 0.2);
      --gradient-card: linear-gradient(180deg, rgba(9, 105, 218, 0.05) 0%, transparent 100%);
    }

    /* ===== REDUCED MOTION ===== */
    @media (prefers-reduced-motion: reduce) {

      *,
      *::before,
      *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
      }
    }

    /* ===== BASE STYLES ===== */
    html {
      scroll-behavior: smooth;
      scroll-padding-top: var(--header-height);
    }

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

    /* ===== TYPOGRAPHY - Using CSS Nesting ===== */
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
      font-weight: 700;
      line-height: 1.2;
      color: var(--text-primary);

      &+p {
        margin-top: var(--space-md);
      }
    }

    a {
      color: var(--accent-primary);
      text-decoration: none;
      transition: color var(--transition-fast);

      &:hover {
        color: color-mix(in srgb, var(--accent-primary) 80%, white);
      }

      &:focus-visible {
        outline: 2px solid var(--accent-primary);
        outline-offset: 2px;
        border-radius: var(--radius-sm);
      }
    }

    code {
      font-family: var(--font-mono);
      font-size: 0.9em;
      background: var(--bg-tertiary);
      padding: 0.2em 0.4em;
      border-radius: var(--radius-sm);
      color: var(--accent-secondary);
    }

    /* ===== UTILITY CLASSES ===== */
    .container {
      width: 100%;
      max-width: var(--container-max);
      margin: 0 auto;
      padding: 0 var(--space-lg);
    }

    .section {
      padding: var(--space-3xl) 0;
    }

    .gradient-text {
      background: var(--gradient-primary);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .sr-only {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }

    /* ===== BUTTON COMPONENT - Using CSS Nesting ===== */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: var(--space-sm);
      padding: var(--space-sm) var(--space-lg);
      font-family: var(--font-primary);
      font-size: var(--text-sm);
      font-weight: 600;
      line-height: 1.5;
      border: none;
      border-radius: var(--radius-md);
      cursor: pointer;
      transition: all var(--transition-fast);
      white-space: nowrap;

      &:focus-visible {
        outline: 2px solid var(--accent-primary);
        outline-offset: 2px;
      }

      &:disabled {
        opacity: 0.5;
        cursor: not-allowed;
      }

      & i {
        font-size: 1em;
      }

      /* Primary Button */
      &.btn-primary {
        background: var(--gradient-primary);
        color: white;
        box-shadow: var(--shadow-md), 0 0 20px rgba(88, 166, 255, 0.3);

        &:hover:not(:disabled) {
          transform: translateY(-2px);
          box-shadow: var(--shadow-lg), 0 0 30px rgba(88, 166, 255, 0.4);
        }

        &:active:not(:disabled) {
          transform: translateY(0);
        }
      }

      /* Secondary Button */
      &.btn-secondary {
        background: var(--bg-tertiary);
        color: var(--text-primary);
        border: 1px solid var(--border);

        &:hover:not(:disabled) {
          background: var(--bg-elevated);
          border-color: var(--accent-primary);
          color: var(--accent-primary);
        }
      }

      /* Ghost Button */
      &.btn-ghost {
        background: transparent;
        color: var(--text-secondary);

        &:hover:not(:disabled) {
          background: var(--bg-tertiary);
          color: var(--text-primary);
        }
      }

      /* Icon Button */
      &.btn-icon {
        padding: var(--space-sm);
        aspect-ratio: 1;
        border-radius: var(--radius-md);
      }

      /* Large Button */
      &.btn-lg {
        padding: var(--space-md) var(--space-xl);
        font-size: var(--text-base);
      }
    }

    /* ===== TAG COMPONENT ===== */
    .tag {
      display: inline-flex;
      align-items: center;
      gap: var(--space-xs);
      padding: 0.25em 0.75em;
      font-size: var(--text-xs);
      font-weight: 500;
      border-radius: var(--radius-full);
      background: color-mix(in srgb, var(--accent-primary) 15%, transparent);
      color: var(--accent-primary);
      border: 1px solid color-mix(in srgb, var(--accent-primary) 30%, transparent);

      &.tag-new {
        background: color-mix(in srgb, var(--accent-success) 15%, transparent);
        color: var(--accent-success);
        border-color: color-mix(in srgb, var(--accent-success) 30%, transparent);
      }

      &.tag-baseline {
        background: color-mix(in srgb, var(--accent-secondary) 15%, transparent);
        color: var(--accent-secondary);
        border-color: color-mix(in srgb, var(--accent-secondary) 30%, transparent);
      }

      &.tag-advanced {
        background: color-mix(in srgb, var(--accent-warning) 15%, transparent);
        color: var(--accent-warning);
        border-color: color-mix(in srgb, var(--accent-warning) 30%, transparent);
      }
    }

    /* ===== HEADER/NAVBAR - Using CSS Nesting ===== */
    .navbar {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 1000;
      height: var(--header-height);
      background: color-mix(in srgb, var(--bg-primary) 80%, transparent);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border);
      transition: background-color var(--transition-base);

      & .navbar-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 100%;
      }

      & .navbar-brand {
        display: flex;
        align-items: center;
        gap: var(--space-sm);
        font-weight: 700;
        font-size: var(--text-lg);
        color: var(--text-primary);

        & i {
          color: var(--accent-primary);
        }
      }

      & .navbar-nav {
        display: none;
        list-style: none;
        gap: var(--space-lg);

        @media (min-width: 768px) {
          display: flex;
        }

        & a {
          color: var(--text-secondary);
          font-weight: 500;
          padding: var(--space-sm) var(--space-md);
          border-radius: var(--radius-md);
          transition: all var(--transition-fast);

          &:hover {
            color: var(--text-primary);
            background: var(--bg-tertiary);
          }

          &.active {
            color: var(--accent-primary);
          }
        }
      }

      & .navbar-actions {
        display: flex;
        align-items: center;
        gap: var(--space-sm);
      }
    }

    /* Theme Toggle Button */
    .theme-toggle {
      position: relative;
      width: 44px;
      height: 44px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: var(--bg-tertiary);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      cursor: pointer;
      transition: all var(--transition-fast);

      & i {
        font-size: 1.1rem;
        color: var(--text-secondary);
        transition: all var(--transition-fast);
      }

      &:hover {
        background: var(--bg-elevated);
        border-color: var(--accent-primary);

        & i {
          color: var(--accent-primary);
        }
      }

      & .fa-sun {
        display: none;
      }

      & .fa-moon {
        display: block;
      }
    }

    [data-theme="light"] .theme-toggle {
      & .fa-sun {
        display: block;
      }

      & .fa-moon {
        display: none;
      }
    }

    /* Mobile Menu Toggle */
    .mobile-menu-toggle {
      display: flex;

      @media (min-width: 768px) {
        display: none;
      }
    }

  .brand-logo {
    width: 30px; /* adjust size as needed */
    height: auto;
    display: block;
  }
}

/* Theme-specific logo */
[data-theme="light"] .navbar-brand .brand-logo {
  content: url('fblack.png'); /* black logo for light theme */
}

[data-theme="dark"] .navbar-brand .brand-logo {
  content: url('fwhite.png'); /* white logo for dark theme */
}
    /* ===== HERO SECTION ===== */
    .hero {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      padding-top: var(--header-height);
      overflow: hidden;

      /* Background Glow Effect */
      &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        max-width: 800px;
        height: 600px;
        background: var(--gradient-glow);
        opacity: 0.5;
        pointer-events: none;
      }

      &::after {
        content: '';
        position: absolute;
        top: 20%;
        right: 10%;
        width: 400px;
        height: 400px;
        background: radial-gradient(ellipse, rgba(188, 140, 255, 0.1) 0%, transparent 70%);
        pointer-events: none;
      }
    }

    .hero-content {
      position: relative;
      z-index: 1;
      text-align: center;
      max-width: 900px;
      padding: var(--space-sm);
      animation: fadeInUp 0.8s ease-out;

      & .hero-badge {
        display: inline-flex;
        align-items: center;
        gap: var(--space-sm);
        margin-bottom: var(--space-lg);
        padding: var(--space-sm) var(--space-lg);
        background: var(--bg-secondary);
        border: 1px solid var(--border);
        border-radius: var(--radius-full);
        font-size: var(--text-sm);
        color: var(--text-secondary);

        & i {
          color: var(--accent-success);
          animation: pulse 2s infinite;
        }
      }

      & h1 {
        font-size: var(--text-3xl);
        margin-bottom: var(--space-lg);
        letter-spacing: -0.02em;

        & .highlight {
          position: relative;

          &::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 8px;
            background: var(--gradient-primary);
            border-radius: var(--radius-full);
            opacity: 0.3;
          }
        }
      }

      & .hero-description {
        font-size: var(--text-lg);
        color: var(--text-secondary);
        max-width: 600px;
        margin: 0 auto var(--space-xl);
        line-height: 1.7;
      }

      & .hero-actions {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-md);
      }
    }

    /* Floating Icons Animation */
    .hero-icons {
      position: absolute;
      inset: 0;
      overflow: hidden;
      pointer-events: none;

      & .floating-icon {
        position: absolute;
        font-size: 2rem;
        color: var(--accent-primary);
        opacity: 0.15;
        animation: float 6s ease-in-out infinite;

        &:nth-child(1) {
          top: 15%;
          left: 10%;
          animation-delay: 0s;
        }

        &:nth-child(2) {
          top: 25%;
          right: 15%;
          animation-delay: 1s;
          color: var(--accent-secondary);
        }

        &:nth-child(3) {
          bottom: 30%;
          left: 15%;
          animation-delay: 2s;
          color: var(--accent-success);
        }

        &:nth-child(4) {
          bottom: 20%;
          right: 10%;
          animation-delay: 3s;
        }

        &:nth-child(5) {
          top: 40%;
          left: 5%;
          animation-delay: 4s;
          color: var(--accent-warning);
        }

        &:nth-child(6) {
          top: 60%;
          right: 8%;
          animation-delay: 5s;
          color: var(--accent-secondary);
        }
      }
    }

    /* ===== CHALLENGE SECTION ===== */
    .challenge-section {
      position: relative;
      background: var(--bg-secondary);

      &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--border), transparent);
      }
    }

    .challenge-card {
      position: relative;
      background: var(--bg-tertiary);
      border: 1px solid var(--border);
      border-radius: var(--radius-xl);
      padding: var(--space-2xl);
      overflow: hidden;

      /* Gradient Border Effect */
      &::before {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: var(--radius-xl);
        padding: 2px;
        background: var(--gradient-primary);
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        opacity: 0.5;
        transition: opacity var(--transition-base);
      }

      /* Card Glow */
      &::after {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: var(--gradient-glow);
        opacity: 0;
        transition: opacity var(--transition-base);
        pointer-events: none;
      }

      &:hover {
        &::before {
          opacity: 1;
        }

        &::after {
          opacity: 0.5;
        }
      }

      & .challenge-icon {
        width: 64px;
        height: 64px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--gradient-primary);
        border-radius: var(--radius-lg);
        margin-bottom: var(--space-lg);
        font-size: 1.5rem;
        color: white;
        box-shadow: 0 8px 24px rgba(88, 166, 255, 0.3);
      }

      & h2 {
        font-size: var(--text-xl);
        margin-bottom: var(--space-md);
      }

      & p {
        color: var(--text-secondary);
        font-size: var(--text-base);
        margin-bottom: var(--space-lg);
        max-width: 600px;
      }

      & .challenge-meta {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: var(--space-md);
        margin-top: var(--space-xl);
        padding-top: var(--space-lg);
        border-top: 1px solid var(--border);

        & .meta-item {
          display: flex;
          align-items: center;
          gap: var(--space-sm);
          color: var(--text-secondary);
          font-size: var(--text-sm);

          & i {
            color: var(--accent-primary);
          }
        }
      }
    }

    /* ===== FEATURES SECTION - Using Container Queries ===== */
    .features-section {
      background: var(--bg-primary);
    }

    .section-header {
      text-align: center;
      max-width: 700px;
      margin: 0 auto var(--space-2xl);

      & .section-badge {
        display: inline-flex;
        align-items: center;
        gap: var(--space-sm);
        margin-bottom: var(--space-md);
        font-size: var(--text-sm);
        color: var(--accent-primary);
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.1em;
      }

      & h2 {
        font-size: var(--text-2xl);
        margin-bottom: var(--space-md);
      }

      & p {
        color: var(--text-secondary);
      }
    }

    /* Features Grid with Container Queries */
    .features-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
      gap: var(--space-lg);
    }

    /* Feature Card Container */
    .feature-card-container {
      container-type: inline-size;
      container-name: feature-card;
    }

    /* Feature Card */
    .feature-card {
      position: relative;
      background: var(--bg-secondary);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: var(--space-xl);
      transition: all var(--transition-base);
      height: 100%;
      display: flex;
      flex-direction: column;

      /* Using :has() for interactive states */
      &:has(.tag-new) {
        border-color: color-mix(in srgb, var(--accent-success) 30%, transparent);
      }

      &:has(.tag-advanced) {
        border-color: color-mix(in srgb, var(--accent-warning) 30%, transparent);
      }

      &:hover {
        transform: translateY(-4px);
        border-color: var(--accent-primary);
        box-shadow: var(--shadow-lg), 0 0 30px rgba(88, 166, 255, 0.1);

        & .feature-icon {
          transform: scale(1.1);
        }
      }

      & .feature-icon {
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--bg-tertiary);
        border: 1px solid var(--border);
        border-radius: var(--radius-md);
        margin-bottom: var(--space-lg);
        font-size: 1.25rem;
        color: var(--accent-primary);
        transition: transform var(--transition-base);
      }

      & h3 {
        font-size: var(--text-lg);
        margin-bottom: var(--space-sm);
      }

      & .feature-description {
        color: var(--text-secondary);
        font-size: var(--text-sm);
        margin-bottom: var(--space-lg);
        flex-grow: 1;
      }

      & .feature-tags {
        display: flex;
        flex-wrap: wrap;
        gap: var(--space-sm);
        margin-bottom: var(--space-lg);
      }

      & .feature-actions {
        display: flex;
        gap: var(--space-sm);
        margin-top: auto;
      }

      /* Container Query Styles */
      @container feature-card (max-width: 300px) {
        padding: var(--space-lg);

        & .feature-icon {
          width: 40px;
          height: 40px;
          font-size: 1rem;
        }

        & h3 {
          font-size: var(--text-base);
        }

        & .feature-actions {
          flex-direction: column;
        }
      }
    }

    /* Code Snippet in Card */
    .code-snippet {
      position: relative;
      background: var(--bg-primary);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      padding: var(--space-md);
      margin-bottom: var(--space-lg);
      overflow: hidden;

      & pre {
        font-family: var(--font-mono);
        font-size: var(--text-xs);
        color: var(--text-secondary);
        overflow-x: auto;
        margin: 0;

        & code {
          background: none;
          padding: 0;
          color: inherit;
        }
      }

      & .copy-btn {
        position: absolute;
        top: var(--space-sm);
        right: var(--space-sm);
        padding: var(--space-xs) var(--space-sm);
        font-size: var(--text-xs);
        opacity: 0;
        transition: opacity var(--transition-fast);
      }

      &:hover .copy-btn {
        opacity: 1;
      }
    }

    /* ===== RESOURCES SECTION ===== */
    .resources-section {
      background: var(--bg-secondary);
    }

    /* Tab Navigation */
    .tabs-nav {
      display: flex;
      flex-wrap: wrap;
      gap: var(--space-sm);
      margin-bottom: var(--space-xl);
      padding: var(--space-xs);
      background: var(--bg-tertiary);
      border-radius: var(--radius-lg);
      border: 1px solid var(--border);

      @media (max-width: 640px) {
        flex-direction: column;
      }
    }

    .tab-btn {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: var(--space-sm);
      padding: var(--space-md) var(--space-lg);
      background: transparent;
      border: none;
      border-radius: var(--radius-md);
      font-family: var(--font-primary);
      font-size: var(--text-sm);
      font-weight: 500;
      color: var(--text-secondary);
      cursor: pointer;
      transition: all var(--transition-fast);

      &:hover {
        color: var(--text-primary);
        background: var(--bg-elevated);
      }

      &.active {
        background: var(--bg-primary);
        color: var(--accent-primary);
        box-shadow: var(--shadow-sm);
      }

      &:focus-visible {
        outline: 2px solid var(--accent-primary);
        outline-offset: 2px;
      }
    }

    /* Tab Panels */
    .tab-panel {
      display: none;
      animation: fadeIn 0.3s ease;

      &.active {
        display: block;
      }
    }

    /* Resource Cards Grid */
    .resources-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
      gap: var(--space-lg);
    }

    /* Resource Card */
    .resource-card {
      display: flex;
      flex-direction: column;
      background: var(--bg-tertiary);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: var(--space-lg);
      transition: all var(--transition-base);

      &:hover {
        border-color: var(--accent-primary);
        transform: translateY(-2px);

        & .resource-link i {
          transform: translateX(4px);
        }
      }

      & .resource-header {
        display: flex;
        align-items: flex-start;
        gap: var(--space-md);
        margin-bottom: var(--space-md);
      }

      & .resource-icon {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--bg-primary);
        border: 1px solid var(--border);
        border-radius: var(--radius-md);
        font-size: 1rem;
        color: var(--accent-primary);
        flex-shrink: 0;
      }

      & .resource-meta {
        & h4 {
          font-size: var(--text-base);
          font-weight: 600;
          margin-bottom: var(--space-xs);
        }

        & .resource-source {
          font-size: var(--text-xs);
          color: var(--text-tertiary);
        }
      }

      & .resource-description {
        color: var(--text-secondary);
        font-size: var(--text-sm);
        margin-bottom: var(--space-md);
        flex-grow: 1;
      }

      & .resource-tags {
        display: flex;
        flex-wrap: wrap;
        gap: var(--space-xs);
        margin-bottom: var(--space-md);
      }

      & .resource-link {
        display: inline-flex;
        align-items: center;
        gap: var(--space-sm);
        font-size: var(--text-sm);
        font-weight: 500;
        color: var(--accent-primary);
        margin-top: auto;

        & i {
          transition: transform var(--transition-fast);
        }
      }
    }

    /* ===== CTA SECTION ===== */
    .cta-section {
      position: relative;
      background: var(--bg-primary);
      overflow: hidden;

      &::before {
        content: '';
        position: absolute;
        inset: 0;
        background: var(--gradient-glow);
        opacity: 0.3;
      }
    }

    .cta-card {
      position: relative;
      text-align: center;
      max-width: 700px;
      margin: 0 auto;
      padding: var(--space-2xl);
      background: var(--bg-secondary);
      border: 1px solid var(--border);
      border-radius: var(--radius-xl);

      & h2 {
        font-size: var(--text-2xl);
        margin-bottom: var(--space-md);
      }

      & p {
        color: var(--text-secondary);
        margin-bottom: var(--space-xl);
      }

      & .cta-buttons {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-md);
      }
    }

    /* Social Share Buttons */
    .social-share {
      display: flex;
      justify-content: center;
      gap: var(--space-md);
      margin-top: var(--space-xl);
      padding-top: var(--space-xl);
      border-top: 1px solid var(--border);

      & .social-btn {
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--bg-tertiary);
        border: 1px solid var(--border);
        border-radius: var(--radius-md);
        color: var(--text-secondary);
        font-size: 1.1rem;
        transition: all var(--transition-fast);

        &:hover {
          color: var(--accent-primary);
          border-color: var(--accent-primary);
          transform: translateY(-2px);
        }

        &.twitter:hover {
          color: #1DA1F2;
          border-color: #1DA1F2;
        }

        &.linkedin:hover {
          color: #0A66C2;
          border-color: #0A66C2;
        }

        &.github:hover {
          color: var(--text-primary);
          border-color: var(--text-primary);
        }
      }
    }

    /* ===== FOOTER ===== */
    .footer {
      background: var(--bg-secondary);
      border-top: 1px solid var(--border);
      padding: var(--space-2xl) 0;

      & .footer-content {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: var(--space-lg);
      }

      & .footer-brand {
        display: flex;
        align-items: center;
        gap: var(--space-sm);
        font-weight: 600;
        color: var(--text-primary);

        & i {
          color: var(--accent-primary);
        }
      }

      & .footer-links {
        display: flex;
        flex-wrap: wrap;
        gap: var(--space-lg);
        list-style: none;

        & a {
          color: var(--text-secondary);
          font-size: var(--text-sm);

          &:hover {
            color: var(--accent-primary);
          }
        }
      }

      & .footer-bottom {
        margin-top: var(--space-xl);
        padding-top: var(--space-lg);
        border-top: 1px solid var(--border);
        text-align: center;
        color: var(--text-tertiary);
        font-size: var(--text-sm);
      }
    }

    /* ===== ANIMATIONS ===== */
    @keyframes fadeIn {
      from {
        opacity: 0;
      }

      to {
        opacity: 1;
      }
    }

    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(20px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes float {

      0%,
      100% {
        transform: translateY(0) rotate(0deg);
      }

      50% {
        transform: translateY(-20px) rotate(5deg);
      }
    }

    @keyframes pulse {

      0%,
      100% {
        opacity: 1;
      }

      50% {
        opacity: 0.5;
      }
    }

    @keyframes slideInLeft {
      from {
        opacity: 0;
        transform: translateX(-30px);
      }

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

    /* Scroll Animation Classes */
    .animate-on-scroll {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.6s ease, transform 0.6s ease;

      &.animated {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* Stagger Animation */
    .stagger-animation {
      &>* {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.4s ease, transform 0.4s ease;
      }

      &.animated>* {
        opacity: 1;
        transform: translateY(0);

        &:nth-child(1) {
          transition-delay: 0.1s;
        }

        &:nth-child(2) {
          transition-delay: 0.2s;
        }

        &:nth-child(3) {
          transition-delay: 0.3s;
        }

        &:nth-child(4) {
          transition-delay: 0.4s;
        }

        &:nth-child(5) {
          transition-delay: 0.5s;
        }

        &:nth-child(6) {
          transition-delay: 0.6s;
        }
      }
    }

    /* ===== TOOLTIP with CSS Anchor Positioning (with fallback) ===== */
    .tooltip-container {
      position: relative;
      display: inline-block;
    }

    .tooltip-trigger {
      anchor-name: --tooltip-anchor;
    }

    .tooltip {
      /* Fallback for browsers without anchor positioning */
      position: absolute;
      bottom: 100%;
      left: 50%;
      transform: translateX(-50%);
      margin-bottom: var(--space-sm);

      /* Anchor Positioning (if supported) */
      @supports (anchor-name: --tooltip) {
        position: absolute;
        position-anchor: --tooltip-anchor;
        bottom: anchor(top);
        left: anchor(center);
        transform: translateX(-50%);
        margin-bottom: var(--space-sm);
      }

      padding: var(--space-sm) var(--space-md);
      background: var(--bg-elevated);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      font-size: var(--text-xs);
      color: var(--text-primary);
      white-space: nowrap;
      opacity: 0;
      visibility: hidden;
      transition: opacity var(--transition-fast),
      visibility var(--transition-fast);
      pointer-events: none;
      z-index: 100;
      box-shadow: var(--shadow-md);

      &::after {
        content: '';
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        border: 6px solid transparent;
        border-top-color: var(--bg-elevated);
      }
    }

    .tooltip-container:hover .tooltip,
    .tooltip-trigger:focus+.tooltip {
      opacity: 1;
      visibility: visible;
    }

    /* ===== FEATURE DETECTION BADGE ===== */
    .feature-support {
      display: flex;
      align-items: center;
      gap: var(--space-xs);
      font-size: var(--text-xs);
      padding: var(--space-xs) var(--space-sm);
      border-radius: var(--radius-full);

      &.supported {
        background: color-mix(in srgb, var(--accent-success) 15%, transparent);
        color: var(--accent-success);
      }

      &.unsupported {
        background: color-mix(in srgb, var(--accent-danger) 15%, transparent);
        color: var(--accent-danger);
      }
    }

    /* ===== MOBILE MENU ===== */
    .mobile-menu {
      position: fixed;
      top: var(--header-height);
      left: 0;
      right: 0;
      bottom: 0;
      background: var(--bg-primary);
      padding: var(--space-lg);
      transform: translateX(100%);
      transition: transform var(--transition-base);
      z-index: 999;

      &.active {
        transform: translateX(0);
      }

      & .mobile-nav {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: var(--space-sm);

        & a {
          display: block;
          padding: var(--space-md);
          color: var(--text-secondary);
          font-weight: 500;
          border-radius: var(--radius-md);
          transition: all var(--transition-fast);

          &:hover,
          &.active {
            background: var(--bg-secondary);
            color: var(--accent-primary);
          }
        }
      }
    }

    /* ===== PROGRESS BAR (Scroll-based if supported) ===== */
    .scroll-progress {
      position: fixed;
      top: var(--header-height);
      left: 0;
      width: 0%;
      height: 3px;
      background: var(--gradient-primary);
      z-index: 1001;
      transition: width 0.1s linear;
    }

    /* ===== TOAST NOTIFICATION ===== */
    .toast {
      position: fixed;
      bottom: var(--space-xl);
      right: var(--space-xl);
      display: flex;
      align-items: center;
      gap: var(--space-md);
      padding: var(--space-md) var(--space-lg);
      background: var(--bg-elevated);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-lg);
      font-size: var(--text-sm);
      transform: translateX(calc(100% + var(--space-xl)));
      transition: transform var(--transition-base);
      z-index: 2000;

      &.show {
        transform: translateX(0);
      }

      &.success {
        border-color: var(--accent-success);

        & i {
          color: var(--accent-success);
        }
      }

      & .toast-close {
        background: none;
        border: none;
        color: var(--text-tertiary);
        cursor: pointer;
        padding: var(--space-xs);

        &:hover {
          color: var(--text-primary);
        }
      }
    }

    /* ===== BACK TO TOP BUTTON ===== */
    .back-to-top {
      position: fixed;
      bottom: var(--space-xl);
      right: var(--space-xl);
      width: 48px;
      height: 48px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: var(--bg-secondary);
      border: 1px solid var(--border);
      border-radius: var(--radius-full);
      color: var(--text-secondary);
      font-size: 1.25rem;
      cursor: pointer;
      opacity: 0;
      visibility: hidden;
      transform: translateY(20px);
      transition: all var(--transition-base);
      z-index: 100;

      &.visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
      }

      &:hover {
        background: var(--accent-primary);
        color: white;
        border-color: var(--accent-primary);
      }
    }
    
/* ================= Announcements Container (Default = Dark Mode) ================= */
/* ============================= */
/* ANNOUNCEMENTS – BASE STYLE */
/* ============================= */

.announcements {
    position: relative;
    max-width: 900px;
    margin: var(--space-2xl) auto;
    padding: var(--space-xl);

    border-radius: var(--radius-lg);
    text-align: center;

    transition: background var(--transition-base),
                box-shadow var(--transition-base),
                border-color var(--transition-base);
}

/* Content */
.announcement-content {
    font-size: var(--text-base);
    font-weight: 600;
    line-height: 1.65;
    margin-bottom: var(--space-xs);
}

/* Date */
.announcement-date {
    font-size: var(--text-sm);
    margin-bottom: var(--space-lg);
}

/* Divider */
.announcement-date:not(:last-child) {
    padding-bottom: var(--space-lg);
    border-bottom: 1px dashed;
}
/* ===================================================== */
/* FEATURED PRODUCTS – SMALL SQUARE CARDS (FULL CSS) */
/* ===================================================== */

/* ---------- Section Wrapper ---------- */
.product {
    padding: var(--space-3xl) 0;
}

/* ---------- Headline ---------- */
.product .headline strong {
    font-size: var(--text-2xl);
    color: var(--text-primary);
    letter-spacing: 2px;
}

/* ---------- Grid (3 per row desktop) ---------- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ---------- Card ---------- */
.product-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);

    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);

    transition: transform var(--transition-base),
                box-shadow var(--transition-base);
}

.product-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--gradient-card);
    pointer-events: none;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

/* ---------- Image (Square) ---------- */
.product-image {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-image img {
    transform: scale(1.06);
}

/* ---------- Details ---------- */
.product-details {
    padding: var(--space-md);
    text-align: center;
}

/* Name */
.product-name h3 {
    font-size: var(--text-base);
    margin-bottom: var(--space-xs);
}

.product-name a {
    color: var(--text-primary);
    text-decoration: none;
}

/* Price */
.product-price {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--accent-success);
    margin-bottom: var(--space-sm);
}

.product-price .old-price {
    color: var(--text-tertiary);
    text-decoration: line-through;
    margin-left: var(--space-xs);
}

/* ---------- Buy Button ---------- */
.buy-button {
    display: inline-block;
    width: 100%;
    padding: 10px 0;
    border-radius: var(--radius-md);

    background: var(--gradient-primary);
    color: #fff;
    font-weight: 600;
    font-size: var(--text-sm);
    text-decoration: none;

    box-shadow: var(--shadow-md);
    transition: transform var(--transition-fast),
                box-shadow var(--transition-fast);
}

.buy-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* ---------- Out of Stock ---------- */
.out-of-stock {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
}

.out-of-stock .inner {
    padding: 10px 20px;
    border-radius: var(--radius-md);

    background: rgba(255, 255, 255, 0.15);
    color: #fff;

    font-weight: 700;
    letter-spacing: 1px;
}

/* ---------- Light Theme ---------- */
[data-theme="light"] .product-card {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-md);
}

[data-theme="light"] .out-of-stock {
    background: rgba(255, 255, 255, 0.8);
}

[data-theme="light"] .out-of-stock .inner {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

/* ---------- Tablet ---------- */
@media (max-width: 900px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---------- Mobile ---------- */
@media (max-width: 500px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}
/* ===================================================== */
/* CATEGORY PRODUCTS – SMALL SQUARE GLASS CARDS */
/* (MATCHES FEATURED PRODUCTS STYLE) */
/* ===================================================== */

/* ---------- Grid Fix (override bootstrap row) ---------- */
.product-cat .row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin: 0;
}

/* ---------- Card Wrapper ---------- */
.item-product-cat {
    width: 100%;
    padding: 0 !important;
}

.item-product-cat .inner {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);

    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);

    transition: transform var(--transition-base),
                box-shadow var(--transition-base);
}

.item-product-cat .inner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--gradient-card);
    pointer-events: none;
}

.item-product-cat .inner:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

/* ---------- Square Image ---------- */
.item-product-cat .thumb {
    width: 100%;
}

.item-product-cat .photo {
    aspect-ratio: 1 / 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ---------- Text Area ---------- */
.item-product-cat .text {
    padding: var(--space-md);
    text-align: center;
}

/* Name */
.item-product-cat h3 {
    font-size: var(--text-base);
    margin-bottom: var(--space-xs);
}

.item-product-cat h3 a {
    color: var(--text-primary);
    text-decoration: none;
}

/* Price */
.item-product-cat h4 {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--accent-success);
    margin-bottom: var(--space-sm);
}

.item-product-cat h4 del {
    margin-left: var(--space-xs);
    color: var(--text-tertiary);
    font-weight: 400;
}

/* ---------- Buy Button ---------- */
.buy-now-button {
    display: inline-block;
    width: 100%;
    padding: 10px 0;
    border-radius: var(--radius-md);

    background: var(--gradient-primary);
    color: #fff;
    font-weight: 600;
    font-size: var(--text-sm);
    text-decoration: none;

    box-shadow: var(--shadow-md);
    transition: transform var(--transition-fast),
                box-shadow var(--transition-fast);
}

.buy-now-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* ---------- Out Of Stock ---------- */
.item-product-cat .out-of-stock {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
}

.item-product-cat .out-of-stock .inner {
    padding: 10px 20px;
    border-radius: var(--radius-md);

    background: rgba(255, 255, 255, 0.15);
    color: #fff;

    font-weight: 700;
    letter-spacing: 1px;
}

/* ---------- Light Theme ---------- */
[data-theme="light"] .item-product-cat .inner {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-md);
}

[data-theme="light"] .item-product-cat .out-of-stock {
    background: rgba(255, 255, 255, 0.8);
}

[data-theme="light"] .item-product-cat .out-of-stock .inner {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

/* ---------- Tablet ---------- */
@media (max-width: 900px) {
    .product-cat .row {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---------- Mobile ---------- */
@media (max-width: 500px) {
    .product-cat .row {
        grid-template-columns: 1fr;
    }
}
/* ===================================================== */
/* CATEGORY PRODUCTS – SMALL SQUARE GLASS CARDS */
/* (MATCHES FEATURED PRODUCTS STYLE) */
/* ===================================================== */

/* ---------- Grid Fix (override bootstrap row) ---------- */
.product-cat .row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin: 0;
}

/* ---------- Card Wrapper ---------- */
.item-product-cat {
    width: 100%;
    padding: 0 !important;
}

.item-product-cat .inner {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);

    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);

    transition: transform var(--transition-base),
                box-shadow var(--transition-base);
}

.item-product-cat .inner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--gradient-card);
    pointer-events: none;
}

.item-product-cat .inner:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

/* ---------- Square Image ---------- */
.item-product-cat .thumb {
    width: 100%;
}

.item-product-cat .photo {
    aspect-ratio: 1 / 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ---------- Text Area ---------- */
.item-product-cat .text {
    padding: var(--space-md);
    text-align: center;
}

/* Name */
.item-product-cat h3 {
    font-size: var(--text-base);
    margin-bottom: var(--space-xs);
}

.item-product-cat h3 a {
    color: var(--text-primary);
    text-decoration: none;
}

/* Price */
.item-product-cat h4 {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--accent-success);
    margin-bottom: var(--space-sm);
}

.item-product-cat h4 del {
    margin-left: var(--space-xs);
    color: var(--text-tertiary);
    font-weight: 400;
}

/* ---------- Buy Button ---------- */
.buy-now-button {
    display: inline-block;
    width: 100%;
    padding: 10px 0;
    border-radius: var(--radius-md);

    background: var(--gradient-primary);
    color: #fff;
    font-weight: 600;
    font-size: var(--text-sm);
    text-decoration: none;

    box-shadow: var(--shadow-md);
    transition: transform var(--transition-fast),
                box-shadow var(--transition-fast);
}

.buy-now-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* ---------- Out Of Stock ---------- */
.item-product-cat .out-of-stock {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
}

.item-product-cat .out-of-stock .inner {
    padding: 10px 20px;
    border-radius: var(--radius-md);

    background: rgba(255, 255, 255, 0.15);
    color: #fff;

    font-weight: 700;
    letter-spacing: 1px;
}

/* ---------- Light Theme ---------- */
[data-theme="light"] .item-product-cat .inner {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-md);
}

[data-theme="light"] .item-product-cat .out-of-stock {
    background: rgba(255, 255, 255, 0.8);
}

[data-theme="light"] .item-product-cat .out-of-stock .inner {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

/* ---------- Tablet ---------- */
@media (max-width: 900px) {
    .product-cat .row {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---------- Mobile ---------- */
@media (max-width: 500px) {
    .product-cat .row {
        grid-template-columns: 1fr;
    }
}
/* ===============================
   CATEGORY DROPDOWN
   =============================== */

.category-dropdown {
    position: relative;
    display: inline-block;
}

/* Trigger Button */
.category-trigger {
    display: flex;
    align-items: center;
    gap: var(--space-sm);

    padding: 0.6rem 1rem;
    font-size: var(--text-sm);
    font-weight: 500;

    background: var(--bg-elevated);
    color: var(--text-primary);

    border: 1px solid var(--border);
    border-radius: var(--radius-md);

    cursor: pointer;
    transition: background var(--transition-base),
                border-color var(--transition-base),
                box-shadow var(--transition-base);
}

.category-trigger:hover {
    background: var(--bg-tertiary);
    border-color: var(--border-muted);
}

.category-trigger:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px color-mix(
        in srgb,
        var(--accent-primary) 25%,
        transparent
    );
}

/* Chevron */
.category-trigger .chevron {
    font-size: 0.75em;
    opacity: 0.7;
}

/* Dropdown Menu */
.category-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 220px;

    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);

    padding: var(--space-xs);
    display: none;
    z-index: 50;
}

/* Show on hover */
.category-dropdown:hover .category-menu {
    display: block;
}

/* Category Item */
.category-item {
    display: block;
    padding: 0.55rem 0.75rem;

    font-size: var(--text-sm);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    text-decoration: none;

    transition: background var(--transition-fast),
                color var(--transition-fast);
}

.category-item:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

/* Active category (optional) */
.category-item.active {
    background: var(--gradient-card);
    color: var(--accent-primary);
}

/* ===============================
   MOBILE
   =============================== */
@media (max-width: 640px) {
    .category-menu {
        position: static;
        margin-top: var(--space-sm);
        box-shadow: none;
    }
}
/* ===============================
  menuuuu
   =============================== */
/* ================= PRODUCT PAGE BASE ================= */
body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-primary);
}

/* ================= PRODUCT WRAPPER ================= */
.product-container {
  max-width: var(--container-max);
  margin: var(--space-3xl) auto;
  padding: 0 var(--space-lg);
}

/* ================= TITLE ================= */
.product-title {
  font-size: var(--text-2xl);
  font-weight: 600;
  margin-bottom: var(--space-lg);
  letter-spacing: 0.5px;
}

/* ================= IMAGE ================= */
.product-photo {
  margin-bottom: var(--space-xl);
}

.product-photo img {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-secondary);
}

/* ================= PRICE ================= */
.price-display {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: var(--space-xl);
}

/* ================= PRICE TABLE ================= */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-2xl);
  font-size: var(--text-sm);
}

.price-table th {
  text-align: left;
  padding: var(--space-md);
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  font-weight: 500;
}

.price-table td {
  padding: var(--space-md);
  border-bottom: 1px solid var(--border-muted);
}

.price-table tr:hover td {
  background: var(--bg-tertiary);
}

/* ================= DESCRIPTION ================= */
.product-info h2 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-sm);
}

.product-info p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: var(--text-base);
}

/* ================= BUY BUTTON ================= */
.buy-button {
  display: inline-block;
  margin-top: var(--space-xl);
  padding: var(--space-sm) var(--space-xl);
  font-size: var(--text-base);
  font-weight: 500;
  color: #fff;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: var(--transition-base);
}

.buy-button:hover {
  opacity: 0.9;
  box-shadow: var(--shadow-glow);
}

/* ================= REVIEWS ================= */
.review-section {
  max-width: var(--container-max);
  margin: var(--space-3xl) auto var(--space-xl);
  padding: 0 var(--space-lg);
}

.review {
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border-muted);
}

.review .username {
  font-weight: 500;
  color: var(--accent-secondary);
}

.review .stars {
  margin-left: var(--space-sm);
  color: var(--accent-warning);
}

.review .review-text {
  margin-top: var(--space-xs);
  color: var(--text-secondary);
}

/* ================= REVIEW FORM ================= */
.review-form {
  max-width: var(--container-max);
  margin: var(--space-xl) auto;
  padding: 0 var(--space-lg);
}

.review-form h2 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-md);
}

.review-form input,
.review-form textarea {
  width: 100%;
  padding: var(--space-md);
  margin-bottom: var(--space-md);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: var(--text-sm);
}

.review-form input:focus,
.review-form textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
}

.review-form button {
  padding: var(--space-sm) var(--space-xl);
  font-size: var(--text-sm);
  font-weight: 500;
  border-radius: var(--radius-full);
  border: none;
  background: var(--gradient-secondary);
  color: #fff;
  cursor: pointer;
  transition: var(--transition-base);
}

.review-form button:hover {
  opacity: 0.9;
  box-shadow: var(--shadow-md);
}

/* ================= MOBILE ================= */
@media (max-width: 640px) {
  .product-title {
    font-size: var(--text-xl);
  }

  .price-display {
    font-size: var(--text-lg);
  }

  .buy-button {
    width: 100%;
    text-align: center;
  }
}
/* Logo link */
.logo-link {
    display: inline-flex;
    align-items: center;
}

/* Logo image */
.logo {
    max-height: 800px;      /* 🔹 adjust size here */
    width: auto;
    object-fit: contain;
}

/* Mobile optimization */
@media (max-width: 768px) {
    .logo {
        max-height: 100px;
    }
}
