:root {
  /* Colors - Inspired by Finex & Cool Dashboard */
  --bg-page: #000000;
  --bg-surface: #050505;
  --bg-card: #0A0A0C;
  --primary: #3b82f6;
  --primary-glow: rgba(59, 130, 246, 0.5);
  --secondary: #1e293b;
  --accent: #f97316;
  --tech-cyan: #00f5ff;
  --tech-purple: #9d00ff;
  --tech-orange: #ff6b00;
  --bg-dark: #020205;
  --text-main: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --glass: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.1);
  --border-hover: rgba(255, 255, 255, 0.2);
  --primary-border: rgba(59, 130, 246, 0.3);
  
  /* Typography */
  --font-display: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-page);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Base Layout */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4rem;
}

/* Animations - Derived from Finex DS */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes blurIn {
  0% { opacity: 0; filter: blur(20px); transform: scale(0.98); }
  100% { opacity: 1; filter: blur(0); transform: scale(1); }
}

@keyframes beam-spin {
  to { transform: rotate(360deg); }
}

@keyframes lines-slide {
  0% { background-position: 0 0; }
  100% { background-position: 24px 0; }
}

.animate-fade-up {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.animate-blur-in {
  animation: blurIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }

/* Components */
.glass-nav {
  position: fixed;
  top: 2rem;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: min(95%, 1200px);
  background: rgba(10, 10, 12, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 9999px;
  padding: 0.6rem 0.8rem 0.6rem 2.5rem;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.nav-links {
  display: flex;
  gap: 3rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.3s;
}

.nav-links a:hover {
  color: var(--text-main);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.btn-beam {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  padding: 0 2rem;
  background: #050505;
  color: white;
  text-decoration: none;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  border: none;
  z-index: 1;
}

.btn-beam .beam-border {
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: transparent;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  z-index: -2;
}

.btn-beam .beam-border::after {
  content: "";
  position: absolute;
  inset: -100%;
  background: conic-gradient(from 0deg, transparent 0% 80%, var(--primary) 100%);
  animation: beam-spin 3s linear infinite;
}

.btn-beam .btn-content-bg {
  position: absolute;
  top: 1px;
  right: 1px;
  bottom: 1px;
  left: 1px;
  background: #0A0A0A;
  border-radius: inherit;
  overflow: hidden;
  z-index: -1;
}

.btn-beam .lines-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  mix-blend-mode: plus-lighter;
  background-image: repeating-linear-gradient(90deg, #fff, #fff 1px, transparent 1px, transparent 8px);
  background-size: 24px 100%;
  animation: lines-slide 1.5s linear infinite;
}

.btn-beam .bottom-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
  width: 80%;
  height: 60%;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 75%);
  filter: blur(15px);
  opacity: 0.4;
  transition: opacity 0.4s;
}

.btn-beam:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 15px 35px -10px var(--primary-glow);
}

.btn-beam:hover .bottom-glow {
  opacity: 0.8;
}

.btn-nav-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 1.5rem;
  background: #3B82F6;
  color: #fff;
  text-decoration: none;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-nav-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
  filter: brightness(1.1);
}

/* Background Aura */
.bg-aura {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: radial-gradient(circle at 60% 30%, rgba(59, 130, 246, 0.08) 0%, transparent 60%);
  z-index: -1;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@keyframes float-rotate {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(5deg); }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

/* Tool Icons Around Photo */
.tool-icon {
  position: absolute;
  width: 54px;
  height: 54px;
  padding: 12px;
  background: rgba(10, 10, 12, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.tool-icon:hover {
  border-color: var(--primary);
  box-shadow: 0 0 20px var(--primary-glow);
  transform: scale(1.1) !important;
}

.tool-icon svg, .tool-icon .iconify {
  width: 100%;
  height: 100%;
  color: var(--text-secondary);
  transition: color 0.3s;
}

.tool-icon:hover svg, .tool-icon:hover .iconify {
  color: var(--primary);
}

/* Premium Liquid Aura System */
@keyframes aura-liquid-primary {
  0% { transform: translate(-10%, -10%) rotate(0deg) scale(1); }
  33% { transform: translate(15%, 5%) rotate(120deg) scale(1.2); }
  66% { transform: translate(-5%, 20%) rotate(240deg) scale(0.8); }
  100% { transform: translate(-10%, -10%) rotate(360deg) scale(1); }
}

@keyframes aura-liquid-secondary {
  0% { transform: translate(10%, 10%) rotate(360deg) scale(1.1); }
  50% { transform: translate(-15%, -10%) rotate(180deg) scale(0.9); }
  100% { transform: translate(10%, 10%) rotate(0deg) scale(1.1); }
}

@keyframes aura-liquid-tertiary {
  0% { transform: translate(0, 0) scale(1); border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
  33% { transform: translate(-10%, 15%) scale(1.3); border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%; }
  66% { transform: translate(15%, -5%) scale(0.7); border-radius: 30% 70% 70% 30% / 50% 40% 30% 60%; }
  100% { transform: translate(0, 0) scale(1); border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
}

@keyframes color-cycle {
  0%, 100% { filter: hue-rotate(0deg) brightness(1); }
  50% { filter: hue-rotate(30deg) brightness(1.2); }
}

/* --- Background System (High-Fidelity Liquid Aura) --- */
.bg-aura-wrapper {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    background: #000;
}

.bg-aura-wrapper .aura {
    position: absolute;
    width: 75vw;
    height: 75vw;
    border-radius: 50%;
    filter: blur(160px);
    opacity: 0.45;
    mix-blend-mode: plus-lighter;
}

.aura-1 {
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    top: -15%;
    right: -10%;
    animation: liquidMove-1 30s infinite alternate ease-in-out;
}

.aura-2 {
    background: radial-gradient(circle, #6366f1 0%, transparent 70%);
    bottom: -15%;
    left: -10%;
    animation: liquidMove-2 35s infinite alternate ease-in-out;
}

.aura-3 {
    background: radial-gradient(circle, #a855f7 0%, transparent 70%);
    top: 35%;
    left: 25%;
    width: 45vw;
    height: 45vw;
    animation: liquidMove-3 25s infinite alternate-reverse ease-in-out;
    opacity: 0.25;
}

@keyframes liquidMove-1 {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    100% { transform: translate(-10%, 20%) scale(1.1) rotate(10deg); }
}

@keyframes liquidMove-2 {
    0% { transform: translate(0, 0) scale(1.05); }
    100% { transform: translate(15%, -15%) scale(1); }
}

@keyframes liquidMove-3 {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-15%, -10%) rotate(20deg); }
}

.bg-noise {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.02;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* --- Section Layout & Foreground --- */
.hero-content, 
.timeline-outer, 
.projects-container {
    position: relative;
    z-index: 10;
}

/* Section 2: Experience Timeline */
.experience-section {
    position: relative;
    padding: 15rem 0;
    background: #000;
    color: white;
    overflow: hidden;
    width: 100%;
}

.section-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: #000;
}

.section-bg::before {
    content: "";
    position: absolute;
    top: -20%;
    left: 10%;
    width: 80%;
    height: 140%;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
    filter: blur(120px);
}

.section-bg .dots-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1.5px 1.5px, rgba(255, 255, 255, 0.02) 1px, transparent 0);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle at 50% 50%, black, transparent 90%);
    -webkit-mask-image: radial-gradient(circle at 50% 50%, black, transparent 90%);
}

.timeline-v-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
}

.timeline-v-progress {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    box-shadow: 0 0 20px var(--primary-glow);
    border-radius: 2px;
    transition: height 0.1s linear;
}

.timeline-item-wrapper.active {
    opacity: 1;
    transform: translateY(0);
}

.timeline-outer {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    z-index: 10;
}

.timeline-v-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
}

.timeline-v-progress {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    box-shadow: 0 0 20px var(--primary-glow);
    border-radius: 2px;
    transition: height 0.1s linear;
}

.timeline-item-wrapper {
    position: relative;
    display: flex;
    width: 100%;
    margin-bottom: 6rem;
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-item-wrapper.active {
    opacity: 1;
    transform: translateY(0);
}

/* Base logic for all items */
.timeline-item-content {
    width: 50%;
    position: relative;
    display: flex;
}

/* Odd -> Content on Left */
.timeline-item-wrapper:nth-child(odd) {
    justify-content: flex-start;
}

.timeline-item-wrapper:nth-child(odd) .timeline-item-content {
    justify-content: flex-end;
    padding-right: 5rem;
}

/* Even -> Content on Right */
.timeline-item-wrapper:nth-child(even) {
    justify-content: flex-end;
}

.timeline-item-wrapper:nth-child(even) .timeline-item-content {
    justify-content: flex-start;
    padding-left: 5rem;
}

.timeline-v-dot {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: #000;
    border: 3px solid var(--primary);
    border-radius: 50%;
    z-index: 20;
    box-shadow: 0 0 15px var(--primary-glow);
}

.timeline-card-glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 2rem;
    padding: 2.5rem;
    max-width: 450px;
    transition: all 0.4s ease;
}

.timeline-card-glass:hover {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
}

.company-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.company-logo {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.company-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: none;
    transition: all 0.4s ease;
}

.company-logo svg, .company-logo span {
    width: 100%;
    height: 100%;
    filter: none;
    opacity: 1;
    transition: all 0.4s ease;
}

.timeline-card-glass:hover .company-logo {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    transform: scale(1.1);
    box-shadow: 0 0 20px var(--primary-glow);
}

.timeline-card-glass:hover .company-logo svg,
.timeline-card-glass:hover .company-logo span {
    filter: brightness(1.1);
    opacity: 1;
}

.company-name {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.timeline-v-year {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 200;
    color: var(--text-secondary);
    white-space: nowrap;
}

/* Year on the opposite side of the card */
.timeline-item-wrapper:nth-child(odd) .timeline-v-year {
    left: calc(100% + 4rem);
}

.timeline-item-wrapper:nth-child(even) .timeline-v-year {
    right: calc(100% + 4rem);
}

/* Section 3: Projects (Cyber Showcase) */
/* Section 3: Projects (Radical Bento Showcase) */
.projects-section {
    position: relative;
    padding: 8rem 2rem 15rem;
    background: #000;
    overflow: hidden;
    width: 100%;
    perspective: 2000px; /* For 3D Tilt */
}

.proj-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(circle at 50% 50%, rgba(157, 0, 255, 0.05) 0%, transparent 70%),
                radial-gradient(circle at 0% 100%, rgba(0, 245, 255, 0.05) 0%, transparent 50%);
}

.proj-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    mix-blend-mode: overlay;
}

.projects-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2.5rem;
    margin-top: 6rem;
}

/* Base Project Card (Bent-Glass Style) */
.project-card {
    position: relative;
    grid-column: span 6;
    aspect-ratio: 16 / 10;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2.5rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.1s ease-out, box-shadow 0.5s ease, border-color 0.5s ease;
    cursor: pointer;
    transform-style: preserve-3d;
}

/* Featured Card (Taking more space) */
.project-card.featured {
    grid-column: span 12;
    aspect-ratio: 21 / 9;
}

.project-card.active {
    opacity: 1;
    transform: translateY(0);
}

/* Glass Thickness & Glow */
.project-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(var(--accent-rgb), 0.15),
        transparent 40%
    );
    z-index: 3;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.project-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%, rgba(255,255,255,0.1) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 4;
}

.project-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 40px 80px rgba(0, 0, 0, 0.5),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
}

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

/* Inner Layout Elements */
.project-inner-grid {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.05) 1px, transparent 0);
    background-size: 24px 24px;
    opacity: 0.5;
}

.project-img-wrapper {
    position: absolute;
    top: 50%;
    right: -5%;
    width: 60%;
    height: 120%;
    transform: translateY(-50%) skew(-5deg) rotate(5deg);
    z-index: 1;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: -20px 20px 60px rgba(0,0,0,0.5);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-img-wrapper {
    transform: translateY(-55%) skew(0deg) rotate(0deg) scale(1.05);
}

.project-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-info {
    position: relative;
    z-index: 10;
    padding: 4rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 50%;
    transform: translateZ(50px); /* 3D pop effect */
}

.project-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.project-card:hover .project-img-wrapper img {
    transform: scale(1.1);
}

.project-top-meta {
    position: relative;
    z-index: 5;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project-counter {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.1em;
}

.project-info {
    position: relative;
    z-index: 5;
    padding: 2rem;
    margin-top: auto;
}

.project-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.project-meta .company {
    color: var(--tech-cyan);
    font-weight: 700;
}

.project-title {
    font-family: var(--font-display);
    font-size: 3.5rem; /* Massive, Editorial Type */
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 0.9;
    color: #fff;
    letter-spacing: -0.05em;
    text-transform: uppercase;
}

.project-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.4;
    font-weight: 400;
    max-width: 400px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
}

@media (max-width: 1024px) {
    .project-card, .project-card.featured {
        grid-column: span 12;
        aspect-ratio: auto;
        min-height: 500px;
    }
    .project-info {
        max-width: 100%;
        padding: 3rem;
    }
    .project-img-wrapper {
        opacity: 0.3;
        width: 100%;
        height: 100%;
        right: 0;
        top: 0;
        transform: none;
    }
    .nav-links {
        display: none;
    }

    .glass-nav {
        padding: 0.6rem 1.25rem;
        gap: 1rem;
    }

    .glass-nav > a:first-child {
        font-size: 1.2rem !important;
        flex-shrink: 0;
    }

    .btn-nav-accent {
        padding: 0 1rem;
        height: 38px;
        font-size: 0.7rem;
    }

    .project-title {
        font-size: 2.5rem;
    }
}

/* Section 4: Testimonials (Kinetic Marquee) */
.testimonials-section {
    position: relative;
    padding: 10rem 0;
    background: #000;
    overflow: hidden;
    width: 100%;
}

.testimonials-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.marquee-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 4rem 0;
    /* Edge fades */
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-content {
    display: flex;
    gap: 3rem;
    width: max-content;
    animation: marqueeScroll 40s linear infinite;
}

.marquee-content:hover {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 1.5rem)); }
}

.testimonial-card {
    width: 450px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2.5rem;
    padding: 3.5rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    position: relative;
    /* Inner glass glow */
    box-shadow: 
        inset 0 0 40px rgba(255, 255, 255, 0.02),
        0 20px 40px rgba(0, 0, 0, 0.4);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--tech-cyan);
    transform: translateY(-15px) scale(1.02);
    box-shadow: 
        inset 0 0 20px rgba(0, 245, 255, 0.1),
        0 30px 60px rgba(0, 0, 0, 0.6);
}

/* Prismatic edge for cards */
.testimonial-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 2.5rem;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent, rgba(59, 130, 246, 0.2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
    pointer-events: none;
}

.quote-icon {
    font-size: 4rem;
    font-family: var(--font-display);
    color: var(--tech-cyan);
    line-height: 1;
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.testimonial-text {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    font-weight: 300;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.author-name {
    font-weight: 700;
    color: #fff;
    font-size: 1rem;
    letter-spacing: 0.02em;
}

.author-role {
    font-size: 0.8rem;
    color: var(--primary);
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@media (max-width: 768px) {
    .testimonial-card {
        width: 320px;
        padding: 2rem;
    }
    .testimonial-text {
        font-size: 1rem;
    }
}

/* Section 5: Final CTA (Identity Alignment) */
.cta-section {
    position: relative;
    padding: 15rem 0;
    background: #000;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.cta-container {
    max-width: 1100px;
    width: 90%;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.cta-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4rem;
    padding: 8rem 4rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 
        inset 0 0 50px rgba(255, 255, 255, 0.02),
        0 40px 100px rgba(0, 0, 0, 0.5);
}

.cta-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 120%, rgba(0, 245, 255, 0.1), transparent 70%);
    pointer-events: none;
}

.cta-card .headline {
    margin-bottom: 2rem !important;
    max-width: 800px;
}

.cta-card .cta-subtitle {
    font-size: 1.4rem;
    max-width: 600px;
    margin: 0 auto 4rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
    line-height: 1.6;
}

.cta-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* CTA Button - Enhanced Beam */
.btn-beam.cta-large {
    height: 70px;
    padding: 0 4rem;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.05);
    --primary: var(--tech-cyan);
    --primary-glow: rgba(0, 245, 255, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-beam.cta-large .btn-content-bg {
    background: rgba(10, 10, 12, 0.8) !important;
}

.cta-action-text {
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.8rem;
    color: var(--primary);
    margin-bottom: 2rem;
    display: block;
}

/* Background Atmosphere */
.cta-aura {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(0, 245, 255, 0.05) 0%, transparent 50%);
    filter: blur(120px);
    z-index: -1;
}

@media (max-width: 1024px) {
    .cta-card {
        padding: 5rem 2rem;
        border-radius: 2rem;
    }
}

/* Timeline Responsiveness */
@media (max-width: 768px) {
    .experience-section {
        padding: 8rem 0;
    }

    .timeline-outer {
        padding: 0 1.5rem;
    }

    .timeline-body {
        margin-top: 4rem;
    }

    .timeline-v-line {
        left: 0;
        transform: none;
    }

    .timeline-v-progress {
        left: 0;
        transform: none;
    }

    .timeline-item-wrapper {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 4rem;
        padding-left: 2rem;
        width: 100%;
        justify-content: flex-start !important;
    }

    .timeline-item-content {
        width: 100% !important;
        padding: 0 !important;
        justify-content: flex-start !important;
        flex-direction: column; /* Stack year and card */
    }

    .timeline-v-dot {
        left: 0;
        top: 0.5rem; /* Align with year text center */
        transform: translate(-50%, 0);
    }

    .timeline-v-year {
        position: relative;
        top: 0;
        transform: none;
        left: 0 !important;
        right: 0 !important;
        margin-bottom: 1rem;
        display: block;
        font-size: 1.4rem;
        font-weight: 500;
        color: var(--text-main);
    }

    .timeline-card-glass {
        max-width: 100%;
        padding: 1.5rem;
        border-radius: 1.5rem;
    }

    .company-header {
        margin-bottom: 1.5rem;
        gap: 1rem;
    }

    .company-name {
        font-size: 1.5rem;
    }

    .job-desc {
        font-size: 0.95rem;
    }
}
