:root {
  --stack-bg: #f8f8f8;
  --stack-fg: #0a0a0a;
  --stack-muted: #555555;
  --stack-accent: #00d4aa;
  --stack-card-bg: #ffffff;
  --stack-border: #e5e5e5;
}
 
 
 .features-container {
      width: 100%;
      max-width: 1800px;
      padding: 40px 13.2px;
      display: flex;
      flex-direction: column;
      gap: 0; /* No gap between cards for seamless stack look */
    }

    /* Header Styles */
    .section-header {
      text-align: center;
      margin-bottom: 40px;
    }
    .section-label {
      /*font-family: 'JetBrains Mono', monospace;*/
      font-size: 12px;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--stack-accent);
      margin-bottom: 8px;
      display: block;
    }
    .section-title {
      font-size: clamp(24px, 4vw, 36px);
      font-weight: 700;
      letter-spacing: -1px;
      color: var(--stack-fg);
    }

    /* Card Styles */
    .stack-card {
      position: relative;
      background: var(--stack-bg);
      border-bottom: 1px solid var(--stack-border); /* Separator line */
      overflow: hidden;
      cursor: pointer;
      transition: all var(--transition-time) cubic-bezier(0.32, 1, 0.32, 1);
    }

    /* Border top for the first item */
    .stack-card:first-of-type {
      border-top: 1px solid var(--stack-border);
    }

    /* The Black Background Overlay */
    .stack-card::before {
        background: var(--stack-fg);
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: var(--stack-fg);
      opacity: 0;
      z-index: 0;
      transition: opacity var(--transition-time) ease;
    }

    /* Hover States */
    .stack-card:hover {
      border-color: transparent; /* Hide borders on hover */
    }

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

    .stack-card:hover .card-content {
      color: white;
    }

    .stack-card:hover .feature-number {
      color: rgba(255, 255, 255, 0.3); /* Muted white for number on black */
    }

    .stack-card:hover .stack-title {
        color: #ffffff;
    }

    .stack-card:hover .stack-desc {
      color: rgba(255, 255, 255, 0.7);
    }

    .stack-card:hover .expand-icon {
      background: rgba(255,255,255,0.1);
      color: white;
      transform: rotate(180deg);
    }

    /* Content Layout */
    .card-content {
      position: relative;
      z-index: 1;
      padding: 32px;
      display: flex;
      flex-direction: column;
      transition: color var(--transition-time) ease;
    }

    .top-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .left-group {
      display: flex;
      align-items: center;
      gap: 32px; /* Gap between number and title */
    }

    /* Updated Bolder Number Styles */
    .feature-number {
      /*font-family: 'JetBrains Mono', monospace;*/
      font-size: 32px;
      font-weight: 700;
      color: #e0e0e0; /* Light gray by default */
      transition: all var(--transition-time) ease;
      min-width: 60px;
    }

    .stack-title {
        color: var(--stack-fg);
      font-size: 24px;
      font-weight: 600;
      letter-spacing: -0.5px;
      color: var(--stack-fg);
      transition: color var(--transition-time) ease;
      text-align: left;
    }

    .expand-icon {
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.4s ease;
      color: var(--stack-fg);
      background: transparent;
    }

    /* Expandable Content (Image & Desc) */
    .expandable-content {
      display: grid;
      grid-template-rows: 0fr;
      transition: grid-template-rows 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    }

    .stack-card:hover .expandable-content {
      grid-template-rows: 1fr;
    }

    .expand-inner {
      overflow: hidden;
    }

    .inner-layout {
      padding-top: 32px;
      display: flex;
      gap: 40px;
      align-items: flex-start;
    }

    /* Image Styling */
    .image-container {
      flex: 1.2;
      aspect-ratio: 16/9;
      min-width: 250px;
      background: #f0f0f0;
      overflow: hidden;
      position: relative;
      transform: translateY(20px);
      opacity: 0;
      transition: all 0.5s ease 0.1s;
    }

    .stack-card:hover .image-container {
      transform: translateY(0);
      opacity: 1;
    }

    .image-container img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .placeholder-graphic {
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(135deg, #333 0%, #111 100%);
      color: rgba(255,255,255,0.2);
    }

    /* Text Styling */
    .text-container {
      flex: 1;
      padding-right: 20px;
    }

    .stack-desc {
      font-size: 15px;
      line-height: 1.7;
      color: var(--stack-muted);
      margin-bottom: 20px;
      transition: color var(--transition-time) ease;
      max-width: 400px;
    }

    .feature-link {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 14px;
      font-weight: 600;
      color: var(--stack-accent);
      opacity: 0;
      transform: translateY(10px);
      transition: all 0.4s ease 0.2s;
    }

    .stack-card:hover .feature-link {
      opacity: 1;
      transform: translateY(0);
    }

    .feature-link:hover {
      text-decoration: underline;
    }

    /* ========================= */
/* GLASS FOOTER */
/* ========================= */


.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-brand h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #0066ff, #000, #00d4aa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    max-width: 300px;
}

/* Links */

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-links h4 {
    margin-bottom: 15px;
    font-weight: 600;
    color: #ffffff;
}

.footer-links a {
    display: block;
    margin-bottom: 8px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.6);
    transition: 0.3s ease;
}

.footer-links a:hover {
    color: #00d4aa;
}

/* Bottom */

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Additionals*/

.footer-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    isolation: isolate;
}

.footer-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('./assets/slide.jpeg') center / cover no-repeat;
    z-index: 0;
}

.glass-layer {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    z-index: 1;
}

.footer-content {
    position: relative;
    z-index: 2;
    padding: 120px 80px 60px;
    border: 1px solid rgba(255,255,255,0.15);
}




    /* Responsive */
    @media (max-width: 768px) {
      .inner-layout {
        flex-direction: column;
        gap: 24px;
      }
      .stack-title {
        font-size: 20px;
      }
      .feature-number {
        font-size: 24px;
        min-width: 40px;
      }
      .left-group {
        gap: 16px;
      }
      .card-content {
        padding: 24px;
      }
    }

    /* Accessibility: Reduced Motion */
    @media (prefers-reduced-motion: reduce) {
      .stack-card, .expandable-content, .image-container, .feature-link, ::before {
        transition: none !important;
      }
      .stack-card:hover .image-container,
      .stack-card:hover .feature-link {
        transform: none;
        opacity: 1;
      }
    }