/* ==============================================================================
   CEZAEVİ TELEFON KART / PIN / ŞİFRE - DESIGN SYSTEM & STYLESHEET
   Pure CSS3, Mobile-First, Accessible, Conversion-Optimized
   ============================================================================== */

:root {
  /* Color Palette */
  --primary-900: #0f172a;
  --primary-800: #1e293b;
  --primary-700: #334155;
  --primary-600: #475569;
  
  --secondary: #0f172a;
  --accent: #25D366;
  
  --accent-green: #25D366;
  --accent-green-hover: #1fb958;
  --accent-green-dark: #128C7E;
  
  --accent-blue: #2563eb;
  --accent-blue-hover: #1d4ed8;

  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-alt: #f1f5f9;

  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-white: #ffffff;

  --border-light: #e2e8f0;
  --border-focus: #3b82f6;

  /* Elevation Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.1), 0 4px 6px -2px rgba(15, 23, 42, 0.05);
  --shadow-glow: 0 0 20px rgba(37, 211, 102, 0.35);

  /* Radius & Transitions */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;

  /* Layout Constrains */
  --max-width: 1200px;
  --header-height: 72px;
}

/* Reset & Global Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-main);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Base Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--primary-900);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(1.85rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); margin-bottom: 0.75rem; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.45rem); }
h4 { font-size: 1.1rem; }

p {
  color: var(--primary-700);
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-blue-hover);
}

ul, ol {
  list-style-position: inside;
  margin-bottom: 1rem;
  color: var(--primary-700);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Focus Visible Accessibility */
:focus-visible {
  outline: 3px solid var(--border-focus);
  outline-offset: 2px;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.section {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.section-alt {
  background-color: var(--bg-alt);
}

.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.font-semibold { font-weight: 600; }

.section-title-wrap {
  max-width: 720px;
  margin: 0 auto 2.5rem auto;
  text-align: center;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-primary {
  background-color: rgba(37, 99, 235, 0.1);
  color: var(--accent-blue);
}

.badge-success {
  background-color: rgba(37, 211, 102, 0.15);
  color: #0d8a3c;
}

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  text-decoration: none !important;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.btn-lg {
  padding: 1.05rem 2.1rem;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
}

.btn-whatsapp {
  background-color: var(--accent-green);
  color: var(--text-white);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background-color: var(--accent-green-hover);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
}

.btn-phone {
  background-color: var(--primary-900);
  color: var(--text-white);
}

.btn-phone:hover {
  background-color: var(--primary-800);
  color: var(--text-white);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--border-light);
  color: var(--primary-800);
}

.btn-outline:hover {
  background-color: var(--bg-alt);
  border-color: var(--primary-600);
}

.btn-block {
  width: 100%;
}

.btn svg {
  flex-shrink: 0;
  width: 1.25em;
  height: 1.25em;
  fill: currentColor;
}

/* Header & Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-light);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 1rem;
}

/* Logo Component */
.logo {
    width: 76px;
    height: 76px;
    margin: 0 auto 28px;
    display: grid;
    place-items: center;
    border-radius: 22px;
    color: #fff;
    font-size: 34px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    box-shadow: 0 12px 35px 
color-mix(in srgb, var(--secondary) 35%, transparent);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-900);
  letter-spacing: -0.03em;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-logo .logo {
  width: 38px;
  height: 38px;
  margin: 0;
  border-radius: 10px;
  font-size: 18px;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--secondary) 30%, transparent);
}

.footer-logo .logo {
  width: 38px;
  height: 38px;
  margin: 0;
  border-radius: 11px;
  font-size: 18px;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--secondary) 30%, transparent);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.4rem, 1vw, 1.1rem);
  flex-shrink: 1;
}

.nav-link {
  font-weight: 500;
  color: var(--primary-700);
  font-size: 0.88rem;
  padding: 0.4rem 0.15rem;
  position: relative;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-900);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--accent-blue);
  border-radius: var(--radius-full);
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.header-cta-group .btn {
  white-space: nowrap;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--primary-900);
  border-radius: var(--radius-sm);
}

/* Mobile Nav Drawer */
.mobile-nav-overlay {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(15, 23, 42, 0.5);
  display: none;
  z-index: 999;
}

.mobile-nav-menu {
  position: fixed;
  top: var(--header-height);
  right: -100%;
  width: 85%;
  max-width: 320px;
  height: calc(100vh - var(--header-height));
  background-color: var(--bg-surface);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  overflow-y: auto;
}

.mobile-nav-menu.open {
  right: 0;
}

.mobile-nav-overlay.open {
  display: block;
}

.mobile-nav-link {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary-800);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-light);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: var(--text-white);
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle, rgba(37, 211, 102, 0.12) 0%, rgba(15, 23, 42, 0) 70%);
  pointer-events: none;
}

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

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero-content h1 {
  color: var(--text-white);
  margin-top: 1rem;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  color: #94a3b8;
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.hero-cta-box {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.stat-item svg {
  color: var(--accent-green);
  flex-shrink: 0;
}

.hero-card-preview {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero-card-header {
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
}

.hero-card-price {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--accent-green);
  margin-top: 0.35rem;
}

.hero-feature-list {
  list-style: none;
  margin-bottom: 1.5rem;
}

.hero-feature-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #e2e8f0;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.hero-feature-list svg {
  color: var(--accent-green);
  flex-shrink: 0;
}

/* Cards Grid */
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Product Card Component */
.product-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, 0.3);
}

.product-card.popular {
  border: 2px solid var(--accent-green);
}

.popular-badge {
  position: absolute;
  top: -14px;
  right: 1.5rem;
  background-color: var(--accent-green);
  color: var(--text-white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-title {
  font-size: 1.3rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.product-price-box {
  background-color: var(--bg-alt);
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 1.25rem;
}

.product-price {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--primary-900);
}

.product-features {
  list-style: none;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.product-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.925rem;
  margin-bottom: 0.6rem;
  color: var(--primary-700);
}

.product-features svg {
  color: var(--accent-green);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.product-card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: auto;
}

/* Info Cards & Step Cards */
.feature-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  height: 100%;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: rgba(37, 99, 235, 0.1);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.step-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  position: relative;
  text-align: center;
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background-color: var(--primary-900);
  color: var(--text-white);
  font-size: 1.15rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
}

/* Comparison Table */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  background-color: var(--bg-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
  text-align: left;
}

.compare-table th, .compare-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
}

.compare-table th {
  background-color: var(--primary-900);
  color: var(--text-white);
  font-weight: 600;
}

.compare-table tbody tr:hover {
  background-color: var(--bg-alt);
}

/* FAQ Accordion Component */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--primary-600);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 1rem;
}

.faq-icon {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem 1.25rem 1.5rem;
  color: var(--primary-700);
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
  padding: 1rem 0;
  margin-bottom: 1.5rem;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.breadcrumb-list a {
  color: var(--primary-600);
}

.breadcrumb-separator {
  color: var(--text-muted);
}

/* Product Detail Page Specific */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 992px) {
  .product-detail-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.product-detail-box {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.product-detail-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-900);
  margin-bottom: 1rem;
}

/* Call to Action Box */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-800) 100%);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  color: var(--text-white);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.cta-banner h2 {
  color: var(--text-white);
}

.cta-banner p {
  color: #94a3b8;
  max-width: 600px;
  margin: 0 auto 2rem auto;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 990;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background-color: var(--accent-green);
  color: var(--text-white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-glow), 0 4px 14px rgba(0, 0, 0, 0.25);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none !important;
  transition: transform var(--transition-normal), background-color var(--transition-normal);
}

.whatsapp-float:hover {
  background-color: var(--accent-green-hover);
  color: var(--text-white);
  transform: scale(1.05);
}

.whatsapp-float svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

@media (max-width: 576px) {
  .whatsapp-float span {
    display: none;
  }
  .whatsapp-float {
    padding: 0.85rem;
    border-radius: var(--radius-full);
  }
}

/* Footer Component */
.site-footer {
  background-color: var(--primary-900);
  color: #94a3b8;
  padding-top: 4rem;
  padding-bottom: 2rem;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr repeat(2, 1fr);
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-heading {
  color: var(--text-white);
  font-size: 1.05rem;
  margin-bottom: 1.1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--text-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

/* Utilities & Responsive Adjustments */
@media (max-width: 1080px) {
  .main-nav, .header-cta-group .btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
