/* ==========================================================================
   UI Components: Hero, Metrics, Case Studies, Skills, Hackathons & Footer
   ========================================================================== */
/* Hero Section */
    .hero {
      padding: 40px 0 80px;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
    }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 6px 16px;
      border-radius: 100px;
      background: rgba(16, 185, 129, 0.1);
      border: 1px solid rgba(16, 185, 129, 0.3);
      color: var(--accent-emerald);
      font-size: 12px;
      font-family: var(--font-mono);
      font-weight: 500;
      margin-bottom: 24px;
    }

    .hero-badge .dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--accent-emerald);
      animation: pulse 2s infinite;
    }

    @keyframes pulse {
      0%, 100% { transform: scale(1); opacity: 1; }
      50% { transform: scale(1.2); opacity: 0.5; }
    }

    h1.hero-title {
      font-size: 56px;
      font-weight: 800;
      line-height: 1.1;
      letter-spacing: -0.03em;
      margin-bottom: 20px;
      background: linear-gradient(135deg, #ffffff 30%, #94a3b8 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      max-width: 900px;
    }

    .hero-subtitle {
      font-size: 20px;
      color: var(--text-muted);
      max-width: 720px;
      margin-bottom: 36px;
      line-height: 1.6;
    }

    .hero-actions {
      display: flex;
      gap: 16px;
      margin-bottom: 56px;
    }

    .secondary-btn {
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid var(--border-subtle);
      color: var(--text-main);
      padding: 10px 24px;
      border-radius: 100px;
      text-decoration: none;
      font-size: 14px;
      font-weight: 600;
      transition: all 0.2s ease;
    }

    .secondary-btn:hover {
      background: rgba(255, 255, 255, 0.1);
      border-color: rgba(255, 255, 255, 0.2);
    }

    /* Metrics Grid */
    .metrics-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
      width: 100%;
      margin-top: 10px;
    }

    @media (max-width: 900px) {
      .metrics-grid { grid-template-columns: repeat(2, 1fr); }
      h1.hero-title { font-size: 40px; }
    }

    .metric-card {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: 18px;
      padding: 24px;
      text-align: left;
      backdrop-filter: blur(12px);
      transition: all 0.25s ease;
    }

    .metric-card:hover {
      border-color: var(--border-accent);
      transform: translateY(-3px);
      background: var(--bg-card-hover);
    }

    .metric-value {
      font-size: 32px;
      font-weight: 800;
      font-family: var(--font-mono);
      color: var(--accent-cyan);
      margin-bottom: 4px;
    }

    .metric-label {
      font-size: 13px;
      color: var(--text-muted);
      font-weight: 500;
    }

    /* Section Styles */
    section {
      padding: 70px 0;
    }

    .section-header {
      margin-bottom: 40px;
    }

    .section-tag {
      font-family: var(--font-mono);
      font-size: 12px;
      color: var(--accent-indigo);
      text-transform: uppercase;
      letter-spacing: 0.1em;
      margin-bottom: 8px;
      display: block;
    }

    .section-title {
      font-size: 32px;
      font-weight: 700;
      letter-spacing: -0.02em;
    }

    /* Case Studies Vertical Stack */
    .projects-grid {
      display: flex;
      flex-direction: column;
      gap: 24px;
      width: 100%;
    }

    .project-card {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: 20px;
      padding: 30px;
      backdrop-filter: blur(14px);
      transition: all 0.25s ease;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      min-width: 0;
      width: 100%;
      overflow: hidden;
    }

    .project-card:hover {
      border-color: var(--border-accent);
      transform: translateY(-4px);
      box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 25px rgba(99, 102, 241, 0.15);
    }

    .project-top {
      margin-bottom: 20px;
    }

    .project-badge-row {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      align-items: center;
      justify-content: flex-start;
      margin-bottom: 16px;
    }

    .tech-pill {
      font-family: var(--font-mono);
      font-size: 11px;
      color: var(--accent-cyan);
      background: rgba(6, 182, 212, 0.1);
      padding: 4px 10px;
      border-radius: 6px;
      border: 1px solid rgba(6, 182, 212, 0.25);
      white-space: nowrap;
      display: inline-flex;
      align-items: center;
      gap: 5px;
      flex-shrink: 0;
    }

    .impact-pill {
      font-family: var(--font-mono);
      font-size: 11px;
      color: var(--accent-emerald);
      background: rgba(16, 185, 129, 0.1);
      border: 1px solid rgba(16, 185, 129, 0.25);
      padding: 4px 10px;
      border-radius: 6px;
      white-space: nowrap;
      display: inline-flex;
      align-items: center;
      gap: 5px;
      flex-shrink: 0;
    }

    .project-title {
      font-size: 21px;
      font-weight: 700;
      margin-bottom: 10px;
      color: #fff;
      letter-spacing: -0.01em;
    }

    .project-desc {
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.6;
    }

    .project-bullets {
      list-style: none;
      margin-top: 14px;
    }

    .project-bullets li {
      font-size: 13.5px;
      color: #cbd5e1;
      margin-bottom: 8px;
      display: flex;
      align-items: flex-start;
      gap: 10px;
      line-height: 1.55;
    }

    .project-bullets li::before {
      content: '▹';
      color: var(--accent-indigo);
      font-size: 13px;
      margin-top: 2px;
      flex-shrink: 0;
    }

    /* Skills Grid */
    .skills-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }

    @media (max-width: 860px) {
      .skills-grid { grid-template-columns: 1fr; }
    }

    .skill-category {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: 18px;
      padding: 24px;
    }

    .skill-cat-title {
      font-size: 16px;
      font-weight: 600;
      color: #fff;
      margin-bottom: 16px;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .skill-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .skill-tag {
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid var(--border-subtle);
      padding: 6px 12px;
      border-radius: 8px;
      font-size: 13px;
      color: #cbd5e1;
      font-family: var(--font-mono);
    }

    /* Hackathons Section */
    .awards-list {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .award-card {
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      padding: 20px 28px;
      border-radius: 16px;
      transition: all 0.2s ease;
    }

    .award-card:hover {
      border-color: var(--border-accent);
      background: var(--bg-card-hover);
    }

    .award-left {
      display: flex;
      align-items: center;
      gap: 18px;
    }

    .award-icon {
      font-size: 28px;
    }

    .award-title {
      font-size: 16px;
      font-weight: 700;
      color: #fff;
    }

    .award-sub {
      font-size: 13px;
      color: var(--text-muted);
    }

    .award-year {
      font-family: var(--font-mono);
      font-size: 13px;
      color: var(--accent-cyan);
    }

    /* Contact Section */
    .contact-card {
      background: linear-gradient(135deg, rgba(20, 27, 45, 0.9), rgba(12, 17, 28, 0.9));
      border: 1px solid var(--border-accent);
      border-radius: 28px;
      padding: 60px 40px;
      text-align: center;
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
      position: relative;
      overflow: hidden;
    }

    .contact-card h2 {
      font-size: 36px;
      font-weight: 800;
      margin-bottom: 14px;
      letter-spacing: -0.02em;
    }

    .contact-card p {
      font-size: 16px;
      color: var(--text-muted);
      max-width: 580px;
      margin: 0 auto 36px;
    }

    .social-links {
      display: flex;
      justify-content: center;
      gap: 16px;
      flex-wrap: wrap;
    }

    .social-pill {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 10px 20px;
      border-radius: 100px;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid var(--border-subtle);
      color: #fff;
      text-decoration: none;
      font-size: 14px;
      font-weight: 500;
      transition: all 0.2s ease;
    }

    .social-pill:hover {
      background: rgba(99, 102, 241, 0.2);
      border-color: var(--accent-indigo);
      transform: translateY(-2px);
    }

    /* Footer */
    footer {
      padding: 48px 0 32px;
      font-size: 13px;
      color: var(--text-dim);
      border-top: 1px solid var(--border-subtle);
      margin-top: 60px;
    }

    .footer-pill {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 6px 12px;
      border-radius: 8px;
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid var(--border-subtle);
      color: var(--text-muted);
      text-decoration: none;
      font-size: 12px;
      font-family: var(--font-mono);
      transition: all 0.2s ease;
    }

    .footer-pill:hover {
      background: rgba(255, 255, 255, 0.08);
      color: #fff;
      border-color: rgba(255, 255, 255, 0.2);
    }

/* Interactive Scoping Widget */
    .scoping-funnel {
      background: rgba(15, 23, 42, 0.75);
      border: 1px solid var(--border-accent);
      border-radius: 24px;
      padding: 36px;
      margin-top: 40px;
      text-align: left;
    }
    .scoping-funnel h3 {
      font-size: 22px;
      font-weight: 700;
      color: #fff;
      margin-bottom: 8px;
    }
    .scoping-funnel p {
      color: var(--text-muted);
      font-size: 14px;
      margin-bottom: 24px;
    }
    .form-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
      margin-bottom: 16px;
    }
    @media (max-width: 640px) {
      .form-grid { grid-template-columns: 1fr; }
    }
    .form-group label {
      display: block;
      font-size: 12px;
      font-weight: 600;
      font-family: var(--font-mono);
      color: #cbd5e1;
      margin-bottom: 6px;
    }
    .form-input, .form-select, .form-textarea {
      width: 100%;
      background: rgba(7, 9, 14, 0.8);
      border: 1px solid var(--border-subtle);
      border-radius: 10px;
      padding: 12px 16px;
      color: #fff;
      font-family: var(--font-sans);
      font-size: 14px;
      outline: none;
      transition: border-color 0.2s;
    }
    .form-input:focus, .form-select:focus, .form-textarea:focus {
      border-color: var(--accent-indigo);
    }
    .form-submit-btn {
      background: linear-gradient(135deg, var(--accent-indigo), #4f46e5);
      color: #fff;
      border: none;
      border-radius: 100px;
      padding: 12px 28px;
      font-weight: 600;
      font-size: 14px;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      transition: all 0.2s;
      box-shadow: 0 0 20px var(--glow-indigo);
    }
    .form-submit-btn:hover {
      transform: translateY(-1px);
    }
  
    /* Architecture Flow Diagrams */
    .arch-diagram {
      background: rgba(7, 9, 14, 0.75);
      border: 1px solid var(--border-subtle);
      border-radius: 8px;
      padding: 14px;
      margin: 16px 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      overflow-x: auto;
      max-width: 100%;
      min-width: 0;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: thin;
    }
    .arch-step {
      background: rgba(15, 20, 36, 0.95);
      border: 1px solid rgba(99, 102, 241, 0.25);
      border-radius: 6px;
      padding: 8px 12px;
      text-align: center;
      min-width: 120px;
      flex: 1;
    }
    .arch-step-title {
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--accent-cyan);
      font-family: var(--font-mono);
      margin-bottom: 2px;
    }
    .arch-step-desc {
      font-size: 12px;
      color: #e2e8f0;
      font-weight: 500;
    }
    .arch-arrow {
      color: var(--accent-indigo);
      font-size: 16px;
      font-weight: bold;
      flex-shrink: 0;
    }

    @media (max-width: 680px) {
      .arch-diagram {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
      }
      .arch-arrow {
        transform: rotate(90deg);
        align-self: center;
        margin: 2px 0;
      }
      .arch-step {
        width: 100% !important;
        min-width: 0 !important;
      }
    }

    /* Live Interactive Proof Hero Banner */
    .hero-proof-banner {
      background: rgba(15, 20, 36, 0.85);
      border: 1px solid rgba(99, 102, 241, 0.35);
      border-radius: 10px;
      padding: 16px 20px;
      margin: 24px 0 28px 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      flex-wrap: wrap;
    }
    .proof-col {
      flex: 1;
      min-width: 240px;
    }
    .proof-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 11px;
      font-family: var(--font-mono);
      color: var(--accent-emerald);
      text-transform: uppercase;
      margin-bottom: 4px;
    }

    /* Engagement Models Section */
    .engagement-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
      gap: 24px;
      margin-top: 24px;
      width: 100%;
      min-width: 0;
    }
    .engagement-card {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: 12px;
      padding: 28px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      transition: all 0.25s ease;
      position: relative;
    }
    .engagement-card:hover {
      border-color: var(--accent-indigo);
      box-shadow: 0 10px 30px rgba(99, 102, 241, 0.15);
      transform: translateY(-2px);
    }
    .engagement-card.featured {
      border-color: rgba(99, 102, 241, 0.6);
      background: linear-gradient(180deg, rgba(22, 30, 48, 0.9) 0%, rgba(15, 20, 32, 0.85) 100%);
    }
    .engagement-tag {
      position: absolute;
      top: -12px;
      right: 20px;
      background: var(--accent-indigo);
      color: #fff;
      font-size: 11px;
      font-family: var(--font-mono);
      padding: 3px 10px;
      border-radius: 20px;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }
    .engagement-title {
      font-size: 20px;
      font-weight: 700;
      color: #fff;
      margin-bottom: 8px;
    }
    .engagement-price {
      font-size: 28px;
      font-weight: 800;
      color: #fff;
      margin-bottom: 14px;
      font-family: var(--font-sans);
    }
    .engagement-price span {
      font-size: 14px;
      font-weight: 400;
      color: var(--text-muted);
    }
    .engagement-desc {
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.6;
      margin-bottom: 20px;
    }
    .engagement-bullets {
      list-style: none;
      margin-bottom: 24px;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .engagement-bullets li {
      font-size: 13px;
      color: #cbd5e1;
      display: flex;
      align-items: flex-start;
      gap: 8px;
    }
    .engagement-bullets li::before {
      content: "✓";
      color: var(--accent-emerald);
      font-weight: bold;
    }
