/* ==========================================================================
   FIRDEVS FOTOKOPİ - BRAND STYLESHEET (REV. BRAND IDENTITY)
   Colors: Amber #FF9100 | Dark Anthracite #1E252D | Light Purple/Gray #ECEBFA
   Typography: Inter Tight & Plus Jakarta Sans (Compact, Vertical Strong)
   Yatay Taşma Koruma: Structural & Zero-Overflow Guard Rules Applied
   ========================================================================== */

:root {
  /* Exact Brand Palette */
  --amber-primary: #FF9100;
  --amber-hover: #e08000;
  --dark-anthracite: #1E252D;
  --dark-surface: #171d24;
  --light-purple-gray: #ECEBFA;
  
  --surface-white: #FFFFFF;
  --surface-light: #F7F7FA;
  
  --text-main: #1E252D;
  --text-muted: #68717B;
  --text-light-main: #FFFFFF;
  --text-light-muted: #9BA3AF;
  
  --whatsapp-green: #22C55E;
  
  /* Layout Spacing */
  --container-width: 1200px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  /* Transitions & Shadows */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-subtle: 0 10px 30px rgba(30, 37, 45, 0.05);
  --shadow-card: 0 20px 40px rgba(30, 37, 45, 0.08);
  --shadow-amber: 0 8px 24px rgba(255, 145, 0, 0.28);
  
  /* Fonts - Compact & Vertical */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Inter Tight', var(--font-sans);
}

/* ==========================================================================
   GLOBAL RESET & OVERFLOW PREVENTION (STRICT)
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background-color: var(--surface-light);
  color: var(--text-main);
  line-height: 1.6;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

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

button, input, select, textarea {
  font: inherit;
  border: none;
  outline: none;
}

/* Base Container Rules */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  box-sizing: border-box;
}

/* Direct flex/grid overflow fix */
.container, .hero-container, .form-wrapper-outer, .student-box, .portfolio-grid, .timeline-wrapper {
  min-width: 0;
}

/* ==========================================================================
   AÇILIŞ ANİMASYONU (INTRO OVERLAY)
   ========================================================================== */
.intro-overlay {
  position: fixed;
  inset: 0;
  background-color: var(--dark-anthracite);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  width: 100vw;
  max-width: 100%;
  overflow: hidden;
}

.intro-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
}

.intro-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  position: relative;
}

.paper-line {
  width: 0;
  height: 4px;
  background: var(--amber-primary);
  animation: paperSlide 0.7s cubic-bezier(0.65, 0, 0.35, 1) forwards;
  border-radius: 2px;
}

.intro-logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.intro-monogram {
  width: 64px;
  height: 64px;
  opacity: 0;
  transform: scale(0.8);
  animation: logoPop 0.5s 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.intro-text {
  text-align: center;
}

.intro-brand {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--surface-white);
  display: block;
  opacity: 0;
  transform: translateY(10px);
  animation: textReveal 0.5s 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.intro-sub {
  font-size: 0.75rem;
  letter-spacing: 3px;
  color: var(--amber-primary);
  font-weight: 700;
  opacity: 0;
  display: block;
  animation: textReveal 0.5s 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes paperSlide {
  to { width: 120px; }
}

@keyframes logoPop {
  to { opacity: 1; transform: scale(1); }
}

@keyframes textReveal {
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   HEADER & LOGO BRAND IDENTITY
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.1rem 0;
  transition: padding 0.3s ease, background 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.scrolled {
  padding: 0.75rem 0;
  background: rgba(30, 37, 45, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Kesin Dairesel K/F Monogram Logosu */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-monogram-circle {
  width: 44px;
  height: 44px;
  background: var(--dark-anthracite);
  border: 1.5px solid rgba(255, 145, 0, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.brand-logo:hover .brand-monogram-circle {
  transform: scale(1.05);
  border-color: var(--amber-primary);
}

.kf-logo-svg {
  width: 100%;
  height: 100%;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 0.95;
}

.logo-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--surface-white);
}

.logo-subtitle {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  color: var(--amber-primary);
  margin-top: 3px;
}

/* Scrolled Header Text Colors */
.site-header:not(.scrolled) .logo-title {
  color: var(--dark-anthracite);
}

.site-header.scrolled .logo-title {
  color: var(--surface-white);
}

/* Navigation Links */
.main-nav .nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  position: relative;
}

.site-header:not(.scrolled) .nav-link {
  color: var(--text-main);
}

.site-header.scrolled .nav-link {
  color: var(--text-light-muted);
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--amber-primary);
  transition: width var(--transition-fast);
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Hamburger Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  cursor: pointer;
  width: 32px;
  height: 24px;
  position: relative;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1001;
  padding: 0;
}

.mobile-toggle .bar {
  width: 100%;
  height: 2.5px;
  background-color: var(--dark-anthracite);
  transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
  border-radius: 2px;
}

.site-header.scrolled .mobile-toggle .bar {
  background-color: var(--surface-white);
}

/* ==========================================================================
   BUTTONS & UI ELEMENTS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  white-space: nowrap;
  box-sizing: border-box;
}

.btn-primary {
  background: var(--amber-primary);
  color: var(--dark-anthracite);
  box-shadow: var(--shadow-amber);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--amber-hover);
  box-shadow: 0 10px 28px rgba(255, 145, 0, 0.4);
}

.btn-secondary {
  background: var(--surface-white);
  color: var(--dark-anthracite);
  border: 1px solid rgba(30, 37, 45, 0.12);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  background: var(--surface-light);
  border-color: var(--dark-anthracite);
}

.btn-lg {
  padding: 0.9rem 1.85rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding-top: 9.5rem;
  padding-bottom: 5.5rem;
  overflow: hidden;
  background: linear-gradient(180deg, var(--light-purple-gray) 0%, var(--surface-light) 100%);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--surface-white);
  border: 1px solid rgba(255, 145, 0, 0.3);
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.badge-pulse {
  width: 8px;
  height: 8px;
  background-color: var(--amber-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(255, 145, 0, 0.5);
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(255, 145, 0, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(255, 145, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 145, 0, 0); }
}

.badge-text {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--dark-anthracite);
  letter-spacing: 0.3px;
}

/* Kompakt, Dikey Güçlü Hero Başlık */
.hero-title {
  font-family: var(--font-heading);
  font-size: 3.75rem;
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -1.5px;
  color: var(--dark-anthracite);
  margin-bottom: 1.25rem;
}

.text-highlight {
  color: var(--amber-primary);
  position: relative;
  display: inline-block;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 500px;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.25rem;
  flex-wrap: wrap;
}

.hero-student-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(30, 37, 45, 0.08);
}

.student-avatar-group {
  display: flex;
  align-items: center;
}

.student-avatar-group .avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface-white);
  border: 2px solid var(--surface-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  margin-left: -8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.student-avatar-group .avatar:first-child {
  margin-left: 0;
}

.student-tag-text {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* Hero Visual Concept: Dark Anthracite Surface & Amber Details */
.hero-visual {
  position: relative;
  width: 100%;
}

.visual-stage {
  position: relative;
  width: 100%;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Screen Mockup */
.screen-card {
  position: absolute;
  top: 10px;
  left: 0;
  width: 270px;
  height: 190px;
  background: var(--dark-anthracite);
  border-radius: var(--radius-md);
  padding: 1rem;
  box-shadow: 0 25px 50px rgba(30, 37, 45, 0.2);
  transform: rotate(-3deg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1;
}

.screen-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 1rem;
}

.screen-header .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.screen-title {
  font-family: monospace;
  font-size: 0.68rem;
  color: var(--text-light-muted);
  margin-left: 6px;
}

.code-line {
  height: 6px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  margin-bottom: 8px;
}

.code-line.w-80 { width: 80%; }
.code-line.w-60 { width: 60%; }
.code-line.w-90.amber { width: 90%; background: var(--amber-primary); }
.code-line.w-40 { width: 40%; }

/* Physical Paper Stack Transformation */
.paper-transformation-wrap {
  position: absolute;
  bottom: 20px;
  right: 0;
  z-index: 2;
}

.physical-paper {
  width: 270px;
  background: var(--surface-white);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(30, 37, 45, 0.08);
  position: relative;
  transition: transform 0.4s ease;
}

.paper-1 {
  transform: rotate(2deg);
  z-index: 2;
}

.paper-1:hover {
  transform: rotate(0deg) translateY(-4px);
}

.paper-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.paper-tag {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--dark-anthracite);
  background: var(--light-purple-gray);
  padding: 4px 8px;
  border-radius: 4px;
}

.stamp-approved {
  font-size: 0.6rem;
  font-weight: 800;
  color: var(--amber-primary);
  border: 1px solid var(--amber-primary);
  padding: 2px 6px;
  border-radius: 3px;
  transform: rotate(-6deg);
}

.paper-lines .p-line {
  height: 7px;
  background: var(--surface-light);
  border-radius: 4px;
  margin-bottom: 8px;
}

.p-line.w-75 { width: 75%; }

.paper-footer {
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--text-muted);
}

.ink-badge {
  color: var(--dark-anthracite);
  background: var(--amber-primary);
  padding: 3px 8px;
  border-radius: 4px;
}

.paper-2 {
  position: absolute;
  top: -18px;
  left: -18px;
  width: 260px;
  height: 160px;
  background: var(--light-purple-gray);
  z-index: 1;
  transform: rotate(-4deg);
  border: 1px dashed rgba(30, 37, 45, 0.2);
}

.spiral-binding {
  position: absolute;
  top: -10px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
}

.spiral-binding span {
  width: 8px;
  height: 16px;
  background: var(--dark-anthracite);
  border-radius: 4px;
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  background: var(--surface-white);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 3;
  border: 1px solid rgba(30, 37, 45, 0.06);
}

.badge-toner {
  top: 0;
  right: -10px;
  animation: floatAnim 4s ease-in-out infinite;
}

.badge-speed {
  bottom: 0;
  left: -10px;
  animation: floatAnim 4s 2s ease-in-out infinite;
}

.floating-badge .icon {
  font-size: 1.2rem;
}

.floating-badge .txt {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.floating-badge strong {
  font-size: 0.8rem;
  color: var(--dark-anthracite);
}

.floating-badge small {
  font-size: 0.7rem;
  color: var(--text-muted);
}

@keyframes floatAnim {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ==========================================================================
   MARQUEE STRIP
   ========================================================================== */
.marquee-strip {
  background: var(--dark-anthracite);
  color: var(--surface-white);
  padding: 0.9rem 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  animation: marqueeScroll 25s linear infinite;
  will-change: transform;
}

.marquee-track span {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 1.5px;
}

.marquee-track .star {
  color: var(--amber-primary);
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   EDITORIAL SERVICES SECTION
   ========================================================================== */
.services-section {
  padding: 6.5rem 0;
  background: var(--surface-white);
}

.section-header {
  margin-bottom: 3rem;
}

.section-subtitle {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  color: var(--amber-primary);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.4rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.8px;
  color: var(--dark-anthracite);
  line-height: 1.02;
}

.editorial-services-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(30, 37, 45, 0.1);
}

.service-item {
  display: grid;
  grid-template-columns: 70px 1.5fr 1fr 100px;
  align-items: center;
  padding: 1.85rem 1rem;
  border-bottom: 1px solid rgba(30, 37, 45, 0.08);
  transition: background 0.3s ease, padding 0.3s ease;
  position: relative;
  cursor: pointer;
}

.service-item:hover {
  background: var(--light-purple-gray);
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  border-radius: var(--radius-md);
}

.service-num {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--amber-primary);
}

.service-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark-anthracite);
  margin-bottom: 0.2rem;
  letter-spacing: -0.3px;
}

.service-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 480px;
}

.service-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.service-meta .tag {
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--surface-white);
  color: var(--dark-anthracite);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(30, 37, 45, 0.08);
}

.service-visual-preview {
  display: flex;
  justify-content: flex-end;
}

.preview-card {
  width: 48px;
  height: 48px;
  background: var(--surface-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background 0.3s ease;
}

.service-item:hover .preview-card {
  transform: scale(1.1) rotate(4deg);
  background: var(--dark-anthracite);
  color: var(--amber-primary);
}

/* Dynamic Previews */
.stack-card span {
  display: block;
  width: 18px;
  height: 3px;
  background: currentColor;
  margin: 2px 0;
  border-radius: 2px;
}

.cmyk-dots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.cmyk-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber-primary);
}

.cmyk-dots span:nth-child(2) { background: var(--dark-anthracite); }
.cmyk-dots span:nth-child(3) { background: #818cf8; }
.cmyk-dots span:nth-child(4) { background: #f43f5e; }

.spiral-loops {
  display: flex;
  gap: 3px;
}

.spiral-loops span {
  width: 4px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 4px;
}

.ink-drop {
  width: 12px;
  height: 12px;
  background: var(--amber-primary);
  border-radius: 50% 0 50% 50%;
  transform: rotate(-45deg);
}

.toner-cylinder {
  width: 22px;
  height: 10px;
  border: 2px solid currentColor;
  border-radius: 5px;
}

.pvc-shine {
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  box-shadow: inset 0 0 4px var(--amber-primary);
  border-radius: 4px;
}

/* ==========================================================================
   HOW IT WORKS (TIMELINE)
   ========================================================================== */
.how-it-works {
  padding: 6rem 0;
  background: var(--surface-light);
  position: relative;
}

.section-header.text-center {
  text-align: center;
}

.timeline-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 3.5rem;
  position: relative;
}

.timeline-step {
  position: relative;
}

.step-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--amber-primary);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.step-card {
  background: var(--surface-white);
  padding: 1.75rem 1.35rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(30, 37, 45, 0.06);
  height: 100%;
  box-sizing: border-box;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.step-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--light-purple-gray);
  color: var(--dark-anthracite);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.step-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark-anthracite);
  margin-bottom: 0.4rem;
  letter-spacing: -0.2px;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   ÖĞRENCİ DOSTU SECTION (DARK ANTHRACITE + AMBER HIGH CONTRAST)
   ========================================================================== */
.student-section {
  padding: 3.5rem 0 5.5rem 0;
}

.student-box {
  background: var(--dark-anthracite);
  color: var(--surface-white);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  box-shadow: 0 30px 60px rgba(30, 37, 45, 0.25);
  box-sizing: border-box;
}

.student-badge {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--amber-primary);
  margin-bottom: 0.85rem;
  display: block;
}

.student-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.8px;
  margin-bottom: 1rem;
}

.student-text {
  color: var(--text-light-muted);
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.student-features {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.s-feat {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 700;
}

.s-feat .check {
  color: var(--amber-primary);
  font-weight: 800;
}

/* Meme Card Visual */
.student-graphic {
  display: flex;
  justify-content: center;
}

.meme-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.35rem;
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 300px;
  transform: rotate(2deg);
  box-sizing: border-box;
}

.meme-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-light-muted);
  margin-bottom: 0.75rem;
}

.meme-header .user {
  font-weight: 800;
  color: var(--amber-primary);
}

.meme-body {
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.45;
  margin-bottom: 0.85rem;
  color: var(--surface-white);
}

.meme-footer {
  display: flex;
  gap: 12px;
  font-size: 0.75rem;
  color: var(--text-light-muted);
}

/* ==========================================================================
   PORTFOLIO / NE HAZIRLIYORUZ?
   ========================================================================== */
.portfolio-section {
  padding: 5.5rem 0;
  background: var(--surface-white);
}

.section-lead {
  color: var(--text-muted);
  margin-top: 0.4rem;
  font-size: 0.95rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-top: 3rem;
}

.portfolio-card {
  background: var(--surface-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(30, 37, 45, 0.06);
  box-shadow: var(--shadow-subtle);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-media {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}

.media-project {
  background: linear-gradient(135deg, var(--dark-anthracite) 0%, #2a3440 100%),
              radial-gradient(circle at 50% 50%, var(--amber-primary), transparent);
}

.media-thesis {
  background: linear-gradient(135deg, #1e293b 0%, var(--dark-anthracite) 100%);
}

.media-brochure {
  background: linear-gradient(135deg, #312e81 0%, var(--dark-anthracite) 100%);
}

.media-pvc {
  background: linear-gradient(135deg, #065f46 0%, var(--dark-anthracite) 100%);
}

.media-overlay .category {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  background: var(--amber-primary);
  color: var(--dark-anthracite);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.card-info {
  padding: 1.25rem;
}

.card-info h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
  color: var(--dark-anthracite);
  letter-spacing: -0.3px;
}

.card-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   BASKINI GÖNDER / FORM SECTION
   ========================================================================== */
.send-print-section {
  padding: 5.5rem 0;
  background: var(--surface-light);
}

.form-wrapper-outer {
  background: var(--surface-white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  border: 1px solid rgba(30, 37, 45, 0.06);
  box-shadow: var(--shadow-card);
  box-sizing: border-box;
}

.form-info-side .form-tag {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--amber-primary);
  display: block;
  margin-bottom: 0.4rem;
}

.form-info-side h2 {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.8px;
  margin-bottom: 0.85rem;
  color: var(--dark-anthracite);
}

.form-info-side p {
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  font-size: 0.92rem;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.info-item .i-icon {
  font-size: 1.1rem;
  background: var(--light-purple-gray);
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-item strong {
  display: block;
  font-size: 0.88rem;
  color: var(--dark-anthracite);
}

.info-item p {
  font-size: 0.8rem;
  margin-bottom: 0;
}

/* Custom Form Styles */
.custom-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.custom-form label {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--dark-anthracite);
}

.custom-form input,
.custom-form select,
.custom-form textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  background: var(--surface-light);
  border: 1px solid rgba(30, 37, 45, 0.12);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--dark-anthracite);
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.custom-form input:focus,
.custom-form select:focus,
.custom-form textarea:focus {
  border-color: var(--amber-primary);
  box-shadow: 0 0 0 3px rgba(255, 145, 0, 0.15);
}

.form-disclaimer {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.4rem;
}

/* ==========================================================================
   FAQ SECTION (ACCORDION)
   ========================================================================== */
.faq-section {
  padding: 5.5rem 0;
  background: var(--surface-white);
}

.faq-accordion-wrap {
  max-width: 780px;
  margin: 2.5rem auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  background: var(--surface-light);
  border-radius: var(--radius-md);
  border: 1px solid rgba(30, 37, 45, 0.05);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-subtle);
}

.faq-trigger {
  width: 100%;
  padding: 1.2rem 1.35rem;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
  font-weight: 800;
  font-size: 1rem;
  color: var(--dark-anthracite);
  box-sizing: border-box;
}

.faq-icon {
  font-size: 1.2rem;
  color: var(--amber-primary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-content {
  padding: 0 1.35rem 1.2rem 1.35rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--dark-anthracite);
  color: var(--surface-white);
  padding: 4.5rem 0 2rem 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-tagline {
  color: var(--text-light-muted);
  font-size: 0.88rem;
  margin-top: 1rem;
  max-width: 300px;
  line-height: 1.55;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.f-title {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--amber-primary);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.f-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.f-col a {
  color: var(--text-light-muted);
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.f-col a:hover {
  color: var(--surface-white);
}

.f-info-text {
  color: var(--text-light-muted);
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}

.footer-wa {
  margin-top: 0.65rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.85rem;
  font-size: 0.78rem;
  color: var(--text-light-muted);
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON (EXACT COLOR #22C55E)
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 990;
  background: var(--whatsapp-green);
  color: var(--surface-white);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(34, 197, 94, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-whatsapp:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 30px rgba(34, 197, 94, 0.5);
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS (SAFE BOUNDS)
   ========================================================================== */
.reveal-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .intro-overlay { display: none !important; }
  .reveal-item { opacity: 1 !important; transform: none !important; transition: none !important; }
  .marquee-track { animation: none !important; }
  .badge-toner, .badge-speed { animation: none !important; }
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (STRICT NO-OVERFLOW FIXES FOR 360px–430px)
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .hero-content {
    text-align: center;
  }

  .hero-description {
    margin: 0 auto 1.75rem auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-student-tag {
    justify-content: center;
  }

  .editorial-services-list .service-item {
    grid-template-columns: 50px 1fr;
    gap: 0.85rem;
  }

  .service-meta, .service-visual-preview {
    display: none;
  }

  .timeline-wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .student-box {
    grid-template-columns: 1fr;
    padding: 2.5rem 2rem;
  }

  .form-wrapper-outer {
    grid-template-columns: 1fr;
    padding: 2.25rem 1.75rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 82%;
    max-width: 300px;
    height: 100vh;
    background: var(--dark-anthracite);
    padding: 5.5rem 1.75rem 2rem 1.75rem;
    box-shadow: -10px 0 30px rgba(0,0,0,0.3);
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    box-sizing: border-box;
  }

  .main-nav.nav-open {
    right: 0;
  }

  .main-nav .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .nav-link {
    font-size: 1.05rem;
    color: var(--text-light-main) !important;
  }

  .nav-cta {
    display: none;
  }

  .hero-title {
    font-size: 2.75rem;
    letter-spacing: -1px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .timeline-wrapper {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

/* CRITICAL MOBILE VIEWPORT SPECIFIC FIXES (360px, 375px, 390px, 412px, 430px) */
@media (max-width: 430px) {
  .container {
    padding: 0 1rem;
  }

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

  .hero-title {
    font-size: 2.2rem;
    line-height: 1.02;
    letter-spacing: -0.5px;
  }

  .hero-description {
    font-size: 0.95rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .visual-stage {
    height: 310px;
  }

  .screen-card {
    width: 200px;
    height: 150px;
    left: 0;
  }

  .physical-paper {
    width: 200px;
    padding: 1rem;
  }

  .paper-2 {
    width: 190px;
    height: 130px;
  }

  .floating-badge {
    padding: 6px 10px;
  }

  .floating-badge strong {
    font-size: 0.72rem;
  }

  .floating-badge small {
    font-size: 0.62rem;
  }

  .badge-toner {
    right: 0;
    top: -10px;
  }

  .badge-speed {
    left: 0;
    bottom: -10px;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .student-box {
    padding: 1.75rem 1.25rem;
    border-radius: var(--radius-md);
  }

  .student-title {
    font-size: 1.65rem;
  }

  .meme-card {
    max-width: 100%;
    transform: none;
  }

  .form-wrapper-outer {
    padding: 1.35rem;
    border-radius: var(--radius-md);
  }

  .form-info-side h2 {
    font-size: 1.75rem;
  }
}
