/* ========================================
   NEXUS DIGITAL - IT FIRM WEBSITE
   PHP Compatible Version
   ======================================== */

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Roboto+Mono:wght@400;500;700&display=swap');

/* CSS Variables */
:root {
  --color-black: #000000;
  --color-dark: #111111;
  --color-dark-gray: #1A1A1A;
  --color-border: #333333;
  --color-white: #FFFFFF;
  --color-light-gray: #CCCCCC;
  --color-orange: #FF6B35;
  --color-orange-light: #FF8F6B;
  --color-orange-dark: #E55A2B;
  
  --ease-expo-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-dramatic: cubic-bezier(0.87, 0, 0.13, 1);
  --ease-elastic: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--color-black);
  color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: rgba(255, 107, 53, 0.3);
  color: white;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-black);
}

::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #444;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 1024px) {
  .container {
    padding: 0 48px;
  }
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-orange-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* ========================================
   NAVIGATION
   ======================================== */

.navigation {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 24px 0;
  transition: all 0.5s var(--ease-expo-out);
}

.navigation.scrolled {
  padding: 16px 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-white);
  text-decoration: none;
  letter-spacing: -0.02em;
  transition: transform 0.3s ease;
}

.navigation.scrolled .logo {
  transform: scale(0.9);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 32px;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-orange);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--color-white);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background: var(--color-orange);
  color: white;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  box-shadow: 0 0 30px rgba(255, 107, 53, 0.4);
}

/* Mobile Menu Button */
.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  color: white;
}

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }
}

.menu-icon {
  width: 24px;
  height: 24px;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.98);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s var(--ease-expo-out);
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: white;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-nav-link {
  display: block;
  text-decoration: none;
}

.mobile-nav-number {
  font-family: 'Roboto Mono', monospace;
  font-size: 12px;
  color: var(--color-orange);
  margin-bottom: 4px;
  display: block;
}

.mobile-nav-text {
  font-size: 36px;
  font-weight: 700;
  color: white;
  transition: color 0.3s ease;
}

.mobile-nav-link:hover .mobile-nav-text {
  color: var(--color-orange);
}

.mobile-menu-contact {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.mobile-menu-contact p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
}

.mobile-menu-contact a {
  font-size: 18px;
  color: white;
  text-decoration: none;
}

.mobile-menu-contact a:hover {
  color: var(--color-orange);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-black);
}

#particle-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  transition: background 0.3s ease;
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  padding-top: 100px;
}

.hero-title {
  margin-bottom: 32px;
}

.title-line {
  display: block;
  font-size: clamp(48px, 12vw, 160px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  opacity: 0;
  transform: translateY(100px) rotateX(90deg);
  animation: titleReveal 1s var(--ease-expo-out) forwards;
}

.title-line:nth-child(1) { animation-delay: 0.3s; }
.title-line:nth-child(2) { animation-delay: 0.45s; }
.title-line:nth-child(3) { 
  animation-delay: 0.6s;
  background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-orange-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes titleReveal {
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0);
  }
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255, 255, 255, 0.7);
  max-width: 550px;
  margin-bottom: 40px;
  line-height: 1.7;
  opacity: 0;
  filter: blur(10px);
  animation: subtitleReveal 0.8s var(--ease-expo-out) 0.9s forwards;
}

@keyframes subtitleReveal {
  to {
    opacity: 1;
    filter: blur(0);
  }
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  opacity: 0;
  transform: translateY(30px) scale(0.9);
  animation: buttonsReveal 0.6s var(--ease-elastic) 1.2s forwards;
}

@keyframes buttonsReveal {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--color-orange);
  color: white;
}

.btn-primary:hover {
  box-shadow: 0 0 40px rgba(255, 107, 53, 0.5);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 1px solid var(--color-border);
}

.btn-outline:hover {
  border-color: var(--color-orange);
  color: var(--color-orange);
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  z-index: 10;
  opacity: 0;
  animation: fadeIn 0.5s var(--ease-expo-out) 1.8s forwards;
}

.scroll-indicator span {
  font-family: 'Roboto Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.scroll-indicator svg {
  width: 20px;
  height: 20px;
  animation: bounce 1.5s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* Side Decorations */
.side-decoration {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  z-index: 5;
}

@media (min-width: 1024px) {
  .side-decoration {
    display: flex;
  }
}

.side-decoration-left {
  left: 24px;
}

.side-decoration-right {
  right: 24px;
}

.side-line {
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.side-decoration-right .side-line {
  background: linear-gradient(to bottom, transparent, rgba(255, 107, 53, 0.3), transparent);
}

.side-text {
  font-family: 'Roboto Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.side-decoration-left .side-text {
  color: rgba(255, 255, 255, 0.4);
  transform: rotate(180deg);
}

.side-decoration-right .side-text {
  color: rgba(255, 107, 53, 0.6);
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about {
  position: relative;
  padding: 120px 0;
  background: var(--color-black);
  overflow: hidden;
}

.about-grid {
  display: grid;
  gap: 64px;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 96px;
  }
}

.section-label {
  font-family: 'Roboto Mono', monospace;
  font-size: 12px;
  color: var(--color-orange);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 16px;
  display: block;
}

.section-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 48px;
}

.stats {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.stat-item {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.stat-number {
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 700;
  color: white;
  line-height: 1;
  transition: color 0.3s ease;
}

.stat-item:hover .stat-number {
  color: var(--color-orange);
}

.stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.about-right {
  padding-top: 0;
}

@media (min-width: 1024px) {
  .about-right {
    padding-top: 80px;
  }
}

.about-text {
  font-size: clamp(18px, 2vw, 22px);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 24px;
}

.about-text-secondary {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
  margin-bottom: 32px;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-tag {
  padding: 8px 16px;
  background: var(--color-dark-gray);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.tech-tag:hover {
  border-color: var(--color-orange);
  color: var(--color-orange);
}

/* Scroll Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s var(--ease-expo-out);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   SERVICES SECTION
   ======================================== */

.services {
  position: relative;
  padding: 120px 0;
  background: var(--color-black);
  overflow: hidden;
}

.services-header {
  margin-bottom: 64px;
}

.services-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  position: relative;
  padding: 40px;
  background: var(--color-dark-gray);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  transition: all 0.5s ease;
  overflow: hidden;
}

.service-card:hover {
  border-color: rgba(255, 107, 53, 0.5);
  transform: translateY(-8px);
}

.service-number {
  font-family: 'Roboto Mono', monospace;
  font-size: 12px;
  color: var(--color-orange);
  margin-bottom: 24px;
  display: block;
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 107, 53, 0.1);
  border-radius: 12px;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  background: rgba(255, 107, 53, 0.2);
  transform: scale(1.1);
}

.service-icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-orange);
}

.service-title {
  font-size: 24px;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
}

.service-description {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin-bottom: 24px;
}

.service-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-tech span {
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.service-card:hover .service-tech span {
  border-color: rgba(255, 107, 53, 0.3);
  color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   PORTFOLIO SECTION
   ======================================== */

.portfolio {
  position: relative;
  padding: 120px 0;
  background: var(--color-black);
  overflow: hidden;
}

.portfolio-header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 64px;
  gap: 24px;
}

@media (min-width: 768px) {
  .portfolio-header {
    flex-direction: row;
    align-items: flex-end;
  }
}

.portfolio-header p {
  color: rgba(255, 255, 255, 0.6);
  max-width: 400px;
}

.portfolio-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.portfolio-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.5s ease;
}

.portfolio-item:hover {
  transform: scale(1.02);
}

.portfolio-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.portfolio-image img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.portfolio-item:hover .portfolio-image img {
  transform: scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
  opacity: 0.7;
  transition: opacity 0.5s ease;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 0.9;
}

.portfolio-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.portfolio-tag {
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 100px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-title {
  font-size: 22px;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.portfolio-item:hover .portfolio-title {
  color: var(--color-orange);
}

.portfolio-description {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
}

.portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-orange);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-link {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-corner {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-orange);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.5s var(--ease-elastic);
}

.portfolio-item:hover .portfolio-corner {
  opacity: 1;
  transform: scale(1);
}

.view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
  padding: 16px 32px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.view-all-btn:hover {
  border-color: var(--color-orange);
  color: var(--color-orange);
}

/* ========================================
   PROCESS SECTION
   ======================================== */

.process {
  position: relative;
  padding: 120px 0;
  background: var(--color-black);
  overflow: hidden;
}

.process-header {
  text-align: center;
  margin-bottom: 80px;
}

.process-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
}

@media (min-width: 768px) {
  .process-timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }
}

.process-step {
  position: relative;
  padding-left: 80px;
  padding-bottom: 64px;
}

@media (min-width: 768px) {
  .process-step {
    padding-left: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
  
  .process-step:nth-child(odd) .process-card {
    grid-column: 1;
    text-align: right;
  }
  
  .process-step:nth-child(even) .process-card {
    grid-column: 2;
  }
}

.process-dot {
  position: absolute;
  left: 16px;
  top: 8px;
  width: 16px;
  height: 16px;
  background: var(--color-orange);
  border-radius: 50%;
  border: 3px solid var(--color-black);
  z-index: 2;
}

.process-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--color-orange);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0; }
}

@media (min-width: 768px) {
  .process-dot {
    left: 50%;
    transform: translateX(-50%);
  }
}

.process-card {
  padding: 32px;
  background: var(--color-dark-gray);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.process-card:hover {
  border-color: rgba(255, 107, 53, 0.3);
}

.process-number {
  font-size: 56px;
  font-weight: 700;
  color: rgba(255, 107, 53, 0.2);
  line-height: 1;
  margin-bottom: 16px;
  transition: color 0.3s ease;
}

.process-card:hover .process-number {
  color: rgba(255, 107, 53, 0.4);
}

.process-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 107, 53, 0.1);
  border-radius: 10px;
  margin-bottom: 16px;
}

.process-icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-orange);
}

.process-title {
  font-size: 24px;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
}

.process-description {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */

.testimonials {
  position: relative;
  padding: 120px 0;
  background: var(--color-black);
  overflow: hidden;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 64px;
}

.testimonial-carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  perspective: 1000px;
}

.testimonial-card {
  position: relative;
  padding: 48px;
  background: var(--color-dark-gray);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  text-align: center;
  transition: all 0.5s ease;
}

.testimonial-quote-icon {
  position: absolute;
  top: -24px;
  left: 48px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-orange);
  border-radius: 50%;
}

.testimonial-quote-icon svg {
  width: 24px;
  height: 24px;
  color: white;
}

.testimonial-rating {
  display: flex;
  gap: 4px;
  justify-content: center;
  margin-bottom: 24px;
}

.testimonial-rating svg {
  width: 20px;
  height: 20px;
  color: var(--color-orange);
  fill: var(--color-orange);
}

.testimonial-quote {
  font-size: clamp(18px, 2.5vw, 24px);
  color: white;
  line-height: 1.7;
  margin-bottom: 32px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 107, 53, 0.2);
  border-radius: 50%;
  font-weight: 700;
  color: var(--color-orange);
}

.testimonial-name {
  font-size: 16px;
  font-weight: 600;
  color: white;
}

.testimonial-role {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

.testimonial-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.testimonial-btn {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-dark-gray);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-btn:hover {
  border-color: var(--color-orange);
  color: var(--color-orange);
}

.testimonial-btn svg {
  width: 20px;
  height: 20px;
}

.testimonial-dots {
  display: flex;
  gap: 8px;
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-dot.active {
  width: 32px;
  background: var(--color-orange);
  border-radius: 4px;
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-black);
  overflow: hidden;
}

#cta-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-gradient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: background 0.3s ease;
}

.cta-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 120px 24px;
}

.cta-title {
  font-size: clamp(40px, 8vw, 80px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
}

.cta-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255, 255, 255, 0.6);
  max-width: 500px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 64px;
}

.cta-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
}

.cta-contact a,
.cta-contact span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.3s ease;
}

.cta-contact a:hover {
  color: var(--color-orange);
}

.cta-contact svg {
  width: 16px;
  height: 16px;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
  position: relative;
  padding: 80px 0 40px;
  background: var(--color-black);
  border-top: 1px solid var(--color-border);
  overflow: hidden;
}

.footer-watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.footer-watermark span {
  font-size: 20vw;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.02);
  user-select: none;
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 48px;
  margin-bottom: 64px;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr repeat(3, 1fr) 2fr;
  }
}

.footer-brand .logo {
  display: inline-block;
  font-size: 28px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-social {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-dark-gray);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-social:hover {
  background: var(--color-orange);
  border-color: var(--color-orange);
  color: white;
  transform: translateY(-4px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

.footer-column h4 {
  font-size: 14px;
  font-weight: 600;
  color: white;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
  width: fit-content;
}

.footer-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-orange);
  transition: width 0.3s ease;
}

.footer-link:hover {
  color: var(--color-orange);
}

.footer-link:hover::after {
  width: 100%;
}

.footer-newsletter p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
}

.footer-form {
  display: flex;
  gap: 8px;
}

.footer-form input {
  flex: 1;
  padding: 12px 16px;
  background: var(--color-dark-gray);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  color: white;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s ease;
}

.footer-form input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.footer-form input:focus {
  border-color: var(--color-orange);
}

.footer-form button {
  padding: 12px 20px;
  background: var(--color-orange);
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.footer-form button:hover {
  box-shadow: 0 0 20px rgba(255, 107, 53, 0.4);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--color-orange);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 767px) {
  .section-title {
    font-size: 32px;
  }
  
  .about,
  .services,
  .portfolio,
  .process,
  .testimonials {
    padding: 80px 0;
  }
  
  .service-card,
  .process-card,
  .testimonial-card {
    padding: 24px;
  }
  
  .testimonial-quote {
    font-size: 16px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}
