/* ==========================================================================
   SAKLI - APPLE LUXURY MINIMALIST STUDIO DESIGN SYSTEM
   Mobile-First Refined Precision Layout
   ========================================================================== */

@font-face {
  font-family: 'Familjen Grotesk';
  src: url('fonts/FamiljenGrotesk-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Familjen Grotesk';
  src: url('fonts/FamiljenGrotesk-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Open Runde';
  src: url('fonts/OpenRunde-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Open Runde';
  src: url('fonts/OpenRunde-Semibold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Open Runde';
  src: url('fonts/OpenRunde-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Open Runde';
  src: url('fonts/OpenRunde-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-header: 'Familjen Grotesk', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
  --font-body: 'Open Runde', -apple-system, BlinkMacSystemFont, 'SF Pro Rounded', system-ui, sans-serif;
  
  --bg-studio: #FCFDFD;
  --bg-pearl: #F4F6F8;
  --bg-card: #FFFFFF;
  --bg-card-subtle: #EEF2F6;
  
  --border-hairline: rgba(15, 23, 42, 0.07);
  --border-card: rgba(15, 23, 42, 0.08);
  --border-active: rgba(5, 150, 105, 0.35);
  
  --text-main: #090E17;
  --text-secondary: #475569;
  --text-muted: #8E9BAE;
  
  --emerald: #059669;
  --emerald-light: #10B981;
  --emerald-tint: rgba(5, 150, 105, 0.08);
  --emerald-glow: rgba(16, 185, 129, 0.16);
  
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 36px;
  --radius-full: 9999px;
  
  --shadow-subtle: 0 4px 18px -2px rgba(9, 14, 23, 0.04);
  --shadow-float: 0 20px 48px -12px rgba(9, 14, 23, 0.08), 0 4px 14px -4px rgba(9, 14, 23, 0.03);
  --shadow-phone-left: -15px 30px 60px -10px rgba(9, 14, 23, 0.16), 0 4px 20px rgba(0,0,0,0.06);
  --shadow-phone-right: 20px 38px 70px -10px rgba(9, 14, 23, 0.20), 0 6px 24px rgba(0,0,0,0.08);
  
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

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

/* Subtle Studio Lights */
.studio-light-top {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
  height: 500px;
  background: radial-gradient(ellipse at 50% 0%, rgba(5, 150, 105, 0.06) 0%, rgba(244, 246, 248, 0.8) 60%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

.studio-grid-pattern {
  display: none; /* Mobilde ve masaüstünde karmaşayı önlemek için kaldırıldı, temiz zemin */
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-header);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-main);
}

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

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
  transition: all 0.2s var(--ease-spring);
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(252, 253, 253, 0.90);
  border-bottom: 1px solid var(--border-hairline);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding: 0 4px;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  object-fit: cover;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-header);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-main);
}

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

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 500;
}

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

.btn-pill-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  background: #090E17;
  color: #FFFFFF !important;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(9, 14, 23, 0.12);
  transition: all 0.25s var(--ease-spring);
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-pill-dark:hover {
  background: #1E293B;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(9, 14, 23, 0.20);
}

.btn-pill-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: var(--shadow-subtle);
  transition: all 0.25s var(--ease-spring);
  white-space: nowrap;
}

.btn-pill-ghost:hover {
  border-color: rgba(9, 14, 23, 0.2);
  transform: translateY(-2px);
}

/* ==========================================================================
   HERO STUDIO SECTION
   ========================================================================== */
.hero-section {
  padding: 60px 0 20px;
  text-align: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--emerald-tint);
  border: 1px solid rgba(5, 150, 105, 0.18);
  border-radius: var(--radius-full);
  color: var(--emerald);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 22px;
}

.hero-tag .dot {
  width: 6px;
  height: 6px;
  background: var(--emerald);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--emerald);
  flex-shrink: 0;
}

.hero-title {
  font-size: clamp(2.4rem, 4.8vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  max-width: 860px;
  margin: 0 auto 18px;
  letter-spacing: -0.04em;
  padding: 0 8px;
}

.hero-title span {
  color: var(--emerald);
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.6;
  padding: 0 12px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.hero-actions .btn-pill-dark {
  padding: 13px 28px;
  font-size: 0.98rem;
}

.hero-actions .btn-pill-ghost {
  padding: 13px 24px;
  font-size: 0.98rem;
}

.hero-specs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: var(--text-muted);
  font-size: 0.86rem;
  font-weight: 500;
  margin-bottom: 50px;
  flex-wrap: wrap;
  padding: 0 10px;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  white-space: nowrap;
}

.spec-item svg {
  color: var(--emerald);
  flex-shrink: 0;
}

/* ==========================================================================
   DUAL PHONE STUDIO SHOWCASE
   ========================================================================== */
.studio-stage {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: 30px 10px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-stage-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -40%);
  width: 90%;
  max-width: 650px;
  height: 380px;
  background: radial-gradient(ellipse, rgba(5, 150, 105, 0.10) 0%, rgba(244, 246, 248, 0.4) 50%, transparent 75%);
  pointer-events: none;
  z-index: 0;
  filter: blur(50px);
}

.dual-phones {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  width: 100%;
}

.iphone-frame {
  width: 310px;
  max-width: 100%;
  border-radius: 48px;
  background: linear-gradient(135deg, #E2E8F0 0%, #CBD5E1 50%, #94A3B8 100%);
  padding: 10px;
  position: relative;
  transition: transform 0.45s var(--ease-spring), box-shadow 0.45s ease;
  flex-shrink: 0;
}

.iphone-frame.left-phone {
  transform: rotate(-3deg) translateY(8px);
  box-shadow: var(--shadow-phone-left);
}

.iphone-frame.right-phone {
  transform: rotate(3deg) translateY(-8px);
  box-shadow: var(--shadow-phone-right);
}

.iphone-frame.left-phone:hover {
  transform: rotate(-1deg) translateY(0) scale(1.02);
  z-index: 5;
}

.iphone-frame.right-phone:hover {
  transform: rotate(1deg) translateY(-14px) scale(1.02);
  z-index: 5;
}

.dynamic-island {
  position: absolute;
  top: 19px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 25px;
  background: #000000;
  border-radius: 20px;
  z-index: 20;
}

.phone-screen {
  border-radius: 38px;
  overflow: hidden;
  aspect-ratio: 1170 / 2532;
  background: #FFFFFF;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

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

.phone-label {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.80rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

/* ==========================================================================
   BRAND LOGOS TICKER
   ========================================================================== */
.brand-ticker-section {
  padding: 60px 0 45px;
  text-align: center;
  border-bottom: 1px solid var(--border-hairline);
  background: #FFFFFF;
}

.ticker-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.brands-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.brand-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: var(--bg-pearl);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-full);
  font-size: 0.90rem;
  font-weight: 600;
  color: var(--text-main);
  transition: all 0.25s var(--ease-spring);
}

.brand-chip:hover {
  background: #FFFFFF;
  border-color: rgba(5, 150, 105, 0.3);
  box-shadow: var(--shadow-subtle);
  transform: translateY(-2px);
}

.brand-chip img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

/* ==========================================================================
   MINIMAL BENTO GRID FEATURES
   ========================================================================== */
.features-section {
  padding: 90px 0 80px;
}

.section-intro {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 50px;
}

.section-kicker {
  font-size: 0.80rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--emerald);
  margin-bottom: 10px;
}

.section-heading {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 14px;
}

.section-caption {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.bento-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.bento-tile {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-subtle);
  transition: all 0.3s var(--ease-spring);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(5, 150, 105, 0.25);
  box-shadow: var(--shadow-float);
}

.bento-tile.span-2 {
  grid-column: span 2;
}

.tile-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--emerald-tint);
  color: var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.tile-icon.blue {
  background: rgba(37, 99, 235, 0.08);
  color: #2563EB;
}

.tile-icon.amber {
  background: rgba(217, 119, 6, 0.08);
  color: #D97706;
}

.tile-icon.rose {
  background: rgba(225, 29, 72, 0.08);
  color: #E11D48;
}

.tile-icon.purple {
  background: rgba(124, 58, 237, 0.08);
  color: #7C3AED;
}

.bento-tile h3 {
  font-size: 1.30rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.bento-tile p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   SECURITY STUDIO CARD
   ========================================================================== */
.security-section {
  padding-bottom: 90px;
}

.studio-security-card {
  background: linear-gradient(145deg, #FFFFFF 0%, var(--bg-pearl) 100%);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 50px 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  box-shadow: var(--shadow-float);
}

.sec-left {
  max-width: 540px;
}

.sec-left h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.sec-left p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

.sec-pills {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

.sec-pill-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: var(--shadow-subtle);
}

.sec-pill-item svg {
  color: var(--emerald);
  flex-shrink: 0;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #FFFFFF;
  border-top: 1px solid var(--border-hairline);
  padding: 60px 0 35px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 45px;
  flex-wrap: wrap;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.90rem;
  margin-top: 12px;
}

.footer-links-group {
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  color: var(--text-main);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col a, .footer-col button {
  color: var(--text-secondary);
  font-size: 0.90rem;
  text-align: left;
}

.footer-col a:hover, .footer-col button:hover {
  color: var(--emerald);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 26px;
  border-top: 1px solid var(--border-hairline);
  color: var(--text-muted);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 14px;
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(9, 14, 23, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #FFFFFF;
  width: 100%;
  max-width: 560px;
  border-radius: var(--radius-xl);
  box-shadow: 0 30px 80px -15px rgba(9, 14, 23, 0.25);
  border: 1px solid var(--border-card);
  overflow: hidden;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-hairline);
}

.modal-header h3 {
  font-size: 1.30rem;
  font-weight: 700;
}

.modal-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-pearl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-secondary);
}

.modal-close-btn:hover {
  background: #E2E8F0;
  color: var(--text-main);
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
  line-height: 1.6;
  color: var(--text-secondary);
  font-size: 0.94rem;
}

.modal-body h4 {
  font-size: 1rem;
  margin: 16px 0 6px;
  color: var(--text-main);
}

.modal-body h4:first-child {
  margin-top: 0;
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 24px;
  border-top: 1px solid var(--border-hairline);
  background: var(--bg-pearl);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Mobile Precision)
   ========================================================================== */
@media (max-width: 960px) {
  .dual-phones {
    flex-direction: column;
    gap: 46px;
  }
  .iphone-frame {
    width: 290px;
  }
  .iphone-frame.left-phone, .iphone-frame.right-phone {
    transform: none;
    box-shadow: var(--shadow-float);
  }
  .bento-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-tile.span-2 {
    grid-column: span 2;
  }
  .studio-security-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 38px 28px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
  .nav-inner {
    height: 60px;
  }
  .logo-icon {
    width: 32px;
    height: 32px;
  }
  .logo-text {
    font-size: 1.3rem;
  }
  .site-nav .nav-links {
    display: none;
  }
  .site-nav .btn-pill-dark {
    padding: 8px 14px;
    font-size: 0.82rem;
  }
  .hero-section {
    padding: 36px 0 16px;
  }
  .hero-tag {
    padding: 5px 12px;
    font-size: 0.76rem;
    margin-bottom: 16px;
  }
  .hero-title {
    font-size: 1.95rem;
    line-height: 1.15;
    margin-bottom: 14px;
    padding: 0;
  }
  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 24px;
    padding: 0 4px;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-bottom: 24px;
  }
  .hero-actions a {
    width: 100%;
    max-width: 100%;
    padding: 13px 20px !important;
    font-size: 0.94rem !important;
  }
  .hero-specs {
    gap: 10px 14px;
    font-size: 0.78rem;
    margin-bottom: 36px;
    padding: 0;
  }
  .studio-stage {
    padding: 10px 0;
    max-width: 100%;
  }
  .dual-phones {
    gap: 40px;
  }
  .iphone-frame {
    width: 270px;
    border-radius: 44px;
    padding: 8px;
  }
  .phone-screen {
    border-radius: 36px;
  }
  .dynamic-island {
    width: 76px;
    height: 20px;
    top: 15px;
  }
  .phone-label {
    bottom: -24px;
    font-size: 0.74rem;
  }
  .brand-ticker-section {
    padding: 44px 0 32px;
  }
  .brands-row {
    gap: 8px;
  }
  .brand-chip {
    padding: 7px 14px;
    font-size: 0.82rem;
  }
  .features-section {
    padding: 60px 0 40px;
  }
  .section-intro {
    margin-bottom: 36px;
  }
  .section-heading {
    font-size: 1.65rem;
  }
  .section-caption {
    font-size: 0.95rem;
  }
  .bento-container {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .bento-tile {
    padding: 24px 20px;
  }
  .bento-tile.span-2 {
    grid-column: span 1;
  }
  .bento-tile h3 {
    font-size: 1.18rem;
  }
  .bento-tile p {
    font-size: 0.90rem;
  }
  .studio-security-card {
    padding: 28px 18px;
    gap: 24px;
  }
  .sec-left h2 {
    font-size: 1.55rem;
  }
  .sec-left p {
    font-size: 0.92rem;
  }
  .sec-pills {
    width: 100%;
    gap: 9px;
  }
  .sec-pill-item {
    font-size: 0.84rem;
    padding: 10px 14px;
  }
  .footer-top {
    flex-direction: column;
    gap: 30px;
  }
  .footer-links-group {
    gap: 30px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

@media (max-width: 360px) {
  .iphone-frame {
    width: 240px;
  }
  .hero-title {
    font-size: 1.75rem;
  }
}
