:root {
  --bg-dark: #09090b;
  --bg-card: #18181b;
  --bg-card-hover: #27272a;
  --primary: #3b82f6; /* Blue accent glow */
  --primary-hover: #2563eb;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border-color: rgba(255, 255, 255, 0.1);
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

ul {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: 3.5rem; letter-spacing: -0.02em; }
h2 { font-size: 2.5rem; letter-spacing: -0.01em; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; }

p {
  color: var(--text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 9999px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.39);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.23);
  transform: translateY(-2px);
}

/* Layout Containers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.125rem;
}

/* Header */
.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(9, 9, 11, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links li a {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links li a:hover {
  color: #fff;
}

/* Hero Section */
.hero {
  padding-top: 10rem;
  padding-bottom: 6rem;
  position: relative;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.12) 0%, rgba(59, 130, 246, 0.12) 20%, rgba(9, 9, 11, 0) 70%);
  z-index: -1;
  pointer-events: none;
  transition: top 0.3s ease-out, left 0.3s ease-out;
}

.typewriter-text {
  color: #fff;
  transition: opacity 0.1s;
}

.typewriter-cursor {
  color: var(--primary);
  font-weight: 300;
  animation: blink 0.7s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.scanner-line {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.6), rgba(168, 85, 247, 0.6), transparent);
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.4);
  animation: scan-down 3.5s ease-in-out infinite;
  z-index: 50;
  pointer-events: none;
}

@keyframes scan-down {
  0% { top: 0; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; top: 90%; }
  100% { top: 100%; opacity: 0; }
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
  background: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, 0.7) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.hero-content ul {
  margin-bottom: 2.5rem;
}

.hero-content li {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  color: var(--text-muted);
}

.hero-content li::before {
  content: '✓';
  color: var(--primary);
  margin-right: 0.75rem;
  font-weight: bold;
}

.trust-microcopy {
  display: block;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: #71717a;
}

.hero-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--bg-card);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255,255,255,0.05);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  will-change: transform;
}

/* Animated AI Core Terminal Mockup */
.ai-terminal-mockup {
  position: absolute;
  inset: 1rem;
  background: rgba(13, 13, 18, 0.95);
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: inset 0 0 40px rgba(59, 130, 246, 0.1);
}

.terminal-header {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  opacity: 0.8;
}

.terminal-title {
  flex: 1;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 500;
  color: #94a3b8;
  letter-spacing: 0.05em;
}

.terminal-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
  font-weight: 700;
  color: #10b981;
  letter-spacing: 0.05em;
}

.pulse-indicator {
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  animation: status-pulse 1.5s infinite;
}

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

.terminal-body {
  display: flex;
  flex: 1;
  height: 100%;
  position: relative;
  overflow: hidden;
}

/* AI Core Orb Section */
.ai-core-section {
  flex: 0.45;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(255,255,255,0.05);
  background: radial-gradient(circle at center, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
  padding: 1rem;
}

.orb-container {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orb-core {
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 30px #fff, 0 0 60px #3b82f6, 0 0 90px #06b6d4;
  z-index: 10;
  animation: core-breathe 4s ease-in-out infinite alternate;
}

.orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(59, 130, 246, 0.3);
  box-shadow: inset 0 0 20px rgba(59, 130, 246, 0.1), 0 0 10px rgba(6, 182, 212, 0.2);
}

.orb-ring-1 {
  width: 70px; height: 70px;
  border-width: 2px;
  border-top-color: #3b82f6;
  border-bottom-color: #06b6d4;
  animation: spin 3s linear infinite;
}

.orb-ring-2 {
  width: 95px; height: 95px;
  border-width: 1px;
  border-right-color: #a855f7;
  border-left-color: #3b82f6;
  animation: spin-reverse 5s linear infinite;
}

.orb-ring-3 {
  width: 120px; height: 120px;
  border-width: 1px dashed rgba(59, 130, 246, 0.4);
  animation: spin 10s linear infinite;
}

.orb-glow {
  position: absolute;
  width: 140px; height: 140px;
  background: radial-gradient(circle, rgba(59,130,246,0.3) 0%, rgba(0,0,0,0) 70%);
  animation: core-breathe 4s ease-in-out infinite alternate-reverse;
}

@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes spin-reverse { 100% { transform: rotate(-360deg); } }
@keyframes core-breathe {
  0% { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(1.1); opacity: 1; }
}

.core-label {
  margin-top: 1.5rem;
  font-size: 0.65rem;
  color: #60a5fa;
  letter-spacing: 0.1em;
  font-weight: 600;
  background: rgba(59, 130, 246, 0.1);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(59,130,246,0.2);
}

/* Terminal Logs Section */
.terminal-log-section {
  flex: 0.55;
  display: flex;
  flex-direction: column;
  padding: 1rem;
}

.log-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  color: #64748b;
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed rgba(255,255,255,0.1);
}

.log-speed {
  color: #8b5cf6;
}

.log-container {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  font-family: 'Courier New', Courier, monospace;
}

.log-line {
  font-size: 0.75rem;
  line-height: 1.4;
  opacity: 0;
  animation: log-slide-up 0.3s ease-out forwards;
}

.log-line .timestamp {
  color: #64748b;
  margin-right: 0.5rem;
}

.log-line .module {
  color: #a855f7;
  margin-right: 0.5rem;
}

.log-line .status-ok {
  color: #10b981;
}

.log-line .status-wait {
  color: #f59e0b;
}

.log-line .status-active {
  color: #3b82f6;
}

@keyframes log-slide-up {
  0% { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}



/* Trust Strip */
.trust-strip {
  padding: 3rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: rgba(24, 24, 27, 0.3);
}

.trust-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.trust-metric {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
}

.trust-metric span {
  color: var(--primary);
}

.trust-divider {
  width: 1px;
  height: 28px;
  background: var(--border-color);
  flex-shrink: 0;
}

/* Process Section */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.process-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 2.5rem 2rem;
  border-radius: 1rem;
  transition: transform 0.3s, border-color 0.3s;
  position: relative;
}

.process-card:hover {
  transform: translateY(-5px);
  border-color: rgba(59, 130, 246, 0.5);
}

.process-number {
  font-size: 3rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.05);
  position: absolute;
  top: 1rem;
  right: 1.5rem;
}

.process-card h3 {
  margin-bottom: 1rem;
  color: #fff;
  position: relative;
  z-index: 1;
}

.process-card p {
  position: relative;
  z-index: 1;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.service-card {
  background: linear-gradient(145deg, var(--bg-card) 0%, rgba(24, 24, 27, 0.5) 100%);
  border: 1px solid var(--border-color);
  padding: 3rem 2.5rem;
  border-radius: 1.5rem;
  transition: all 0.3s;
}

.service-card:hover {
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary);
  font-size: 1.5rem;
}

/* Benefits */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.benefit-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.benefit-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

/* About */
.about {
  background: rgba(24, 24, 27, 0.3);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

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

.about-content p {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: 1rem;
  border: 1px solid var(--border-color);
}

.testimonial-text {
  font-size: 1.125rem;
  font-style: italic;
  margin-bottom: 1.5rem;
  color: #e2e8f0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #3f3f46;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
}

.author-info h5 {
  color: #fff;
  font-size: 1rem;
}
.author-info span {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--primary);
  transition: transform 0.3s;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--text-muted);
  margin-top: 0;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  margin-top: 1rem;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* Final CTA */
.final-cta {
  text-align: center;
  padding: 8rem 0;
  background: radial-gradient(circle at center, rgba(59,130,246,0.1) 0%, rgba(9,9,11,1) 100%);
}

.final-cta h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-brand {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
}

.footer-col h4 {
  color: #fff;
  margin-bottom: 1rem;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}
.footer-col ul li a {
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-col ul li a:hover {
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  padding: 2.5rem;
  border-radius: 1.5rem;
  width: 100%;
  max-width: 500px;
  max-height: calc(100vh - 3rem);
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.close-modal {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-content h3 {
  margin-bottom: 0.5rem;
  color: #fff;
}

.modal-content p {
  margin-bottom: 2rem;
  font-size: 0.875rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #e2e8f0;
  font-size: 0.875rem;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  color: #fff;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-trust-text {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 1rem;
  text-align: center;
}

.submit-btn {
  width: 100%;
  padding: 1rem;
  margin-top: 1rem;
  font-size: 1rem;
}

/* Hamburger Button */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 200;
}

.hamburger-btn span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

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

/* Mobile Menu */
.mobile-menu {
  display: none;
  background: rgba(9, 9, 11, 0.98);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-color);
  padding: 1.5rem 2rem;
}

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-menu ul li a {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.2s;
}

.mobile-menu ul li a:hover { color: #fff; }

.mobile-menu.open {
  display: block;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-container, .process-grid, .services-grid, .testimonials-grid {
    grid-template-columns: 1fr;
  }

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

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

  /* Desktop nav gizle, hamburger göster */
  #main-nav, .desktop-cta {
    display: none;
  }

  .hamburger-btn {
    display: flex;
  }

  /* Hero visual tam yükseklik */
  .hero-visual {
    aspect-ratio: unset !important;
    min-height: 420px;
    height: auto;
  }

  .ai-terminal-mockup {
    position: relative;
    inset: 0;
    height: 100%;
    min-height: 400px;
  }

  /* Terminal body mobilde dikey diz */
  .terminal-body {
    flex-direction: column !important;
  }

  .ai-core-section {
    flex: none !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 1rem !important;
  }

  .orb-container {
    width: 80px;
    height: 80px;
  }

  .orb-core { width: 26px; height: 26px; }
  .orb-ring-1 { width: 46px; height: 46px; }
  .orb-ring-2 { width: 63px; height: 63px; }
  .orb-ring-3 { width: 80px; height: 80px; }

  .terminal-log-section {
    flex: none !important;
    padding: 0.75rem !important;
    max-height: 150px;
  }
}

@media (max-width: 600px) {
  .benefits-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }

  .hero {
    padding-top: 7rem;
    padding-bottom: 3rem;
  }

  .hero-visual {
    min-height: 260px;
  }

  .log-line {
    font-size: 0.65rem;
  }

  /* Trust strip ortalama */
  .trust-content {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    align-items: center;
  }

  .trust-divider {
    width: 60px;
    height: 1px;
  }

  .trust-metric {
    text-align: center;
  }
}

