@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Outfit:wght@300;400;500;600;700&display=swap');

/* ==========================================
   CSS VARIABLES & DESIGN SYSTEM
   ========================================== */
:root {
  --color-bg: #fcfaf5;
  --color-primary: #0d3824;
  --color-primary-light: #164f33;
  --color-primary-rgb: 13, 56, 36;
  --color-accent: #c99f3b;
  --color-accent-hover: #b0872c;
  --color-accent-rgb: 201, 159, 59;
  --color-text: #1a2b21;
  --color-text-muted: #536b5c;
  --color-border: #e2ebe6;
  --color-border-focus: #c99f3b;
  --color-card-bg: rgba(255, 255, 255, 0.85);
  
  --color-error: #d93025;
  --color-error-bg: #fce8e6;
  --color-success: #188038;
  --color-success-bg: #e6f4ea;
  
  --font-title: 'Cinzel', Georgia, serif;
  --font-body: 'Outfit', system-ui, -apple-system, sans-serif;
  
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --shadow-subtle: 0 4px 20px rgba(13, 56, 36, 0.04);
  --shadow-medium: 0 12px 30px rgba(13, 56, 36, 0.08);
  --shadow-gold: 0 10px 25px rgba(201, 159, 59, 0.15);
  
  --border-radius-sm: 8px;
  --border-radius: 16px;
  --border-radius-lg: 24px;

  /* RTL / LTR Animation translation helpers */
  --slide-direction: 30px;
}

/* RTL variable override */
html[dir="rtl"] {
  --slide-direction: -30px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #071710;
    --color-primary: #85c2a3;
    --color-primary-light: #a4d3bb;
    --color-primary-rgb: 133, 194, 163;
    --color-accent: #e5b84d;
    --color-accent-hover: #f7ca5e;
    --color-accent-rgb: 229, 184, 77;
    --color-text: #f0f7f3;
    --color-text-muted: #9bbfa9;
    --color-border: #183325;
    --color-border-focus: #e5b84d;
    --color-card-bg: rgba(13, 38, 25, 0.8);
    
    --color-error: #ff6b6b;
    --color-error-bg: #2d1717;
    --color-success: #51cf66;
    --color-success-bg: #152d1c;
    
    --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.2);
    --shadow-medium: 0 12px 30px rgba(0, 0, 0, 0.4);
    --shadow-gold: 0 10px 25px rgba(229, 184, 77, 0.08);
  }
}

/* ==========================================
   BASE RESET
   ========================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

body, h1, h2, h3, p, figure, blockquote, dl, dd {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ==========================================
   LAYOUT CONTAINERS & SHAPES
   ========================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 6rem 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 4rem 0;
  }
}

/* Decorative background elements */
.bg-decorations {
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}

.decor-circle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--color-accent-rgb), 0.08) 0%, rgba(255,255,255,0) 70%);
  filter: blur(40px);
}

html[dir="ltr"] .decor-1 {
  top: -10%;
  right: -5%;
  width: 600px;
  height: 600px;
}
html[dir="rtl"] .decor-1 {
  top: -10%;
  left: -5%;
  width: 600px;
  height: 600px;
}

.decor-2 {
  bottom: 20%;
  inset-inline-start: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(var(--color-primary-rgb), 0.06) 0%, rgba(255,255,255,0) 70%);
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */
.header {
  padding: 1.5rem 0;
  background: transparent;
  position: absolute;
  width: 100%;
  top: 0;
  z-index: 100;
}

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

.logo {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo span {
  color: var(--color-accent);
}

.logo-icon {
  width: 36px;
  height: 36px;
  stroke: var(--color-accent);
  fill: none;
}

.logo-icon--large {
  width: 52px;
  height: 52px;
}

/* ==========================================
   TYPOGRAPHY & ORNAMENTS
   ========================================== */
h1, h2, h3 {
  font-family: var(--font-title);
  font-weight: 600;
  line-height: 1.25;
}

.section-title {
  font-size: 2.25rem;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  color: var(--color-primary);
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-accent) 50%, transparent);
  margin: 0.75rem auto 0;
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--border-radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: center;
  box-shadow: var(--shadow-subtle);
  min-height: 48px;
}

.btn-primary {
  background-color: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-bg);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

/* ==========================================
   SOCIAL MEDIA BAR
   ========================================== */
.social-bar {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  padding: 2rem 0;
  position: relative;
  z-index: 10;
  box-shadow: 0 8px 32px rgba(13, 56, 36, 0.18);
}

.social-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c99f3b' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}

.social-bar-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.social-bar-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}

.social-bar-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.social-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  text-decoration: none;
  transition: var(--transition-smooth);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.social-bar-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.12);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.social-bar-item:hover::before {
  opacity: 1;
}

.social-bar-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.social-bar-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

/* Telegram brand color */
.social-bar-item--telegram {
  background: #2AABEE;
  border-color: rgba(42, 171, 238, 0.4);
}
.social-bar-item--telegram:hover {
  background: #1e96d4;
}

/* Facebook brand color */
.social-bar-item--facebook {
  background: #1877F2;
  border-color: rgba(24, 119, 242, 0.4);
}
.social-bar-item--facebook:hover {
  background: #1260c9;
}

/* Instagram brand gradient */
.social-bar-item--instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: rgba(220, 39, 67, 0.4);
}
.social-bar-item--instagram:hover {
  filter: brightness(1.1);
}

@media (max-width: 600px) {
  .social-bar-container {
    gap: 1.25rem;
  }
  .social-bar-item {
    padding: 0.65rem 1.25rem;
    font-size: 0.9rem;
  }
  .social-bar-label {
    font-size: 0.85rem;
  }
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 8rem;
  padding-bottom: 4rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: stretch;
}

@media (max-width: 992px) {
  .hero {
    align-items: stretch;
    padding-bottom: 0;
  }
  .hero-grid {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 8rem);
    text-align: center;
    gap: 0;
  }
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
  animation: fadeInDown 0.8s ease;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
  max-width: 600px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .hero-content p {
    font-size: 1.1rem;
  }
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.4s both;
}

@media (max-width: 992px) {
  .hero-actions {
    justify-content: center;
  }
}

/* Hero Social Panel (right column) */
.hero-social {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  animation: fadeInSide 1s ease 0.3s both;
  min-height: 320px;
}

.hero-social-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
  margin-top: 0;
}

.hero-social-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.hero-social-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.75rem;
  border-radius: var(--border-radius);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  transition: var(--transition-smooth);
  flex: 1;
  min-height: 64px;
  position: relative;
  overflow: hidden;
}

.hero-social-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.25s ease;
}

.hero-social-item:hover::after {
  background: rgba(255,255,255,0.1);
}

.hero-social-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.25);
}

.hero-social-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.hero-social-item--whatsapp   { background: linear-gradient(135deg, #25D366 0%, #128C4A 100%); }
.hero-social-item--telegram  { background: linear-gradient(135deg, #2AABEE 0%, #1a7fcf 100%); }
.hero-social-item--youtube   { background: linear-gradient(135deg, #FF0000 0%, #cc0000 100%); }
.hero-social-item--facebook  { background: linear-gradient(135deg, #1877F2 0%, #0d5fc4 100%); }
.hero-social-item--instagram {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 20%, #dc2743 45%, #cc2366 75%, #bc1888 100%);
}

/* Mobile: social links stretch to fill remaining screen */
@media (max-width: 992px) {
  .hero-content {
    padding-top: 2rem;
    padding-bottom: 2rem;
    flex: 0 0 auto;
  }

  .hero-social {
    flex: 1;
    min-height: 0;
    padding-bottom: 0;
    gap: 0;
    order: -1; /* sosyal medya yazıların üstüne geliyor */
  }

  .hero-social-label {
    text-align: center;
    padding: 1rem 0 0.5rem;
  }

  .hero-social-links {
    flex: 1;
    gap: 0;
  }

  .hero-social-item {
    flex: 1;
    border-radius: 0;
    font-size: 1.15rem;
    padding: 1.25rem 2rem;
    justify-content: center;
    flex-direction: column;
    gap: 0.6rem;
  }

  .hero-social-icon {
    width: 56px;
    height: 56px;
  }

  .hero-social-item:first-child {
    border-radius: var(--border-radius) var(--border-radius) 0 0;
  }

  .hero-social-item:last-child {
    border-radius: 0 0 var(--border-radius) var(--border-radius);
  }
}

/* Visual showcase section (ornament card moved below hero) */
.visual-showcase {
  padding: 5rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-showcase-container {
  display: flex;
  justify-content: center;
}

/* Hero Visual Graphic (Glassmorphism & Gold) - retained for visual-showcase */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInSide 1s ease 0.3s both;
}

@media (max-width: 992px) {
  .hero-visual {
    margin-top: 2rem;
  }
}

.visual-ornament {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(var(--color-accent-rgb), 0.3);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(var(--color-accent-rgb), 0.05) 0%, transparent 70%);
}

.visual-ornament::before {
  content: "";
  position: absolute;
  width: 90%;
  height: 90%;
  border-radius: 50%;
  border: 2px dashed rgba(var(--color-accent-rgb), 0.2);
  animation: rotate 20s linear infinite;
}

.visual-card {
  position: absolute;
  width: 260px;
  padding: 2rem;
  background: var(--color-card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-medium);
  text-align: center;
  animation: float 6s ease-in-out infinite;
}

.visual-card svg {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  stroke: var(--color-accent);
  fill: none;
}

.visual-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

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

/* ==========================================
   FEATURES / PROGRAM DETAILS
   ========================================== */
.features {
  position: relative;
  background: linear-gradient(180deg, transparent, rgba(var(--color-primary-rgb), 0.03) 50%, transparent);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--color-card-bg);
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 4px;
  background: var(--color-accent);
  transform: scaleX(0);
  transition: var(--transition-smooth);
}

html[dir="ltr"] .feature-card::before {
  transform-origin: left;
}
html[dir="rtl"] .feature-card::before {
  transform-origin: right;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
  border-color: rgba(var(--color-accent-rgb), 0.3);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 48px;
  height: 48px;
  stroke: var(--color-accent);
  fill: none;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--color-primary);
}

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

/* ==========================================
   SPIRITUAL QUOTE SECTION
   ========================================== */
.quote-section {
  text-align: center;
  position: relative;
  background: var(--color-primary);
  color: #fff;
  overflow: hidden;
}

.quote-decor {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 12rem;
  opacity: 0.03;
  font-family: serif;
  pointer-events: none;
}

.quote-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.arabic-text {
  font-family: var(--font-body);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--color-accent);
  letter-spacing: 0.5px;
  font-weight: 600;
}

.quote-text {
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 300;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.quote-author {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent);
}

/* ==========================================
   FORM INTERFACE
   ========================================== */
.form-page-header {
  padding-top: 8rem;
  padding-bottom: 2rem;
  text-align: center;
}

.form-page-header h1 {
  font-size: 2.75rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.form-page-header p {
  color: var(--color-text-muted);
  font-size: 1.1rem;
}

.form-section {
  padding-bottom: 6rem;
}

.form-wrapper {
  max-width: 680px;
  margin: 0 auto;
  background: var(--color-card-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-medium);
}

@media (max-width: 576px) {
  .form-wrapper {
    padding: 2rem 1.5rem;
  }
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 576px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.form-group {
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: span 2;
}

@media (max-width: 576px) {
  .form-group.full-width {
    grid-column: span 1;
  }
}

.form-group label {
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--color-text);
  font-size: 0.95rem;
}

.form-group label .required-dot {
  color: var(--color-error);
  margin-inline-start: 0.25rem;
}

.form-control {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius-sm);
  border: 2px solid var(--color-border);
  background-color: transparent;
  color: var(--color-text);
  transition: var(--transition-smooth);
  width: 100%;
  min-height: 48px;
  box-sizing: border-box;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-border-focus);
  box-shadow: 0 0 0 4px rgba(var(--color-accent-rgb), 0.1);
}

/* Selector styling (reset arrow) */
select.form-control {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%23c99f3b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 1.25rem;
}

/* RTL and LTR Specific Background position and paddings */
html[dir="rtl"] select.form-control {
  background-position: left 1rem center;
  padding-left: 2.5rem;
  padding-right: 1rem;
}
html[dir="ltr"] select.form-control {
  background-position: right 1rem center;
  padding-right: 2.5rem;
  padding-left: 1rem;
}

/* Visually Hidden Utility for custom check/radios */
.visually-hidden {
  position: absolute !important;
  clip-path: inset(50%) !important;
  overflow: hidden !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  white-space: nowrap !important;
}

/* Custom Checkbox and Radio lists */
.choice-list {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 0.25rem;
}

.choice-item {
  position: relative;
  display: inline-flex;
}

.choice-label {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--color-text);
  font-weight: 400;
  user-select: none;
  min-height: 40px;
}

/* The visual square/circle indicator */
.choice-indicator {
  width: 1.35rem;
  height: 1.35rem;
  border: 2px solid var(--color-border);
  background-color: var(--color-bg);
  transition: var(--transition-smooth);
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Custom Radio Circle */
input[type="radio"] + .choice-label .choice-indicator {
  border-radius: 50%;
}

/* Custom Checkbox Square */
input[type="checkbox"] + .choice-label .choice-indicator {
  border-radius: 4px;
}

/* Hover effect */
.choice-label:hover .choice-indicator {
  border-color: var(--color-accent);
}

/* Checked States */
input[type="radio"]:checked + .choice-label .choice-indicator {
  border-color: var(--color-accent);
  background-color: var(--color-accent);
  box-shadow: inset 0 0 0 3px var(--color-bg);
}

input[type="checkbox"]:checked + .choice-label .choice-indicator {
  border-color: var(--color-accent);
  background-color: var(--color-accent);
}

/* Checkmark indicator for Checkbox */
input[type="checkbox"] + .choice-label .choice-indicator::after {
  content: "";
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-0.5px, -0.5px);
  opacity: 0;
  transition: var(--transition-smooth);
}

input[type="checkbox"]:checked + .choice-label .choice-indicator::after {
  opacity: 1;
}

/* Focus Indicator */
input:focus-visible + .choice-label .choice-indicator {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* ==========================================
   DYNAMIC FORM VALIDATION (:user-invalid)
   ========================================== */
.error-msg {
  display: none;
  color: var(--color-error);
  font-size: 0.825rem;
  margin-top: 0.35rem;
  font-weight: 500;
}

/* Match native invalid state after interaction */
.form-control:user-invalid {
  border-color: var(--color-error);
  background-color: var(--color-error-bg);
}

.form-control:user-invalid + .error-msg {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Fallback validation support classes */
.form-control.user-invalid-fallback {
  border-color: var(--color-error);
  background-color: var(--color-error-bg);
}

.form-control.user-invalid-fallback + .error-msg {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Success visual feedback on field correctness */
.form-control:required:user-valid {
  border-color: var(--color-success);
}

/* ==========================================
   FOOTER SECTION
   ========================================== */
.footer {
  margin-top: auto;
  background-color: var(--color-primary);
  color: #fff;
  padding: 3rem 0;
  border-top: 1px solid rgba(var(--color-accent-rgb), 0.1);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
}

.footer-logo {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.footer-logo span {
  color: var(--color-accent);
}

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

.social-links {
  display: flex;
  gap: 1rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: var(--transition-smooth);
}

.social-icon:hover {
  background-color: var(--color-accent);
  color: #fff;
  transform: translateY(-2px);
}

.social-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ==========================================
   SUCCESS SCREEN (kaydet.php)
   ========================================== */
.success-wrapper {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
  background: var(--color-card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: 4rem 3rem;
  box-shadow: var(--shadow-medium);
}

.success-icon-container {
  width: 80px;
  height: 80px;
  background-color: var(--color-success-bg);
  color: var(--color-success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  box-shadow: 0 4px 15px rgba(24, 128, 56, 0.15);
}

.success-icon-container svg {
  width: 40px;
  height: 40px;
  stroke: currentColor;
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.success-wrapper h2 {
  font-size: 2.25rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.success-wrapper p {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

/* ==========================================
   KEYFRAME ANIMATIONS
   ========================================== */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInSide {
  from {
    opacity: 0;
    transform: translateX(var(--slide-direction));
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

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