/* ==========================================================================
   AIO ASİSTAN — GLOBAL STYLES & DESIGN SYSTEM
   TUTAR BİLİŞİM TEKNOLOJİLERİ LTD. ŞTİ. — OFFICIAL BRANDING
   ========================================================================== */

:root {
  --bg-dark: #050B18;
  --bg-card: rgba(15, 27, 56, 0.55);
  --bg-card-hover: rgba(22, 40, 80, 0.75);
  
  --blue-primary: #1B64CE;
  --blue-light: #2FB6FB;
  --blue-glow: rgba(47, 182, 251, 0.4);

  --wa-green: #00A884;
  --wa-green-bright: #25D366;

  --ig-purple: #833AB4;
  --ig-pink: #E1306C;
  --ig-orange: #F56040;

  --gradient-main: linear-gradient(135deg, #2FB6FB 0%, #1E6DEB 100%);
  --gradient-wa: linear-gradient(135deg, #25D366 0%, #00A884 100%);
  --gradient-ig: linear-gradient(135deg, #833AB4 0%, #E1306C 50%, #F56040 100%);

  --text-primary: #FFFFFF;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;

  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-bg: rgba(255, 255, 255, 0.04);
  --border-glow: rgba(47, 182, 251, 0.5);
  --border-subtle: rgba(255, 255, 255, 0.08);

  --font-heading: 'Outfit', -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-display: 'Outfit', sans-serif;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-pill: 100px;

  --glass-blur: 24px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg-dark);
}

.desktop-only {
  display: inline-flex;
}

.ambient-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

.glow-1 {
  top: -100px;
  left: -100px;
  background: radial-gradient(circle, rgba(30,109,235,0.6) 0%, transparent 70%);
}

.glow-2 {
  bottom: 10%;
  right: -100px;
  background: radial-gradient(circle, rgba(47,182,251,0.4) 0%, transparent 70%);
}

#webgl-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  background: rgba(5, 11, 24, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.aio-brand-logo {
  height: 42px;
  width: auto;
}

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

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14.5px;
  transition: color 0.25s ease;
}

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

.nav-btn {
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13.5px;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nav-btn:hover {
  background: rgba(47, 182, 251, 0.15);
  border-color: var(--blue-light);
  box-shadow: 0 0 24px rgba(47, 182, 251, 0.3);
}

/* MOBILE HAMBURGER MENU BUTTON */
.mobile-hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 40px;
  height: 38px;
  padding: 10px 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  cursor: pointer;
  z-index: 1001;
  transition: all 0.3s ease;
}

.mobile-hamburger-btn:hover {
  background: rgba(47, 182, 251, 0.15);
  border-color: var(--blue-light);
}

.mobile-hamburger-btn .bar {
  width: 100%;
  height: 2px;
  background-color: #FFFFFF;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* MOBILE MENU DRAWER OVERLAY */
.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(3, 6, 16, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.mobile-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 85vw;
  max-width: 360px;
  height: 100%;
  background: rgba(10, 18, 38, 0.96);
  border-left: 1px solid var(--glass-border);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-drawer-overlay.active .mobile-drawer-content {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-drawer-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  font-size: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-drawer-close:hover {
  background: rgba(225, 48, 108, 0.2);
  color: var(--ig-pink);
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0;
}

.drawer-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #FFFFFF;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  transition: all 0.25s ease;
}

.drawer-link:hover, .drawer-link.highlight-link {
  background: rgba(30, 109, 235, 0.15);
  border-color: var(--blue-light);
  color: var(--blue-light);
}

.drawer-link .link-icon {
  font-size: 18px;
}

.mobile-drawer-footer {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.drawer-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 50px;
  background: var(--gradient-wa);
  color: #FFFFFF;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}

.drawer-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 12px;
}

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

.scene-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 5vw;
}

.content-wrapper {
  max-width: 540px;
  z-index: 3;
}

.right-content {
  margin-left: auto;
}

.center-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.wa-badge {
  border-color: rgba(37,211,102,0.3);
  color: var(--wa-green-bright);
}

.insta-badge {
  border-color: rgba(225,48,108,0.3);
  color: var(--ig-pink);
}

.web-badge {
  border-color: rgba(47,182,251,0.3);
  color: var(--blue-light);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.main-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.2vw, 62px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

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

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

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

.section-desc {
  font-family: var(--font-body);
  font-size: clamp(15px, 2vw, 17px);
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 36px;
}

.center-title {
  text-align: center;
}

.center-desc {
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 36px;
}

.cta-group {
  display: flex;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border: none;
  border-radius: 50px;
  background: var(--gradient-main);
  color: #FFF;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: -0.2px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.3s;
}

.primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(30,109,235,0.45);
}

.pulse-glow {
  animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.25); }
  50% { box-shadow: 0 8px 50px rgba(37,211,102,0.55); }
}

.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: -0.2px;
  cursor: pointer;
  transition: all 0.3s;
}

.secondary-btn:hover {
  border-color: var(--blue-light);
  background: rgba(30,109,235,0.12);
}

.metrics-row {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 20px 28px;
  border-radius: var(--radius-md);
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
}

.metric-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.metric-val {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
}

.metric-lbl {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

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

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.feature-card {
  padding: 28px 24px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-main);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}

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

.feature-card:not(.insta-card):not(.web-card)::before {
  background: var(--gradient-wa);
}

.insta-card::before {
  background: var(--gradient-ig);
}

.web-card::before {
  background: var(--gradient-main);
}

.fc-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(30,109,235,0.12);
  color: var(--blue-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border: 1px solid rgba(47,182,251,0.2);
  transition: all 0.3s;
}

.insta-card .fc-icon {
  background: rgba(225,48,108,0.1);
  color: var(--ig-pink);
  border-color: rgba(225,48,108,0.25);
}

.feature-card:not(.insta-card):not(.web-card) .fc-icon {
  background: rgba(37,211,102,0.1);
  color: var(--wa-green-bright);
  border-color: rgba(37,211,102,0.25);
}

.feature-card:hover .fc-icon {
  transform: scale(1.08);
}

.feature-card h4 {
  font-family: var(--font-heading);
  font-size: 17.5px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.feature-card p {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.closing-action {
  text-align: center;
  margin-top: 36px;
}

.micro-note {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-top: 14px;
}

.footer {
  position: relative;
  z-index: 10;
  padding: 60px 5vw 30px 5vw;
  border-top: 1px solid var(--glass-border);
  background: rgba(5,11,24,0.95);
  backdrop-filter: blur(20px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 50px auto;
  text-align: left;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 340px;
}

.footer-col h5 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  letter-spacing: -0.2px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-col ul a:hover {
  color: var(--blue-light);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

/* FLOATING WHATSAPP BUTTON WIDGET */
.floating-wa-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 50px;
  background: linear-gradient(135deg, #25D366 0%, #00A884 100%);
  color: #FFFFFF;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.45);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: waPulseGlow 3s infinite;
}

.floating-wa-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 14px 44px rgba(37, 211, 102, 0.65);
}

.floating-wa-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

@keyframes waPulseGlow {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.35); }
  50% { box-shadow: 0 10px 45px rgba(37,211,102,0.65); }
}

/* ==========================================================================
   MINIMAL, UNCLUTTERED, APPLE-GRADE MOBILE STYLES (WIDTH <= 768px)
   ========================================================================== */

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }

  .navbar {
    padding: 0 16px !important;
    height: 64px !important;
    background: rgba(5, 11, 24, 0.94) !important;
  }

  .aio-brand-logo {
    height: 30px !important;
  }

  .nav-links {
    display: none !important;
  }

  .mobile-hamburger-btn {
    display: flex !important;
  }

  .scene-section {
    padding: 80px 16px 36px 16px !important;
    min-height: auto !important;
    text-align: center !important;
  }

  .hero-section {
    padding-top: 90px !important;
  }

  .content-wrapper {
    max-width: 100% !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

  .right-content, .left-content, .center-content {
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: center !important;
  }

  .badge {
    font-size: 10px !important;
    padding: 5px 12px !important;
    margin-bottom: 12px !important;
    display: inline-flex !important;
  }

  .main-title {
    font-size: 25px !important;
    line-height: 1.22 !important;
    letter-spacing: -0.5px !important;
    margin-bottom: 12px !important;
    text-align: center !important;
  }

  .section-title {
    font-size: 21px !important;
    line-height: 1.25 !important;
    letter-spacing: -0.3px !important;
    margin-bottom: 10px !important;
    text-align: center !important;
  }

  .section-desc {
    font-size: 13.5px !important;
    line-height: 1.55 !important;
    margin-bottom: 18px !important;
    text-align: center !important;
  }

  /* HORIZONTAL CLEAN METRICS BAR ON MOBILE */
  .metrics-row {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 4px !important;
    padding: 10px 6px !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    margin-top: 14px !important;
  }

  .metric-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  .metric-val {
    font-size: 11.5px !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
  }

  .metric-lbl {
    font-size: 9.5px !important;
    color: #94A3B8 !important;
    white-space: nowrap !important;
  }

  .metric-divider {
    display: none !important;
  }

  /* CLEAN MINIMAL MOBILE CARDS */
  .features-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin-bottom: 18px !important;
  }

  .feature-card {
    padding: 14px 14px !important;
    border-radius: 14px !important;
    background: rgba(15, 23, 42, 0.65) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(12px) !important;
    text-align: left !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }

  .fc-icon {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    border-radius: 10px !important;
    margin-bottom: 0 !important;
  }

  .feature-card h4 {
    font-size: 14.5px !important;
    margin-bottom: 3px !important;
    letter-spacing: -0.2px !important;
  }

  .feature-card p {
    font-size: 12px !important;
    line-height: 1.45 !important;
    color: #94A3B8 !important;
  }

  .cta-group {
    flex-direction: column !important;
    width: 100% !important;
    gap: 10px !important;
    margin-bottom: 20px !important;
  }

  .primary-btn, .secondary-btn {
    width: 100% !important;
    justify-content: center !important;
    font-size: 13px !important;
    padding: 12px 16px !important;
    border-radius: 28px !important;
  }

  /* FLOATING WHATSAPP BUTTON MOBILE */
  .floating-wa-btn {
    bottom: 14px !important;
    right: 14px !important;
    padding: 10px 14px !important;
    font-size: 11.5px !important;
    border-radius: 30px !important;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5) !important;
  }

  .floating-wa-btn svg {
    width: 18px !important;
    height: 18px !important;
  }

  /* SEKTOREL DEMOS 3D CANVAS MOBILE */
  div[style*="max-width:920px"] {
    height: 420px !important;
    max-height: 420px !important;
  }

  #sectorDescBox {
    padding: 16px 14px !important;
    border-radius: 16px !important;
  }

  #sectorDescBox h3 {
    font-size: 15px !important;
  }

  #sectorDescBox p {
    font-size: 12.5px !important;
  }

  .footer {
    padding: 36px 16px 20px 16px !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .footer-brand p {
    font-size: 12.5px !important;
    max-width: 100% !important;
  }

  .footer-bottom {
    flex-direction: column !important;
    text-align: center !important;
    gap: 8px !important;
    font-size: 11px !important;
  }

  .ambient-glow {
    width: 180px !important;
    height: 180px !important;
    opacity: 0.15 !important;
  }
}

::selection {
  background: rgba(30,109,235,0.3);
  color: #fff;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.15);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255,255,255,0.25);
}
