/* Kumarsız Yaşam - Stylesheet */

/* ===== CSS Variables ===== */
:root {
  --brand-blue: #4A91C6;
  --brand-green: #4AA375;
  --ink: #0F172A;
  --muted: #475569;
  --bg: #FFFFFF;
  --surface: #F8FAFC;
  --border: #E2E8F0;
  --warning-bg: #FFF7ED;
  --warning-text: #9A3412;
  --link: #4A91C6;
  
  --font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-size-base: 16px;
  --line-height: 1.6;
  
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 32px;
  --spacing-xl: 48px;
  --spacing-2xl: 64px;
  
  --border-radius: 12px;
  --button-height: 44px;
  
  --max-width: 1100px;
}

/* ===== Reset & Base ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: var(--font-size-base);
  scroll-behavior: smooth;
}

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

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: var(--line-height);
  color: var(--ink);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== Skip to Content ===== */
.skip-to-content {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  background: transparent;
  color: transparent;
  text-decoration: none;
  z-index: 1000;
}

.skip-to-content:focus {
  position: absolute;
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  overflow: visible;
  background: var(--brand-blue);
  color: white;
  padding: var(--spacing-sm);
  border-radius: 4px;
}

/* ===== Typography ===== */
h1 {
  font-size: 40px;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  color: var(--ink);
}

h2 {
  font-size: 28px;
  line-height: 1.3;
  margin-bottom: var(--spacing-sm);
  margin-top: var(--spacing-lg);
  color: var(--ink);
}

h3 {
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: var(--spacing-sm);
  margin-top: var(--spacing-md);
  color: var(--ink);
}

p {
  margin-bottom: var(--spacing-sm);
}

a {
  color: var(--link);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--brand-green);
  text-decoration: underline;
}

a:focus {
  outline: 3px solid var(--brand-blue);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ===== Layout ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

section {
  padding: var(--spacing-xl) 0;
}

/* ===== Header ===== */
header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.brand:hover {
  text-decoration: none;
}

.brand:focus {
  outline: 3px solid var(--brand-blue);
  outline-offset: 2px;
  border-radius: 4px;
}

.brand img {
  height: 56px;
  width: auto;
  object-fit: contain;
  display: block;
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.brand .logo-text {
  font-size: 16px;
  font-weight: 700;
  color: #0F172A;
  line-height: 1;
}

nav {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: var(--spacing-md);
  align-items: center;
}

.nav-links a {
  color: var(--ink);
  font-weight: 500;
  padding: var(--spacing-xs) var(--spacing-sm);
}

.nav-links a:hover {
  color: var(--brand-blue);
  text-decoration: none;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--spacing-xs);
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
}

.mobile-menu-toggle:focus {
  outline: 3px solid var(--brand-blue);
  outline-offset: 2px;
  border-radius: 4px;
}

.mobile-menu-toggle[aria-expanded="true"] {
  color: var(--brand-blue);
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: var(--spacing-sm) var(--spacing-lg);
  min-height: var(--button-height);
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  font-size: 16px;
  line-height: 1.5;
}

.btn:focus {
  outline: 3px solid var(--brand-blue);
  outline-offset: 2px;
}

.btn-primary {
  background-color: var(--brand-green);
  color: white;
}

.btn-primary:hover {
  background-color: #3d8a60;
  text-decoration: none;
  color: white;
}

.btn-primary:disabled,
.btn-primary[disabled] {
  background-color: var(--muted);
  cursor: not-allowed;
  opacity: 0.6;
}

.btn-primary:disabled:hover,
.btn-primary[disabled]:hover {
  background-color: var(--muted);
  color: white;
}

.btn-secondary {
  background-color: transparent;
  color: var(--brand-blue);
  border-color: var(--brand-blue);
}

.btn-secondary:hover {
  background-color: rgba(74, 145, 198, 0.1);
  text-decoration: none;
  color: var(--brand-blue);
}

.btn-secondary:disabled,
.btn-secondary[disabled] {
  border-color: var(--muted);
  color: var(--muted);
  cursor: not-allowed;
  opacity: 0.6;
}

.btn-secondary:disabled:hover,
.btn-secondary[disabled]:hover {
  background-color: transparent;
  color: var(--muted);
  border-color: var(--muted);
}

/* ===== Notice Bar ===== */
.notice-bar {
  background-color: var(--warning-bg);
  color: var(--warning-text);
  padding: var(--spacing-sm) 0;
  text-align: center;
  font-size: 14px;
  border-bottom: 1px solid rgba(154, 52, 18, 0.2);
}

.notice-bar strong {
  font-weight: 600;
}

/* ===== Hero Section ===== */
.hero {
  padding: var(--spacing-2xl) 0;
  text-align: center;
  background: linear-gradient(to bottom, var(--surface), var(--bg));
}

.hero h1 {
  font-size: 40px;
  margin-bottom: var(--spacing-md);
}

.hero-subtitle {
  font-size: 20px;
  color: var(--muted);
  margin-bottom: var(--spacing-md);
  font-weight: 500;
}

.hero-description {
  max-width: 700px;
  margin: 0 auto var(--spacing-lg);
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Feature Cards ===== */
.features {
  background: var(--surface);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.feature-card {
  background: var(--bg);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius);
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.feature-card h3 {
  color: var(--brand-green);
  margin-top: 0;
}

/* ===== How It Works ===== */
.how-it-works {
  background: var(--bg);
}

.steps {
  list-style: none;
  counter-reset: step-counter;
  max-width: 700px;
  margin: var(--spacing-lg) auto 0;
}

.steps li {
  counter-increment: step-counter;
  padding: var(--spacing-md) 0 var(--spacing-md) var(--spacing-2xl);
  position: relative;
  border-left: 2px solid var(--border);
  margin-left: var(--spacing-lg);
}

.steps li::before {
  content: counter(step-counter);
  position: absolute;
  left: calc(-1 * var(--spacing-lg) - 12px);
  top: var(--spacing-md);
  width: 32px;
  height: 32px;
  background: var(--brand-blue);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
}

.steps li:last-child {
  border-left: none;
}

/* ===== Privacy Summary ===== */
.privacy-summary {
  background: var(--surface);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius);
  border-left: 4px solid var(--brand-blue);
  margin: var(--spacing-lg) 0;
}

/* ===== Download Section ===== */
.download-section {
  text-align: center;
  padding: var(--spacing-2xl) 0;
}

.download-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--spacing-lg);
}

/* ===== Disclaimer Box ===== */
.disclaimer-box {
  background: var(--warning-bg);
  border: 1px solid rgba(154, 52, 18, 0.2);
  border-radius: var(--border-radius);
  padding: var(--spacing-lg);
  margin: var(--spacing-xl) 0;
  color: var(--warning-text);
  font-size: 14px;
}

.disclaimer-box strong {
  font-weight: 600;
}

/* ===== FAQ ===== */
.faq-list {
  list-style: none;
  margin-top: var(--spacing-lg);
}

.faq-item {
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h3 {
  color: var(--brand-blue);
  margin-top: 0;
}

/* ===== Contact Box ===== */
.contact-box {
  background: var(--surface);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius);
  margin: var(--spacing-lg) 0;
}

.contact-box h3 {
  margin-top: 0;
}

/* ===== Resources List ===== */
.resources-list {
  list-style: none;
  margin-top: var(--spacing-lg);
}

.resources-list li {
  margin-bottom: var(--spacing-md);
  padding-left: var(--spacing-lg);
  position: relative;
}

.resources-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--brand-blue);
  font-weight: bold;
}

.resources-list a {
  font-weight: 500;
}

/* ===== Footer ===== */
footer {
  background: var(--ink);
  color: white;
  padding: var(--spacing-xl) 0;
  margin-top: var(--spacing-2xl);
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.footer-disclaimer {
  font-size: 13px;
  margin-bottom: var(--spacing-md);
  opacity: 0.85;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  list-style: none;
  margin-top: var(--spacing-md);
}

.footer-links a {
  color: white;
  opacity: 0.9;
}

.footer-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ===== 404 Page ===== */
.error-page {
  text-align: center;
  padding: var(--spacing-2xl) 0;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.error-page h1 {
  font-size: 72px;
  color: var(--brand-blue);
  margin-bottom: var(--spacing-md);
}

.error-page p {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: var(--spacing-lg);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  h1 {
    font-size: 32px;
  }
  
  h2 {
    font-size: 24px;
  }
  
  .hero h1 {
    font-size: 32px;
  }
  
  .hero-subtitle {
    font-size: 18px;
  }
  
  .hero-description {
    font-size: 16px;
  }
  
  .header-container {
    padding: 10px 16px;
    min-height: 64px;
  }
  
  .brand img {
    height: 48px;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    gap: var(--spacing-sm);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-links li {
    width: 100%;
  }
  
  .nav-links a {
    display: block;
    padding: var(--spacing-sm);
    width: 100%;
  }
  
  .header-container {
    position: relative;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .download-buttons {
    flex-direction: column;
  }
  
  .download-buttons .btn {
    width: 100%;
  }
  
  .steps li {
    margin-left: var(--spacing-md);
    padding-left: var(--spacing-xl);
  }
  
  .steps li::before {
    left: calc(-1 * var(--spacing-md) - 12px);
  }
  
  .error-page h1 {
    font-size: 48px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--spacing-sm);
  }
  
  section {
    padding: var(--spacing-lg) 0;
  }
  
  .hero {
    padding: var(--spacing-xl) 0;
  }
}

