/* AUTONOTE Global Styles */
:root {
  --orange: #FF7F32;
  --blue: #2D6FE0;
  --bg: #0f172a; /* slate-900 */
  --panel: #111827; /* gray-900 */
  --text: #e5e7eb; /* gray-200 */
  --muted: #9ca3af; /* gray-400 */
  --border: #1f2937; /* gray-800 */
  --success: #22c55e;
  --danger: #ef4444;
  --radius: 12px;
  --shadow: 0 10px 25px rgba(0,0,0,.35);
  --surface: #0b1220; /* subtle deeper card tone used previously */
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: radial-gradient(1200px 600px at 10% 10%, rgba(45,111,224,0.12), transparent 60%),
              radial-gradient(1000px 500px at 90% 0%, rgba(255,127,50,0.12), transparent 55%),
              var(--bg);
  line-height: 1.6;
}

/* Smooth scrolling for in-page anchors */
html { scroll-behavior: smooth; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

/* Notification bell */
.notif-bell { position:relative; display:inline-flex; align-items:center; justify-content:center;
  width:36px; height:36px; border-radius:50%; color:var(--muted); transition:color 0.2s, background 0.2s;
  text-decoration:none; }
.notif-bell:hover { color:#e5e7eb; background:rgba(255,255,255,0.08); }
.notif-badge { position:absolute; top:1px; right:1px; min-width:17px; height:17px; padding:0 4px;
  background:#ef4444; color:#fff; font-size:0.65rem; font-weight:700; border-radius:9px;
  display:flex; align-items:center; justify-content:center; line-height:1;
  border:1.5px solid rgba(17,24,39,.9); pointer-events:none; }

/* Navbar */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(17,24,39,.8);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.navbar__inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 0; }
.brand img { height: 56px; width: auto; max-width: 220px; object-fit: contain; }

.nav { display: flex; gap: 20px; align-items: center; }
.nav a { color: var(--muted); font-weight: 500; position: relative; }
.nav a:hover { color: var(--blue); }
.nav a.active { color: var(--orange); }
.nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--blue), var(--orange)); }
.navbar__actions a.active { color: var(--orange); position: relative; }
.navbar__actions a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--blue), var(--orange)); }
/* Don't draw active underline on button-styled links inside nav */
.nav a.btn.active::after { display: none; }
.nav .btn { color: var(--btn-color); }
.nav .btn:hover { color: var(--btn-color); }

/* Auth buttons */
.navbar__actions { display: flex; gap: 10px; align-items: center; margin-left: 12px; }
.nav__auth { display: none; gap: 8px; margin-top: 8px; }
.auth--nav .btn { width: 100%; }

.hamburger { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--border); background: #0b1220; color: #cbd5e1; }
.hamburger:focus { outline: 2px solid var(--blue); outline-offset: 2px; }

@media (max-width: 800px) {
  .nav { display: none; position: absolute; inset: 60px 0 auto 0; background: #0b1220; padding: 12px; border-bottom: 1px solid var(--border); }
  .nav.open { display: grid; gap: 8px; }
  .nav__auth { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .navbar__actions { display: none; }
  .hamburger { display: inline-flex; }
}

/* Hero */
.hero { padding: 72px 0 32px; background: linear-gradient(180deg, rgba(45,111,224,0.10), rgba(255,127,50,0.08) 60%, transparent 100%); }
.hero__content { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; }
.hero__text h1 { font-size: clamp(28px, 5vw, 44px); line-height: 1.15; margin: 0 0 12px; }
.about-hero { padding: 64px 0; background:
  radial-gradient(800px 300px at 10% 0%, rgba(45,111,224,.10), transparent 60%),
  radial-gradient(700px 280px at 90% 10%, rgba(255,127,50,.10), transparent 60%),
  linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
  border-bottom: 1px solid var(--border);
}
.about-hero__content { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; }
.about-hero h1 { font-size: clamp(28px, 5vw, 44px); margin: 0 0 10px; background: linear-gradient(90deg, var(--blue), var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about-hero p { color: var(--muted); margin: 0 0 12px; }
.about-visual { min-height: 260px; border-radius: var(--radius); border: 1px solid var(--border); background:
  radial-gradient(300px 160px at 30% 30%, rgba(45,111,224,.35), transparent 60%),
  radial-gradient(260px 140px at 70% 60%, rgba(255,127,50,.35), transparent 60%),
  #0b1220; box-shadow: var(--shadow); }
@media (max-width: 900px) { .about-hero__content { grid-template-columns: 1fr; } }

.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.tag { padding: 6px 10px; border-radius: 999px; border: 1px solid var(--border); background: #0b1220; color: #cbd5e1; font-size: 13px; }
.tag--blue { border-color: rgba(45,111,224,.45); background: rgba(45,111,224,.10); color: #dbeafe; }
.tag--orange { border-color: rgba(255,127,50,.55); background: rgba(255,127,50,.10); color: #ffedd5; }

.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.value { background: #0b1220; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
@media (max-width: 1100px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .values { grid-template-columns: 1fr; } }

.value-card { position: relative; }
.value-card::after { content: ""; position: absolute; right: 12px; bottom: 12px; width: 36px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--blue), var(--orange)); opacity: .5; }

.section__subtitle { color: var(--muted); margin-top: -6px; margin-bottom: 12px; }

/* Mission & Vision cards */
.mv { display: grid; gap: 16px; }
.mv__card { position: relative; background: #0b1220; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.mv__card::before { content: ""; position: absolute; left: 12px; right: 12px; top: 8px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--blue), var(--orange)); opacity: .35; }
.mv__title { margin: 8px 0 6px; }
.mv__icon { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; color: white; font-size: 18px; box-shadow: 0 0 0 2px rgba(45,111,224,.25), 0 6px 16px rgba(255,127,50,.18); margin-bottom: 8px; }
.mv--mission { border-color: rgba(255,127,50,.45); }
.mv--mission .mv__icon { background: linear-gradient(135deg, var(--orange), var(--blue)); }
.mv--vision { border-color: rgba(45,111,224,.45); }
.mv--vision .mv__icon { background: linear-gradient(135deg, var(--blue), var(--orange)); }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.timeline__item { position: relative; padding: 12px 12px 12px 32px; background: #0b1220; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.timeline__item::before { content: ""; position: absolute; left: 12px; top: 18px; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(90deg, var(--blue), var(--orange)); box-shadow: 0 0 0 3px rgba(45,111,224,.25); }
.timeline__item h3 { margin: 0 0 6px; }
.timeline__item p { margin: 0; color: var(--muted); }
.hero__text h1 { background: linear-gradient(90deg, var(--blue), var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__text p { color: var(--muted); margin: 0 0 18px; }
.hero__visual { min-height: 220px; border-radius: var(--radius); border: 1px solid var(--border); background:
  radial-gradient(400px 200px at 30% 30%, rgba(45,111,224,0.35), transparent 60%),
  radial-gradient(300px 200px at 70% 60%, rgba(255,127,50,0.35), transparent 60%),
  linear-gradient(180deg, #0b1220, #0b1220) padding-box; box-shadow: var(--shadow);
}

/* Hero visual subtle float */
.car-illustration svg { animation: floatY 6s ease-in-out infinite; will-change: transform; }
@keyframes floatY {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}
/* Headlights subtle glow */
.car-illustration .headlight { filter: drop-shadow(0 0 6px rgba(254,243,199,.9)); animation: headlightPulse 2.4s ease-in-out infinite; }
@keyframes headlightPulse {
  0%, 100% { opacity: .8; filter: drop-shadow(0 0 6px rgba(254,243,199,.8)); }
  50% { opacity: 1; filter: drop-shadow(0 0 10px rgba(254,243,199,1)); }
}

@media (max-width: 900px) {
  .hero__content { grid-template-columns: 1fr; }
}

.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.actions .caption { color: #94a3b8; font-weight: 500; }
.pills { margin-top: 10px; display: flex; gap: 8px; flex-wrap: wrap; }
.pill { padding: 6px 10px; border-radius: 999px; border: 1px solid var(--border); background: #0b1220; color: #cbd5e1; font-size: 13px; }
.pill:nth-child(odd) { border-color: rgba(45,111,224,.45); color: #dbeafe; }
.pill:nth-child(odd) { background: rgba(45,111,224,.12); }
.pill:nth-child(even) { border-color: rgba(255,127,50,.55); color: #ffedd5; }
.pill:nth-child(even) { background: rgba(255,127,50,.12); }

/* Sections */
.section { padding: 56px 0; }
.section--accent { background: linear-gradient(180deg, rgba(45,111,224,0.10), rgba(45,111,224,0.03)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section--brand { background:
  radial-gradient(900px 300px at 0% 0%, rgba(45,111,224,.10), transparent 60%),
  radial-gradient(900px 300px at 100% 0%, rgba(255,127,50,.10), transparent 60%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section__title { font-size: 24px; margin: 0 0 18px; }
.section__title { position: relative; display: inline-block; }
.section__title::after { content: ""; position: absolute; left: 0; right: -8px; bottom: -6px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--blue), var(--orange)); opacity: .9; }

.page-header { padding: 56px 0 24px; border-bottom: 1px solid var(--border); }
.page-header h1 { margin: 0 0 8px; }
.note { padding: 12px 14px; border-radius: 12px; background: #0b1220; border: 1px solid var(--border); color: #cbd5e1; }
.note--info { border-color: rgba(45,111,224,.5); }

/* Grid and Cards */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid--2 { grid-template-columns: 1fr; } }

.cards { display: grid; gap: 16px; }
.cards--grid-4 { grid-template-columns: repeat(4, 1fr); }
 .cards--grid-3 { grid-template-columns: repeat(3, 1fr); }
/* Depth for tilt */
.cards, .mockups { perspective: 800px; }
@media (max-width: 1100px) { .cards--grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards--grid-4 { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .cards--grid-3 { grid-template-columns: 1fr; } }

.card { background: #0b1220; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.card { background: #0b1220; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); position: relative; }
.card::before { content: ""; position: absolute; left: 12px; right: 12px; top: 8px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--blue), var(--orange)); opacity: .28; }
.card--hover { transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; will-change: transform; transform-style: preserve-3d; }
.card--hover:hover { transform: translateY(-2px) scale(1.01); border-color: rgba(45,111,224,.35); box-shadow: 0 12px 30px rgba(0,0,0,.45); }
.post-card { cursor: pointer; }
.brand-card { border-width: 1px; }
.brand-card--blue { border-color: rgba(45,111,224,.45); box-shadow: 0 0 0 2px rgba(45,111,224,.12) inset, var(--shadow); }
.brand-card--orange { border-color: rgba(255,127,50,.45); box-shadow: 0 0 0 2px rgba(255,127,50,.12) inset, var(--shadow); }
.brand-card .benefits li { position: relative; list-style: none; margin-left: 0; padding-left: 18px; }
.brand-card .benefits li::before { content: ""; position: absolute; left: 0; top: .65em; width: 10px; height: 10px; border-radius: 50%; background: linear-gradient(90deg, var(--blue), var(--orange)); box-shadow: 0 0 0 3px rgba(45,111,224,.20); }
.card h3 { margin: 8px 0 6px; }
.card p { color: var(--muted); margin: 0; }
.card__icon { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--orange)); color: white; font-size: 18px; }
.card__icon { box-shadow: 0 0 0 2px rgba(45,111,224,.25), 0 6px 16px rgba(255,127,50,.18); }
.card--hover:hover .thumb { border-color: rgba(45,111,224,.45); }
.thumb { height: 140px; border-radius: 12px; border: 1px dashed var(--border); background:
  radial-gradient(300px 150px at 30% 30%, rgba(45,111,224,0.15), transparent 60%),
  radial-gradient(260px 140px at 70% 60%, rgba(255,127,50,0.15), transparent 60%),
  #0b1220; margin-bottom: 10px; }
.thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; display: block; }
.meta { color: #94a3b8; font-size: 13px; }
.post { line-height: 1.75; font-size: 17px; max-width: 72ch; margin-inline: auto; }
.post h2, .post h3, .post h4 { color: #e5e7eb; margin: 18px 0 8px; line-height: 1.3; text-wrap: balance; }
.post p { margin: 10px 0; color: #cbd5e1; }
.post ul, .post ol { margin: 8px 0 12px 22px; color: #cbd5e1; }
.post li { margin: 6px 0; }
.post blockquote { margin: 12px 0; padding: 12px 14px; border-left: 3px solid rgba(45,111,224,.6); background: #0b1220; color: #d1d5db; border-radius: 8px; }
.post__hero { margin: 12px 0 16px; }
.post__hero img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--border); box-shadow: var(--shadow); max-height: 360px; object-fit: cover; aspect-ratio: 16 / 9; }
.post__figure { margin: 14px 0; }
.post__figure img { display:block; width:100%; height:auto; border-radius: 12px; border: 1px solid var(--border); background:#0b1220; }
.post__figure figcaption { font-size: .9em; color:#9fb3c8; text-align:center; margin-top:6px; }
.post__figure--center { text-align: center; }
.post .meta, .post .post__meta { color: #9fb3c8; margin-bottom: 8px; }
.link { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.link:hover { color: var(--orange); }

/* Benefits, Steps, Testimonials */
.benefits { margin: 12px 0 0; padding-left: 18px; color: var(--muted); }
.benefits li { margin: 6px 0; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { background: #0b1220; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.step__num { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--orange)); color: white; font-weight: 700; margin-bottom: 8px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.highlight { background: #0b1220; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); color: #cbd5e1; }

.testimonials { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.quote { margin: 0; background: #0b1220; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; color: #e5e7eb; box-shadow: var(--shadow); }
.quote { position: relative; }
.quote::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; border-radius: 2px 0 0 2px; background: linear-gradient(180deg, var(--blue), var(--orange)); }
.quote footer { margin-top: 8px; color: var(--muted); }
@media (max-width: 900px) { .testimonials { grid-template-columns: 1fr; } }

/* Mockups */
.mockups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mockup { height: 220px; border-radius: 16px; border: 1px dashed var(--border); background:
  radial-gradient(300px 150px at 30% 30%, rgba(45,111,224,0.15), transparent 60%),
  radial-gradient(260px 140px at 70% 60%, rgba(255,127,50,0.15), transparent 60%),
  #0b1220; box-shadow: var(--shadow); }
@media (max-width: 900px) { .mockups { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: #0b1220; border: 1px solid var(--border); border-radius: 12px; padding: 10px 14px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { color: var(--muted); margin: 8px 0 0; }

/* Store badges */
.store-badges { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 10px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--border); background: #0b1220; color: #e5e7eb; box-shadow: var(--shadow); transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.badge:hover { border-color: rgba(45,111,224,.45); background: linear-gradient(90deg, rgba(45,111,224,.15), rgba(255,127,50,.15)); transform: translateY(-1px); }

/* Newsletter */
.newsletter__form { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.newsletter__form input { width: 100%; }
@media (max-width: 640px) { .newsletter__form { grid-template-columns: 1fr; } }

/* Partners */
.partners { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.partner { height: 64px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--border); background: #0b1220; color: #94a3b8; }
@media (max-width: 900px) { .partners { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .partners { grid-template-columns: 1fr; } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat { padding: 18px; border-radius: 14px; border: 1px solid var(--border); background: #0b1220; text-align: center; }
.stat__value { font-size: 28px; font-weight: 700; color: white; }
.stat__label { color: var(--muted); }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr; } }

.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.team__card { background: #0b1220; border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; text-align: center; }
.team__card img { width: 100%; height: 220px; object-fit: cover; border-radius: 10px; }
.team__card h3 { margin: 10px 0 4px; }
.team__card p { margin: 0; color: var(--muted); }
@media (max-width: 1100px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .team { grid-template-columns: 1fr; } }

/* Buttons */
.btn { --btn-bg: #0b1220; --btn-color: white; --btn-border: var(--border);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 16px; border-radius: 12px; border: 1px solid var(--btn-border);
  color: var(--btn-color); background: var(--btn-bg); font-weight: 600; cursor: pointer;
}
.btn { transition: transform .2s ease, box-shadow .2s ease; }
.btn--primary { --btn-bg: linear-gradient(90deg, var(--blue), var(--orange)); --btn-border: transparent; }
.btn--primary { box-shadow: 0 6px 18px rgba(45,111,224,.35), 0 2px 8px rgba(255,127,50,.25); }
.store-badges .badge:first-child { border-color: rgba(45,111,224,.45); }
.store-badges .badge:last-child { border-color: rgba(255,127,50,.55); }
.stat__value { background: linear-gradient(90deg, var(--blue), var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.btn--ghost { --btn-bg: transparent; }
.btn--ghost:hover { --btn-bg: linear-gradient(90deg, rgba(45,111,224,.12), rgba(255,127,50,.12)); --btn-border: rgba(45,111,224,.45); }
.btn--light { --btn-bg: white; --btn-color: #0b1220; }
.btn:focus { outline: 2px solid var(--blue); outline-offset: 2px; }
.btn:hover { transform: translateY(-1px); }

/* Pills micro interaction */
.pill { transition: transform .2s ease, box-shadow .2s ease; }
.pill:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(45,111,224,.15); }

/* Forms */
form { display: grid; gap: 14px; }
.form-control { display: grid; gap: 6px; }
label { font-weight: 600; }
input, textarea { background: #0b1220; border: 1px solid var(--border); color: #e5e7eb; padding: 10px 12px; border-radius: 10px; }
input::placeholder, textarea::placeholder { color: #6b7280; }
.error { color: var(--danger); min-height: 16px; }
.form__status { margin-top: 6px; color: var(--success); }

/* Larger, more comfortable fields for auth forms */
.form--comfortable input,
.form--comfortable textarea,
.form--comfortable select {
  padding: 14px 16px;
  font-size: 16px;
  min-height: 46px;
  border-radius: 12px;
}
.form--comfortable .form-control label { font-size: 15px; }

.contact-info { display: grid; gap: 14px; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: var(--muted); }
.social { display: flex; gap: 8px; }
.social__link { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 10px; background: #0b1220; color: #cbd5e1; }
.social__link:hover { border-color: rgba(45,111,224,.45); color: white; background: linear-gradient(135deg, rgba(45,111,224,.2), rgba(255,127,50,.2)); }
.hamburger:hover { border-color: rgba(45,111,224,.45); background: linear-gradient(135deg, rgba(45,111,224,.12), rgba(255,127,50,.12)); color: white; }
.partner:hover { border-color: rgba(45,111,224,.45); color: #e2e8f0; box-shadow: 0 8px 20px rgba(45,111,224,.12); }
.map { height: 240px; border-radius: 12px; border: 1px dashed var(--border); display: grid; place-items: center; color: var(--muted); }
.map iframe { width: 100%; height: 100%; border: 0; border-radius: 12px; }

/* WhatsApp button */
.btn.btn--whatsapp { --btn-bg: #25D366; --btn-border: #1faa52; }
.btn.btn--whatsapp { color: #062a12; font-weight: 700; }
.btn.btn--whatsapp:hover { filter: brightness(1.05); box-shadow: 0 8px 22px rgba(37,211,102,.25); }

/* Footer */
.footer { border-top: 1px solid var(--border); background:
  radial-gradient(900px 300px at 0% 0%, rgba(45,111,224,.10), transparent 60%),
  radial-gradient(900px 300px at 100% 0%, rgba(255,127,50,.10), transparent 60%),
  #0b1220; }
.footer__inner { display: grid; gap: 18px; padding: 28px 0; }
.footer__grid { display: grid; grid-template-columns: 1.2fr repeat(2, .9fr) 1fr; gap: 20px; }
@media (max-width: 1100px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand { display: grid; gap: 10px; align-content: start; }
.footer__logo img { height: 48px; width: auto; max-width: 220px; object-fit: contain; filter: drop-shadow(0 0 0 rgba(0,0,0,0)); }
.footer__tagline { color: var(--muted); margin: 0; }
.footer__title { margin: 0 0 8px; font-size: 16px; letter-spacing: .2px; color: #e5e7eb; position: relative; display: inline-block; }
.footer__title::after { content: ""; position: absolute; left: 0; right: -6px; bottom: -4px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--blue), var(--orange)); opacity: .9; }
.footer__list, .footer__contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: var(--muted); }
.footer__list a { color: #cbd5e1; }
.footer__list a:hover { color: white; text-decoration: underline; text-underline-offset: 3px; }
.footer__contact a { color: #cbd5e1; text-decoration: underline; text-underline-offset: 3px; }
.footer__note { display: block; margin-top: 6px; color: #64748b; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 10px; border-top: 1px solid var(--border); color: #94a3b8; font-size: 14px; }
@media (max-width: 640px) { .footer__bottom { flex-direction: column; align-items: flex-start; gap: 6px; } }
.footer__legal { display: flex; gap: 10px; align-items: center; color: var(--muted); }
.footer__legal a { color: #cbd5e1; }
.footer__legal a:hover { color: white; }
.footer__copy { color: #64748b; }

/* Utilities */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ===== Motion & Reveal Utilities ===== */
:root {
  --ease-out: cubic-bezier(.22,1,.36,1);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  filter: blur(.2px);
  transition: transform .7s var(--ease-out), opacity .7s var(--ease-out), filter .7s var(--ease-out);
  transition-delay: var(--delay, 0s);
  will-change: transform, opacity, filter;
}
.reveal.from-left { transform: translateX(-18px); }
.reveal.from-right { transform: translateX(18px); }
.reveal.from-up { transform: translateY(-18px); }
.reveal.scale { transform: scale(.98); }
.reveal.is-visible { opacity: 1; transform: translate3d(0,0,0) scale(1); filter: none; }

/* Section title underline pulse (used after anchor jump) */
.section__title.pulse::after {
  animation: underlinePulse 1.2s ease-out 1;
}
@keyframes underlinePulse {
  0% { opacity: .2; transform: scaleX(.4); }
  40% { opacity: 1; transform: scaleX(1.05); }
  100% { opacity: .9; transform: scaleX(1); }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* ===================== */
/* Blog Pages            */
/* ===================== */
.blog-hero {
  padding: 72px 0 32px;
  text-align: center;
  background: 
    radial-gradient(900px 300px at 0% 0%, rgba(45,111,224,.10), transparent 60%),
    radial-gradient(900px 300px at 100% 0%, rgba(255,127,50,.10), transparent 60%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.blog-hero h1 {
  margin: 0 0 18px;
  font-size: 24px;
  position: relative;
  display: inline-block;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.blog-hero h1::after {
  content: "";
  position: absolute;
  left: 0;
  right: -8px;
  bottom: -6px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  opacity: .9;
}
.blog-hero p {
  color: var(--muted);
  margin-top: -6px;
  margin-bottom: 12px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* Filters */
.blog-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
  justify-content: center;
}
.blog-filters__search {
  position: relative;
}
.blog-filters__search input {
  padding-left: 40px;
  min-width: 260px;
}
.blog-filters__search svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--muted);
}

/* Layout */
.blog-layout {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .blog-layout {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Sidebar */
.blog-sidebar {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.blog-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  position: relative;
}
.blog-widget::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 8px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  opacity: .28;
}
.blog-widget__title {
  margin: 8px 0 6px;
  font-weight: 600;
  color: var(--text);
}
.blog-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.blog-tags a {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: #cbd5e1;
  font-size: 13px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.blog-tags a:nth-child(odd) {
  border-color: rgba(45,111,224,.45);
  color: #dbeafe;
  background: rgba(45,111,224,.12);
}
.blog-tags a:nth-child(even) {
  border-color: rgba(255,127,50,.55);
  color: #ffedd5;
  background: rgba(255,127,50,.12);
}
.blog-tags a:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(45,111,224,.15);
}

/* Popular list */
.popular-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  color: var(--muted);
}
.popular-list a {
  color: var(--blue);
  font-weight: 500;
}
.popular-list a:hover {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Mini newsletter */
.newsletter-mini {
  display: grid;
  gap: 10px;
}
.newsletter-mini p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}
.newsletter-mini .btn {
  padding: 8px 12px;
  font-size: 13px;
  border-radius: 10px;
}

/* Post list */
.post-list {
  display: grid;
  gap: 16px;
}
.cards--grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) {
  .cards--grid-3 {
    grid-template-columns: 1fr;
  }
}

/* Category divider */
.category-divider {
  grid-column: 1 / -1;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--muted);
  margin: 2.5rem 0 1rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.category-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border), transparent);
}

/* Post card */
.post-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  will-change: transform;
  transform-style: preserve-3d;
}
.post-card::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 8px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  opacity: .28;
}
.post-card:hover {
  transform: translateY(-2px) scale(1.01);
  border-color: rgba(45,111,224,.35);
  box-shadow: 0 12px 30px rgba(0,0,0,.45);
}
.post-card h2 {
  margin: 8px 0 6px;
  font-weight: 600;
  color: var(--text);
}
.post-card p {
  color: var(--muted);
  margin: 0;
}
.post-card .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: #94a3b8;
  margin: 6px 0;
}
.post-card .meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.post-card .read-more {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
  margin-top: 8px;
  display: inline-block;
}
.post-card .read-more:hover {
  color: var(--orange);
}

/* New badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: #e5e7eb;
  box-shadow: var(--shadow);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.badge--new {
  border-color: rgba(45,111,224,.45);
}
.badge:hover {
  border-color: rgba(45,111,224,.45);
  background: linear-gradient(90deg, rgba(45,111,224,.15), rgba(255,127,50,.15));
  transform: translateY(-1px);
}

/* Empty state */
.empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 42px 20px;
  border: 2px dashed var(--border);
  border-radius: 18px;
  color: var(--muted);
  font-size: 14px;
}

/* Responsive alignment when sidebar present */
@media (min-width: 980px) {
  .blog-layout {
    grid-template-columns: 260px 1fr;
    align-items: start;
  }
}

/* ===================== */
/* Policies - Mobile Cards*/
/* ===================== */
.policy-list { display: grid; gap: 10px; }
.policy-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 12px; box-shadow: var(--shadow); }
.policy-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.policy-type { display: inline-flex; align-items: center; padding: 6px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .2px; text-transform: capitalize; color: #e5e7eb; border: 1px solid rgba(45,111,224,.45); background: rgba(45,111,224,.12); }
.policy-actions { display: flex; gap: 8px; align-items: center; }
.policy-main { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.policy-main .pm-left { font-weight: 600; color: #e5e7eb; }
.policy-main .pm-right { font-weight: 700; color: #e5e7eb; }
.policy-sub { color: #94a3b8; font-size: 12px; margin-top: 4px; }
.policy-details { margin-top: 8px; }
.policy-details summary { cursor: pointer; font-weight: 600; color: #cbd5e1; }
.policy-details[open] summary { margin-bottom: 6px; }
.pd-grid { display: grid; grid-template-columns: 1fr; gap: 6px; }
.pd-item { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: #0b1220; border: 1px solid var(--border); border-radius: 10px; padding: 8px 10px; }
.pd-item span { color: #94a3b8; font-size: 12px; }
.pd-item strong { color: #e5e7eb; font-size: 13px; }
.pill-status { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: 12px; border: 1px solid transparent; }

@media (min-width: 761px) {
  /* Keep card styles but prefer table on desktop. No special changes needed */
}

/* Desktop policy table: capitalize only first letter of first column (Tür) */
.data-table td:first-child { text-transform: lowercase; }
.data-table td:first-child::first-letter { text-transform: uppercase; }
