:root {
  --bg-primary: #030712;
  --bg-surface: #0f172a;
  --bg-card: #1e293b;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --accent: #38bdf8;
  --accent-hover: #0ea5e9;
  --border: #334155;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: hidden; max-width: 100vw; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background: var(--bg-primary); color: var(--text-primary); line-height: 1.6; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.header { background: var(--bg-surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.nav-container { display: flex; justify-content: space-between; align-items: center; height: 70px; }
.logo a { font-size: 24px; font-weight: 900; color: var(--text-primary); text-decoration: none; letter-spacing: 2px; }
.logo span { color: var(--accent); }
/* Desktop Nav Wrap Prevention */
.nav { display: flex; align-items: center; flex-wrap: nowrap; white-space: nowrap; gap: 8px; }
.nav a { color: var(--text-secondary); text-decoration: none; margin: 0 6px; font-weight: 500; font-size: 14.5px; white-space: nowrap; transition: color 0.2s; }
.nav a:hover, .nav a.active { color: var(--text-primary); }

/* Mobile Navigation & Hamburger */
.mobile-nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: #fff;
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.mobile-nav-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent);
}

@media (max-width: 860px) {
  .mobile-nav-toggle {
    display: inline-flex;
  }
  .nav-container {
    position: relative;
    height: 64px;
  }
  .nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #0b1120;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px 20px;
    gap: 8px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.7);
    z-index: 999;
  }
  .nav.nav-open {
    display: flex;
  }
  .nav a {
    margin: 4px 0;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    display: block;
  }
  .nav a:hover, .nav a.active {
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent);
  }
}

.hero { padding: 90px 0; text-align: center; background: radial-gradient(circle at center, #0c4a6e 0%, var(--bg-primary) 70%); }
.badge { display: inline-block; padding: 4px 12px; background: rgba(56, 189, 248, 0.1); border: 1px solid var(--accent); border-radius: 20px; color: var(--accent); font-size: 12px; font-weight: 600; margin-bottom: 20px; }
.hero h1 { font-size: 48px; font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.hero p { font-size: 18px; color: var(--text-secondary); max-width: 650px; margin: 0 auto 30px; }

.btn { display: inline-block; padding: 12px 28px; border-radius: 8px; font-weight: 600; text-decoration: none; cursor: pointer; border: none; }
.btn-primary { background: var(--accent); color: #000; margin-right: 12px; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: var(--bg-card); color: var(--text-primary); border: 1px solid var(--border); }

.page-content { padding: 50px 20px; min-height: 60vh; }
.section-title { font-size: 32px; margin-bottom: 40px; text-align: center; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 30px; }
.card { background: var(--bg-surface); border: 1px solid var(--border); border-radius: 12px; padding: 30px; }
.card h3 { font-size: 20px; margin-bottom: 12px; color: var(--accent); }
.card p { color: var(--text-secondary); font-size: 15px; }

.contact-card { max-width: 550px; margin: 40px auto; background: var(--bg-surface); padding: 35px; border-radius: 12px; border: 1px solid var(--border); }
.contact-card label { display: block; margin-top: 15px; font-size: 14px; font-weight: 600; color: var(--text-secondary); }
.contact-card input, .contact-card select { width: 100%; padding: 12px; background: var(--bg-primary); border: 1px solid var(--border); color: #fff; border-radius: 6px; margin-top: 6px; }

.footer { background: var(--bg-surface); border-top: 1px solid var(--border); padding: 40px 0; margin-top: 60px; text-align: center; }
.footer-bottom { color: var(--text-secondary); font-size: 14px; }

/* Template Gallery & Browser Mockup */
.template-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 28px; margin-top: 30px; }
.template-card, .template-card-variant { background: var(--bg-surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s; display: flex; flex-direction: column; }
.template-card:hover, .template-card-variant:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 12px 30px rgba(0,0,0,0.5); }
.browser-frame { border-bottom: 1px solid var(--border); }
.browser-header { background: #0b1120; padding: 10px 14px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.browser-dots { display: flex; gap: 6px; }
.browser-dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }
.browser-url { font-size: 11px; color: #64748b; font-family: monospace; background: rgba(255,255,255,0.04); padding: 3px 10px; border-radius: 6px; flex: 1; text-align: center; }
.browser-body { padding: 22px 20px; }
.palette-dots { display: inline-flex; gap: 6px; }
.palette-dot { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); }
.template-features { list-style: none; margin: 14px 0 0; padding: 0; }
.template-features li { font-size: 13px; color: #cbd5e1; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.template-features li::before { content: "\2022"; color: var(--accent); font-weight: bold; }
.template-footer { padding: 16px 20px; background: rgba(15,23,42,0.6); border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; }

/* Pricing & Comparison Matrix */
.matrix-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 30px 0;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  -webkit-overflow-scrolling: touch;
}
.matrix-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13.5px;
  min-width: 640px;
}
.matrix-table th, .matrix-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}
.matrix-table th {
  background: #0b1120;
  color: #fff;
  font-weight: 700;
}
.matrix-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}
.matrix-badge-gold {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
}
.matrix-check { color: #10b981; font-weight: bold; }
.matrix-cross { color: #64748b; font-weight: bold; }

/* Addon Extensions Grid */
.addons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.addon-card {
  background: #131d31;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all 0.2s;
}
.addon-card:hover {
  border-color: var(--accent);
  background: #17233b;
}
.addon-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.addon-cat {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(56, 189, 248, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}
.addon-price {
  font-size: 12px;
  font-weight: 700;
  color: #f59e0b;
}
.addon-card h4 {
  font-size: 14px;
  color: #fff;
  font-weight: 700;
}
.addon-card p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Daily Business Feed Banner */
.daily-feed-section {
  background: linear-gradient(135deg, #091322 0%, #0d1e38 100%);
  border: 1px solid #1e3a8a;
  border-radius: 14px;
  padding: 24px;
  margin: 30px 0;
}
.daily-feed-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
.daily-feed-date {
  font-size: 12px;
  color: #38bdf8;
  font-weight: 700;
  background: rgba(56, 189, 248, 0.1);
  padding: 4px 10px;
  border-radius: 20px;
}
.daily-feed-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.feed-box {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
}
.feed-box h4 {
  font-size: 14px;
  color: #fff;
  margin-bottom: 6px;
}
.feed-box p {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Mobile Viewport Responsiveness (360px, 390px, 412px) */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    max-width: 100vw;
  }
  .container {
    padding: 0 14px;
  }
  .hero {
    padding: 50px 0 40px;
  }
  .hero h1 {
    font-size: 26px;
    line-height: 1.25;
    word-break: break-word;
  }
  .hero p {
    font-size: 14.5px;
    margin-bottom: 24px;
  }
  .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }
  .hero-actions .btn {
    width: 100%;
    margin-right: 0;
    text-align: center;
    justify-content: center;
  }
  .template-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .template-card {
    min-width: 0;
    max-width: 100%;
  }
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .addons-grid {
    grid-template-columns: 1fr;
  }
  .daily-feed-grid {
    grid-template-columns: 1fr;
  }
  .section-title {
    font-size: 24px;
    margin-bottom: 24px;
  }
  .table-responsive {
    overflow-x: auto;
    width: 100%;
    display: block;
    -webkit-overflow-scrolling: touch;
  }
}

/* --- GÖREV 60: Webloom V7.1 Ek Stilleri --- */

/* Mega Footer */
.mega-footer {
  background: #020617;
  border-top: 1px solid #1e293b;
  padding: 60px 0 30px;
  color: #94a3b8;
  font-size: 14px;
}
.mega-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 45px;
}
@media (max-width: 1024px) {
  .mega-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}
@media (max-width: 640px) {
  .mega-footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
.mega-footer-col h4 {
  color: #f8fafc;
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mega-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mega-footer-col ul li {
  margin-bottom: 10px;
}
.mega-footer-col ul li a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
  font-size: 13.5px;
}
.mega-footer-col ul li a:hover {
  color: #38bdf8;
}
.mega-footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 13px;
}
.payment-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.payment-badge {
  background: #0f172a;
  border: 1px solid #334155;
  color: #cbd5e1;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Theme Carousel */
.carousel-wrapper {
  position: relative;
  margin: 25px 0 35px;
}
.carousel-track-container {
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #38bdf8 #0f172a;
  padding: 10px 5px 25px;
}
.carousel-track-container::-webkit-scrollbar {
  height: 8px;
}
.carousel-track-container::-webkit-scrollbar-track {
  background: #0f172a;
  border-radius: 4px;
}
.carousel-track-container::-webkit-scrollbar-thumb {
  background: #38bdf8;
  border-radius: 4px;
}
.carousel-track {
  display: flex;
  gap: 22px;
  width: max-content;
}
.theme-card {
  width: 330px;
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}
.theme-card:hover {
  transform: translateY(-5px);
  border-color: #38bdf8;
  box-shadow: 0 12px 24px rgba(56, 189, 248, 0.15);
}
.theme-card-img {
  width: 100%;
  height: 190px;
  background: #1e293b;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.theme-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.theme-badge {
  display: inline-block;
  padding: 3px 8px;
  font-size: 11px;
  border-radius: 4px;
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  font-weight: 600;
  margin-bottom: 8px;
  align-self: flex-start;
}
.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 15px;
}
.carousel-arrow {
  background: #1e293b;
  color: #fff;
  border: 1px solid #334155;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.2s;
}
.carousel-arrow:hover {
  background: #38bdf8;
  color: #030712;
  border-color: #38bdf8;
}

/* 24 Modules Interactive Modal */
.addon-card-interactive {
  cursor: pointer;
  position: relative;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.addon-card-interactive:hover {
  transform: translateY(-4px);
  border-color: #38bdf8;
  box-shadow: 0 8px 20px rgba(56, 189, 248, 0.12);
}
.addon-card-interactive .click-hint {
  font-size: 11px;
  color: #38bdf8;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  font-weight: 600;
}
.module-modal-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(6px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.module-modal-box {
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 16px;
  max-width: 600px;
  width: 100%;
  padding: 30px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  position: relative;
  color: #e2e8f0;
  animation: modalPop 0.22s ease-out;
}
@keyframes modalPop {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
.module-modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
}
.module-modal-close:hover { color: #fff; }

/* Sticky Demo Top Bar */
.webloom-demo-bar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  background: rgba(2, 6, 23, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #38bdf8;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #f8fafc;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 13.5px;
}
.webloom-demo-bar a.back-btn {
  color: #38bdf8;
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.webloom-demo-bar a.cta-btn {
  background: #38bdf8;
  color: #020617;
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  font-size: 12.5px;
  transition: background 0.2s;
}
.webloom-demo-bar a.cta-btn:hover {
  background: #0ea5e9;
}

/* Webloom Custom Logo Styles */
.webloom-logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  white-space: nowrap;
}
.webloom-logo-text {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 1.8px;
  color: #f8fafc;
  line-height: 1;
}
.webloom-logo-text span {
  color: #38bdf8;
}


/* ============================================================ */
/* V7.8 SADELEŞTİRİLMİŞ 5 BAŞLIKLI ÜST MENÜ & DROPDOWN STİLLERİ */
/* ============================================================ */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-dropdown-toggle {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  text-decoration: none;
  margin: 0 6px;
  font-weight: 500;
  font-size: 14.5px;
  white-space: nowrap;
  transition: color 0.2s;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: inherit;
  padding: 0;
}
.nav-dropdown-toggle:hover, .nav-dropdown:hover .nav-dropdown-toggle {
  color: var(--text-primary);
}
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 12px;
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 8px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.6);
  min-width: 220px;
  padding: 6px 0;
  z-index: 200;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: flex;
  flex-direction: column;
}
.nav-dropdown-menu a {
  padding: 9px 16px !important;
  margin: 0 !important;
  color: var(--text-secondary) !important;
  font-size: 13.5px !important;
  display: block !important;
  white-space: nowrap !important;
  transition: background 0.15s, color 0.15s !important;
}
.nav-dropdown-menu a:hover {
  background: #1e293b !important;
  color: var(--accent) !important;
}
.nav-cta-btn {
  background: var(--accent, #38bdf8) !important;
  color: #07090e !important;
  padding: 7px 16px !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  transition: transform 0.15s, background 0.15s !important;
  margin-left: 8px !important;
}
.nav-cta-btn:hover {
  background: #7dd3fc !important;
  transform: translateY(-1px) !important;
  color: #07090e !important;
}

@media (max-width: 860px) {
  .nav-dropdown {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-dropdown-toggle {
    margin: 4px 0;
    padding: 8px 12px;
    width: 100%;
    justify-content: space-between;
  }
  .nav-dropdown-menu {
    position: static;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 0;
    background: rgba(15, 23, 42, 0.7);
    border: none;
    box-shadow: none;
    padding-left: 12px;
  }
  .nav-cta-btn {
    margin: 8px 0 4px 0 !important;
    text-align: center !important;
    justify-content: center !important;
  }
}

/* Webloom V7.8 Resmi Logo Stili */
.webloom-logo-wrap {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.webloom-logo-img {
  height: 36px;
  max-height: 40px;
  width: auto;
  object-fit: contain;
  display: block;
}
