/* Modern Dark Portfolio - Spreadlink Style */

/* Local Fonts */
@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/Vazirmatn-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/Vazirmatn-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Dark Theme Palette */
  --bg-dark: #050505;
  --bg-card: #0F0F0F;
  --bg-card-hover: #161616;
  
  --text-white: #FFFFFF;
  --text-gray: #A1A1AA;
  --text-dark: #000000;
  
  --border-color: #27272A;
  --accent-color: #FFFFFF; /* Minimalist white accent */
  --accent-glow: rgba(255, 255, 255, 0.15);

  /* Enhanced Spacing System */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
  --space-40: 10rem;
  --space-48: 12rem;

  /* Section Spacing */
  --section-padding: var(--space-24);
  --section-margin: var(--space-16);
  --card-padding: var(--space-8);
  --card-margin: var(--space-6);
  --element-gap: var(--space-6);
  --text-margin: var(--space-4);

  /* Radius - Based on UI/UX consistency principle */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-3xl: 32px;
  --radius-pill: 100px;
  
  /* Container radius based on padding */
  --radius-card: var(--radius-lg);
  --radius-card-inner: calc(var(--radius-card) + var(--space-2));
  --radius-button: var(--radius-pill);
  --radius-button-inner: calc(var(--radius-button) + var(--space-1));

  /* Fonts */
  --font-family: 'Vazirmatn', 'Inter', system-ui, -apple-system, sans-serif;
}

/* RTL Support */
[dir="rtl"] {
  --font-family: 'Vazirmatn', system-ui, -apple-system, sans-serif;
}

/* We keep the navbar LTR even in RTL mode as per user request */
[dir="rtl"] .nav-container {
  flex-direction: row; 
}

[dir="rtl"] .nav-menu {
  flex-direction: row;
}

[dir="rtl"] .hero-content {
  text-align: right;
}

[dir="rtl"] .contact-item {
  flex-direction: row-reverse;
  text-align: right;
}

/* Hide/Show based on language */
[lang="fa"] .en-only { display: none !important; }
[lang="en"] .fa-only { display: none !important; }

/* Language Switcher */
.lang-switch {
  display: flex;
  gap: 2px;
  margin-left: 20px;
  background: rgba(255, 255, 255, 0.05);
  padding: 3px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-gray);
  padding: 5px 10px;
  border-radius: 7px;
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 700;
  font-family: 'Vazirmatn', sans-serif !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lang-btn.active {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.lang-btn:hover:not(.active) {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.08);
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-family) !important;
}

input, button, textarea, select {
  font-family: var(--font-family) !important;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-dark);
  color: var(--text-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: opacity 0.5s ease-in-out; /* Smooth Page Load */
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(5, 5, 5, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  padding: var(--space-4) 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-white);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--space-8);
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--text-gray);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
  padding: var(--space-2) 0;
}

.nav-link:hover {
  color: var(--text-white);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--text-white);
  transition: width 0.2s;
}

.nav-link:hover::after {
  width: 100%;
}

.btn-resume {
  background: var(--text-white);
  color: var(--bg-dark);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-pill);
  font-weight: 600;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-resume:hover {
  background: var(--text-gray);
  transform: translateY(-1px);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: var(--bg-dark);
  position: relative;
  padding: var(--space-32) 0 var(--space-24);
  overflow: hidden;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-8);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-20);
  align-items: center;
  min-height: 80vh;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-6);
  background: linear-gradient(to right, #fff, #a1a1aa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-tagline {
  display: block;
  font-size: 1.1rem;
  color: var(--text-gray);
  margin-bottom: 0.5rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Typing Cursor Animation */
.hero-tagline::after {
  content: '|';
  display: inline-block;
  animation: blink 0.7s infinite;
  color: var(--accent-color);
  margin-left: 4px;
  vertical-align: baseline;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-gray);
  margin-bottom: var(--space-10);
  max-width: 480px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

/* Button & Interaction Styles */
.btn-primary, .btn-secondary, .btn-submit, .btn-outline, .category-btn {
  position: relative;
  overflow: hidden;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  padding: 0.9rem 2rem;
  border-radius: var(--radius-pill);
  font-size: 1rem;
  font-weight: 500;
  background: var(--text-white);
  color: var(--bg-dark);
  border: 1px solid var(--text-white);
  text-decoration: none;
}

.btn-primary:hover {
  background: transparent;
  color: var(--text-white);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

.btn-secondary {
  padding: 0.9rem 2rem;
  border-radius: var(--radius-pill);
  font-size: 1rem;
  font-weight: 500;
  background: transparent;
  color: var(--text-white);
  border: 1px solid var(--border-color);
  text-decoration: none;
}

.btn-secondary:hover {
  border-color: var(--text-white);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.05);
}

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to { transform: scale(4); opacity: 0; }
}

/* Spline Container */
.hero-visual {
  height: 500px;
  width: 100%;
  position: relative;
}

spline-viewer {
  width: 100%;
  height: 100%;
}

/* Hero Profile Image - Professional */
.hero-profile-image {
  width: 340px;
  height: 340px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  filter: 
    brightness(0.8) 
    contrast(1.15) 
    saturate(1.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 2;
}

.hero-profile-image:hover {
  filter: 
    brightness(0.85) 
    contrast(1.2) 
    saturate(1.1);
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.7),
    0 0 0 2px rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

/* Floating Info Cards - Glass Style */
.floating-card {
  position: absolute;
  background: rgba(5, 5, 5, 0.7);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 10px 18px;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.4),
    inset 0 1px 1px rgba(255, 255, 255, 0.08);
  z-index: 3;
  animation: float-card 4s ease-in-out infinite;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-card-content {
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-card-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-white);
  white-space: nowrap;
  letter-spacing: 0.5px;
}

.floating-card-1 {
  top: 30px;
  right: 30px;
  animation-delay: 0s;
}

.floating-card-2 {
  bottom: 50px;
  left: 30px;
  animation-delay: 1.3s;
}

.floating-card-3 {
  top: 50%;
  right: -90px;
  transform: translateY(-50%);
  animation-delay: 2.6s;
}

.floating-card:hover {
  background: rgba(25, 25, 25, 0.98);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

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

/* Responsive adjustments for floating cards */
@media (max-width: 768px) {
  .floating-card {
    display: none; /* Hide on mobile for better experience */
  }
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--space-4);
  color: var(--text-white);
}

.section-subtitle {
  color: var(--text-gray);
  font-size: 1.1rem;
}

/* Experience Cards */
.about {
  padding: var(--section-padding) 0;
  background: var(--bg-dark);
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--element-gap);
}

.experience-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-2xl);
  padding: var(--card-padding);
  transition: all 0.2s;
}

.experience-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--text-gray);
  transform: translateY(-3px);
}

.experience-header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--text-margin);
}

.experience-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.experience-title {
  font-size: 1.3rem;
  color: var(--text-white);
  margin-bottom: var(--space-1);
}

.experience-company {
  color: var(--text-gray);
  font-size: 0.9rem;
}

.experience-description {
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: var(--text-margin);
}

.experience-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.experience-tag {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 500;
}

/* Projects */
.projects {
  padding: var(--section-padding) 0;
  background: #080808;
}

.project-categories {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--section-margin);
}

.category-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-gray);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-pill);
}

.category-btn:hover, .category-btn.active {
  background: var(--text-white);
  color: var(--bg-dark);
  border-color: var(--text-white);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--element-gap);
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

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

.project-image {
  height: 220px;
  background: #1a1a1a;
  overflow: hidden;
}

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

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-content {
  padding: var(--card-padding);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-title {
  font-size: 1.5rem;
  color: var(--text-white);
  margin-bottom: var(--space-2);
}

.project-description {
  color: var(--text-gray);
  font-size: 0.95rem;
  margin-bottom: var(--text-margin);
}

.project-features ul {
  list-style: none;
  margin-bottom: var(--space-6);
}

.project-features li {
  position: relative;
  padding-left: var(--space-6);
  margin-bottom: var(--space-2);
  font-size: 0.9rem;
  color: #ccc;
}

.project-features li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--text-white);
  font-size: 1.2rem;
  line-height: 1;
}

.btn-outline {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: auto;
  padding: 0.9rem;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  color: var(--text-white);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
}

.btn-outline:hover {
  background: var(--text-white);
  color: var(--bg-dark);
  border-color: var(--text-white);
}

/* Skills */
.skills {
  padding: var(--section-padding) 0;
  background: #080808;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: var(--space-4);
}

.skill-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: var(--space-6);
  border-radius: var(--radius-md);
  text-align: center;
  transition: all 0.2s;
}

.skill-item:hover {
  background: var(--bg-card-hover);
  border-color: var(--text-gray);
  transform: translateY(-3px);
}

.skill-icon-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.skill-icon-placeholder {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 8px;
  font-weight: bold;
  font-size: 14px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.skill-name {
  display: block;
  font-size: 0.85rem;
  color: var(--text-gray);
}

/* Nested Skills Layout */
.skills-nested {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-8);
  margin-top: var(--space-8);
}

.skill-category {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: all 0.2s;
}

.skill-category:hover {
  background: var(--bg-card-hover);
  border-color: var(--text-gray);
  transform: translateY(-2px);
}

.category-title {
  font-size: 1.1rem;
  color: var(--text-white);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.category-skills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: var(--space-3);
}

.skill-level {
  display: block;
  font-size: 0.7rem;
  color: var(--text-gray);
  margin-top: var(--space-1);
  font-weight: 500;
}

.skill-emoji {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 0.9rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
  transition: transform 0.2s ease;
}

.skill-item:hover .skill-emoji {
  transform: scale(1.2);
}

/* Contact */
.contact {
  padding: var(--space-24) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-16);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact-details h4 {
  color: var(--text-gray);
  font-size: 0.9rem;
  margin-bottom: var(--space-1);
}

.contact-details a {
  color: var(--text-white);
  font-size: 1.1rem;
  text-decoration: none;
}

.social-link {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  text-decoration: none;
  color: var(--text-white);
  transition: all 0.2s;
}

.social-link:hover {
  background: var(--text-white);
  color: var(--bg-dark);
}

/* Enhanced Social Cards */
.social-section {
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border-color);
}

.social-title {
  color: var(--text-white);
  font-size: 1.1rem;
  margin-bottom: var(--space-4);
  font-weight: 600;
}

.social-grid-enhanced {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.social-card {
  display: flex;
  align-items: center;
  padding: var(--space-3) var(--space-4);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--text-white);
  transition: all 0.2s ease;
  gap: var(--space-3);
}

.social-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--text-gray);
  transform: translateX(4px);
}

.social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.social-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.social-platform {
  font-weight: 600;
  font-size: 0.95rem;
}

.social-handle {
  font-size: 0.8rem;
  color: var(--text-gray);
}

.social-arrow {
  color: var(--text-gray);
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}

.social-card:hover .social-arrow {
  transform: translateX(4px);
  color: var(--text-white);
}

.contact-form-container {
  background: var(--bg-card);
  padding: var(--space-10);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--border-color);
}

.form-group.focused .form-input {
    border-color: #fff;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.form-input {
  width: 100%;
  padding: var(--space-4);
  background: #000;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-white);
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: var(--text-white);
}

.btn-submit {
  width: 100%;
  padding: var(--space-4);
  background: var(--text-white);
  color: var(--bg-dark);
  border: none;
  border-radius: var(--radius-pill);
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-submit:hover {
  opacity: 0.9;
}

/* Footer */
.footer {
  padding: var(--space-8) 0;
  text-align: center;
  border-top: 1px solid var(--border-color);
  color: var(--text-gray);
  font-size: 0.9rem;
}

/* Spotlight Section */
.spotlight {
    padding: var(--space-16) 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-card) 100%);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.spotlight-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    backdrop-filter: blur(10px);
}

.spotlight-visual {
    position: relative;
    height: 300px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.spotlight-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 4s ease;
}

.spotlight-visual img.zoom-active {
    transform: scale(1.1);
}

.spotlight-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.spotlight-tag {
    color: var(--text-white);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-4);
    font-weight: 600;
}

.spotlight-info h2 {
    font-size: 2.5rem;
    color: var(--text-white);
    margin-bottom: var(--space-4);
    line-height: 1.1;
}

.spotlight-info p {
    color: var(--text-gray);
    margin-bottom: var(--space-6);
    min-height: 3rem;
}

.spotlight-meta {
    margin-bottom: var(--space-8);
}

#spotlight-tech {
    background: rgba(255, 255, 255, 0.1);
    padding: var(--space-1) var(--space-4);
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    color: var(--text-white);
}

.reveal-text {
    animation: fadeIn 0.5s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    margin-top: 1.5rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--text-white);
    width: 0%;
    animation: progress 4s linear infinite;
}

@keyframes progress {
    from { width: 0%; }
    to { width: 100%; }
}

/* Accessibility */
.keyboard-nav *:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-visual {
    height: 300px;
    order: -1;
  }

  .hero-buttons {
    justify-content: center;
  }
  
  .nav-menu {
    display: none;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .spotlight-wrapper {
      grid-template-columns: 1fr;
      gap: 2rem;
      text-align: center;
  }
  
  .spotlight-info { align-items: center; }
}