.hero-section {
  max-width: 1120px;
  margin: 2.2em auto;
  border-radius: 28px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  padding: 3em 2.5em;
  background: linear-gradient(120deg, #ffe2db 0%, #fff8ea 65%, #e3f1fd 100%);
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-between;
  gap: 36px;
}
.tbox {
  background: #fff;
  box-shadow: var(--shadow-soft);
  border-radius: 28px;
  padding: 1.5em 2em 1.8em;
  max-width: 1120px;
  margin: 2em auto 2.5em;
  display: flex;
  flex-direction: column;
  align-items: left;
}
.hero-content {
  flex: 1 1 480px;
  max-width: 520px;
  min-width: 260px;
}
.form-glass {
  flex: 1 1 320px;
  max-width: 360px;
  min-width: 260px;
  background: rgba(255,255,255,0.95);
  border-radius: 22px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  padding: 2.2em 2em;
  margin: 0;
}

@media (max-width: 1150px) {
  .hero-section, .stats-section-box {
    max-width: 99vw;
    padding: 2em 1.3em;
  }
}
@media (max-width: 900px) {
  .hero-section {
    flex-direction: column;
    text-align: center;
    gap: 2em;
  }
  .stats-section-box { padding: 2em 0.8em; }
}
@media (max-width: 600px) {
  .hero-section, .stats-section-box { padding: 1.2em 0.2em; }
}

/* ============================= */
/*         Root Variables       */
/* ============================= */
:root {
  --accent: #ef4444;
  --accent-dark: #1624cc;
  --accent-light: #5b6bff;
  --glass: rgba(255, 255, 255, 0.4);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-soft: 0 2px 10px rgba(0, 0, 0, 0.05);
  --radius-lg: 8px;
  --radius-xl: 18px;
  --input-bg: #fff;
  --subtext-color: #374151;
  --card-bg: #fff;
}

/* ============================= */
/*       Global Resets           */
/* ============================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Helvetica Neue', sans-serif;
  background: #f9fbfd;
  color: #111827;
  line-height: 1.6;
}

/* ============================= */
/*        Hero Section           */
/* ============================= */
.hero-content h1 {
  font-size: 2.2em;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 0.5em;
  line-height: 1.1;
  background: linear-gradient(90deg, var(--accent), #1f2937 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-content p {
  font-size: 1.07em;
  color: var(--subtext-color);
  margin-bottom: 2em;
  line-height: 1.7;
}

/* ============================= */
/*       Form Containers         */
/* ============================= */
.form-box-modern,
.form-glass {
  background: var(--glass);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  border-radius: var(--radius-xl);
  padding: 32px 30px;
  max-width: 360px;
  width: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* ============================= */
/*     Shared Form Elements      */
/* ============================= */
input,
button {
  width: 100%;
  padding: 12px 16px;
  margin-bottom: 14px;
  border-radius: var(--radius-lg);
  font-size: 1em;
  font-family: inherit;
  transition: all 0.18s ease;
  background: var(--input-bg);
}

/* thin, soft border */
input[type="text"],
input[type="email"],
input[type="date"],
input[type="password"] {
  border: 1px solid rgba(0, 0, 0, 0.15);
  background-color: #fff;
}

/* focus style */
input:focus {
  border-color: var(--accent-light);
  box-shadow: 0 0 0 2px rgba(91, 107, 255, 0.2);
  outline: none;
}

/* button style */
button {
  background: var(--accent);
  color: #fff;
  border: none;
  font-weight: 700;
  font-size: 1.09em;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
button:hover {
  background: red;
  transform: scale(1.03);
}

/* ============================= */
/*     Statistics Section        */
/* ============================= */
.stats-section-box {
  background: #fff;
  box-shadow: var(--shadow-soft);
  border-radius: 28px;
  padding: 1.5em 2em 1.8em;
  max-width: 1120px;
  margin: 2em auto 2.5em;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stats-title {
  text-align: center;
  font-size: 1.65em;
  font-weight: 700;
  margin-bottom: 28px;
  color: #1f2937;
}
.stat-grid-3x2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 18px 16px;
  justify-items: center;
  width: 100%;
}
.stat-card {
  background: var(--card-bg);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  padding: 28px 12px 18px 12px;
  max-width: 260px;
  min-width: 210px;
  min-height: 180px;   text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
border: 1px solid rgba(255, 0, 0, 0.1);    
}
.stat-card h3 {
  font-size: 2.1em;
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 6px;
}
.stat-card p {
  font-size: 1em;
  color: var(--subtext-color);
  font-weight: 500;
}
@media (max-width: 900px) {
  .stat-grid-3x2 {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, auto);
    max-width: 400px;
    gap: 12px 8px;
  }
  .stat-card {
    max-width: 150px;
    min-width: 120px;
    min-height: 140px; /* mobilde daha küçük kutular */
  }
}
@media (max-width: 600px) {
  .stat-grid-3x2 {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, auto);
    max-width: 220px;
    gap: 8px 0;
  }
  .stat-card {
    max-width: 100%;
    min-width: unset;
    min-height: 110px;
  }
}

/* ============================= */
/*       Info Sections           */
/* ============================= */
.section-block {
  max-width: 1120px;
  margin: 2em auto 2.5em;
  padding: 1.5em 2em 1.8em;
  border-radius: var(--radius-xl);
  background: var(--glass);
  box-shadow: var(--shadow);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2em;
}
.section-block.reverse {
  flex-direction: row-reverse;
  background: #fff8fa99;
}
.section-img {
  flex: 1 1 260px;
  max-width: 350px;
}
.section-img img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 20px rgba(239, 68, 68, 0.15);
}
.section-text {
  flex: 2 1 320px;
  max-width: 700px;
}
.section-text h2 {
  font-size: 2em;
  font-weight: 800;
  color: #b91c1c;
  margin-bottom: 0.4em;
}
.section-text h3 {
  font-size: 1.1em;
  font-weight: 700;
  margin-bottom: 1em;
  color: #374151;
}
.section-text p,
.section-text ul {
  font-size: 1.1em;
  color: #374151;
  line-height: 1.7;
  margin-bottom: 1em;
}
.join-btn {
  display: inline-block;
  margin-top: 1em;
  padding: 0.7em 2em;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(239, 68, 68, 0.13);
  transition: background 0.16s ease;
}
.join-btn:hover {
  background: var(--accent-dark);
}

/* ============================= */
/*       Responsive Styles       */
/* ============================= */
@media (max-width: 900px) {
  .hero-section {
    flex-direction: column;
    gap: 24px;
  }
  .form-box-modern,
  .form-glass {
    max-width: 100%;
  }
  .stat-grid-3x2 {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, auto);
    max-width: 400px;
    gap: 12px 8px;
  }
  .stat-card {
    max-width: 150px;
  }
}
@media (max-width: 600px) {
  .stat-grid-3x2 {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, auto);
    max-width: 220px;
    gap: 8px 0;
  }
  .stat-card {
    max-width: 100%;
  }
}
