/* ==========================================
   QUANTIC TEKNOLOJİ - CORPORATE WEBSITE
   Modern Corporate Design System
   ========================================== */

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

:root {
  /* Primary Colors */
  --color-primary: #0A1128;
  --color-primary-light: #1B2A4E;
  --color-primary-dark: #050B1C;

  /* Accent Colors */
  --color-accent: #00B4D8;
  --color-accent-light: #48CAE4;
  --color-accent-dark: #0077B6;

  /* Secondary */
  --color-secondary: #6366F1;
  --color-secondary-light: #818CF8;

  /* Neutrals */
  --color-white: #FFFFFF;
  --color-bg: #F8FAFC;
  --color-bg-alt: #F1F5F9;
  --color-border: #E2E8F0;
  --color-text: #1E293B;
  --color-text-light: #64748B;
  --color-text-muted: #94A3B8;

  /* Status */
  --color-success: #10B981;
  --color-warning: #F59E0B;
  --color-error: #EF4444;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #0A1128 0%, #1B2A4E 50%, #0077B6 100%);
  --gradient-accent: linear-gradient(135deg, #00B4D8 0%, #6366F1 100%);
  --gradient-hero: linear-gradient(135deg, #0A1128 0%, #1E1B4B 50%, #0077B6 100%);
  --gradient-card: linear-gradient(135deg, rgba(0, 180, 216, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(10, 17, 40, 0.05);
  --shadow-md: 0 4px 12px rgba(10, 17, 40, 0.08);
  --shadow-lg: 0 10px 40px rgba(10, 17, 40, 0.12);
  --shadow-xl: 0 20px 60px rgba(10, 17, 40, 0.15);
  --shadow-glow: 0 0 40px rgba(0, 180, 216, 0.3);

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;

  /* Spacing & Sizing */
  --container-max: 1280px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

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

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

section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.section-eyebrow {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(0, 180, 216, 0.1);
  color: var(--color-accent-dark);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.section-title {
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  transition: all var(--transition-base);
  white-space: nowrap;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--gradient-accent);
  color: var(--color-white);
  box-shadow: 0 4px 20px rgba(0, 180, 216, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 180, 216, 0.45);
}

.btn-secondary {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-border);
}

.btn-secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.3);
}

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

.btn-arrow {
  transition: transform var(--transition-base);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* ---------- HEADER ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-white);
  border-bottom: 1px solid rgba(226, 232, 240, 0);
  transition: all var(--transition-base);
}

.header.scrolled {
  border-bottom-color: rgba(226, 232, 240, 0.8);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: inline-flex;
  align-items: center;
  transition: all var(--transition-base);
  filter: drop-shadow(0 4px 12px rgba(10, 17, 40, 0.1));
}

.logo:hover {
  opacity: 0.95;
  transform: scale(1.05);
}

.logo-img {
  height: 56px;
  width: auto;
  display: block;
  transition: all var(--transition-base);
}

.footer .logo-img {
  height: 42px;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

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

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

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  transition: width var(--transition-base);
}

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

.nav-link:hover,
.nav-link.active {
  color: var(--color-accent-dark);
}

.nav-cta {
  padding: 10px 20px;
  font-size: 14px;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-primary);
  transition: all var(--transition-base);
  border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- HERO SECTION ---------- */
.hero {
  min-height: 100vh;
  padding: 120px 0 80px;
  position: relative;
  background: var(--gradient-hero);
  color: var(--color-white);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(0, 180, 216, 0.25), transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50%;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.2), transparent 70%);
  pointer-events: none;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(0.9); }
}

.hero-title {
  color: var(--color-white);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.05;
  margin-bottom: 24px;
}

.hero-title .highlight {
  background: linear-gradient(135deg, #00B4D8 0%, #48CAE4 50%, #90E0EF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  background: linear-gradient(135deg, #00B4D8, #90E0EF);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-visual {
  position: relative;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-orb {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(0, 180, 216, 0.6), rgba(99, 102, 241, 0.3) 50%, transparent 80%);
  filter: blur(40px);
  animation: orbFloat 8s ease-in-out infinite;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -20px) scale(1.05); }
}

.hero-ring {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  animation: rotate 30s linear infinite;
}

.hero-ring-1 {
  width: 420px;
  height: 420px;
}

.hero-ring-2 {
  width: 340px;
  height: 340px;
  animation-duration: 20s;
  animation-direction: reverse;
  border-color: rgba(0, 180, 216, 0.3);
}

.hero-ring-3 {
  width: 260px;
  height: 260px;
  animation-duration: 15s;
  border-color: rgba(99, 102, 241, 0.3);
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-core {
  position: relative;
  z-index: 2;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--gradient-accent);
  box-shadow: 0 0 60px rgba(0, 180, 216, 0.6), inset -20px -20px 60px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: coreFloat 6s ease-in-out infinite;
}

.hero-core::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.5), transparent);
  z-index: -1;
  filter: blur(10px);
}

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

.hero-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--color-accent);
}

.hero-dot-1 { top: 20%; left: 15%; animation: dotPulse 3s infinite; }
.hero-dot-2 { top: 30%; right: 10%; animation: dotPulse 3s 1s infinite; }
.hero-dot-3 { bottom: 20%; left: 20%; animation: dotPulse 3s 2s infinite; }
.hero-dot-4 { bottom: 30%; right: 15%; animation: dotPulse 3s 0.5s infinite; }

@keyframes dotPulse {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* ---------- TRUSTED BY / PARTNERS ---------- */
.trusted {
  padding: 60px 0;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.trusted-label {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

.trusted-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 48px;
  align-items: center;
  justify-items: center;
}

.trusted-item {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--color-text-muted);
  opacity: 0.6;
  transition: opacity var(--transition-base);
  letter-spacing: -0.02em;
}

.trusted-item:hover {
  opacity: 1;
}

/* ---------- SERVICES ---------- */
.services {
  background: var(--color-white);
}

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

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

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--gradient-card);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--color-accent-dark);
  transition: all var(--transition-base);
}

.service-card:hover .service-icon {
  background: var(--gradient-accent);
  color: var(--color-white);
  transform: scale(1.05);
}

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

.service-description {
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent-dark);
}

.service-link svg {
  transition: transform var(--transition-base);
}

.service-card:hover .service-link svg {
  transform: translateX(4px);
}

/* ---------- ABOUT SECTION ---------- */
.about {
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
}

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

.about-image {
  position: relative;
}

.about-visual {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-xl);
  background: var(--gradient-primary);
  padding: 60px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 30px 30px;
}

.about-visual-inner {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.about-float-card {
  position: absolute;
  padding: 20px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-float-card.top {
  top: 40px;
  right: -30px;
  animation: floatCard 4s ease-in-out infinite;
}

.about-float-card.bottom {
  bottom: 60px;
  left: -30px;
  animation: floatCard 4s 1s ease-in-out infinite;
}

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

.float-card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--gradient-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-dark);
  flex-shrink: 0;
}

.float-card-label {
  font-size: 11px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2px;
}

.float-card-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--color-primary);
}

.about-big-number {
  font-family: var(--font-display);
  font-size: 120px;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(0, 180, 216, 0.4));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-visual-label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  max-width: 240px;
}

.about-visual-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.about-visual-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

.about-text .section-eyebrow {
  margin-bottom: 16px;
}

.about-title {
  margin-bottom: 20px;
}

.about-description {
  font-size: 17px;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 32px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.about-feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.about-feature-check {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: var(--gradient-accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.about-feature-text {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.5;
}

/* ---------- PRODUCTS SECTION ---------- */
.products {
  background: var(--color-white);
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.product-card {
  background: var(--color-bg);
  border-radius: var(--radius-xl);
  padding: 48px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
  min-height: 480px;
  display: flex;
  flex-direction: column;
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.product-card.flairly {
  background: linear-gradient(135deg, #1E1B4B 0%, #312E81 50%, #6366F1 100%);
  color: white;
}

.product-card.skeyed {
  background: linear-gradient(135deg, #0A1128 0%, #0077B6 50%, #00B4D8 100%);
  color: white;
}

.product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, black 20%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 20%, transparent 100%);
}

.product-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  align-self: flex-start;
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 2;
}

.product-name {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
  position: relative;
  z-index: 2;
}

.product-description {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 32px;
  position: relative;
  z-index: 2;
  max-width: 440px;
}

.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
  position: relative;
  z-index: 2;
}

.product-feature {
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

.product-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: white;
  color: var(--color-primary);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 14px;
  margin-top: auto;
  align-self: flex-start;
  position: relative;
  z-index: 2;
  transition: all var(--transition-base);
}

.product-cta:hover {
  transform: translateX(4px);
}

.product-visual-decor {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  pointer-events: none;
}

.product-card.flairly .product-visual-decor {
  bottom: -150px;
  right: -100px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.6), transparent 70%);
  filter: blur(40px);
}

.product-card.skeyed .product-visual-decor {
  top: -150px;
  right: -100px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.6), transparent 70%);
  filter: blur(40px);
}

/* ---------- PROCESS SECTION ---------- */
.process {
  background: var(--color-bg);
  position: relative;
}

.process-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(to right, var(--color-border), var(--color-accent), var(--color-border));
  z-index: 0;
}

.process-step {
  position: relative;
  text-align: center;
  z-index: 1;
}

.process-number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--color-white);
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary);
  transition: all var(--transition-base);
  position: relative;
}

.process-step:hover .process-number {
  background: var(--gradient-accent);
  color: white;
  border-color: var(--color-accent);
  transform: translateY(-4px) scale(1.05);
  box-shadow: var(--shadow-glow);
}

.process-step-title {
  font-size: 17px;
  margin-bottom: 8px;
}

.process-step-desc {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* ---------- CTA SECTION ---------- */
.cta-section {
  background: var(--gradient-hero);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0, 180, 216, 0.3), transparent 70%);
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.cta-title {
  color: white;
  margin-bottom: 20px;
}

.cta-description {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 32px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(0, 180, 216, 0.5), transparent);
}

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

.footer-brand .logo {
  color: white;
  margin-bottom: 20px;
}

.footer-brand .logo-text span {
  color: rgba(255, 255, 255, 0.5);
}

.footer-description {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 380px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-social {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition-base);
}

.footer-social:hover {
  background: var(--gradient-accent);
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.footer-list li {
  margin-bottom: 12px;
}

.footer-list a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-fast);
}

.footer-list a:hover {
  color: var(--color-accent-light);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact-item svg {
  color: var(--color-accent-light);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

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

.footer-legal a:hover {
  color: var(--color-accent-light);
}

/* ---------- PAGE HERO (inner pages) ---------- */
.page-hero {
  padding: 160px 0 80px;
  background: var(--gradient-hero);
  color: white;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(0, 180, 216, 0.25), transparent 70%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.page-hero-title {
  color: white;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 20px;
}

.page-hero-description {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  max-width: 640px;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 24px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--color-accent-light);
}

.breadcrumb-separator {
  color: rgba(255, 255, 255, 0.3);
}

/* ---------- CONTACT PAGE ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.contact-info {
  padding-right: 24px;
}

.contact-intro {
  font-size: 16px;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.contact-item:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

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

.contact-item-label {
  font-size: 12px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.contact-item-value {
  font-weight: 600;
  color: var(--color-primary);
  font-size: 16px;
}

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

.contact-form {
  background: var(--color-white);
  padding: 48px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

.form-title {
  font-size: 24px;
  margin-bottom: 8px;
}

.form-subtitle {
  font-size: 15px;
  color: var(--color-text-light);
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 20px;
}

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

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 14px 16px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 15px;
  color: var(--color-text);
  transition: all var(--transition-base);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-accent);
  background: var(--color-white);
  box-shadow: 0 0 0 4px rgba(0, 180, 216, 0.1);
}

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

.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--gradient-accent);
  color: white;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: 0 4px 20px rgba(0, 180, 216, 0.3);
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 180, 216, 0.45);
}

.form-message {
  padding: 14px 18px;
  margin-top: 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  display: none;
}

.form-message.show {
  display: block;
}

.form-message.success {
  background: rgba(16, 185, 129, 0.1);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

/* ---------- SERVICES PAGE DETAILED ---------- */
.services-detailed {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

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

.service-block.reverse {
  direction: rtl;
}

.service-block.reverse > * {
  direction: ltr;
}

.service-block-visual {
  aspect-ratio: 4/3;
  border-radius: var(--radius-xl);
  background: var(--gradient-primary);
  padding: 48px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-block-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

.service-block-icon-large {
  width: 140px;
  height: 140px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  position: relative;
  z-index: 2;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.service-block-title {
  margin-bottom: 20px;
}

.service-block-desc {
  font-size: 17px;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 24px;
}

.service-block-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-block-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--color-text);
}

.service-block-list li::before {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gradient-accent);
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ---------- VALUES SECTION ---------- */
.values {
  background: var(--color-bg);
}

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

.value-card {
  padding: 40px 32px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--transition-base);
  border: 1px solid var(--color-border);
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.value-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-lg);
  background: var(--gradient-accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 10px 30px rgba(0, 180, 216, 0.3);
}

/* ---------- LEGAL / CONTENT PAGES ---------- */
.legal-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 64px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 100px;
  padding: 28px 24px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.legal-toc-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.legal-toc ol {
  list-style: none;
  counter-reset: toc;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-toc li {
  counter-increment: toc;
  display: flex;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
}

.legal-toc li::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-accent-dark);
  font-size: 12px;
  padding-top: 2px;
  flex-shrink: 0;
}

.legal-toc a {
  color: var(--color-text);
  transition: color var(--transition-fast);
}

.legal-toc a:hover {
  color: var(--color-accent-dark);
}

.legal-content {
  max-width: 760px;
}

.legal-updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(16, 185, 129, 0.1);
  color: #047857;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 32px;
}

.legal-updated svg {
  flex-shrink: 0;
}

.legal-content h2 {
  font-size: 26px;
  margin: 48px 0 16px;
  scroll-margin-top: 100px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h2::before {
  content: '';
  width: 4px;
  height: 28px;
  background: var(--gradient-accent);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.legal-content h3 {
  font-size: 18px;
  margin: 28px 0 12px;
  color: var(--color-primary);
}

.legal-content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text-light);
  margin-bottom: 16px;
}

.legal-content ul {
  list-style: none;
  margin: 16px 0 24px;
  padding: 0;
}

.legal-content ul li {
  position: relative;
  padding-left: 28px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-light);
  margin-bottom: 10px;
}

.legal-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gradient-accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

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

.legal-content a {
  color: var(--color-accent-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.legal-content a:hover {
  color: var(--color-accent);
}

.legal-callout {
  padding: 24px 28px;
  background: var(--gradient-card);
  border: 1px solid rgba(0, 180, 216, 0.2);
  border-radius: var(--radius-md);
  margin: 24px 0;
}

.legal-callout p {
  margin-bottom: 0;
  color: var(--color-text);
  font-size: 15px;
}

.legal-contact-box {
  margin-top: 48px;
  padding: 32px;
  background: var(--gradient-hero);
  border-radius: var(--radius-lg);
  color: white;
}

.legal-contact-box h3 {
  color: white;
  font-size: 20px;
  margin-bottom: 12px;
}

.legal-contact-box p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 16px;
}

.legal-contact-box a {
  color: var(--color-accent-light);
  font-weight: 500;
}

@media (max-width: 1024px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .legal-toc {
    position: static;
  }
}

/* ---------- REFERENCES / PORTFOLIO ---------- */
.references {
  background: var(--color-white);
}

.references-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.reference-card {
  padding: 32px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 280px;
}

.reference-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-card);
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
}

.reference-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

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

.reference-card > * {
  position: relative;
  z-index: 1;
}

.reference-category {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(0, 180, 216, 0.1);
  color: var(--color-accent-dark);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  align-self: flex-start;
}

.reference-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.reference-description {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
}

.reference-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.reference-tag {
  padding: 4px 10px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 500;
  color: var(--color-text);
}

.reference-decor {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--gradient-accent);
  opacity: 0.08;
  transition: all var(--transition-base);
  pointer-events: none;
}

.reference-card:hover .reference-decor {
  opacity: 0.15;
  transform: scale(1.2);
}

/* ---------- SCROLL ANIMATIONS ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .hero-content,
  .about-content,
  .contact-layout,
  .service-block {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-float-card.top {
    right: 20px;
  }

  .about-float-card.bottom {
    left: 20px;
  }

  .service-block.reverse {
    direction: ltr;
  }

  .hero-visual {
    height: 400px;
  }

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

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

  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .process-timeline::before {
    display: none;
  }

  .trusted-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

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

@media (max-width: 768px) {
  section {
    padding: 64px 0;
  }

  .nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 16px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-lg);
  }

  .nav.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list li {
    border-bottom: 1px solid var(--color-border);
  }

  .nav-link {
    display: block;
    padding: 14px 0;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    padding: 100px 0 60px;
    min-height: auto;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .stat-number {
    font-size: 28px;
  }

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

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

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

  .trusted-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-timeline {
    grid-template-columns: 1fr;
  }

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

  .contact-form {
    padding: 32px 24px;
  }

  .product-card {
    padding: 32px 24px;
    min-height: auto;
  }

  .product-name {
    font-size: 40px;
  }

  .about-float-card.top,
  .about-float-card.bottom {
    display: none;
  }

  .about-big-number {
    font-size: 80px;
  }

  .about-visual {
    padding: 40px 28px;
  }
}
