/* CSS Custom Properties */
:root {
  --primary-bg: #151f42;
  --primary-text: #F0F0F0;
  --body-text: #C0C0C0;
  --accent-gradient: linear-gradient(90deg, #4A65F6, #D433F1);
  --accent-blue: #4A65F6;
  --accent-purple: #8A43F3;
  --card-bg: #1B2753;
  --glass-bg: rgba(21, 31, 66, 0.8);
  
  --font-heading: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --section-padding: 120px 0;
  --container-max-width: 1200px;
  --border-radius: 12px;
  
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: 
    radial-gradient(circle at 20% 40%, rgba(74, 101, 246, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 80% 10%, rgba(212, 51, 241, 0.09) 0%, transparent 60%),
    radial-gradient(circle at 40% 75%, rgba(138, 67, 243, 0.08) 0%, transparent 55%),
    radial-gradient(circle at 90% 85%, rgba(74, 101, 246, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 60% 5%, rgba(212, 51, 241, 0.07) 0%, transparent 50%),
    linear-gradient(135deg, var(--primary-bg) 0%, #0f1936 50%, #1a2444 100%);
  color: var(--body-text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Custom Cursor */
.cursor-dot {
  display: none;
}

.cursor-outline {
  width: 32px;
  height: 32px;
  border: 2px solid var(--accent-blue);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transition: all 0.15s ease;
  opacity: 0.5;
}

/* Container */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--primary-text);
  font-weight: 600;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* Desktop hero sizing - placed at end for higher specificity */

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 600;
  line-height: 1.3;
}

p {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.6;
}

/* Buttons */
.cta-button,
.hero-cta,
.submit-button,
.mobile-cta-button {
  display: inline-block;
  background: var(--accent-gradient);
  color: var(--primary-text);
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.cta-button:hover,
.hero-cta:hover,
.submit-button:hover,
.mobile-cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(74, 101, 246, 0.5);
}

.cta-button::before,
.hero-cta::before,
.submit-button::before,
.mobile-cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.cta-button:hover::before,
.hero-cta:hover::before,
.submit-button:hover::before,
.mobile-cta-button:hover::before {
  left: 100%;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(15, 25, 54, 0.12);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 
    0 12px 40px rgba(74, 101, 246, 0.08),
    0 6px 20px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

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

.nav-logo .logo {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}

.nav-menu {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  color: var(--body-text);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  transition: width 0.3s ease;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--primary-text);
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-6px);
}

/* Mobile Menu */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(21, 31, 66, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.mobile-nav-link {
  color: var(--primary-text);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.mobile-nav-link:hover {
  color: var(--accent-purple);
}

/* Constellation Background */
#constellation-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* Cosmic Background Effects */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(2px 2px at 20px 30px, #4A65F6, transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(212, 51, 241, 0.9), transparent),
    radial-gradient(1px 1px at 90px 40px, rgba(138, 67, 243, 0.8), transparent),
    radial-gradient(1px 1px at 130px 80px, #4A65F6, transparent),
    radial-gradient(2px 2px at 160px 30px, rgba(212, 51, 241, 0.6), transparent);
  background-repeat: repeat;
  background-size: 200px 150px;
  opacity: 0.5;
  z-index: -2;
  animation: cosmic-drift 120s linear infinite;
  pointer-events: none;
}

@keyframes cosmic-drift {
  0% { transform: translateX(0) translateY(0); }
  25% { transform: translateX(-50px) translateY(-25px); }
  50% { transform: translateX(-100px) translateY(0); }
  75% { transform: translateX(-50px) translateY(25px); }
  100% { transform: translateX(0) translateY(0); }
}

/* Section Styles */
section {
  padding: var(--section-padding);
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}

/* Global cosmic gradient overlay */
.hero::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at center top, rgba(74, 101, 246, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse at 70% 50%, rgba(212, 51, 241, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
}

/* Sunrise effect at top */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2000px;
  background: 
    radial-gradient(ellipse 200% 150% at center top, 
      rgba(255, 206, 84, 0.45) 0%,
      rgba(255, 154, 0, 0.38) 8%,
      rgba(255, 94, 77, 0.28) 16%,
      rgba(212, 51, 241, 0.20) 28%,
      rgba(138, 67, 243, 0.15) 42%,
      rgba(74, 101, 246, 0.08) 58%,
      rgba(74, 101, 246, 0.04) 68%,
      rgba(74, 101, 246, 0.02) 75%,
      rgba(74, 101, 246, 0.01) 82%,
      transparent 90%
    );
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 50%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 0%, black 50%, transparent 100%);
  pointer-events: none;
  z-index: -2;
  transition: height 0.5s ease-out;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 1200px;
}

.hero-title {
  margin-bottom: 32px;
  text-transform: uppercase;
  color: #ffffff;
}

.hero-subtitle {
  margin-bottom: 48px;
  font-size: clamp(1.15rem, 2.5vw, 1.6rem);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  padding: clamp(16px, 2vw, 20px) clamp(40px, 4vw, 56px);
  animation: pulse-glow 2s infinite;
}

/* Services Section */


.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: rgba(27, 39, 83, 0.25);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 40px 32px;
  border-radius: 20px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 8px 32px rgba(74, 101, 246, 0.1),
    0 4px 16px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: var(--accent-gradient);
  transition: left 0.5s ease;
}

.service-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 
    0 20px 60px rgba(74, 101, 246, 0.2),
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-color: rgba(138, 67, 243, 0.3);
  background: rgba(27, 39, 83, 0.35);
}

.service-card:hover::before {
  left: 0;
}

.service-card:hover .service-icon,
.service-card:hover .service-title {
  color: var(--accent-purple);
}

.service-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  transition: color 0.3s ease;
}

.service-icon svg {
  width: 32px;
  height: 32px;
  stroke-width: 1.5;
}

.service-title {
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

.service-description {
  font-size: 1rem;
  line-height: 1.6;
}

/* Work Section */


.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.work-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: rgba(27, 39, 83, 0.3);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 
    0 8px 32px rgba(74, 101, 246, 0.08),
    0 4px 16px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateZ(0);
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.work-image {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 20px;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  mask-image: radial-gradient(white, black);
}

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

.work-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(21, 31, 66, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.work-item:hover {
  transform: translateY(-8px) translateZ(0);
  box-shadow: 
    0 16px 48px rgba(74, 101, 246, 0.15),
    0 8px 24px rgba(0, 0, 0, 0.25);
  border-color: rgba(138, 67, 243, 0.25);
}

.work-item:hover .work-overlay {
  opacity: 1;
}

.work-item:hover .work-image img {
  transform: scale(1.05);
}

.work-title {
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.work-category {
  color: var(--accent-blue);
  font-weight: 500;
}

/* Products Section */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.product-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(27, 39, 83, 0.3);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 
    0 8px 32px rgba(74, 101, 246, 0.08),
    0 4px 16px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateZ(0);
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.product-item.full-width {
  aspect-ratio: 8/3;
  width: 100%;
}

.product-image {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 20px;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  mask-image: radial-gradient(white, black);
}

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

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(21, 31, 66, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px;
}

.product-item:hover,
.product-item.mobile-active {
  transform: translateY(-8px) translateZ(0);
  box-shadow: 
    0 16px 48px rgba(74, 101, 246, 0.15),
    0 8px 24px rgba(0, 0, 0, 0.25);
  border-color: rgba(138, 67, 243, 0.25);
}

.product-item:hover .product-overlay,
.product-item.mobile-active .product-overlay {
  opacity: 1;
}

.product-item:hover .product-image img,
.product-item.mobile-active .product-image img {
  transform: scale(1.05);
}

.product-title {
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 1.5rem;
}

.product-category {
  color: var(--accent-blue);
  font-weight: 500;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.product-description {
  color: var(--body-text);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 600px;
}

.product-button {
  display: inline-block;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  color: white;
  text-decoration: none;
  border-radius: 100px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  margin-top: 20px;
}

.product-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.5s ease;
}

.product-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(74, 101, 246, 0.3);
}

.product-button:hover::before {
  left: 100%;
}

/* About Section */


.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text .section-title {
  text-align: left;
  margin-bottom: 32px;
}

.about-text p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  line-height: 1.7;
}

.about-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 400px;
}

.crystal-structure {
  position: relative;
  width: 200px;
  height: 200px;
  transform-style: preserve-3d;
  animation: rotate3d 20s infinite linear;
}

.crystal-face {
  position: absolute;
  width: 100px;
  height: 100px;
  background: linear-gradient(45deg, var(--accent-blue), var(--accent-purple));
  opacity: 0.8;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.crystal-face:nth-child(1) {
  transform: rotateY(0deg) translateZ(50px);
}

.crystal-face:nth-child(2) {
  transform: rotateY(60deg) translateZ(50px);
}

.crystal-face:nth-child(3) {
  transform: rotateY(120deg) translateZ(50px);
}

.crystal-face:nth-child(4) {
  transform: rotateY(180deg) translateZ(50px);
}

.crystal-face:nth-child(5) {
  transform: rotateY(240deg) translateZ(50px);
}

.crystal-face:nth-child(6) {
  transform: rotateY(300deg) translateZ(50px);
}

/* Contact Section */


.contact-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  background: rgba(27, 39, 83, 0.2);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 80px 40px 60px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 
    0 12px 40px rgba(74, 101, 246, 0.08),
    0 6px 20px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.contact .section-title {
  margin-bottom: 24px;
}

.contact-subtitle {
  margin-bottom: 60px;
  font-size: 1.2rem;
}

.contact-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}

.email-button {
  display: inline-block;
  background: var(--accent-gradient);
  color: var(--primary-text);
  text-decoration: none;
  padding: 20px 40px;
  border-radius: 16px;
  font-weight: 600;
  font-size: 1.1rem;
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-transform: none;
  cursor: pointer;
  box-shadow: 
    0 8px 24px rgba(74, 101, 246, 0.3),
    0 4px 12px rgba(138, 67, 243, 0.2);
}

/* Email protection styling */
.email-at {
  font-size: 0.9em;
  opacity: 0.8;
}

.email-part {
  display: inline;
}

.email-button:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 12px 32px rgba(74, 101, 246, 0.4),
    0 6px 16px rgba(138, 67, 243, 0.3);
}

.email-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.email-button:hover::before {
  left: 100%;
}

.contact-details {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  text-align: left;
}

.contact-icon {
  width: 24px;
  height: 24px;
  color: var(--accent-blue);
  flex-shrink: 0;
  margin-top: 4px;
}

.contact-icon svg {
  width: 100%;
  height: 100%;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-label {
  font-size: 0.9rem;
  color: var(--accent-blue);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}

.contact-value {
  font-size: 1rem;
  color: var(--primary-text);
  line-height: 1.4;
  margin: 0;
}

.contact-link {
  color: var(--primary-text);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: var(--accent-purple);
}

.contact-note {
  color: var(--body-text);
  font-size: 0.9rem;
  opacity: 0.8;
  text-align: center;
}

/* Footer */
.footer {
  padding: 60px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.footer-icon {
  width: 40px;
  height: 40px;
  opacity: 0.8;
}

.footer-social {
  display: flex;
  gap: 24px;
}

.social-link {
  color: var(--body-text);
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.social-link:hover {
  color: var(--accent-purple);
}

.social-link-faded {
  opacity: 0.25;
}

.social-link svg {
  width: 20px;
  height: 20px;
}

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

.footer-link {
  color: var(--body-text);
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0.8;
  transition: all 0.3s ease;
  cursor: pointer;
}

.footer-link:hover {
  color: var(--accent-purple);
  opacity: 1;
}

.footer-separator {
  color: var(--body-text);
  opacity: 0.5;
  font-size: 0.9rem;
}

.footer-copyright {
  color: var(--body-text);
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(21, 31, 66, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: rgba(27, 39, 83, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.3),
    0 8px 32px rgba(74, 101, 246, 0.08);
  max-width: 800px;
  max-height: 80vh;
  width: 100%;
  transform: scale(0.9) translateY(20px);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.modal-overlay.active .modal-container {
  transform: scale(1) translateY(0);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 40px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-title {
  margin: 0;
  font-size: 1.5rem;
  color: var(--primary-text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.modal-close {
  background: none;
  border: none;
  color: var(--body-text);
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--primary-text);
}

.modal-close svg {
  width: 24px;
  height: 24px;
}

.modal-body {
  padding: 32px 40px;
  overflow-y: auto;
  flex: 1;
}

.modal-content {
  color: var(--body-text);
  line-height: 1.7;
}

.modal-content h3 {
  color: var(--primary-text);
  margin-top: 32px;
  margin-bottom: 16px;
  font-size: 1.2rem;
}

.modal-content h3:first-child {
  margin-top: 0;
}

.modal-content p {
  margin-bottom: 16px;
}

.modal-content ul {
  margin-bottom: 16px;
  padding-left: 24px;
}

.modal-content li {
  margin-bottom: 8px;
}

/* Clients Section */
.clients {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}



.clients .section-title {
  text-align: center;
  margin-bottom: 60px;
  font-size: 1.2rem;
  opacity: 0.8;
}

.clients-rows {
  display: flex;
  flex-direction: column;
  gap: 24px;
  overflow: hidden;
  mask: linear-gradient(90deg, transparent, white 5%, white 95%, transparent);
  -webkit-mask: linear-gradient(90deg, transparent, white 5%, white 95%, transparent);
}

.clients-track {
  display: flex;
  gap: 100px;
  align-items: center;
  white-space: nowrap;
}

.clients-track-top {
  animation: scroll-logos-right 40s linear infinite;
}

.clients-track-middle {
  animation: scroll-logos-left 45s linear infinite;
}

.clients-track-bottom {
  animation: scroll-logos-right 50s linear infinite;
}

.client-name {
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
  padding: 12px 0;
  pointer-events: none;
}

@keyframes scroll-logos-right {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes scroll-logos-left {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}



/* Hide scrollbar */
::-webkit-scrollbar {
  width: 0;
  background: transparent;
}

/* Selection */
::selection {
  background: var(--accent-purple);
  color: var(--primary-text);
}

::-moz-selection {
  background: var(--accent-purple);
  color: var(--primary-text);
}

/* Desktop hero sizing - placed at end for higher specificity */
@media (min-width: 1000px) {
  h1 {
    font-size: 3rem !important; /* 48px - !important to override mobile styles */
  }
}
