/* css/components.css */

/* Custom Cursor */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--cursor-size);
  height: var(--cursor-size);
  background-color: var(--accent-secondary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.15s ease-out, height 0.15s ease-out, background-color 0.15s ease-out;
  will-change: transform, width, height;
}

body:hover .custom-cursor {
  opacity: 1;
}

/* Cursor states */
.custom-cursor.hovering {
  width: 64px;
  height: 64px;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(2px);
  mix-blend-mode: exclusion;
  border: 1px solid rgba(255,255,255,0.2);
}



/* ==================================================
   HEADER NAVIGATION
   ================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: var(--space-8) 0;
  z-index: 1000;
  transition: padding var(--transition-base), background-color var(--transition-base), box-shadow var(--transition-base);
  background-color: transparent;
}

.site-header.scrolled {
  padding: var(--space-4) 0;
  background-color: rgba(5, 5, 5, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.site-header .logo img {
  flex-shrink: 0;
  transition: height var(--transition-base);
}

.nav-links {
  display: none;
}

@media (min-width: 992px) {
  .nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 10px 32px;
    border-radius: 100px;
    border: 1px solid var(--border-color);
  }
}

@media (min-width: 992px) and (max-width: 1240px) {
  .site-header .logo img {
    height: 70px !important;
  }
  .nav-links {
    gap: 12px;
    padding: 8px 18px;
  }
  .nav-link {
    padding: 3px 5px;
    font-size: 0.82rem;
  }
  .site-header .btn,
  .nav-container .btn {
    padding: 8px 16px;
    height: 38px;
    min-height: 38px;
    font-size: 0.82rem;
  }
}

.nav-link {
  font-family: var(--font-subheading);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  padding: 4px 8px;
  text-decoration: none;
}

.nav-link:hover {
  color: var(--text-primary);
}

.site-header .btn,
.nav-container .btn {
  padding: 10px 24px;
  height: 44px;
  min-height: 44px;
  box-sizing: border-box;
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
}

/* Light Theme Header Overrides */
[data-theme="light"] .logo img {
  filter: none;
}

[data-theme="light"] .site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid var(--border-strong);
}

[data-theme="light"] .site-header .btn-primary {
  background-color: #0f172a !important;
  color: #ffffff !important;
  border: 1px solid #0f172a !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .site-header .btn-primary:hover {
  background-color: #1e293b !important;
  color: #ffffff !important;
}

@media (min-width: 992px) {
  [data-theme="light"] .nav-links {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid var(--border-strong);
  }
}

/* ==================================================
   MOBILE NAVIGATION & HAMBURGER DRAWER
   ================================================== */
.nav-hamburger {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  padding: 11px 9px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  z-index: 1002;
  transition: all 0.25s ease;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.nav-hamburger:hover,
.nav-hamburger:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

.hamburger-bar {
  width: 22px;
  height: 2px;
  background-color: var(--text-primary, #ffffff);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
  transform-origin: center;
}

/* Transform hamburger to 'X' when open */
.nav-open .nav-hamburger .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-open .nav-hamburger .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-open .nav-hamburger .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: rgba(5, 5, 5, 0.96);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 95px 24px 36px 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.nav-open .mobile-nav-drawer {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.nav-open {
  overflow: hidden !important;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: auto 0;
  padding: 8px 0;
}

.mobile-nav-link {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: clamp(1.35rem, 4.5vw, 1.8rem);
  color: var(--text-secondary, #a1a1aa);
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.2s ease, padding-left 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--text-primary, #ffffff);
  padding-left: 8px;
}

.mobile-nav-link .arrow-icon {
  opacity: 0.35;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.mobile-nav-link:hover .arrow-icon {
  opacity: 1;
  transform: translateX(4px);
}

.mobile-nav-footer {
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-nav-footer .btn {
  width: 100%;
  text-align: center;
  padding: 14px 24px;
  font-size: 0.95rem;
}

@media (max-width: 991px) {
  .site-header {
    padding: 12px 0;
  }
  .site-header.scrolled {
    padding: 10px 0;
  }
  .site-header .logo img {
    height: 38px !important;
    width: auto !important;
    max-width: 140px !important;
  }
  .nav-hamburger {
    display: flex;
  }
  .nav-links {
    display: none !important;
  }
  .site-header .nav-container {
    gap: 12px;
  }
  .site-header .nav-container > .btn {
    padding: 8px 16px;
    height: 38px;
    min-height: 38px;
    font-size: 0.82rem;
  }
}

@media (max-width: 480px) {
  .site-header .nav-container > .btn {
    display: none;
  }
}

/* ==================================================
   BUTTONS
   ================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 100px;
  font-family: var(--font-subheading);
  font-size: var(--text-base);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-base);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--accent-secondary);
  color: var(--bg-primary);
}

.btn-primary:hover {
  background-color: var(--accent-primary);
  transform: translateY(-2px);
}

[data-theme="light"] .btn-primary {
  background-color: #0f172a !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
}

[data-theme="light"] .btn-primary:hover {
  background-color: #1e293b !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.2);
}


/* ==================================================
   SOLUTIONS INTERACTIVE SCENE: WE ARE JUST A FEW STEPS AWAY
   ================================================== */
.hf-scene-section {
  background-color: #ffffff;
  padding: 80px 0 60px 0;
  overflow: hidden;
  position: relative;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.hf-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.hf-center {
  text-align: center;
  margin-bottom: 24px;
}

.hf-text {
  font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.hf-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.hf-line {
  height: 1px;
  width: 90px;
  background-color: #e2e8f0;
}

/* Storyboard Narrative Component */
.solutions-story-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}



/* ==================================================
   FORMS
   ================================================== */
.form-group {
  margin-bottom: var(--space-md);
  display: flex;
  flex-direction: column;
}

.form-label {
  font-family: var(--font-subheading);
  font-weight: 500;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-xs);
}

.form-input,
.form-textarea {
  width: 100%;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text-primary);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #6b7280;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-secondary);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}


/* ==================================================
   SERVICES HERO SECTION
   ================================================== */
.services-hero {
    background-color: #030305;
    padding-top: 180px;
    padding-bottom: 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: #ffffff;
}

.hero-eyebrow {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-main-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 80px;
    background: linear-gradient(180deg, #ffffff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Wide Laptop Design */
.laptop-wrapper {
    position: relative;
    width: 700px;
    max-width: 90vw;
    margin: 0 auto 60px auto;
    perspective: 1200px;
}

/* Base Purple Glow */
.laptop-wrapper::before {
    content: "";
    position: absolute;
    bottom: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    height: 300px;
    background: radial-gradient(ellipse at top, rgba(90, 30, 255, 0.4) 0%, rgba(0,0,0,0) 70%);
    z-index: 0;
    pointer-events: none;
}

.laptop-screen {
    position: relative;
    width: 100%;
    height: 120px;
    background: #000;
    border-radius: 8px 8px 0 0;
    border: 2px solid #333;
    border-bottom: none;
    padding: 6px 6px 0 6px;
    z-index: 2;
    transform: rotateX(10deg);
    transform-origin: bottom;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

.laptop-display {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #ff416c 0%, #ff4b2b 25%, #00d2ff 75%, #3a7bd5 100%);
    background-size: 200% 200%;
    animation: ultraGradient 8s ease infinite;
    border-radius: 2px 2px 0 0;
    box-shadow: 0 0 40px rgba(0, 210, 255, 0.3);
}

@keyframes ultraGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.laptop-base {
    position: relative;
    width: 106%;
    height: 8px;
    left: -3%;
    background: linear-gradient(to bottom, #444, #111);
    border-radius: 0 0 8px 8px;
    z-index: 3;
    box-shadow: 0 20px 50px rgba(0,0,0,0.9);
}

/* Trackpad indent */
.laptop-base::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 12%;
    height: 3px;
    background: #222;
    border-radius: 0 0 4px 4px;
}

.hero-subtext {
    font-size: 0.95rem;
    color: #777;
    margin-bottom: 24px;
    position: relative;
    z-index: 5;
}

.hero-btn-outline {
    position: relative;
    z-index: 5;
    display: inline-block;
    padding: 14px 40px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    color: #fff;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.03);
    margin-bottom: 50px;
    backdrop-filter: blur(10px);
}

.hero-btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.hero-video-link {
    position: relative;
    z-index: 5;
    font-size: 0.95rem;
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.hero-video-link:hover {
    color: #fff;
}

@media (max-width: 768px) {
    .laptop-screen {
        height: 70px;
    }
    .laptop-wrapper::before {
        width: 100%;
        height: 200px;
    }
}


/* ==================================================

/* ==================================================
   LAPTOP ANIMATION HERO (INDUSTRIES)
   ================================================== */
.hero-laptop-section {
    background-color: #000000;
    padding-top: 150px;
    padding-bottom: 250px;
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: #fff;
    font-family: sans-serif;
}

.hero-laptop-subtitle {
    color: #aaa;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    font-weight: 600;
    position: relative;
    z-index: 20;
}

.hero-laptop-title {
    color: #fff;
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 20;
    font-weight: 500;
}
.hero-laptop-title-sub {
    color: #fff;
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    position: relative;
    z-index: 20;
    font-weight: 400;
    opacity: 0.6;
}

.laptop-wrapper {
    perspective: 1200px;
    width: 800px;
    height: 120px;
    position: relative;
    margin-top: 60px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.laptop-lid {
    position: absolute;
    bottom: 10px;
    width: 700px;
    height: 450px;
    background-color: #050505;
    border-radius: 12px 12px 0 0;
    border: 3px solid #1a1a1a;
    border-bottom: none;
    transform-origin: bottom center;
    transform-style: preserve-3d;
    transform: rotateX(89deg); /* Start fully closed */
    animation: openLid 2.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.5s;
    z-index: 10;
}

.laptop-screen-content {
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    background: linear-gradient(90deg, #ff007a, #ffd700, #00d2ff, #7928ca);
    background-size: 200% 200%;
    border-radius: 4px;
    opacity: 0;
    animation: screenOn 2.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards, gradientShift 6s ease infinite;
    animation-delay: 0.5s;
}

.laptop-base-top {
    position: absolute;
    bottom: 10px;
    width: 760px;
    height: 6px;
    background: #111;
    border-radius: 4px 4px 0 0;
    z-index: 11;
}

.laptop-base {
    position: absolute;
    bottom: -6px;
    width: 760px;
    height: 16px;
    background: linear-gradient(to bottom, #151515, #020202);
    border-radius: 0 0 12px 12px;
    z-index: 15;
    box-shadow: 0 40px 80px rgba(0,0,0,1);
    display: flex;
    justify-content: center;
}

.laptop-notch {
    width: 120px;
    height: 4px;
    background: #050505;
    border-radius: 0 0 4px 4px;
}

.light-spill {
    position: absolute;
    bottom: -150px;
    width: 1400px;
    height: 400px;
    background: radial-gradient(ellipse at top, rgba(0, 210, 255, 0.6) 0%, rgba(255, 0, 122, 0.3) 20%, transparent 60%);
    filter: blur(50px);
    opacity: 0;
    z-index: 1;
    animation: spillLight 2.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.5s;
    pointer-events: none;
    transform-origin: top center;
}

.hero-laptop-cta {
    margin-top: 80px;
    position: relative;
    z-index: 20;
    animation: fadeIn 2s ease forwards;
    animation-delay: 1.5s;
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@keyframes openLid {
    0% { transform: rotateX(89deg); }
    100% { transform: rotateX(75deg); }
}

@keyframes screenOn {
    0% { opacity: 0; box-shadow: 0 0 0 transparent; }
    30% { opacity: 0.3; }
    100% { 
        opacity: 1; 
        box-shadow: 0 -20px 80px rgba(0, 210, 255, 0.8), 0 -20px 150px rgba(255, 0, 122, 0.6);
    }
}

@keyframes spillLight {
    0% { opacity: 0; transform: scaleY(0.2); }
    100% { opacity: 1; transform: scaleY(1.2); }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes fadeIn {
    to { opacity: 1; }
}

@media (max-width: 768px) {
    .laptop-wrapper { transform: scale(0.5); margin-top: -40px; height: 100px; }
    .hero-laptop-title { font-size: 2rem; }
    .hero-laptop-title-sub { font-size: 2rem; }
    .light-spill { width: 800px; }
}






/* ==================================================
   VIDEO HERO (INDUSTRIES)
   ================================================== */
.hero-video-section {
    background-color: #000;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: 0;
}

.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.8));
    z-index: 2;
}

.hero-content-overlay {
    position: relative;
    z-index: 20;
}



/* ==================================================
   REALISTIC INDUSTRIES HERO
   ================================================== */
.realistic-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-image: 
        linear-gradient(to bottom, #030303 0%, rgba(3,3,3,0.9) 30%, rgba(3,3,3,0.4) 60%, transparent 100%),
        url("../assets/industries-hero.jpg");
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 120px;
    padding-bottom: 50px;
    color: #fff;
    overflow: hidden;
}

/* Accent Glow Orbits */
.realistic-hero::before {
    content: "";
    position: absolute;
    top: 10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    border: 1px solid rgba(0, 132, 255, 0.2);
    border-radius: 50%;
    box-shadow: inset 0 0 50px rgba(0, 132, 255, 0.1);
    pointer-events: none;
    z-index: 1;
}
.realistic-hero::after {
    content: "";
    position: absolute;
    top: 20%;
    right: -5%;
    width: 40vw;
    height: 40vw;
    border: 1px solid rgba(0, 132, 255, 0.15);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    width: 100%;
    padding: 0 20px;
    margin-top: -100px; /* shift up */
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 0.75rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 2rem;
}
.hero-eyebrow::before, .hero-eyebrow::after {
    content: "";
    height: 1px;
    width: 40px;
    background-color: #333;
}

.hero-main-title {
    font-size: 5rem;
    line-height: 1.1;
    font-family: var(--font-heading), "Playfair Display", serif;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    font-weight: 500;
}
.hero-main-title span {
    color: #0084ff;
    text-shadow: 0 0 20px rgba(0, 132, 255, 0.4);
}

.hero-description {
    font-size: 1.125rem;
    color: #aaa;
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 4rem;
}

.btn-glow {
    background: #0066ff;
    color: #fff;
    padding: 14px 32px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 0 30px rgba(0, 102, 255, 0.5);
    transition: all 0.3s ease;
    border: 1px solid #0066ff;
}
.btn-glow:hover {
    box-shadow: 0 0 40px rgba(0, 102, 255, 0.8);
    transform: translateY(-2px);
}

.btn-outline-dark {
    background: transparent;
    color: #fff;
    padding: 14px 32px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}
.btn-outline-dark:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.4);
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}
.stat-item {
    display: flex;
    flex-direction: column;
}
.stat-value {
    font-size: 1.75rem;
    font-weight: 400;
    margin-bottom: 4px;
}
.stat-label {
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #666;
}
.stat-divider {
    width: 1px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
}

/* Side Text */
.side-text-left, .side-text-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.6rem;
    letter-spacing: 2px;
    color: #555;
    text-transform: uppercase;
    z-index: 10;
}
.side-text-left { left: 40px; text-align: left; }
.side-text-right { right: 40px; text-align: right; }
.side-line { width: 30px; height: 1px; background: #333; margin-top: 10px; }

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 10;
}
.scroll-text {
    font-size: 0.6rem;
    letter-spacing: 2px;
    color: #666;
    text-transform: uppercase;
}
.scroll-mouse {
    width: 24px;
    height: 36px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    position: relative;
    display: flex;
    justify-content: center;
}
.scroll-wheel {
    width: 2px;
    height: 6px;
    background: #fff;
    border-radius: 2px;
    margin-top: 6px;
    animation: scrollWheel 2s infinite;
}
.scroll-arrow {
    color: rgba(255,255,255,0.3);
    margin-top: 4px;
}

@keyframes scrollWheel {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(10px); opacity: 0; }
}

/* Bottom Corners */
.bottom-corner-left, .bottom-corner-right {
    position: absolute;
    bottom: 40px;
    font-size: 0.6rem;
    letter-spacing: 2px;
    color: #444;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
}
.bottom-corner-left { left: 40px; }
.bottom-corner-right { right: 40px; }
.corner-line { width: 30px; height: 1px; background: #333; }

@media (max-width: 900px) {
    .hero-main-title { font-size: 3rem; }
    .side-text-left, .side-text-right, .bottom-corner-left, .bottom-corner-right { display: none; }
    .hero-actions { flex-direction: column; }
    .hero-stats { gap: 20px; flex-wrap: wrap; }
}

/* ==================================================
   PORTFOLIO & LAPTOP MOCKUPS
   ================================================== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

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

.portfolio-item {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    transition: transform var(--transition-base);
}

.portfolio-item:hover {
    transform: translateY(-8px);
}

.laptop-mockup {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.laptop-screen-frame {
    position: relative;
    width: 100%;
    padding-top: 62.5%; /* 16:10 aspect ratio */
    background-color: #111;
    border: 12px solid #000;
    border-radius: 16px 16px 0 0;
    box-shadow: inset 0 0 0 2px #222;
    overflow: hidden;
}

/* Base/Keyboard part */
.laptop-base-frame {
    position: relative;
    width: 110%;
    left: -5%;
    height: 16px;
    background: linear-gradient(to bottom, #cfd8dc, #90a4ae);
    border-radius: 2px 2px 12px 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    z-index: 2;
}

.laptop-base-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 6px;
    background-color: #b0bec5;
    border-radius: 0 0 6px 6px;
}

/* Camera Notch */
.laptop-camera {
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background-color: #050505;
    border-radius: 50%;
    box-shadow: 0 0 2px rgba(255,255,255,0.1);
    z-index: 5;
}

.laptop-display {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-secondary);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: none;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), filter 0.45s ease;
}

.laptop-mockup:hover .laptop-display {
    transform: scale(1.03);
}

.portfolio-content {
    text-align: center;
    padding: 0 var(--space-md);
}

.portfolio-content h3 {
    margin-bottom: var(--space-xs);
    font-size: 1.5rem;
}

.portfolio-tags {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.portfolio-content .btn {
    padding: 10px 24px;
    font-size: 0.9rem;
}

/* ==================================================
   HERO VIDEO SECTION (INDUSTRIES)
   ================================================== */
.hero-video-section {
    position: relative;
    overflow: hidden;
    height: 100vh;
    min-height: 100vh;
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #030303;
}

.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.85) 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-content-overlay {
    position: relative;
    z-index: 10;
}

/* ==================================================
   SITE FOOTER
   ================================================== */
.site-footer {
    background-color: var(--bg-secondary, #050505);
    border-top: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
    padding-top: clamp(60px, 6vw, 96px);
    padding-bottom: clamp(36px, 4vw, 56px);
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 4fr 2fr 3fr 3fr;
    gap: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
    align-items: start;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    height: 32px;
    margin-bottom: 1.25rem;
    text-decoration: none;
}

.footer-logo img {
    height: 26px;
    width: auto;
    object-fit: contain;
    display: block;
}

.footer-col-title {
    font-family: var(--font-subheading, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary, #ffffff);
    height: 32px;
    display: flex;
    align-items: center;
    margin-top: 0;
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}

.footer-brand-desc {
    color: var(--text-secondary, #94a3b8);
    font-size: 0.95rem;
    line-height: 1.65;
    max-width: 360px;
    margin: 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links li a {
    color: var(--text-secondary, #94a3b8);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
    display: inline-block;
}

.footer-links li a:hover {
    color: #38bdf8;
}

.footer-links li p {
    color: var(--text-secondary, #94a3b8);
    font-size: 0.9375rem;
    margin: 0;
    line-height: 1.5;
}

.site-footer .map-iframe {
    width: 100%;
    height: 140px;
    border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
    border-radius: 10px;
    display: block;
    background-color: #111;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-8, 32px);
    border-top: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
    flex-wrap: wrap;
    gap: 1.25rem;
}

.footer-social-link {
    color: var(--text-secondary, #94a3b8);
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-social-link:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

/* Light Theme Footer Overrides */
[data-theme="light"] .site-footer {
    background-color: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .footer-col-title {
    color: #0f172a !important;
}

[data-theme="light"] .footer-brand-desc {
    color: #475569;
}

[data-theme="light"] .footer-links li a,
[data-theme="light"] .footer-links li p {
    color: #475569;
}

[data-theme="light"] .footer-links li a:hover {
    color: #2563eb;
}

[data-theme="light"] .footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .footer-bottom p {
    color: #64748b !important;
}

[data-theme="light"] .footer-social-link {
    color: #64748b;
}

[data-theme="light"] .footer-social-link:hover {
    color: #0f172a;
}


