/* ========== RESET & BASE ========== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Colors */
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: rgba(20, 20, 35, 0.7);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --border-glass: rgba(255, 255, 255, 0.06);
  --text-primary: #f0f0f5;
  --text-secondary: #8a8a9a;
  --text-muted: #55556a;
  --accent-purple: #6c63ff;
  --accent-cyan: #00d2ff;
  --accent-gradient: linear-gradient(135deg, #6c63ff, #00d2ff);
  --accent-glow: rgba(108, 99, 255, 0.15);

  /* Spacing */
  --section-padding: 120px 0;
  --container-width: 1200px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

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

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

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

.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========== LOADING SCREEN ========== */
.loader-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.loader-screen.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.loader-logo {
  position: relative;
  width: 90px;
  height: 90px;
  margin-bottom: 28px;
}

.loader-hex {
  width: 100%;
  height: 100%;
  animation: loaderPulse 2s ease-in-out infinite;
}

.loader-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: loaderPulse 2s ease-in-out infinite;
}

.loader-hex-outer {
  stroke-dasharray: 280;
  stroke-dashoffset: 280;
  animation: loaderDraw 1.4s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.loader-hex-mid {
  opacity: 0;
  animation: loaderFadeScale 0.6s ease 0.5s forwards;
}

.loader-hex-inner {
  opacity: 0;
  animation: loaderFadeScale 0.6s ease 0.7s forwards;
}

.loader-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  background: radial-gradient(
    circle,
    rgba(108, 99, 255, 0.25) 0%,
    transparent 70%
  );
  border-radius: 50%;
  animation: loaderGlow 2s ease-in-out infinite;
  pointer-events: none;
}

.loader-brand {
  font-family: "Outfit", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  animation: loaderTextIn 0.7s ease 0.6s forwards;
}

.loader-tagline {
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 8px;
  opacity: 0;
  animation: loaderTextIn 0.7s ease 0.9s forwards;
}

.loader-progress {
  width: 180px;
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 100px;
  margin-top: 32px;
  overflow: hidden;
  opacity: 0;
  animation: loaderTextIn 0.5s ease 1s forwards;
}

.loader-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--accent-gradient);
  border-radius: 100px;
  transition: width 0.3s ease;
}

@keyframes loaderDraw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes loaderFadeScale {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes loaderPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}

@keyframes loaderGlow {
  0%,
  100% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.2);
  }
}

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

/* ========== SECTION COMMON ========== */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-purple);
  background: var(--accent-glow);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  min-height: 44px; /* iOS tap target minimum */
  font-family: "Outfit", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 4px 24px rgba(108, 99, 255, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 8px 40px rgba(108, 99, 255, 0.45);
  transform: translateY(-2px);
}

.btn-ghost {
  background: var(--bg-glass);
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--accent-purple);
  border: 1.5px solid var(--accent-purple);
  width: 100%;
  justify-content: center;
}

.btn-outline:hover {
  background: var(--accent-glow);
  transform: translateY(-2px);
}

.btn-premium {
  background: linear-gradient(135deg, #00d2ff, #6c63ff);
  color: #fff;
  width: 100%;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(0, 210, 255, 0.25);
}

.btn-premium:hover {
  box-shadow: 0 8px 40px rgba(0, 210, 255, 0.4);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ========== NAVBAR ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition-base);
}

.navbar.scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  padding: 10px 0;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Outfit", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
}

.logo-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  position: relative;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a.active::after {
  width: 100%;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  transition: var(--transition-base);
}

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

.nav-cta {
  background: var(--accent-gradient);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  box-shadow: 0 4px 20px rgba(108, 99, 255, 0.4);
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px;
  border-radius: 100px;
  border: 1px solid var(--border-glass);
  margin-left: 8px;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 100px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.lang-btn:hover {
  color: var(--text-primary);
}

.lang-btn.active {
  background: var(--accent-gradient);
  color: #fff;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-base);
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 15, 0.6) 0%,
    rgba(10, 10, 15, 0.4) 40%,
    rgba(10, 10, 15, 0.7) 70%,
    rgba(10, 10, 15, 1) 100%
  );
  z-index: 1;
}

/* Animated particles background */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--accent-purple);
  opacity: 0;
  animation: floatParticle 8s infinite ease-in-out;
}

@keyframes floatParticle {
  0% {
    opacity: 0;
    transform: translateY(100vh) scale(0);
  }
  20% {
    opacity: 0.6;
  }
  80% {
    opacity: 0.3;
  }
  100% {
    opacity: 0;
    transform: translateY(-20vh) scale(1);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: "Outfit", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-glass);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  animation: bounce-scroll 2s infinite;
}

.mouse {
  width: 24px;
  height: 36px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.wheel {
  width: 3px;
  height: 8px;
  background: var(--accent-purple);
  border-radius: 2px;
  animation: scroll-wheel 2s infinite;
}

@keyframes scroll-wheel {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(8px);
  }
}

@keyframes bounce-scroll {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* ========== ANIMATE IN ========== */
.animate-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.animate-in:nth-child(1) {
  animation-delay: 0.2s;
}
.animate-in:nth-child(2) {
  animation-delay: 0.4s;
}
.animate-in:nth-child(3) {
  animation-delay: 0.6s;
}
.animate-in:nth-child(4) {
  animation-delay: 0.8s;
}
.animate-in:nth-child(5) {
  animation-delay: 1s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

[data-animate] {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== SERVICES ========== */
.services {
  padding: var(--section-padding);
  background: var(--bg-primary);
  position: relative;
}

.services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(108, 99, 255, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: var(--transition-base);
  overflow: hidden;
}

.service-card:hover {
  border-color: rgba(108, 99, 255, 0.2);
  transform: translateY(-6px);
}

.service-card:hover .service-glow {
  opacity: 1;
}

.service-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at center,
    rgba(108, 99, 255, 0.04) 0%,
    transparent 50%
  );
  opacity: 0;
  transition: var(--transition-slow);
  pointer-events: none;
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  color: var(--accent-purple);
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-title {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.service-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 20px;
  line-height: 1.65;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-features li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
}

.service-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-gradient);
}

/* ========== PACKAGES ========== */
.packages {
  padding: var(--section-padding);
  background: var(--bg-secondary);
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.package-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-base);
  display: flex;
  flex-direction: column;
}

.package-card:hover {
  transform: translateY(-6px);
  border-color: rgba(108, 99, 255, 0.15);
}

.package-popular {
  border-color: rgba(108, 99, 255, 0.3);
  box-shadow: 0 8px 60px rgba(108, 99, 255, 0.12);
}

.package-popular:hover {
  transform: translateY(-6px);
}

.popular-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--accent-gradient);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 100px;
  letter-spacing: 0.5px;
  z-index: 2;
}

.package-header {
  padding: 36px 32px 24px;
  border-bottom: 1px solid var(--border-glass);
}

.package-tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-purple);
}

.package-name {
  font-size: 1.4rem;
  margin-top: 8px;
}

.package-price {
  margin-top: 16px;
}

.price-from {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.price-amount {
  font-family: "Outfit", sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.package-premium .price-amount {
  background: linear-gradient(135deg, #00d2ff, #6c63ff);
  -webkit-background-clip: text;
  background-clip: text;
}

.package-body {
  padding: 28px 32px 36px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.package-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}

.package-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
  flex: 1;
}

.package-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* ========== PORTFOLIO ========== */
.portfolio {
  padding: var(--section-padding);
  background: var(--bg-primary);
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  padding: 8px 22px;
  min-height: 44px; /* iOS tap target */
  border-radius: 100px;
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-base);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent-glow);
  border-color: rgba(108, 99, 255, 0.3);
  color: var(--accent-purple);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition-base);
}

.portfolio-item:hover {
  transform: scale(1.02);
}

.portfolio-item:hover .portfolio-info {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-wide {
  grid-column: span 2;
}

.portfolio-img {
  aspect-ratio: 16/10;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-wide .portfolio-img {
  aspect-ratio: 2/1;
}

.portfolio-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.portfolio-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 20px;
  background: linear-gradient(
    to top,
    rgba(10, 10, 15, 0.95) 0%,
    transparent 100%
  );
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition-base);
}

.portfolio-info h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.portfolio-info span {
  font-size: 0.78rem;
  color: var(--accent-purple);
}

/* ========== WORKFLOW ========== */
.workflow {
  padding: var(--section-padding);
  background: var(--bg-secondary);
}

.workflow-timeline {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
}

.workflow-timeline::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    to bottom,
    var(--accent-purple),
    var(--accent-cyan),
    transparent
  );
}

.workflow-step {
  display: flex;
  gap: 32px;
  margin-bottom: 48px;
  position: relative;
}

.workflow-step:last-child {
  margin-bottom: 0;
}

.step-number {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Outfit", sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent-purple);
  background: var(--bg-secondary);
  border: 2px solid var(--accent-purple);
  border-radius: 50%;
  position: relative;
  z-index: 1;
}

.step-content h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  margin-top: 4px;
}

.step-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ========== ABOUT ========== */
.about {
  padding: var(--section-padding);
  background: var(--bg-primary);
}

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

.about-image-wrapper {
  position: relative;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--bg-secondary), #1a1a2e);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.about-image-placeholder {
  opacity: 0.5;
}

.about-float-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  animation: float-gentle 4s ease-in-out infinite;
}

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

.float-icon {
  font-size: 1.6rem;
}

.about-float-card strong {
  display: block;
  font-size: 0.9rem;
}

.about-float-card span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.about-content p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 0.95rem;
  line-height: 1.75;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  transition: var(--transition-base);
}

.highlight-item:hover {
  border-color: rgba(108, 99, 255, 0.15);
  background: rgba(108, 99, 255, 0.04);
}

.highlight-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow);
  border-radius: var(--radius-sm);
  color: var(--accent-purple);
  flex-shrink: 0;
}

.highlight-item strong {
  display: block;
  font-size: 0.92rem;
}

.highlight-item span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ========== CONTACT ========== */
.contact {
  padding: var(--section-padding);
  background: var(--bg-secondary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.contact-info p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow);
  border-radius: var(--radius-sm);
  color: var(--accent-purple);
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-size: 0.9rem;
}

/* Contact clickable info links */
.contact-item a {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: color var(--transition-fast);
  word-break: break-all;
}

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

/* Form */
.contact-form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  color: var(--text-primary);
  transition: var(--transition-base);
  outline: none;
  width: 100%;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%238a8a9a' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-purple);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

/* ========== FOOTER ========== */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-glass);
  padding: 64px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 16px;
  line-height: 1.6;
  max-width: 280px;
}

.footer-links h4,
.footer-social h4 {
  font-size: 0.9rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.footer-links a {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 5px 0;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-purple);
  transform: translateX(4px);
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: var(--transition-base);
}

.social-btn:hover {
  color: var(--accent-purple);
  border-color: rgba(108, 99, 255, 0.3);
  background: var(--accent-glow);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid var(--border-glass);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-note {
  font-size: 0.75rem !important;
  color: var(--text-muted);
  opacity: 0.6;
}

/* ========== RESPONSIVE ========== */

/* Large Tablets / Small Desktops */
@media (max-width: 1280px) {
  .container {
    max-width: 960px;
  }
  .footer-top {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
  .footer-social {
    grid-column: span 3;
  }
}

/* Tablets */
@media (max-width: 1024px) {
  .services-grid,
  .packages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .portfolio-wide {
    grid-column: span 1;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about-image-wrapper {
    max-width: 360px;
    margin: 0 auto;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .footer-social {
    grid-column: span 1;
  }
  .hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
  }
}

/* Mobile Landscape & Small Tablets */
@media (max-width: 768px) {
  :root {
    --section-padding: 80px 0;
  }

  .container {
    padding: 0 20px;
  }

  /* Fix 10: section header spacing */
  .section-header {
    margin-bottom: 48px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    height: 100dvh;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    gap: 24px;
    transition: var(--transition-base);
    border-left: 1px solid var(--border-glass);
    z-index: 1000;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1.1rem;
  }

  .mobile-toggle {
    display: flex;
    z-index: 1001;
  }

  .mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .services-grid,
  .packages-grid {
    grid-template-columns: 1fr;
  }

  .package-popular {
    transform: none;
  }
  .package-popular:hover {
    transform: translateY(-6px);
  }

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

  .hero-stats {
    gap: 24px;
  }

  .stat-number {
    font-size: 1.6rem;
  }

  .hero-buttons {
    margin-bottom: 40px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* Fix 1: iOS auto-zoom prevention — inputs must be ≥16px */
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px;
  }

  /* Fix 4: iOS custom select arrow */
  .form-group select {
    -webkit-appearance: none;
  }

  /* Fix 5: textarea resize disabled on mobile */
  .form-group textarea {
    resize: none;
  }

  .contact-form-wrapper {
    padding: 28px 20px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  /* Fix 8: KVKK footer link tappable */
  .footer-note {
    font-size: 0.82rem !important;
    opacity: 1;
    line-height: 1.8;
  }

  .workflow-timeline::before {
    left: 29px;
  }

  .workflow-step {
    gap: 20px;
  }

  .step-number {
    width: 50px;
    height: 50px;
    font-size: 0.95rem;
  }

  .section-title {
    font-size: clamp(1.6rem, 5vw, 2.4rem);
  }

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

  .service-card {
    padding: 28px 24px;
  }

  .package-header {
    padding: 28px 24px 20px;
  }

  .package-body {
    padding: 24px 24px 28px;
  }

  /* Portfolio info always visible on mobile (no hover) */
  .portfolio-info {
    opacity: 1;
    transform: translateY(0);
  }

  /* Fix 9: portfolio image overflow */
  .portfolio-img {
    overflow: hidden;
  }
}

/* Mobile Portrait */
@media (max-width: 480px) {
  :root {
    --section-padding: 64px 0;
  }

  .container {
    padding: 0 16px;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-content {
    padding: 0 20px;
    width: 100%;
    max-width: 100%;
  }

  .hero-title {
    font-size: 2rem;
    letter-spacing: -0.5px;
  }

  .hero-subtitle {
    font-size: 0.92rem;
  }

  .hero-badge {
    font-size: 0.72rem;
    padding: 6px 14px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .stat-divider {
    height: 28px;
  }

  .stat-number {
    font-size: 1.4rem;
  }

  .hero-buttons {
    margin-bottom: 32px;
  }

  .scroll-indicator {
    display: none;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-tag {
    font-size: 0.7rem;
    letter-spacing: 2px;
  }

  .about-float-card {
    bottom: -12px;
    right: -8px;
    padding: 12px 16px;
  }

  .about-float-card strong {
    font-size: 0.82rem;
  }

  .workflow-step {
    gap: 16px;
  }

  .step-number {
    width: 44px;
    height: 44px;
    font-size: 0.85rem;
  }

  .step-content h3 {
    font-size: 1.05rem;
  }

  .step-content p {
    font-size: 0.85rem;
  }

  .workflow-timeline::before {
    left: 21px;
  }

  .highlight-item {
    padding: 14px 16px;
    gap: 12px;
  }

  .highlight-icon {
    width: 38px;
    height: 38px;
  }

  .nav-logo span {
    font-size: 1.2rem;
  }

  .logo-icon {
    width: 30px;
    height: 30px;
  }

  .contact-icon {
    width: 40px;
    height: 40px;
  }

  .social-btn {
    width: 38px;
    height: 38px;
  }
}

/* Very Small Phones (iPhone SE, Galaxy Fold) */
@media (max-width: 360px) {
  .hero-title {
    font-size: 1.7rem;
  }

  .hero-subtitle {
    font-size: 0.85rem;
  }

  /* Fix 2: hero badge wrapping on tiny screens */
  .hero-badge {
    font-size: 0.65rem;
    padding: 6px 12px;
    white-space: normal;
    text-align: center;
    max-width: 280px;
    line-height: 1.4;
  }

  .btn {
    padding: 12px 20px;
    font-size: 0.88rem;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .service-card {
    padding: 24px 18px;
  }

  .package-header {
    padding: 24px 18px 16px;
  }

  .package-body {
    padding: 20px 18px 24px;
  }

  .contact-form-wrapper {
    padding: 20px 16px;
  }

  /* Fix 3: about float card contained on tiny screens */
  .about-float-card {
    bottom: -10px;
    right: 0;
    padding: 10px 14px;
    max-width: calc(100% - 16px);
  }
}

/* Landscape Phone */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 100px 0 60px;
  }

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

  .hero-subtitle {
    margin-bottom: 24px;
  }

  .hero-buttons {
    margin-bottom: 24px;
  }

  .scroll-indicator {
    display: none;
  }

  :root {
    --section-padding: 60px 0;
  }
}

/* Safe Area Insets (iPhone Notch / Island) */
@supports (padding: env(safe-area-inset-top)) {
  .navbar {
    padding-top: max(16px, env(safe-area-inset-top));
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }

  .hero {
    padding-top: env(safe-area-inset-top);
  }

  .footer {
    padding-bottom: max(32px, env(safe-area-inset-bottom));
  }

  .nav-links {
    padding-top: env(safe-area-inset-top);
  }

  .container {
    padding-left: max(24px, env(safe-area-inset-left));
    padding-right: max(24px, env(safe-area-inset-right));
  }

  @media (max-width: 480px) {
    .container {
      padding-left: max(16px, env(safe-area-inset-left));
      padding-right: max(16px, env(safe-area-inset-right));
    }
  }
}

/* Touch Devices — disable hover effects that feel wrong on touch */
@media (hover: none) and (pointer: coarse) {
  .service-card:hover,
  .package-card:hover {
    transform: none;
  }

  .package-popular:hover {
    transform: none;
  }

  .portfolio-item:hover {
    transform: none;
  }

  .portfolio-info {
    opacity: 1;
    transform: translateY(0);
  }

  .btn-primary:hover,
  .btn-ghost:hover,
  .btn-outline:hover,
  .btn-premium:hover {
    transform: none;
  }

  .social-btn:hover {
    transform: none;
  }

  .footer-links a:hover {
    transform: none;
  }

  /* Fix 6: float buttons scale disabled on touch */
  .whatsapp-float:hover,
  .instagram-float:hover {
    transform: none;
  }
}

/* Accessibility: Reduce Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .particle {
    display: none;
  }

  .animate-in {
    opacity: 1;
    transform: none;
  }

  [data-animate] {
    opacity: 1;
    transform: none;
  }

  .about-float-card {
    animation: none;
  }

  .badge-dot {
    animation: none;
    opacity: 1;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --border-glass: rgba(255, 255, 255, 0.2);
    --text-secondary: #b0b0c0;
    --text-muted: #8080a0;
  }

  .service-card,
  .package-card,
  .contact-form-wrapper,
  .highlight-item {
    border-width: 2px;
  }
}

/* Print Styles */
/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.55);
}

.whatsapp-float svg {
  width: 34px;
  height: 34px;
}

.whatsapp-tooltip {
  position: absolute;
  right: 72px;
  background: #1a1a2e;
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.3s ease;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.whatsapp-tooltip::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent transparent #1a1a2e;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

@keyframes whatsapp-pulse {
  0% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 12px rgba(37, 211, 102, 0.1);
  }
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 24px rgba(37, 211, 102, 0);
  }
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
  }

  .whatsapp-float svg {
    width: 30px;
    height: 30px;
  }

  .whatsapp-tooltip {
    display: none;
  }
}

/* ========== INSTAGRAM FLOAT ========== */
.instagram-float {
  position: fixed;
  bottom: 100px;
  right: 30px;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle at 30% 107%,#fdf497 0%,#fdf497 5%,#fd5949 45%,#d6249f 60%,#285AEB 90%);
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(214, 36, 159, 0.4);
  transition: all 0.3s ease;
  animation: instagram-pulse 2s infinite;
}

.instagram-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(214, 36, 159, 0.55);
}

.instagram-float svg {
  width: 30px;
  height: 30px;
}

.instagram-tooltip {
  position: absolute;
  right: 72px;
  background: #1a1a2e;
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.3s ease;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.instagram-tooltip::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent transparent #1a1a2e;
}

.instagram-float:hover .instagram-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

@keyframes instagram-pulse {
  0% {
    box-shadow: 0 4px 20px rgba(214, 36, 159, 0.4);
  }
  50% {
    box-shadow: 0 4px 20px rgba(214, 36, 159, 0.4), 0 0 0 12px rgba(214, 36, 159, 0.1);
  }
  100% {
    box-shadow: 0 4px 20px rgba(214, 36, 159, 0.4), 0 0 0 24px rgba(214, 36, 159, 0);
  }
}

@media (max-width: 768px) {
  .instagram-float {
    bottom: 84px;
    right: 20px;
    width: 54px;
    height: 54px;
  }

  .instagram-float svg {
    width: 26px;
    height: 26px;
  }

  .instagram-tooltip {
    display: none;
  }
}

/* ========== YOUTUBE FLOAT ========== */
.youtube-float {
  position: fixed;
  bottom: 170px;
  right: 30px;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #FF0000;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(255, 0, 0, 0.4);
  transition: all 0.3s ease;
  animation: youtube-pulse 2s infinite;
}

.youtube-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(255, 0, 0, 0.55);
}

.youtube-float svg {
  width: 32px;
  height: 32px;
}

.youtube-tooltip {
  position: absolute;
  right: 72px;
  background: #1a1a2e;
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.3s ease;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.youtube-tooltip::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent transparent #1a1a2e;
}

.youtube-float:hover .youtube-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

@keyframes youtube-pulse {
  0% {
    box-shadow: 0 4px 20px rgba(255, 0, 0, 0.4);
  }
  50% {
    box-shadow: 0 4px 20px rgba(255, 0, 0, 0.4), 0 0 0 12px rgba(255, 0, 0, 0.1);
  }
  100% {
    box-shadow: 0 4px 20px rgba(255, 0, 0, 0.4), 0 0 0 24px rgba(255, 0, 0, 0);
  }
}

@media (max-width: 768px) {
  .youtube-float {
    bottom: 148px;
    right: 20px;
    width: 54px;
    height: 54px;
  }

  .youtube-float svg {
    width: 28px;
    height: 28px;
  }

  .youtube-tooltip {
    display: none;
  }
}

/* ========== LIGHTBOX ========== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lb-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.lightbox.active .lb-content {
  transform: scale(1);
}

.lb-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lb-caption {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-primary);
  text-align: center;
}

.lb-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 2rem;
  cursor: pointer;
  z-index: 2;
  transition: var(--transition-fast);
}

.lb-close:hover {
  color: var(--text-primary);
  transform: scale(1.1);
}

.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: var(--transition-fast);
}

.lb-nav:hover {
  background: var(--accent-gradient);
  border-color: transparent;
}

.lb-prev { left: 24px; }
.lb-next { right: 24px; }

@media (max-width: 768px) {
  .lb-prev, .lb-next { display: none; }
  .lb-close { top: 16px; right: 16px; }
}

/* ── BLOG GRID ────────────────────────────── */
.blog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  gap: 24px;
}

.blog-header-title {
  text-align: left;
}

.blog-header-title .section-title {
  margin-bottom: 0;
}

.blog-header-btn {
  width: auto;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .blog-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.blog-card {
  background: var(--card-bg);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition-base);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-purple);
  box-shadow: 0 10px 30px rgba(108, 99, 255, 0.15);
}

.blog-thumb {
  width: 100%;
  height: 240px;
  overflow: hidden;
  position: relative;
}

.blog-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-card:hover .blog-thumb-img {
  transform: scale(1.05);
}

.blog-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
  line-height: 1.4;
}

.blog-excerpt {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--border-glass);
}

.blog-date {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.blog-read {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-purple);
  text-decoration: none;
  transition: var(--transition-fast);
}

.blog-read:hover {
  color: var(--accent-blue);
}

/* ── BLOG DETAIL PAGE ────────────────────────────── */
.blog-detail-page {
  padding-top: 140px;
  padding-bottom: 80px;
  min-height: 100vh;
}

.back-link {
  display: inline-flex;
  align-items: center;
  color: var(--accent-purple);
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 40px;
  transition: var(--transition-base);
  gap: 8px;
}

.back-link:hover {
  color: var(--accent-cyan);
  transform: translateX(-5px);
}

.post-article {
  max-width: 900px;
  margin: 0 auto;
}

.post-header {
  text-align: center;
  margin-bottom: 50px;
}

.post-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.post-category {
  background: rgba(108, 99, 255, 0.1);
  color: var(--accent-purple);
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.post-date {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.post-title {
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 30px;
}

.post-hero-image {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 60px;
  border: 1px solid var(--border-glass);
  background: var(--bg-secondary);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.phi-inner {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 1s ease;
}

.post-article:hover .phi-img {
  transform: scale(1.02);
}

.post-content {
  font-size: 1.2rem;
  line-height: 1.9;
  color: var(--text-secondary);
}

.post-content p {
  margin-bottom: 30px;
}

.post-content h2, .post-content h3 {
  color: var(--text-primary);
  margin: 50px 0 25px 0;
  font-weight: 700;
}

.post-content strong {
  color: var(--text-primary);
  font-weight: 600;
}

.post-content blockquote {
  border-left: 4px solid var(--accent-purple);
  padding-left: 24px;
  margin: 40px 0;
  font-style: italic;
  font-size: 1.3rem;
  color: var(--text-primary);
}

/* ── FLOATING BUTTONS ────────────────────────────── */
.whatsapp-float, .instagram-float, .youtube-float {
  position: fixed;
  right: 25px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  z-index: 999;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float { bottom: 25px; background: #25d366; transform: none !important; }
.instagram-float { bottom: 95px; background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); transform: none !important; }
.youtube-float { bottom: 165px; background: #ff0000; transform: none !important; }

.whatsapp-float:hover, .instagram-float:hover, .youtube-float:hover {
  transform: scale(1.1) !important;
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.whatsapp-tooltip, .instagram-tooltip, .youtube-tooltip {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%) !important;
  background: var(--bg-secondary);
  color: var(--text-primary);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  border: 1px solid var(--border-glass);
  pointer-events: none;
}

.whatsapp-float:hover .whatsapp-tooltip,
.instagram-float:hover .instagram-tooltip,
.youtube-float:hover .youtube-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(-10px) !important;
}

@media (max-width: 768px) {
  .whatsapp-float, .instagram-float, .youtube-float {
    width: 48px;
    height: 48px;
    right: 15px;
  }
  .whatsapp-float { bottom: 15px; }
  .instagram-float { bottom: 75px; }
  .youtube-float { bottom: 135px; }
  .whatsapp-tooltip, .instagram-tooltip, .youtube-tooltip { display: none; }
}

@media print {
  .navbar, .footer, .whatsapp-float, .instagram-float, .youtube-float, .back-link, .loader-screen {
    display: none !important;
  }
}

/* ========== PROJECT KICKOFF FORM (onhazirlik.html) ========== */
.brief-form-body {
  padding: 40px 20px;
}

.brief-header {
  text-align: center;
  margin-bottom: 40px;
}

.brief-container {
  max-width: 800px;
  margin: 0 auto;
}

.brief-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.brief-section-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  gap: 10px;
}

.brief-section-title .brief-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(108, 99, 255, 0.1);
  color: var(--accent-cyan);
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 700;
}

.brief-form-group {
  margin-bottom: 24px;
}

.brief-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.brief-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.brief-input,
.brief-select,
.brief-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  padding: 14px 16px;
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  color-scheme: dark;
}

.brief-select option {
  background-color: #1a1a2e;
  color: #fff;
}

.brief-input:focus,
.brief-select:focus,
.brief-textarea:focus {
  outline: none;
  border-color: var(--accent-purple);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.1);
}

.brief-textarea {
  resize: vertical;
  min-height: 100px;
}

.brief-radio-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 10px;
}

.brief-radio-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.brief-radio-card:hover {
  border-color: rgba(108, 99, 255, 0.5);
}

.brief-radio-card input[type="radio"] {
  position: absolute;
  opacity: 0;
}

.brief-radio-card span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
}

.brief-radio-card input[type="radio"]:checked + span {
  color: var(--accent-cyan);
  font-weight: 600;
}

.brief-radio-card:has(input[type="radio"]:checked) {
  border-color: var(--accent-cyan);
  background: rgba(0, 210, 255, 0.05);
}

.brief-info-box {
  background: rgba(0, 210, 255, 0.05);
  border: 1px solid rgba(0, 210, 255, 0.2);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 30px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  text-align: center;
}

.lang-toggle-overlay {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 100;
}

@media (max-width: 600px) {
  .brief-form-row { grid-template-columns: 1fr; gap: 0; }
  .brief-radio-group { grid-template-columns: 1fr; }
  .brief-form-card { padding: 25px 15px; border-radius: 15px; }
  .lang-toggle-overlay { top: 10px; right: 10px; }
}

