/* =============================================
   GLOBAL BILGI RPA - DESIGN SYSTEM
   Design language: Dark Navy + Gold + Modern
   ============================================= */

/* ---------- CSS VARIABLES ---------- */
:root {
  --navy-darkest: #060e18;
  --navy-dark: #0a1a2f;
  --navy-mid: #0f2444;
  --navy-light: #152d54;
  --gold: #FFB400;
  --gold-dark: #e6a200;
  --gold-light: #ffc533;
  --white: #ffffff;
  --text-primary: #e8edf4;
  --text-secondary: #8fa3be;
  --text-muted: #4a6280;
  --card-bg: #0d2038;
  --card-border: rgba(255, 180, 0, 0.12);
  --glass-bg: rgba(13, 32, 56, 0.7);
  --section-dark: #0a1a2f;
  --section-darker: #060e18;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-gold: 0 0 24px rgba(255, 180, 0, 0.3);
}

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

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

body {
  font-family: 'Inter', 'Montserrat', sans-serif;
  background: var(--navy-darkest);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 700; }

.text-gold { color: var(--gold); }

/* ---------- CONTAINER ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-lg { padding: 16px 36px; font-size: 1rem; }

.btn-gold {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.25);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-2px);
}

.btn-outline-header {
  background: transparent;
  color: var(--text-primary);
  border-color: rgba(255,255,255,0.2);
  padding: 10px 22px;
  font-size: 0.85rem;
}
.btn-outline-header:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--gold);
  color: var(--gold);
}

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

/* ---------- SECTION COMMON ---------- */
.section {
  padding: 96px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 40px;
  background: rgba(255, 180, 0, 0.12);
  border: 1px solid rgba(255, 180, 0, 0.3);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  color: var(--white);
  margin-bottom: 16px;
}

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

/* ---------- HEADER ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 99999;
  padding: 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: all 0.4s ease;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.site-header.scrolled {
  background: rgba(6, 14, 24, 0.95);
  backdrop-filter: blur(20px);
  border-bottom-color: rgba(255, 180, 0, 0.1);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-icon svg { width: 40px; height: 40px; }

.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-main { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1rem; color: var(--white); }
.logo-sub {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.main-nav { flex: 1; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-content: center;
}

.nav-item { position: relative; }

.nav-link {
  display: block;
  padding: 10px 16px;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  transition: color var(--transition);
  border-radius: var(--radius-sm);
}
.nav-link:hover { color: var(--gold); }

/* Explore Menu Item - Special Styling */
.nav-explore {
  display: flex !important;
  align-items: center;
  gap: 8px;
  background: rgba(255, 180, 0, 0.05); /* Very subtle gold tint */
  border: 1px solid rgba(255, 180, 0, 0.15);
  color: var(--gold) !important;
  padding: 8px 16px !important;
  margin-right: 12px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(255, 180, 0, 0.05);
}

.nav-explore::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 180, 0, 0.1),
    transparent
  );
  transition: 0.6s ease;
}

.nav-explore:hover::before {
  left: 100%;
}

.nav-explore:hover {
  background: rgba(255, 180, 0, 0.1);
  border-color: var(--gold);
  box-shadow: 0 0 15px rgba(255, 180, 0, 0.15);
}

.nav-icon {
  width: 16px;
  height: 16px;
  stroke: var(--gold);
  animation: compassRotate 10s linear infinite;
}

@keyframes compassRotate {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(15deg); }
  50% { transform: rotate(0deg); }
  75% { transform: rotate(-15deg); }
  100% { transform: rotate(0deg); }
}

.badge-new {
  font-size: 0.65rem;
  background: var(--gold);
  color: var(--navy-darkest);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 800;
  margin-left: 4px;
  vertical-align: middle;
}

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--navy-mid);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 12px;
  min-width: 280px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-card);
}

.dropdown::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 0;
  right: 0;
  height: 15px;
}

.nav-item:hover .dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.dropdown a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.dropdown a:hover { background: rgba(255,180,0,0.08); color: var(--gold); }

/* Mega Dropdown Extensions */
.dropdown.mega-dropdown {
  min-width: 680px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  padding: 24px;
}

.dropdown-group {
  display: flex;
  flex-direction: column;
}

.dropdown-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
  padding-left: 14px;
  opacity: 0.7;
}

.dropdown a svg {
  flex-shrink: 0;
  opacity: 0.5;
  transition: var(--transition);
}

.dropdown a:hover svg {
  opacity: 1;
  stroke: var(--gold);
}

@media (max-width: 1024px) {
  .dropdown.mega-dropdown {
    min-width: 250px;
    grid-template-columns: 1fr;
    max-height: 400px;
    overflow-y: auto;
  }
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.4s ease, opacity 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 0;
  background: linear-gradient(135deg, #060e18 0%, #0a1a2f 50%, #0f2444 100%);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255,180,0,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 80% 50%, rgba(255,180,0,0.04) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(15,36,68,0.8) 0%, transparent 60%);
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

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

@keyframes particleFloat {
  0% { opacity: 0; transform: translateY(0) scale(0); }
  20% { opacity: 0.6; transform: translateY(-30px) scale(1); }
  80% { opacity: 0.3; transform: translateY(-120px) scale(0.8); }
  100% { opacity: 0; transform: translateY(-180px) scale(0); }
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 40px;
  background: rgba(255,180,0,0.1);
  border: 1px solid rgba(255,180,0,0.25);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,180,0,0.4); }
  50% { box-shadow: 0 0 0 8px rgba(255,180,0,0); }
}

.hero-title { color: var(--white); margin-bottom: 24px; }

.hero-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 480px;
  margin-bottom: 40px;
  line-height: 1.7;
}

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

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 28px;
}
.stat-item:first-child { padding-left: 0; }

.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 2.2rem;
  color: var(--gold);
  line-height: 1;
}
.stat-plus, .stat-percent {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--gold);
}
.stat-label {
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-top: 4px;
  white-space: nowrap;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}

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

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

.robot-circle {
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.robot-circle.outer {
  width: 280px; height: 280px;
  border: 1px solid rgba(255,180,0,0.15);
  background: radial-gradient(circle, rgba(255,180,0,0.04) 0%, transparent 70%);
  animation: rotateBorder 20s linear infinite;
  position: relative;
}
.robot-circle.inner {
  width: 200px; height: 200px;
  background: rgba(255,180,0,0.05);
  border: 1px solid rgba(255,180,0,0.2);
}
.robot-icon svg { width: 100px; height: 100px; }

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

.robot-circle.outer::before {
  content: '';
  position: absolute;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--gold);
  top: 0; left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 12px var(--gold);
}

.hero-card-float {
  position: absolute;
  background: var(--glass-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(12px);
  white-space: nowrap;
  animation: floatCard 3s ease-in-out infinite;
}

.float-1 { top: 40px; left: 30px; animation-delay: 0s; }
.float-2 { bottom: 60px; left: 20px; animation-delay: 1s; }
.float-3 { top: 140px; right: -10px; animation-delay: 2s; }
.float-4 { top: 0px; left: 50%; transform: translateX(-50%); animation-delay: 0.5s; }
.float-5 { bottom: 40px; right: 10px; animation-delay: 1.5s; }
.float-6 { top: 220px; left: -60px; animation-delay: 2.5s; }

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

.float-card-icon { font-size: 1.5rem; }
.float-card-text { display: flex; flex-direction: column; }
.float-card-text strong { color: var(--white); font-size: 0.8rem; font-family: 'Montserrat'; font-weight: 700; }
.float-card-text span { color: var(--gold); font-size: 0.75rem; font-weight: 500; }

.hero-wave {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  line-height: 0;
}
.hero-wave svg { width: 100%; display: block; }

/* ---------- RPA TYPES SECTION ---------- */
.rpa-types {
  background: #0f1923;
}

.cards-grid {
  display: grid;
  gap: 28px;
}
.two-col { grid-template-columns: 1fr 1fr; }

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

.info-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, transparent, rgba(255,180,0,0.3), transparent);
  transition: var(--transition);
}

.info-card:hover {
  border-color: rgba(255,180,0,0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.info-card:hover::before {
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.info-card.featured {
  border-color: rgba(255,180,0,0.35);
  background: linear-gradient(135deg, var(--card-bg), rgba(255,180,0,0.04));
}

.info-card.featured::before {
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.featured-badge {
  position: absolute;
  top: 24px; right: 24px;
  background: var(--gold);
  color: var(--navy-dark);
  padding: 4px 12px;
  border-radius: 40px;
  font-size: 0.72rem;
  font-weight: 800;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.05em;
}

.card-icon-wrap {
  width: 72px; height: 72px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border: 1px solid rgba(255,180,0,0.2);
  background: rgba(255,180,0,0.06);
}
.card-icon-wrap svg { width: 48px; height: 48px; }

.card-label {
  font-size: 0.7rem;
  font-weight: 800;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.card-title { color: var(--white); margin-bottom: 16px; }

.card-text {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}
.card-text strong { color: var(--gold); font-weight: 700; }

.card-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.card-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.feat-icon { color: var(--gold); font-size: 0.7rem; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  transition: var(--transition);
}
.card-link:hover, .card-link.gold { color: var(--gold); }
.card-link:hover svg path { stroke: var(--gold); }

/* ---------- PLATFORM COMPONENTS ---------- */
.platform-components {
  background: var(--navy-darkest);
}

.components-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.comp-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.comp-item {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.comp-item:hover, .comp-item.active {
  border-color: var(--gold);
  transform: translateX(10px);
  box-shadow: var(--shadow-card);
}

.comp-item.active {
  background: linear-gradient(135deg, var(--card-bg), rgba(255,180,0,0.05));
}

.comp-icon {
  width: 56px; height: 56px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: rgba(255,180,0,0.1);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,180,0,0.2);
}
.comp-icon svg { width: 28px; height: 28px; }

.comp-item h3 { color: var(--white); font-size: 1.15rem; margin-bottom: 8px; }
.comp-item p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; }

/* Mockup UI style */
.comp-visual {
  position: relative;
  perspective: 1000px;
}

.ui-mockup {
  background: #11151c;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 40px rgba(255,180,0,0.1);
  overflow: hidden;
  transform: rotateY(-5deg) rotateX(2deg);
  transition: transform 0.5s ease;
}

.ui-mockup:hover {
  transform: rotateY(0deg) rotateX(0deg);
}

.ui-header {
  height: 40px;
  background: #1e2430;
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.ui-dot { width: 10px; height: 10px; border-radius: 50%; }
.ui-dot.r { background: #ff5f56; }
.ui-dot.y { background: #ffbd2e; }
.ui-dot.g { background: #27c93f; }

.ui-title {
  color: rgba(255,255,255,0.5); font-size: 0.75rem;
  margin-left: auto; margin-right: auto;
  font-family: 'Inter', sans-serif;
}

.ui-body {
  display: flex;
  height: 380px;
}

.ui-sidebar {
  width: 120px;
  background: #161b22;
  border-right: 1px solid rgba(255,255,255,0.05);
  padding: 16px;
  display: flex; flex-direction: column; gap: 12px;
}

.ui-tool { background: rgba(255,255,255,0.05); border-radius: 4px; }
.ui-tool.text { background: transparent; color: var(--text-muted); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; }
.ui-tool.line { height: 6px; width: 100%; }
.ui-tool.w80 { width: 80%; }
.ui-tool.w60 { width: 60%; }
.ui-tool.box { height: 40px; width: 100%; border: 1px dashed rgba(255,255,255,0.2); }
.ui-tool.mt { margin-top: 20px; }

.ui-main {
  flex: 1;
  background: #0f1419;
  position: relative;
  display: flex;
  align-items: center; justify-content: center;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 20px 20px;
}

.ui-canvas {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ui-node {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 10px 20px;
  border-radius: 4px;
  color: var(--white);
  font-size: 0.8rem; font-weight: 600;
  display: flex; align-items: center; gap: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.ui-node.start { border-color: #27c93f; color: #27c93f; border-radius: 20px; }
.ui-node.end { border-color: #ff5f56; color: #ff5f56; border-radius: 20px; }
.ui-node.action { width: 220px; justify-content: space-between; border-left: 3px solid var(--gold); }
.node-icon { background: rgba(255,180,0,0.1); padding: 4px; border-radius: 4px; }

.ui-line-v {
  width: 2px; height: 30px;
  background: var(--card-border);
  position: relative;
}
.ui-line-v::after {
  content: '▼'; position: absolute; bottom: -8px; left: -4.5px;
  color: var(--card-border); font-size: 0.6rem;
}

@media (max-width: 992px) {
  .components-grid { grid-template-columns: 1fr; }
}

/* ---------- WHY US SECTION ---------- */
.why-us {
  background: var(--navy-dark);
}

.why-us-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 50%, rgba(255,180,0,0.03) 0%, transparent 70%);
}

.section-header.light .section-title { color: var(--white); }

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

.feature-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,180,0,0.04), transparent);
  opacity: 0;
  transition: var(--transition);
}

.feature-item:hover {
  border-color: rgba(255,180,0,0.25);
  transform: translateY(-6px);
}
.feature-item:hover::after { opacity: 1; }

.feature-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(255,180,0,0.08);
  border: 1px solid rgba(255,180,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  transition: var(--transition);
}
.feature-icon svg { width: 32px; height: 32px; }
.feature-item:hover .feature-icon { background: rgba(255,180,0,0.15); border-color: var(--gold); }

.feature-item h3 {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 12px;
  font-weight: 700;
}
.feature-item p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---------- HOW IT WORKS ---------- */
.how-it-works {
  background: #0a1219;
}

.steps-row {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step-item {
  flex: 1;
  text-align: center;
  padding: 40px 24px;
  position: relative;
}

.step-num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 4rem;
  color: rgba(255,180,0,0.08);
  line-height: 1;
  margin-bottom: 16px;
}

.step-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(255,180,0,0.06);
  border: 1px solid rgba(255,180,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  transition: var(--transition);
}
.step-icon svg { width: 36px; height: 36px; }
.step-item:hover .step-icon { background: rgba(255,180,0,0.12); border-color: var(--gold); box-shadow: 0 0 20px rgba(255,180,0,0.2); }

.step-item h3 {
  color: var(--white);
  margin-bottom: 12px;
  font-size: 1.1rem;
}
.step-item p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; }

.step-connector {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, rgba(255,180,0,0.3), rgba(255,180,0,0.1));
  margin-top: 80px;
  flex-shrink: 0;
  position: relative;
}
.step-connector::after {
  content: '▶';
  position: absolute;
  right: -6px; top: 50%;
  transform: translateY(-50%);
  color: rgba(255,180,0,0.4);
  font-size: 0.7rem;
}

/* ---------- PRODUCTS SECTION ---------- */
.products {
  background: #0f1923;
}

.products-tabs {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.tab-nav {
  display: flex;
  border-bottom: 1px solid var(--card-border);
  background: rgba(0,0,0,0.2);
}

.tab-btn {
  flex: 1;
  padding: 18px 24px;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}
.tab-btn::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; right: 50%;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}
.tab-btn.active { color: var(--gold); }
.tab-btn.active::after { left: 0; right: 0; }
.tab-btn:hover { color: var(--white); }

.tab-content { display: none; padding: 48px; }
.tab-content.active { display: block; }

.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.product-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 40px;
  background: rgba(255,180,0,0.1);
  border: 1px solid rgba(255,180,0,0.2);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.product-info h3 {
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 16px;
}
.product-info p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.product-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.product-features li {
  color: var(--text-secondary);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Code Window */
.code-window {
  background: #0d1b2a;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,180,0,0.15);
  overflow: hidden;
  width: 100%;
}

.window-bar {
  display: flex;
  gap: 8px;
  padding: 14px 18px;
  background: rgba(0,0,0,0.3);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.window-bar span {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
}
.window-bar span:first-child { background: #ff5f57; }
.window-bar span:nth-child(2) { background: #febc2e; }
.window-bar span:nth-child(3) { background: #28c840; }

.code-lines { padding: 20px; font-family: 'Courier New', monospace; }
.code-line {
  display: flex;
  gap: 16px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  line-height: 1.5;
}
.code-line.active { background: rgba(255,180,0,0.08); }

.code-num { color: var(--text-muted); min-width: 16px; user-select: none; }
.code-text { color: #8fa3be; }
.code-text .kw { color: #FFB400; }
.code-text .fn { color: #7dd3fc; }
.code-text .str { color: #86efac; }
.code-text .var { color: #c4b5fd; }
.code-text .comment { color: #4ade80; opacity: 0.7; }

/* Status Panel */
.status-panel {
  background: #0d1b2a;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,180,0,0.15);
  padding: 24px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.status-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  font-size: 0.85rem;
}
.status-row:nth-child(odd) { background: rgba(255,255,255,0.03); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.status-row.running .status-dot { background: #4ade80; animation: pulse 1.5s infinite; }
.status-row.idle .status-dot { background: var(--text-muted); }
.status-row.done .status-dot { background: var(--gold); }
.status-row span:nth-child(2) { flex: 1; color: var(--white); font-weight: 600; font-family: 'Montserrat', sans-serif; }
.status-label { color: var(--text-secondary); font-size: 0.78rem; }
.status-time { color: var(--gold); font-size: 0.78rem; margin-left: auto; }

/* Dashboard Mini */
.dashboard-mini {
  background: #0d1b2a;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,180,0,0.15);
  padding: 24px;
  width: 100%;
}
.dash-title {
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.dash-stats {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.dash-stat {
  flex: 1;
  text-align: center;
  padding: 12px;
  background: rgba(255,180,0,0.05);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,180,0,0.1);
}
.dash-num {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--gold);
}
.dash-stat span:last-child { font-size: 0.72rem; color: var(--text-secondary); }

.dash-bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 60px;
}
.bar {
  flex: 1;
  background: linear-gradient(180deg, var(--gold), rgba(255,180,0,0.3));
  border-radius: 3px 3px 0 0;
  transition: var(--transition);
}
.bar:hover { opacity: 0.8; }

/* Cloud Visual */
.cloud-visual {
  text-align: center;
  padding: 40px;
  background: #0d1b2a;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,180,0,0.15);
  width: 100%;
}
.cloud-icon { font-size: 4rem; margin-bottom: 24px; }
.cloud-lines { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.cloud-line {
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  overflow: hidden;
}
.cloud-line-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 3px;
  animation: lineLoad 2s ease-in-out infinite;
}
@keyframes lineLoad {
  0% { opacity: 0.5; }
  50% { opacity: 1; }
  100% { opacity: 0.5; }
}
.cloud-badges {
  display: flex;
  gap: 8px;
  justify-content: center;
}
.cloud-badges span {
  padding: 4px 12px;
  border-radius: 40px;
  background: rgba(255,180,0,0.1);
  border: 1px solid rgba(255,180,0,0.2);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0f2444 0%, #1a3a6b 50%, #0f2444 100%);
}
.cta-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 50%, rgba(255,180,0,0.07) 0%, transparent 70%);
}

.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-text h2 { color: var(--white); margin-bottom: 12px; }
.cta-text p { color: var(--text-secondary); font-size: 1rem; }

.cta-actions {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--navy-darkest);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
}

.footer-brand { display: flex; flex-direction: column; }
.footer-logo { margin-bottom: 20px; }

.footer-tagline {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 28px;
}

.social-links { display: flex; gap: 12px; }
.social-link {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition);
}
.social-link svg { width: 18px; height: 18px; }
.social-link:hover { background: rgba(255,180,0,0.1); border-color: var(--gold); color: var(--gold); }

.footer-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  color: var(--text-secondary);
  font-size: 0.88rem;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--gold); padding-left: 4px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p { color: var(--text-muted); font-size: 0.82rem; }
.footer-bottom a { color: var(--text-muted); transition: var(--transition); }
.footer-bottom a:hover { color: var(--gold); }

/* ---------- ANIMATIONS ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-in {
  animation: fadeUp 0.6s ease forwards;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-content { gap: 40px; }
  .hero-visual { height: 360px; }
  .robot-circle.outer { width: 220px; height: 220px; }
  .robot-circle.inner { width: 160px; height: 160px; }
  .float-3 { display: none; }
}

@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; }
  .product-layout { grid-template-columns: 1fr; }
  .steps-row { flex-direction: column; align-items: center; }
  .step-connector { width: 2px; height: 40px; transform: none; }
  .step-connector::after { content: '▼'; top: auto; bottom: -8px; right: 50%; transform: translateX(50%); }
  .cta-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
  /* MOBILE MENU OVERLAY */
  .main-nav, .header-cta { display: none; }
  .hamburger { display: flex; z-index: 100001; }

  .site-header {
    background: rgba(6, 14, 24, 0.9); /* Mobil cihazlarda scroll başlamadan da hafif belirgin kalsın */
    backdrop-filter: blur(15px);
  }

  /* FULL SCREEN OVERLAY MOBILE MENU */
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; 
    width: 100vw; 
    height: 100vh;
    background: var(--navy-darkest);
    padding: 100px 24px 120px;
    overflow-y: auto;
    z-index: 100000;
    animation: menuFadeIn 0.3s ease forwards;
    justify-content: flex-start;
    align-items: flex-start;
  }

  @keyframes menuFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  .main-nav.open .nav-list {
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 30px;
  }

  .main-nav.open .nav-item {
    width: 100%;
  }

  .main-nav.open .nav-link {
    font-size: 1.25rem;
    padding: 16px 0;
    color: var(--white);
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: block;
    margin: 0;
  }

  .main-nav.open .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: all;
    background: rgba(255,255,255,0.03);
    min-width: 100%;
    margin-top: 0;
    box-shadow: none;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
  }

  .main-nav.open .dropdown a {
    font-size: 0.95rem;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    color: var(--text-secondary);
  }

  .header-cta.open {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    padding: 24px;
    background: var(--navy-dark);
    z-index: 100001;
    gap: 12px;
    border-top: 1px solid rgba(255,180,0,0.1);
    box-shadow: 0 -10px 30px rgba(0,0,0,0.5);
  }

  .header-cta.open .btn {
    flex: 1;
    justify-content: center;
    padding: 16px;
    font-size: 1rem;
  }

  body.menu-open {
    overflow: hidden;
  }

  .hero-content { grid-template-columns: 1fr; text-align: center; padding: 60px 24px; }
  .hero-visual { display: none; }
  .hero-stats { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-desc { margin: 0 auto 40px; }

  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .tab-nav { flex-wrap: wrap; }
  .tab-content { padding: 28px 20px; }
}

@media (max-width: 480px) {
  .section { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; gap: 8px; text-align: center; }
  .hero-stats { flex-direction: column; align-items: center; gap: 20px; }
  .stat-divider { width: 60px; height: 1px; }
}
