@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@700&display=swap');

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

body {
  font-family: 'Inter', sans-serif;
  transition: all 0.4s ease;
}

/* GAISĀ TĒMA */
body.light {
  background-color: #f8fafc;
  color: #1e2937;
}

body.light .navbar {
  background: rgba(248, 250, 252, 0.97);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* TUMŠĀ TĒMA */
body.dark {
  background-color: #0a0a0a;
  color: #f1f1f1;
}

body.dark .navbar {
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

/* NAVIGĀCIJA */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.4rem 0;
}

.nav-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 2rem;
  font-weight: 700;
}

body.light .logo { color: #f97316; }
body.dark .logo { color: #fb923c; }

/* HERO */
.hero {
  height: 100vh;
  background: linear-gradient(135deg, #f97316, #e11d48, #7e22ce);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.5));
}

.heading {
  font-family: 'Playfair Display', sans-serif;
  font-size: 5.2rem;
  line-height: 1.05;
  font-weight: 700;
  margin-bottom: 1.4rem;
  text-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.hero-subtitle {
  font-size: 1.6rem;
  max-width: 680px;
  margin: 0 auto 3rem;
  opacity: 0.95;
}

.btn-primary {
  background: white;
  color: #1e2937;
  padding: 18px 52px;
  font-size: 1.3rem;
  font-weight: 600;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 12px 35px rgba(0,0,0,0.25);
}

.btn-primary:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.3);
}

/* Sekcijas */
.section {
  max-width: 1300px;
  margin: 0 auto;
  padding: 110px 2.5rem;
}

.section-title {
  text-align: center;
  font-size: 2.9rem;
  margin-bottom: 3.5rem;
  font-weight: 700;
}

/* Amount Cards */
.amount-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 28px;
}

.amount-card {
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 28px;
  padding: 42px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

body.dark .amount-card {
  background: #18181b;
  border-color: #27272a;
}

.amount-card:hover {
  transform: translateY(-18px) scale(1.05);
  border-color: #f97316;
  box-shadow: 0 25px 55px rgba(249, 115, 22, 0.25);
}

.amount-card.popular {
  border-color: #f97316;
  position: relative;
}

.amount-card.popular::after {
  content: "Populārākā";
  position: absolute;
  top: -14px;
  right: 25px;
  background: #f97316;
  color: white;
  font-size: 0.85rem;
  padding: 5px 16px;
  border-radius: 30px;
}

/* Priekšskatījums */
.preview-card {
  height: 480px;
  border-radius: 32px;
  padding: 50px 45px;
  box-shadow: 0 30px 70px -10px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background 0.6s ease;
  position: relative;
  overflow: hidden;
}

.preview-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255,255,255,0.25), transparent);
  pointer-events: none;
}

/* Forma un dizaina izvēle */
.form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 18px 24px;
  border-radius: 20px;
  border: 2px solid #d1d5db;
  font-size: 1.1rem;
}

body.dark .form-group input,
body.dark .form-group textarea {
  background: #1f2937;
  border-color: #4b5563;
  color: white;
}

.design-options {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.design-option {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  cursor: pointer;
  border: 4px solid transparent;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

.design-option.active {
  border-color: #f97316;
  transform: scale(1.12);
}
