/* ===================================================
   Ceviz Dünyası - Google Yorum & Puan Sistemi
   Premium UI/UX Design System
   =================================================== */

:root {
  --primary-navy: #18204c;
  --primary-navy-dark: #0f1433;
  --primary-navy-light: #2c3882;
  --accent-red: #e5242d;
  --accent-red-hover: #c91b23;
  --accent-red-soft: rgba(229, 36, 45, 0.1);
  --gold-reward: #f59e0b;
  --gold-soft: rgba(245, 158, 11, 0.12);
  --emerald-green: #10b981;
  --emerald-soft: rgba(16, 185, 129, 0.12);
  --bg-gradient: linear-gradient(145deg, #f5f7fc 0%, #eef2f9 50%, #f7f9fb 100%);
  --surface-card: rgba(255, 255, 255, 0.94);
  --surface-subtle: #f8fafc;
  --border-subtle: rgba(24, 32, 76, 0.08);
  --border-focus: rgba(229, 36, 45, 0.4);
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(24, 32, 76, 0.07), 0 8px 10px -6px rgba(24, 32, 76, 0.04);
  --shadow-xl: 0 24px 48px -12px rgba(24, 32, 76, 0.14), 0 0 0 1px rgba(24, 32, 76, 0.04);
  --shadow-glow: 0 0 35px rgba(229, 36, 45, 0.25);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-body);
  background: var(--bg-gradient);
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

/* Background Ambient Orbs */
.bg-ambient {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
}

.ambient-orb-1 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(229, 36, 45, 0.35) 0%, rgba(229, 36, 45, 0) 70%);
  top: -120px;
  right: -80px;
}

.ambient-orb-2 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(24, 32, 76, 0.25) 0%, rgba(24, 32, 76, 0) 70%);
  bottom: -100px;
  left: -120px;
}

/* Layout Container */
.app-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 20px 80px;
}

/* Header */
.site-header {
  text-align: center;
  padding: 24px 0 32px;
}

.logo-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
  transition: var(--transition);
  border: 1px solid rgba(24, 32, 76, 0.05);
}

.logo-wrapper:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.logo-img {
  max-height: 80px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Reward Badge */
.reward-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #b45309;
  padding: 7px 18px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
  animation: pulseBadge 3s infinite ease-in-out;
}

.reward-pill span.icon {
  font-size: 1.15rem;
}

@keyframes pulseBadge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.025); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--primary-navy);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  line-height: 1.25;
}

.hero-title .highlight-red {
  color: var(--accent-red);
  position: relative;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 28px;
}

/* CTA Action Bar */
.action-banner-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 14px;
  margin-bottom: 36px;
}

@media (max-width: 680px) {
  .action-banner-grid {
    grid-template-columns: 1fr;
  }
}

.action-card {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.action-card-google {
  background: linear-gradient(135deg, #ffffff 0%, #fff7f7 100%);
  border: 1.5px solid rgba(229, 36, 45, 0.25);
  box-shadow: 0 8px 20px -4px rgba(229, 36, 45, 0.12);
}

.action-card-google:hover {
  transform: translateY(-3px);
  border-color: var(--accent-red);
  box-shadow: 0 14px 28px -4px rgba(229, 36, 45, 0.22);
}

.action-card-whatsapp {
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
  border: 1.5px solid rgba(16, 185, 129, 0.25);
  box-shadow: 0 8px 20px -4px rgba(16, 185, 129, 0.1);
}

.action-card-whatsapp:hover {
  transform: translateY(-3px);
  border-color: #10b981;
  box-shadow: 0 14px 28px -4px rgba(16, 185, 129, 0.2);
}

.action-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.4rem;
}

.action-card-google .action-icon {
  background: var(--accent-red-soft);
  color: var(--accent-red);
}

.action-card-whatsapp .action-icon {
  background: var(--emerald-soft);
  color: #10b981;
}

.action-text h4 {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.action-card-google .action-text h4 {
  color: var(--accent-red);
}

.action-card-whatsapp .action-text h4 {
  color: #047857;
}

.action-text p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.action-arrow {
  margin-left: auto;
  font-size: 1.2rem;
  opacity: 0.6;
  transition: var(--transition);
}

.action-card:hover .action-arrow {
  transform: translateX(4px);
  opacity: 1;
}

/* Steps Flow */
.steps-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 36px;
}

@media (max-width: 720px) {
  .steps-container {
    grid-template-columns: 1fr;
  }
}

.step-box {
  background: var(--surface-card);
  padding: 18px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  backdrop-filter: blur(12px);
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-navy);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.step-content h5 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 3px;
}

.step-content p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* Main Form Card */
.main-card {
  background: var(--surface-card);
  border-radius: var(--radius-lg);
  padding: 38px 40px;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  margin-bottom: 40px;
}

@media (max-width: 560px) {
  .main-card {
    padding: 24px 20px;
  }
}

.card-header {
  margin-bottom: 28px;
  text-align: center;
}

.card-header h3 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 6px;
}

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

/* Form Styles */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

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

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

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-label .required-dot {
  color: var(--accent-red);
}

.form-label .helper-badge {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 16px;
  color: var(--text-light);
  font-size: 1.1rem;
  pointer-events: none;
  transition: var(--transition);
}

.form-control {
  width: 100%;
  padding: 13px 16px 13px 44px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-main);
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--accent-red);
  box-shadow: 0 0 0 3px rgba(229, 36, 45, 0.12);
}

.form-control:focus + .input-icon,
.input-wrapper:focus-within .input-icon {
  color: var(--accent-red);
}

textarea.form-control {
  padding-left: 16px;
  min-height: 85px;
  resize: vertical;
}

.form-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 3px;
}

/* Upload Area */
.upload-zone {
  border: 2px dashed #cbd5e1;
  background: #f8fafc;
  border-radius: var(--radius-md);
  padding: 30px 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.upload-zone:hover,
.upload-zone.dragover {
  border-color: var(--accent-red);
  background: rgba(229, 36, 45, 0.03);
}

.upload-hidden-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.upload-idle-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.upload-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-red-soft);
  color: var(--accent-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  transition: var(--transition);
}

.upload-zone:hover .upload-icon-circle {
  transform: scale(1.08);
}

.upload-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.upload-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  max-width: 380px;
}

.upload-btn-chip {
  display: inline-block;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-navy);
  box-shadow: var(--shadow-sm);
  margin-top: 4px;
}

/* Preview Area */
.upload-preview-state {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.preview-img-container {
  max-height: 240px;
  max-width: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 2px solid #ffffff;
  position: relative;
}

.preview-img {
  max-height: 240px;
  width: auto;
  display: block;
  object-fit: contain;
}

.preview-file-info {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid #e2e8f0;
}

.btn-remove-image {
  background: #fee2e2;
  color: #b91c1c;
  border: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: var(--transition);
}

.btn-remove-image:hover {
  background: #ef4444;
  color: #ffffff;
}

/* Checkbox */
.consent-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0 24px;
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.consent-box input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--accent-red);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* Primary Button */
.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--accent-red) 0%, #c91b23 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  padding: 16px 28px;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(229, 36, 45, 0.35);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(229, 36, 45, 0.45);
}

.btn-submit:active:not(:disabled) {
  transform: translateY(0);
}

.btn-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.spinner {
  width: 22px;
  height: 22px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* FAQ Accordion */
.faq-section {
  margin-top: 48px;
}

.section-heading {
  text-align: center;
  margin-bottom: 24px;
}

.section-heading h4 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-navy);
}

.section-heading p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  padding: 16px 20px;
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--primary-navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.faq-icon {
  font-size: 1.1rem;
  transition: var(--transition);
  color: var(--text-muted);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--accent-red);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: #fdfdfd;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 20px 18px;
}

/* Footer */
.site-footer {
  text-align: center;
  margin-top: 50px;
  font-size: 0.85rem;
  color: var(--text-light);
}

.site-footer a {
  color: var(--primary-navy);
  text-decoration: none;
  font-weight: 600;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* Modal Popup (Success) */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.open {
  display: flex;
  opacity: 1;
}

.modal-card {
  background: #ffffff;
  max-width: 480px;
  width: 100%;
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  text-align: center;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.open .modal-card {
  transform: translateY(0) scale(1);
}

.modal-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--emerald-soft);
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 18px;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 10px;
}

.modal-body {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 24px;
}

.reward-info-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 24px;
  text-align: left;
}

.reward-info-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
  margin-bottom: 6px;
}

.reward-info-row:last-child {
  margin-bottom: 0;
}

.reward-info-label {
  color: var(--text-muted);
}

.reward-info-val {
  font-weight: 700;
  color: var(--primary-navy);
}

.btn-modal-close {
  width: 100%;
  background: var(--primary-navy);
  color: #ffffff;
  padding: 13px 20px;
  border-radius: var(--radius-md);
  border: none;
  font-weight: 700;
  font-size: 0.96rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-modal-close:hover {
  background: var(--primary-navy-light);
}

/* Toast Message */
.toast-msg {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--primary-navy);
  color: #ffffff;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1001;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
}

.toast-msg.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-msg.error {
  background: #dc2626;
}

.toast-msg.success {
  background: #059669;
}
