/* ============================================================
   BlazeOS — ChromeOS Design System (Refined & Polished)
   Inspired by https://chromeos.google/
   Clean, Airy, Pastel Pill Accents, Laptop + Phone Stage, Rounded-3xl Cards
   Strict rule: Zero emojis. Detailed Google Material & vector line-art icons.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Colors */
  --bg-page: #ffffff;
  --bg-surface: #f8f9fa;
  --bg-surface-2: #f1f3f4;
  --bg-card: #ffffff;
  --bg-dark: #1e1f20;
  
  --text-main: #1f1f1f;
  --text-muted: #5f6368;
  --text-light: #80868b;
  --text-on-dark: #f8f9fa;

  --border-light: rgba(0, 0, 0, 0.08);
  --border-subtle: #dadce0;

  /* ChromeOS Pastel Pill Colors */
  --pill-blue-bg: #e8f0fe;
  --pill-blue-text: #1967d2;
  
  --pill-green-bg: #e6f4ea;
  --pill-green-text: #137333;

  --pill-amber-bg: #fef7e0;
  --pill-amber-text: #b06000;

  --pill-coral-bg: #fce8e6;
  --pill-coral-text: #c5221f;

  --pill-purple-bg: #f3e8fd;
  --pill-purple-text: #7627bb;

  /* Elevations */
  --shadow-sm: 0 1px 3px rgba(60,64,67,.08), 0 1px 2px rgba(60,64,67,.04);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03);
  --shadow-float: 0 12px 32px rgba(0, 0, 0, 0.09), 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-lift: 0 16px 40px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);

  /* Dimensions & Radii */
  --max-width: 1240px;
  --radius-pill: 9999px;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --nav-height: 72px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* SVG Vector Icon Utilities */
.icon-svg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  flex-shrink: 0;
}

.icon-svg svg {
  fill: currentColor;
  width: 100%;
  height: 100%;
}

/* Layout */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

.section {
  padding-block: clamp(64px, 8vw, 112px);
  position: relative;
}

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

.section--dark {
  background-color: var(--bg-dark);
  color: var(--text-on-dark);
}

.section-header {
  text-align: center;
  max-width: 820px;
  margin-inline: auto;
  margin-bottom: clamp(40px, 6vw, 64px);
}

/* Typography & Pastel Pill Badges */
.display-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 680px;
  margin-inline: auto;
}

.pill-badge {
  display: inline-block;
  padding: 0.08em 0.55em;
  border-radius: var(--radius-pill);
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
  vertical-align: baseline;
  transition: transform 0.2s ease;
}

.pill-badge:hover {
  transform: scale(1.03);
}

.pill-blue   { background-color: var(--pill-blue-bg);   color: var(--pill-blue-text); }
.pill-green  { background-color: var(--pill-green-bg);  color: var(--pill-green-text); }
.pill-amber  { background-color: var(--pill-amber-bg);  color: var(--pill-amber-text); }
.pill-coral  { background-color: var(--pill-coral-bg);  color: var(--pill-coral-text); }
.pill-purple { background-color: var(--pill-purple-bg); color: var(--pill-purple-text); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.96rem;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  transition: all 0.2s cubic-bezier(0.2, 0, 0, 1);
  white-space: nowrap;
  flex-shrink: 0;
}

.btn--primary {
  background-color: #1a73e8;
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(26,115,232,0.3);
}

.btn--primary:hover {
  background-color: #1557b0;
  box-shadow: 0 4px 12px rgba(26,115,232,0.35);
  transform: translateY(-1px);
}

.btn--outline {
  background-color: #ffffff;
  color: #1a73e8;
  border: 1px solid var(--border-subtle);
}

.btn--outline:hover {
  background-color: var(--bg-surface-2);
  border-color: #1a73e8;
}

.btn--dark {
  background-color: #202124;
  color: #ffffff;
}

.btn--dark:hover {
  background-color: #303134;
  transform: translateY(-1px);
}

.btn--soft-blue {
  background-color: var(--pill-blue-bg);
  color: var(--pill-blue-text);
}

.btn--soft-blue:hover {
  background-color: #d2e3fc;
}

/* Header & Main Nav (Fixing Overlaps and Scaling Logo) */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.025em;
  flex-shrink: 0;
  white-space: nowrap;
}

.brand__img {
  height: 26px;
  width: auto;
  max-width: 80px;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  flex-shrink: 1;
}

.nav-links li {
  white-space: nowrap;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  padding: 6px 4px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-main);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.lang-switch {
  display: flex;
  align-items: center;
  background: var(--bg-surface-2);
  border-radius: var(--radius-pill);
  padding: 3px;
  font-size: 0.8rem;
  font-weight: 600;
}

.lang-btn {
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  color: var(--text-muted);
}

.lang-btn.active {
  background: #ffffff;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}

/* ChromeOS Floating Sub-Navigation Bar */
.subnav-wrapper {
  position: sticky;
  top: calc(var(--nav-height) + 10px);
  z-index: 90;
  display: flex;
  justify-content: center;
  margin-top: -20px;
  margin-bottom: 24px;
  pointer-events: none;
}

.subnav-pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow-card);
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  max-width: 94vw;
  overflow-x: auto;
}

.subnav-pill::-webkit-scrollbar {
  display: none;
}

.subnav-link {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: all 0.2s ease;
}

.subnav-link:hover {
  color: var(--text-main);
  background: var(--bg-surface);
}

.subnav-link.active {
  color: #1a73e8;
  background: var(--pill-blue-bg);
}

/* Hero Section */
.hero {
  padding-top: 48px;
  padding-bottom: 72px;
  text-align: center;
  overflow: hidden;
}

.hero__headline {
  max-width: 920px;
  margin-inline: auto;
  margin-bottom: 20px;
}

.hero__subtext {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 32px;
}

.hero__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Redesigned Device Composition: Clean Laptop + Phone Side-by-Side */
.hero-stage {
  position: relative;
  max-width: 1040px;
  margin-inline: auto;
  padding: 20px 10px 0;
}

.devices-wrapper {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  gap: 16px;
}

/* Clean Authentic Laptop Model */
.laptop-unit {
  position: relative;
  width: 100%;
  max-width: 760px;
  flex-shrink: 1;
}

.laptop-lid {
  background: #181920;
  border-radius: 18px 18px 0 0;
  padding: 12px 12px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(255,255,255,0.06) inset;
  position: relative;
}

.laptop-cam {
  width: 6px;
  height: 6px;
  background: #2b2d38;
  border-radius: 50%;
  margin: 0 auto 8px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.1);
}

.laptop-screen {
  background: #090a0f;
  border-radius: 6px 6px 0 0;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.05);
}

.laptop-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.laptop-hinge {
  height: 4px;
  background: #111217;
  width: 100%;
}

.laptop-base-plate {
  height: 14px;
  background: linear-gradient(180deg, #d8dade 0%, #b3b6bf 100%);
  border-radius: 0 0 18px 18px;
  position: relative;
  margin-inline: -16px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18), 0 1px 0 rgba(255,255,255,0.4) inset;
}

.laptop-notch {
  width: 80px;
  height: 4px;
  background: #90949d;
  border-radius: 0 0 6px 6px;
  margin: 0 auto;
}

/* Companion Phone Frame (Showing BlazeAOSP Screenshot) */
.phone-companion {
  width: 180px;
  flex-shrink: 0;
  background: #1b1c22;
  border-radius: 34px;
  padding: 8px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255,255,255,0.12) inset;
  position: relative;
  margin-left: -40px;
  margin-bottom: -10px;
  z-index: 15;
  transform: translateY(-8px);
}

.phone-speaker {
  width: 38px;
  height: 4px;
  background: #2d2f38;
  border-radius: 9999px;
  margin: 4px auto 6px;
}

.phone-screen-companion {
  border-radius: 26px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 550 / 960;
}

.phone-screen-companion img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Floating Badges */
.float-card {
  position: absolute;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
  padding: 16px 20px;
  text-align: left;
  animation: floatSoft 5s ease-in-out infinite alternate;
}

@keyframes floatSoft {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

.float-card--left {
  left: -40px;
  top: 25%;
  max-width: 240px;
  animation-delay: 0.4s;
}

.float-card--right {
  right: -75px;
  bottom: 24%;
  max-width: 250px;
  animation-delay: 1.1s;
  z-index: 25;
}

.float-card__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.float-card__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.float-card__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

.float-card__desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* 3-Column ChromeOS Card Grid */
.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.feature-card-lg {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
  position: relative;
  overflow: hidden;
}

.feature-card-lg:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(26,115,232,0.25);
}

.feature-card-lg__tag {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 12px;
}

.feature-card-lg__title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
}

.feature-card-lg__body {
  font-size: 0.98rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.feature-card-lg__action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
}

.plus-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-surface-2);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: all 0.2s ease;
}

.feature-card-lg:hover .plus-btn {
  background: #1a73e8;
  color: #ffffff;
}

/* ChromeOS Interactive Tabbed Section ("Farklı bir işletim sistemi") */
.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--text-muted);
  background: var(--bg-surface-2);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease;
}

.tab-btn:hover {
  color: var(--text-main);
  background: #e8eaed;
}

.tab-btn.active {
  background: var(--text-main);
  color: #ffffff;
}

.tab-content-panel {
  display: none;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 5vw, 64px);
  box-shadow: var(--shadow-card);
}

.tab-content-panel.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.tab-panel__left {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}

.tab-panel__right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.tab-panel__right h3 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 700;
  line-height: 1.25;
}

.tab-panel__right p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-block: 8px;
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-main);
  font-weight: 500;
}

.checklist-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--pill-green-bg);
  color: var(--pill-green-text);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Sürümler & Yol Haritası (Clean Vector Icon Boxes) */
.editions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.edition-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.edition-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.edition-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--bg-surface-2);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.edition-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.edition-card__role {
  font-size: 0.82rem;
  color: #1a73e8;
  font-weight: 600;
  margin-bottom: 12px;
}

.edition-card__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex-grow: 1;
}

.edition-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
  font-size: 0.85rem;
}

/* BlazeAOSP Android Section & Phone Mockups */
.android-showcase {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  padding: clamp(32px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.phone-mockups-wrap {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.phone-frame {
  width: 210px;
  background: #1e1e24;
  border-radius: 36px;
  padding: 9px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.18), 0 0 0 1px rgba(255,255,255,0.1) inset;
  position: relative;
  overflow: hidden;
}

.phone-screen {
  width: 100%;
  border-radius: 28px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 550 / 960;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Terminal Console (Easter Egg) */
.terminal-card {
  background: #1e1f20;
  color: #e8eaed;
  border-radius: var(--radius-lg);
  padding: 24px;
  font-family: var(--font-mono);
  box-shadow: var(--shadow-card);
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.terminal-form {
  display: flex;
  align-items: center;
  gap: 10px;
}

.terminal-prompt {
  color: #8ab4f8;
  font-weight: 600;
}

.terminal-input {
  flex-grow: 1;
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
}

.terminal-output {
  margin-top: 12px;
  font-size: 0.88rem;
  color: #c4c7c5;
  white-space: pre-wrap;
  line-height: 1.5;
}

/* Breadcrumb Navigation */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 24px;
}

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

.breadcrumb a:hover {
  color: #1a73e8;
}

/* Footer (ChromeOS style clean multi-column) */
.footer {
  background: #f8f9fa;
  border-top: 1px solid var(--border-light);
  padding-top: 72px;
  padding-bottom: 40px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.footer__col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 18px;
}

.footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.footer__col a:hover {
  color: #1a73e8;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid var(--border-light);
  font-size: 0.85rem;
  color: var(--text-light);
  flex-wrap: wrap;
  gap: 16px;
}

/* Responsive */
@media (max-width: 1220px) {
  .float-card { display: none; }
}

@media (max-width: 1080px) {
  .nav-links { display: none; }
  .android-showcase { grid-template-columns: 1fr; }
  .tab-content-panel.active { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .devices-wrapper { flex-direction: column; align-items: center; }
  .phone-companion { margin-left: 0; margin-top: -24px; }
  .phone-mockups-wrap { flex-direction: column; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero-stage { padding-inline: 0; }
  .feature-card-lg { padding: 24px; }
}
