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

:root {
  /* Primary colors (deep night blue) */
  --primary: #1E294B;       /* Derin gece mavisi */
  --primary-light: #2E3D6B; /* Açık gece mavisi */
  --primary-dark: #10172A;  /* Koyu lacivert */

  /* Secondary (vibrant orange) */
  --secondary: #FF5722;      /* Canlı aksiyon turuncusu */
  --secondary-light: #FF8A50;/* Açık turuncu */
  --secondary-dark: #C41C00; /* Koyu turuncu */

  --orange-glow: rgba(255, 87, 34, 0.15);

  /* Success / info colors */
  --success: #2ECC71;
  --success-glow: rgba(46, 204, 113, 0.15);
  --info: #38BDF8;

  /* Backgrounds */
  --bg-dark: #0F172A;       /* Slate dark */
  --background-light: #F8F9FA; /* Light background */
  --surface-light: #FFFFFF;
  --card-light: #FFFFFF;
  --card-dark: #334155;     /* Card dark from AppColors */

  /* Text */
  --text-primary: #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-muted: #64748B;

  --font: 'Outfit', sans-serif;

  /* Gradient for hero sections */
  --gradient-start: #ff7e5f;
  --gradient-end: #feb47b;
}

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

body {
  font-family: var(--font);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Background Gradients & Glows */
.glow-bg {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
}

.glow-orange {
  top: -100px;
  right: -100px;
  background: radial-gradient(circle, rgba(255, 87, 34, 0.12) 0%, rgba(255, 87, 34, 0) 70%);
}

.glow-blue {
  bottom: 20%;
  left: -200px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.1) 0%, rgba(56, 189, 248, 0) 70%);
}

/* Layout Containers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Header */
header {
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
}

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

.logo-icon {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px var(--orange-glow);
}

.logo-img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: contain;
}

/* Hero Section */
.hero {
  padding: 80px 0 100px;
  text-align: center;
  position: relative;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(255, 87, 34, 0.1);
  border: 1px solid rgba(255, 87, 34, 0.2);
  color: var(--orange);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1.5px;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--orange) 0%, #FFA726 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 20px;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 40px;
}

.btn-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
  background: var(--orange);
  color: white;
  box-shadow: 0 8px 24px rgba(255, 87, 34, 0.25);
}

.btn-primary:hover {
  background: #ff6a3c;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 87, 34, 0.35);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Calculator Section */
.calc-section {
  padding: 60px 0;
}

.calc-card {
  background: var(--card-dark);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 40px;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 768px) {
  .calc-card {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 24px;
  }
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.calc-header h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
}

.calc-header p {
  color: var(--text-secondary);
  font-size: 15px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

.input-slider-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
}

.input-slider-wrapper input[type="range"] {
  flex: 1;
  height: 6px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  accent-color: var(--orange);
  cursor: pointer;
}

.slider-val {
  min-width: 70px;
  text-align: right;
  font-size: 16px;
  font-weight: 700;
  color: var(--orange);
  background: rgba(255, 87, 34, 0.1);
  padding: 4px 10px;
  border-radius: 6px;
}

.calc-results {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 18px;
  padding: 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.calc-results::before {
  content: '';
  position: absolute;
  width: 150px;
  height: 150px;
  background: var(--success);
  filter: blur(80px);
  opacity: 0.15;
  top: -50px;
  right: -50px;
}

.savings-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.savings-amount {
  font-size: 48px;
  font-weight: 800;
  color: var(--success);
  line-height: 1;
  margin-bottom: 6px;
}

.savings-desc {
  font-size: 13px;
  color: var(--text-secondary);
}

/* Features Grid */
.features {
  padding: 80px 0;
}

.screenshots-section {
  padding: 80px 0;
  background: rgba(30, 41, 59, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

@media (max-width: 900px) {
  .screenshots-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .screenshots-grid {
    grid-template-columns: 1fr;
  }
}

.screenshot-card {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}

.screenshot-card:hover {
  transform: translateY(-8px);
}

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

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

.section-title h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-title p {
  color: var(--text-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.feat-card {
  background: var(--card-dark);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.feat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.feat-icon-orange {
  background: rgba(255, 87, 34, 0.15);
  color: var(--orange);
}

.feat-icon-green {
  background: rgba(46, 204, 113, 0.15);
  color: var(--success);
}

.feat-icon-blue {
  background: rgba(56, 189, 248, 0.15);
  color: var(--info);
}

.feat-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feat-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Legal Links Area */
.legal-banner {
  padding: 60px 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-box {
  background: rgba(30, 41, 59, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  padding: 24px;
  max-width: 800px;
  margin: 0 auto;
}

/* Legal page hero */
.legal-hero {
  position: relative;
  padding: 120px 0 80px;
  text-align: center;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: var(--text-primary);
  overflow: hidden;
}
.legal-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.05);
  pointer-events: none;
}
@keyframes pulse {
  0% {background-position: 0% 50%;}
  50% {background-position: 100% 50%;}
  100% {background-position: 0% 50%;}
}
.legal-hero {
  background-size: 200% 200%;
  animation: pulse 10s ease infinite;
}

/* New hero cover container */
.hero-cover-container {
  padding: 0 0 60px 0;
  text-align: center;
}

.hero-cover-img {
  max-width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  display: block;
  margin: 0 auto;
}


.legal-grid {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.legal-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.3s;
}

.legal-link:hover {
  color: var(--orange);
  text-decoration: underline;
}

/* Footer */
footer {
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: #060911;
  text-align: center;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 14px;
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

.hero-cover-img {
  max-width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  display: block;
  margin: 0 auto;
  animation: float 6s ease-in-out infinite;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.feat-card {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.feat-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.screenshot-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.screenshot-card:hover {
  transform: scale(1.05) translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
  z-index: 10;
}
