/* ==========================================================================
   Secure Path V4 - Precision Centering & Mac Viewport Margins
   Fixed: Strict container padding, No screen-edge sticking, Floating Header
   ========================================================================== */

:root {
  --bg-primary: #050b18;
  --bg-secondary: #0a1329;
  --bg-surface: rgba(13, 24, 49, 0.85);
  --bg-surface-hover: rgba(18, 33, 67, 0.95);
  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-glow: rgba(0, 212, 255, 0.4);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent-cyan: #00d4ff;
  --accent-blue: #38bdf8;
  --accent-violet: #818cf8;
  --accent-emerald: #10b981;
}

/* 1. GLOBAL LAYOUT & MAC GUTTER PROTECTION */
*, *::before, *::after {
  box-sizing: border-box !important;
}

body {
  overflow-x: hidden !important;
  width: 100% !important;
}

/* Center all containers and prevent sticking to screen borders on Mac/Retina */
.container {
  width: 100% !important;
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-inline: auto !important;
  padding-left: clamp(24px, 4.5vw, 60px) !important;
  padding-right: clamp(24px, 4.5vw, 60px) !important;
}

/* 2. FLOATING PREMIUM HEADER (Centered, Not touching edges) */
.site-header {
  position: fixed !important;
  z-index: 100 !important;
  top: 18px !important;
  left: 20px !important;
  right: 20px !important;
  max-width: 1200px !important;
  width: calc(100% - 40px) !important;
  margin: 0 auto !important;
  padding: 10px 18px !important;
  border-radius: 20px !important;
  background: rgba(7, 15, 30, 0.88) !important;
  backdrop-filter: blur(20px) saturate(1.2) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.2) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4) !important;
}

/* 3. VISIBILITY & STABILITY (No Opacity 0 bugs) */
[data-reveal],
.has-reveal-js [data-reveal] {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

/* Disable jittery floating loops */
.floating-card,
.character-poster,
.order-float,
.uptime-float,
.orbit,
.hero-glow {
  animation: none !important;
  transform: none !important;
}

/* Canvas background */
.scene-canvas-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: 
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(14, 165, 233, 0.15), transparent 70%),
    radial-gradient(ellipse 50% 30% at 80% 50%, rgba(99, 102, 241, 0.1), transparent 60%),
    var(--bg-primary);
}

.scene-grid-lines {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, var(--border-subtle) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border-subtle) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 25%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 25%, #000 30%, transparent 80%);
  opacity: 0.5;
}

/* 4. HERO SECTION - Strictly Centered & Spacious */
.hero {
  position: relative !important;
  width: 100% !important;
  min-height: calc(100vh - 80px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 140px 0 80px !important;
}

.hero-grid {
  display: grid !important;
  grid-template-columns: 1.15fr 0.85fr !important;
  align-items: center !important;
  gap: clamp(30px, 4vw, 55px) !important;
  width: 100% !important;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr !important;
    text-align: center;
    gap: 40px !important;
  }
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

@media (max-width: 960px) {
  .hero-copy {
    align-items: center;
  }
}

.badge-scene {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.3);
  color: var(--accent-cyan);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.badge-scene i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  display: inline-block;
}

.hero-copy h1 {
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.25;
  color: var(--text-primary);
  margin: 0 0 20px;
}

.hero-copy h1 strong {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy p {
  font-size: 1.08rem;
  line-height: 1.9;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 0 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.btn-tactile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff !important;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  box-shadow: 0 10px 25px -5px rgba(2, 132, 199, 0.4);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-tactile:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -5px rgba(2, 132, 199, 0.55);
}

.btn-tactile:active {
  transform: translateY(1px);
}

.btn-tactile-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  font-family: inherit;
  font-weight: 600;
  color: var(--text-primary) !important;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  backdrop-filter: blur(12px);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-tactile-ghost:hover {
  background: var(--bg-surface-hover);
  border-color: var(--border-glow);
}

.hero-metrics {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  width: 100%;
}

.hero-metric-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-metric-item b {
  font-size: 1.05rem;
  color: var(--text-primary);
}

.hero-metric-item small {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Hero Poster Framing */
.hero-art {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.character-poster {
  width: 100%;
  max-width: 420px;
  height: 520px;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid var(--border-glow);
  background: #06101e;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7);
  position: relative;
}

.character-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.character-poster figcaption {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  padding: 24px 20px 16px;
  background: linear-gradient(to top, rgba(5, 11, 24, 0.95), transparent);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.character-poster figcaption span {
  font-size: 0.8rem;
  color: var(--accent-cyan);
  font-weight: 700;
}

.character-poster figcaption b {
  font-size: 0.95rem;
  color: #fff;
}

.poster-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(5, 11, 24, 0.85);
  border: 1px solid var(--border-glow);
  padding: 8px 16px;
  border-radius: 12px;
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #fff;
}

.poster-badge i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
}

/* 5. SECTIONS - Centered & Spacious */
.section {
  width: 100% !important;
  padding: 90px 0 !important;
  display: flex !important;
  justify-content: center !important;
  position: relative;
}

.section-heading {
  margin-bottom: 48px;
}

.section-heading.centered {
  text-align: center;
  max-width: 780px;
  margin-inline: auto;
}

.section-index {
  display: inline-block;
  color: var(--accent-cyan);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-heading h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 900;
  line-height: 1.35;
  color: var(--text-primary);
  margin: 0 0 16px;
}

.section-heading h2 strong {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-heading p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 0;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

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

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 32px;
  backdrop-filter: blur(16px);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-glow);
}

.feature-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: rgba(0, 212, 255, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 212, 255, 0.2);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 12px;
}

.feature-card p {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 0;
}

/* Custom Order Engine */
.custom-order-engine {
  background: linear-gradient(145deg, rgba(13, 24, 49, 0.95) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 24px;
  padding: 44px;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.6);
}

.custom-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

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

.custom-steps-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.custom-step-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.custom-step-num {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 10px;
  background: rgba(0, 212, 255, 0.15);
  border: 1px solid rgba(0, 212, 255, 0.3);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
}

.custom-cta-card {
  background: rgba(5, 11, 24, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 32px;
  text-align: center;
}

/* Articles SEO Grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.article-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 28px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.article-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-glow);
}

.article-meta {
  font-size: 0.85rem;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-bottom: 12px;
}

.article-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text-primary);
  margin: 0 0 12px;
}

.article-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* FAQ Accordion */
.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item.is-open {
  border-color: var(--border-glow);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: right;
  gap: 16px;
}

.faq-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.25s ease;
  color: var(--accent-cyan);
}

.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 0.95rem;
}

.faq-item.is-open .faq-answer {
  padding: 0 24px 20px;
}

/* Modals & Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: 400px;
  background: rgba(10, 19, 41, 0.98);
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
  z-index: 999;
  display: none;
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.cookie-btn-accept {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  border: none;
  background: var(--accent-cyan);
  color: #050b18;
  cursor: pointer;
}

.cookie-btn-decline {
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
}

.legal-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(6px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.legal-modal-backdrop.is-active {
  display: flex;
}

.legal-modal-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-glow);
  border-radius: 20px;
  max-width: 640px;
  width: 100%;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
}

.legal-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-modal-head h3 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--text-primary);
}

.legal-modal-body {
  padding: 24px;
  overflow-y: auto;
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 0.95rem;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  border-radius: 8px;
  color: #fff;
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-size: 1.2rem;
}

/* ==========================================================================
   Article Pages & Long-form Content Reading Experience
   Ergonomic typography, reading progress bar, table of contents
   ========================================================================== */

.reading-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  z-index: 1000;
}

.reading-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-violet));
  transition: width 0.1s ease-out;
}

.article-shell {
  max-width: 860px !important;
  margin: 120px auto 80px !important;
  padding: 0 clamp(20px, 4vw, 40px) !important;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.breadcrumbs a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumbs a:hover {
  color: var(--accent-cyan);
}

.breadcrumbs span {
  opacity: 0.5;
}

.article-header {
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 32px;
}

.article-header h1 {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 900;
  line-height: 1.35;
  color: var(--text-primary);
  margin: 16px 0;
}

.article-header h1 strong {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.article-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.article-toc {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 28px;
  margin-bottom: 48px;
  backdrop-filter: blur(12px);
}

.article-toc h3 {
  margin: 0 0 16px;
  font-size: 1.15rem;
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.article-toc a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.96rem;
  transition: color 0.2s, transform 0.2s;
  display: inline-block;
}

.article-toc a:hover {
  color: var(--accent-cyan);
  transform: translateX(-4px);
}

.article-content {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 2.15;
}

.article-content p {
  margin: 0 0 24px;
}

.article-content h2 {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 48px 0 20px;
  padding-right: 14px;
  border-right: 4px solid var(--accent-cyan);
  line-height: 1.4;
}

.article-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 32px 0 16px;
}

.article-content ul, .article-content ol {
  padding-right: 24px;
  margin-bottom: 28px;
}

.article-content li {
  margin-bottom: 12px;
}

.callout-box {
  background: linear-gradient(145deg, rgba(13, 24, 49, 0.95), rgba(15, 23, 42, 0.95));
  border: 1px solid var(--border-glow);
  border-radius: 18px;
  padding: 24px 28px;
  margin: 36px 0;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.callout-box b {
  color: var(--accent-cyan);
  display: block;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.callout-box p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.85;
}

.article-author-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 24px;
  margin-top: 60px;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-violet));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
}
/* ==========================================================================
   PORTFOLIO SLIDER & LUXURY 60/40 ARCHITECTURE
   ========================================================================== */
.portfolio-section {
  position: relative;
  padding: 60px 0;
}

.portfolio-slider-container {
  position: relative;
  background: rgba(14, 23, 47, 0.75);
  border: 1px solid rgba(0, 242, 254, 0.15);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.portfolio-track {
  display: flex;
  width: 100%;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.portfolio-slide {
  flex: 0 0 100%;
  min-width: 100%;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 36px;
  padding: 40px;
  align-items: center;
}

@media (max-width: 900px) {
  .portfolio-slide {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 20px;
  }
}

.portfolio-media {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #070d1e;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.portfolio-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.portfolio-slide:hover .portfolio-media img {
  transform: scale(1.02);
}

.portfolio-info {
  display: flex;
  flex-direction: column;
}

.portfolio-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 700;
  background: rgba(0, 242, 254, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 242, 254, 0.25);
  width: fit-content;
  margin-bottom: 12px;
}

.portfolio-badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
}

.portfolio-title {
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 12px;
  line-height: 1.35;
}

.portfolio-desc {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin: 0 0 20px;
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.portfolio-tag {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.portfolio-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.portfolio-bullet-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.portfolio-bullet-item svg {
  flex-shrink: 0;
  color: var(--accent-cyan);
}

.portfolio-footer-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(8, 14, 30, 0.5);
}

.slider-nav-btns {
  display: flex;
  gap: 10px;
}

.slider-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.slider-btn:hover {
  background: rgba(0, 242, 254, 0.15);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: scale(1.06);
}

.slider-btn:active {
  transform: scale(0.94);
}

.slider-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.slider-dot.is-active {
  width: 28px;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
}

/* 60/40 Bento Grid Emphasis */
.bento-grid-6040 {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 20px;
  margin-top: 36px;
}

@media (max-width: 900px) {
  .bento-grid-6040 {
    grid-template-columns: 1fr;
  }
}

.bento-card-main {
  grid-row: span 2;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.06), rgba(14, 23, 47, 0.8));
  border: 1px solid rgba(0, 242, 254, 0.2);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-card-sub {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 24px;
}

.bento-card-sub:hover,
.bento-card-main:hover {
  border-color: rgba(0, 242, 254, 0.4);
  transform: translateY(-2px);
  transition: all 0.3s ease;
}
