:root {
  --bg-core: #01040a;
  --bg-darker: #020617;
  --primary: #10b981;
  --primary-glow: rgba(16, 185, 129, 0.6);
  --secondary: #8b5cf6;
  --secondary-glow: rgba(139, 92, 246, 0.6);
  --text-light: #f8fafc;
  --text-muted: #94a3b8;
  --glass-bg: rgba(2, 6, 23, 0.6);
  --glass-border: rgba(16, 185, 129, 0.15);
  --font-heading: 'Codec Pro', sans-serif;
  --font-body: 'Codec Pro', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-core);
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(16, 185, 129, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(139, 92, 246, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 50% 90%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
  background-attachment: fixed;
  color: var(--text-light);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Ambient Pulse Animation */
@keyframes ambientPulse {
  0% { opacity: 0.8; }
  50% { opacity: 1; filter: brightness(1.2); }
  100% { opacity: 0.8; }
}

.ambient-mesh {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  pointer-events: none;
  z-index: -1;
  background: 
    linear-gradient(rgba(16, 185, 129, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 185, 129, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: ambientPulse 8s infinite ease-in-out;
}

/* Language Toggle Logic */
body.lang-en .tr { display: none !important; }
body.lang-tr .en { display: none !important; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

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

/* Typography Utility */
.text-gradient {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glassmorphism Hubs */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.glass::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0.5;
}

/* Navbar */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  border-bottom: 1px solid var(--glass-border);
}

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

.logo img {
  height: 65px;
  width: auto;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav a {
  font-weight: 500;
  font-size: 0.85rem;
  transition: color 0.3s, text-shadow 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

nav a:hover {
  color: var(--primary);
  text-shadow: 0 0 8px var(--primary-glow);
}

.lang-switch {
  cursor: pointer;
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-weight: 600;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.lang-switch:hover {
  background: var(--primary);
  color: var(--bg-core);
  box-shadow: 0 0 15px var(--primary-glow);
}

/* Sections */
section {
  padding: 8rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

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

.section-header h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Hero Section */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 8rem;
}

#hero h1 {
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
  max-width: 1000px;
  letter-spacing: -1px;
}

.hero-visual {
  width: 100%;
  max-width: 900px;
  margin: 3rem 0;
  border-radius: 12px;
  position: relative;
  border: 1px solid var(--secondary);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.2);
  display: flex;
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  transition: transform 0.5s ease;
}

.btn-container {
  display: flex;
  gap: 2rem;
}

.btn {
  padding: 1rem 3rem;
  border-radius: 4px;
  font-weight: 700;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary);
  color: var(--bg-core);
  box-shadow: 0 0 20px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px var(--primary-glow);
}

.btn-outline {
  background: transparent;
  color: var(--text-light);
  border: 1px solid var(--glass-border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
}

/* Fallback SVG logic */
.fallback-svg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-darker);
  border-radius: inherit;
}
.fallback-svg svg {
  width: 150px;
  height: 150px;
  filter: drop-shadow(0 0 10px var(--primary-glow));
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

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

.card {
  padding: 3rem;
  border-radius: 12px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--secondary);
  box-shadow: 0 10px 40px rgba(139, 92, 246, 0.1);
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.img-wrapper {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  position: relative;
  display: flex;
}
.img-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

/* Elite Founder Terminal */
.terminal-console {
  background: #000;
  border: 1px solid var(--primary);
  padding: 3rem;
  border-radius: 8px;
  position: relative;
  box-shadow: inset 0 0 20px rgba(16, 185, 129, 0.1);
}

.terminal-console::before {
  content: "SYS.AUTH // DOSSIER";
  position: absolute;
  top: -12px;
  left: 2rem;
  background: var(--bg-core);
  padding: 0 1rem;
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 2px;
}

.terminal-counter {
  font-size: 5rem;
  font-weight: 700;
  font-family: var(--font-heading);
  line-height: 1;
  margin-bottom: 1rem;
  color: var(--primary);
  filter: drop-shadow(0 0 15px var(--primary-glow));
}

.terminal-text {
  color: #10b981;
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Modal Styling */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(1, 4, 10, 0.9);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  width: 90%;
  max-width: 500px;
  background: var(--bg-darker);
  border: 1px solid var(--primary);
  padding: 3rem;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 0 50px rgba(16, 185, 129, 0.15);
  transform: translateY(20px);
  transition: all 0.4s ease;
}

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

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

.modal-close:hover {
  color: var(--primary);
}

.modal-card h3 {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.modal-card p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

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

.cyber-input {
  width: 100%;
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 1rem;
  color: var(--text-light);
  font-family: var(--font-body);
  border-radius: 4px;
  outline: none;
  transition: all 0.3s;
}

.cyber-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
}

/* Timeline */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
  box-shadow: 0 0 10px var(--primary-glow);
}

.timeline-item {
  position: relative;
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid transparent;
  transition: all 0.3s ease;
}

.timeline-item:hover {
  background: rgba(16, 185, 129, 0.03);
  border-left-color: var(--primary);
}

.timeline-dot {
  position: absolute;
  left: -2.7rem;
  top: 2.5rem;
  width: 20px;
  height: 20px;
  background: var(--bg-core);
  border: 2px solid var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--primary-glow);
}

.timeline-date {
  font-family: var(--font-heading);
  color: var(--primary);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.timeline-item h3 {
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

/* Table */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
}

.data-table th, .data-table td {
  padding: 1.5rem;
  text-align: left;
  border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.data-table th {
  font-family: var(--font-heading);
  color: var(--secondary);
  font-size: 1.2rem;
  text-transform: uppercase;
}

.data-table tr:hover td {
  background: rgba(139, 92, 246, 0.05);
}

/* Footer */
footer {
  padding: 4rem 2rem;
  text-align: center;
  border-top: 1px solid var(--glass-border);
  margin-top: 6rem;
}

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

/* Responsive */
@media (max-width: 900px) {
  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
  }
  #hero h1 {
    font-size: 3rem;
  }
  nav ul {
    display: none;
  }
  .timeline {
    padding-left: 1rem;
  }
  .timeline-dot {
    left: -1.65rem;
    width: 16px; height: 16px;
  }
}
/* --- NEW SECTIONS STYLING (MATRIX & MARKET ECONOMICS) --- */

/* Competitor Matrix Table */
.matrix-container {
  padding: 2.5rem;
  border-radius: 12px;
  margin-top: 2rem;
  background: rgba(2, 6, 23, 0.7);
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 1.05rem;
}

.matrix-table th, .matrix-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(16, 185, 129, 0.12);
}

.matrix-table th {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.matrix-table th.highlight {
  color: var(--primary);
  background: rgba(16, 185, 129, 0.04);
  border-bottom: 2px solid var(--primary);
}

.matrix-table td.highlight-check {
  color: var(--primary);
  font-weight: bold;
  background: rgba(16, 185, 129, 0.03);
}

.matrix-table .badge {
  display: inline-block;
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.15);
  margin-left: 0.5rem;
  vertical-align: middle;
}

.matrix-table .badge-secondary {
  display: inline-block;
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: rgba(139, 92, 246, 0.15);
  color: var(--secondary);
  margin-left: 0.5rem;
}

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

.matrix-table .warning-text {
  color: #fbbf24;
  font-size: 0.9rem;
}

/* TAM SAM SOM Market Sizing Cards */
.market-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.market-card {
  padding: 3rem 2rem;
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

.market-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}

.market-badge {
  font-family: var(--font-heading);
  font-weight: bold;
  font-size: 0.85rem;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.market-value {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 1.5rem;
}

/* TAM SAM SOM High-Energy Distinct Color Glows */
.market-card.tam {
  border-left: 3px solid #10b981;
}
.market-card.tam .market-value {
  color: #10b981;
  text-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.market-card.sam {
  border-left: 3px solid #8b5cf6;
}
.market-card.sam .market-value {
  color: #8b5cf6;
  text-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.market-card.som {
  border-left: 3px solid #f43f5e;
}
.market-card.som .market-value {
  color: #f43f5e;
  text-shadow: 0 0 20px rgba(244, 63, 94, 0.3);
}

.market-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.market-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Animations Trigger Placeholder */
.animate-card {
  animation: cardFadeIn 0.8s ease forwards;
}

@keyframes cardFadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}
/* --- EXECUTIVE FOUNDER TERMINAL & VIEWPORT STYLE --- */

.terminal-window {
  background: rgba(3, 7, 18, 0.85) !important;
  border: 1px solid rgba(16, 185, 129, 0.2) !important;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5), inset 0 0 20px rgba(16, 185, 129, 0.05);
}

.terminal-header {
  background: rgba(15, 23, 42, 0.6);
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid rgba(16, 185, 129, 0.1);
  display: flex;
  align-items: center;
  position: relative;
}

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

.terminal-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.terminal-dots .dot.red { background: #ef4444; }
.terminal-dots .dot.yellow { background: #f59e0b; }
.terminal-dots .dot.green { background: #10b981; }

.terminal-title {
  font-family: monospace;
  font-size: 0.8rem;
  color: var(--text-muted);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  letter-spacing: 0.5px;
}

.terminal-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.terminal-meta {
  font-family: monospace;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.terminal-meta .prompt { color: var(--primary); font-weight: bold; }
.terminal-meta .key { color: var(--text-muted); }
.terminal-meta .val.string { color: #f8fafc; font-weight: 500; }
.terminal-meta .val.keyword { color: var(--secondary); }
.terminal-meta .val.number { color: #f59e0b; }
.terminal-meta .val.special { color: #38bdf8; }

.founder-quote-block {
  border-left: 3px solid var(--primary);
  padding-left: 1.5rem;
  margin-bottom: 2.5rem;
}

.founder-quote-block p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-light);
  font-weight: 300;
}

.founder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: auto;
  align-items: center;
}

.founder-actions .email-btn {
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.linkedin-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  border: 1px solid rgba(258, 258, 258, 0.05);
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.3s ease;
}

.linkedin-chip:hover {
  color: var(--primary);
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.04);
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.1);
}

/* Sağ Taraf Matrix Viewport Kutusu */
.matrix-asset-viewport {
  position: relative;
  background: radial-gradient(circle at center, rgba(139, 92, 246, 0.05) 0%, rgba(2, 6, 23, 0.9) 100%) !important;
  border: 1px solid rgba(139, 92, 246, 0.2) !important;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  min-height: 380px;
}

.cyber-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(139, 92, 246, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  background-position: center;
}

.scanning-line {
  position: absolute;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--secondary), transparent);
  top: 0;
  left: 0;
  animation: scanAnim 4s linear infinite;
  opacity: 0.7;
  z-index: 2;
}

@keyframes scanAnim {
  0% { top: 0%; }
  50% { top: 100%; }
  100% { top: 0%; }
}

.viewport-content {
  position: relative;
  z-index: 3;
  text-align: center;
}

.nodes-badge {
  font-family: monospace;
  color: var(--secondary);
  font-size: 0.75rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  text-shadow: 0 0 10px var(--secondary-glow);
}

.huge-display {
  font-family: var(--font-heading);
  font-size: 5.5rem;
  font-weight: 800;
  color: var(--text-light);
  line-height: 1;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #f8fafc 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 25px rgba(139, 92, 246, 0.4));
}

.matrix-label-title {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.telemetry-lines {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-family: monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 1rem;
}

/* Responsive Düzenleme */
@media (max-width: 768px) {
  .founder-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .founder-actions .btn, .linkedin-chip {
    text-align: center;
    justify-content: center;
  }
}
.terminal-profile-row {
  display: flex;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2rem;
}

.founder-avatar-wrapper {
  position: relative;
  width: 90px;
  height: 90px;
  border-radius: 12px;
  border: 2px solid var(--primary);
  overflow: hidden;
  background: var(--bg-darker);
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.founder-avatar-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-status-dot {
  position: absolute;
  bottom: 6px;
  right: 6px;
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: 50%;
  border: 2px solid var(--bg-darker);
  box-shadow: 0 0 8px var(--primary);
}

@media (max-width: 540px) {
  .terminal-profile-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
}