:root {
  --color-primary: #0f4c81; /* Deep blue */
  --color-accent: #f25c05; /* Warm orange */
  --color-dark: #2f2f2f;
  --color-light: #f4f4f2;
  --transition-fast: 0.25s ease;
  --navbar-height: 70px;
}

/* RESET */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--color-dark);
  background: var(--color-light);
  scroll-behavior: smooth;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: var(--navbar-height);
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(15, 76, 129, 0.1);
  z-index: 1000;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
}

.navbar-logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  letter-spacing: 0.5px;
}

.navbar-logo span {
  color: var(--color-accent);
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.navbar-links a {
  text-decoration: none;
  color: var(--color-dark);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.navbar-links a:hover {
  color: var(--color-accent);
}

/* HAMBURGER */
.navbar-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  border: none;
  background: none;
  cursor: pointer;
}

.navbar-toggle .bar {
  width: 22px;
  height: 2px;
  background-color: var(--color-primary);
  margin: 3px 0;
  border-radius: 1px;
  transition: all var(--transition-fast);
}

/* MOBILE STYLES */
@media (max-width: 780px) {
  .navbar-links {
    position: absolute;
    top: var(--navbar-height);
    right: 0;
    background-color: #fff;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid #eee;
    display: none;
  }

  .navbar-links.active {
    display: flex;
  }

  .navbar-toggle {
    display: flex;
  }
}


/*================= HERO SECTION =================*/
.hero-section {
  background: linear-gradient(
    165deg,
    #ffffff 0%,
    #f8f9fb 35%,
    #f4f4f2 100%
  );
  min-height: calc(100vh - var(--navbar-height));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  text-align: center;
  position: relative;
}

.hero-container {
  max-width: 850px;
  margin-top: var(--navbar-height);
  animation: fadeUp 0.8s ease forwards;
  opacity: 0;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.3;
  margin-bottom: 1rem;
}

.hero-title .highlight {
  color: var(--color-accent);
  position: relative;
  display: inline-block;
}

.hero-title .highlight::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 3px;
  width: 100%;
  height: 5px;
  background: rgba(242, 92, 5, 0.2);
  border-radius: 2px;
}

.hero-subtitle {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #333;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Buttons */
.btn-primary,
.btn-secondary {
  text-decoration: none;
  font-weight: 600;
  padding: 0.85rem 1.8rem;
  border-radius: 8px;
  transition: all var(--transition-fast);
  font-size: 1rem;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-primary);
  box-shadow: 0 5px 18px rgba(15, 76, 129, 0.18);
}

.btn-secondary {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
}

.btn-secondary:hover {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 5px 16px rgba(15, 76, 129, 0.16);
}

/* RESPONSIVE tuning */
@media (max-width: 600px) {
  .hero-title {
    font-size: 1.8rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 0.8rem;
  }
}


/*================= NASIL ÇALIŞIR SECTION =================*/
.how-section {
  background: #ffffff;
  padding: 5rem 1.5rem;
  text-align: center;
}

.how-header {
  max-width: 750px;
  margin: 0 auto 3rem auto;
}

.how-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.how-header p {
  color: var(--color-dark);
  line-height: 1.6;
  font-size: 1.05rem;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.how-card {
  background: #f9fafc;
  border-radius: 12px;
  padding: 2rem 1.2rem;
  box-shadow: 0 2px 8px rgba(15, 76, 129, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.how-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(15, 76, 129, 0.12);
}

.how-icon {
  margin-bottom: 1.2rem;
}

.how-card h3 {
  color: var(--color-primary);
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.how-card p {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
}

/* RESPONSIVE TUNING */
@media (max-width: 540px) {
  .how-card {
    padding: 1.6rem 1rem;
  }
  .how-card h3 {
    font-size: 1.2rem;
  }
  .how-card p {
    font-size: 0.95rem;
  }
}





/*================= ANALYTICS SECTION =================*/
.analytics-section {
  background: #f8f9fb;
  padding: 5rem 1.5rem;
  text-align: center;
}

.analytics-header {
  max-width: 800px;
  margin: 0 auto 3rem;
}

.analytics-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.analytics-header p {
  color: var(--color-dark);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* METRIC CARDS */
.analytics-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  max-width: 1000px;
  margin: 0 auto 3rem auto;
}

.metric-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.2rem 1rem;
  box-shadow: 0 3px 6px rgba(15, 76, 129, 0.08);
  transition: transform 0.2s;
}
.metric-card:hover {
  transform: translateY(-3px);
}

.metric-label {
  color: #555;
  font-size: 0.95rem;
}

.metric-value {
  color: var(--color-primary);
  font-size: 1.6rem;
  font-weight: 700;
  margin-top: 0.4rem;
}

/* CHARTS */
.chart-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.chart-box {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 10px rgba(15, 76, 129, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.chart-box h4 {
  text-align: left;
  font-size: 1.1rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.chart-container {
  position: relative;
  width: 100%;
  height: 300px;
}

/* Small screen adjustments */
@media (max-width: 550px) {
  .chart-container {
    height: 250px;
  }
  .chart-box {
    padding: 1rem;
  }
}


/* INSIGHTS SUMMARY */
.insights-summary {
  margin: 4rem auto 0 auto;
  max-width: 850px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(15, 76, 129, 0.06);
  padding: 2.5rem 1.8rem;
  text-align: left;
}

.insights-summary h3 {
  color: var(--color-primary);
  font-size: 1.45rem;
  margin-bottom: 1rem;
  text-align: center;
}

.insights-summary ul {
  list-style: none;
  padding-left: 0;
}

.insights-summary li {
  font-size: 1rem;
  color: var(--color-dark);
  margin-bottom: 0.8rem;
  line-height: 1.6;
  position: relative;
  padding-left: 1.6rem;
}

.insights-summary li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.5rem;
  width: 10px;
  height: 10px;
  border-right: 2.5px solid var(--color-accent);
  border-bottom: 2.5px solid var(--color-accent);
  transform: rotate(45deg);
  border-radius: 1px;
}

@media (max-width: 600px) {
  .insights-summary {
    padding: 2rem 1.2rem;
  }
  .insights-summary h3 {
    font-size: 1.25rem;
  }
}


/*================= NEDEN MÜŞTERİM KİM SECTION =================*/
.why-section {
  background: #ffffff;
  padding: 5rem 1.5rem;
  text-align: center;
}

.why-header {
  max-width: 800px;
  margin: 0 auto 3rem;
}

.why-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.why-header p {
  font-size: 1.05rem;
  color: var(--color-dark);
  line-height: 1.6;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 1000px) {
  .why-grid {
    grid-template-columns: repeat(5, 1fr);
    max-width: 1500px;
  }
}

.why-card {
  background: #f9fafc;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  box-shadow: 0 3px 8px rgba(15, 76, 129, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  opacity: 0;
  transform: translateY(20px);
}

.why-card.in {
  opacity: 1;
  transform: translateY(0);
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(15, 76, 129, 0.12);
}

.why-icon {
  margin-bottom: 1rem;
}

.why-card h3 {
  color: var(--color-primary);
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

.why-card p {
  font-size: 0.98rem;
  color: var(--color-dark);
  line-height: 1.6;
}

@media (max-width: 560px) {
  .why-card {
    padding: 1.6rem 1.2rem;
  }
  .why-card h3 {
    font-size: 1.15rem;
  }
}


/*================= KİMLER İÇİN SECTION =================*/
.forwhom-section {
  background: #f8f9fb;
  padding: 5rem 1.5rem;
  text-align: center;
}

.forwhom-header {
  max-width: 800px;
  margin: 0 auto 3rem;
}

.forwhom-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.forwhom-header p {
  font-size: 1.05rem;
  color: var(--color-dark);
  line-height: 1.6;
}

.forwhom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.forwhom-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  box-shadow: 0 3px 8px rgba(15, 76, 129, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  opacity: 0;
  transform: translateY(20px);
}

.forwhom-card.in {
  opacity: 1;
  transform: translateY(0);
}

.forwhom-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(15, 76, 129, 0.12);
}

.forwhom-icon {
  margin-bottom: 1rem;
}

.forwhom-card h3 {
  color: var(--color-primary);
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  font-weight: 700;
}

.forwhom-card p {
  font-size: 0.98rem;
  color: var(--color-dark);
  line-height: 1.6;
}

@media (max-width: 560px) {
  .forwhom-card {
    padding: 1.6rem 1.2rem;
  }
  .forwhom-card h3 {
    font-size: 1.1rem;
  }
}

/*================= CTA SECTION =================*/
.cta-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: #fff;
  padding: 5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-inner {
  max-width: 800px;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
  font-weight: 800;
}

.cta-section p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.cta-button {
  background: #fff;
  color: var(--color-primary);
  font-weight: 700;
  padding: 1rem 2.2rem;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.25s ease;
  position: relative;
}

.cta-button:hover {
  background: var(--color-light);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Pulse animation */
@keyframes ctaPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

.cta-pulse {
  animation: ctaPulse 2s infinite;
}

@media (max-width: 600px) {
  .cta-section p {
    font-size: 1rem;
  }
}


/*================= İLETİŞİM SECTION =================*/
.contact-section {
  background: #ffffff;
  padding: 5rem 1.5rem;
  text-align: center;
}

.contact-header {
  max-width: 750px;
  margin: 0 auto 2.5rem;
}

.contact-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.3rem);
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.contact-header p {
  font-size: 1.05rem;
  color: var(--color-dark);
  line-height: 1.6;
}

.contact-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.contact-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--color-light);
  border: 2px solid var(--color-accent);
  color: var(--color-dark);
  padding: 0.9rem 1.5rem;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.contact-btn:hover {
  background: var(--color-accent);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(242, 92, 5, 0.15);
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 600px) {
  .contact-btn {
    width: 100%;
    justify-content: center;
  }
}


/*================= FOOTER =================*/
.site-footer {
  background: var(--color-primary);
  color: #fff;
  padding: 3rem 1.5rem 1rem;
  text-align: center;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
}

.footer-logo span {
  color: var(--color-accent);
}

.footer-desc {
  font-size: 0.95rem;
  margin-top: 0.3rem;
  color: rgba(255, 255, 255, 0.85);
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.4rem;
  margin: 0;
  padding: 0;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.25s;
}

.footer-nav a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 2rem;
  padding-top: 1rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-bottom .brlink {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 600;
}

.footer-bottom .brlink:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .footer-container {
    flex-direction: column;
    gap: 1.5rem;
  }
  .footer-nav ul {
    gap: 0.8rem 1rem;
  }
}