/* Gift Idea Generator — Creative & Playful Theme */
/* Extracted from app: #FF3366 primary, #FFD700 gold, #7C4DFF purple, #1A1A2E dark */

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

:root {
  --color-primary: #FF3366;
  --color-secondary: #FFD700;
  --color-accent: #7C4DFF;
  --color-bg-dark: #1A1A2E;
  --color-bg-mid: #16213E;
  --color-surface: #0F3460;
  --color-sky-top: #5BC8F5;
  --color-sky-mid: #29ABE2;
  --color-sky-bottom: #0D8FC7;
  --color-text-primary: #FFFFFF;
  --color-text-secondary: #FFD0DC;
  --color-text-muted: #A0AEC0;
  --color-success: #00E676;
  --color-error: #FF5252;
  --border-radius: 20px;
  --font-family: 'Nunito', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-family);
  background: var(--color-bg-dark);
  color: var(--color-text-primary);
  margin: 0;
  overflow-x: hidden;
}

/* ── Navigation ── */
.navbar {
  background: rgba(26, 26, 46, 0.95) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 51, 102, 0.15);
  padding: 0.5rem 1rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar-brand .navbar-item {
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--color-primary) !important;
  gap: 0.4rem;
}

.navbar-menu {
  background: transparent !important;
}

.navbar-item {
  color: var(--color-text-primary) !important;
  font-weight: 600;
  border-radius: 30px;
  transition: background 0.25s, color 0.25s;
}

.navbar-item:hover {
  background: rgba(255, 51, 102, 0.12) !important;
  color: var(--color-primary) !important;
}

.navbar-burger span {
  background-color: var(--color-text-primary) !important;
  height: 2px !important;
}

@media (max-width: 1023px) {
  .navbar-menu {
    background: rgba(26, 26, 46, 0.98) !important;
    padding: 0.5rem;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
  }
}

/* ── Hero Section ── */
.hero-section {
  background: linear-gradient(135deg, var(--color-bg-dark) 0%, var(--color-bg-mid) 40%, var(--color-surface) 100%);
  position: relative;
  overflow: hidden;
  padding: 5rem 1.5rem 4rem;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 51, 102, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(124, 77, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.hero-title .highlight {
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 480px;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, var(--color-primary), #E6205A);
  color: #fff !important;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s;
  box-shadow: 0 4px 20px rgba(255, 51, 102, 0.35);
  text-decoration: none;
  text-align: center;
  line-height: 1.2;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 30px rgba(255, 51, 102, 0.5);
  color: #fff !important;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: rgba(124, 77, 255, 0.15);
  color: #B794FF !important;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.8rem;
  border-radius: 50px;
  border: 2px solid #B794FF;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none;
  text-align: center;
  line-height: 1.2;
}

.btn-secondary:hover {
  background: #B794FF;
  color: #fff !important;
  transform: translateY(-2px);
}

/* ── Device Mockup ── */
.device-mockup {
  position: relative;
  max-width: 280px;
  margin: 0 auto;
}

.device-frame {
  position: relative;
  background: #111;
  border-radius: 32px;
  padding: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 2px rgba(255, 255, 255, 0.08);
}

.device-frame img {
  width: 100%;
  border-radius: 22px;
  display: block;
}

.device-frame::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 6px;
  background: #222;
  border-radius: 4px;
  z-index: 5;
}

/* ── Screenshot Carousel ── */
.screenshots-section {
  padding: 4rem 1.5rem;
  background: linear-gradient(180deg, var(--color-bg-mid) 0%, var(--color-bg-dark) 100%);
}

.carousel-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-track {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}

.carousel-slide {
  display: none;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  animation: fadeScale 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.carousel-slide.active { display: flex; }

@keyframes fadeScale {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.carousel-slide .device-mockup { max-width: 220px; }

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 51, 102, 0.35);
  border: 2px solid var(--color-primary);
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
  z-index: 5;
}

.carousel-btn:hover {
  background: var(--color-primary);
  color: #fff;
}

.carousel-btn.prev { left: 0; }
.carousel-btn.next { right: 0; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1.2rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.carousel-dot.active {
  background: var(--color-primary);
  transform: scale(1.3);
}

/* ── Section Titles ── */
.section-title {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 0.6rem;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}

/* ── Feature Cards ── */
.features-section {
  padding: 4rem 1.5rem;
  background: var(--color-bg-dark);
}

.feature-card {
  background: linear-gradient(145deg, rgba(15, 52, 96, 0.6), rgba(22, 33, 62, 0.8));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--border-radius);
  padding: 2rem 1.5rem;
  text-align: left;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(255, 51, 102, 0.12);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.feature-icon.pink { background: rgba(255, 51, 102, 0.15); }
.feature-icon.gold { background: rgba(255, 215, 0, 0.15); }
.feature-icon.purple { background: rgba(124, 77, 255, 0.15); }
.feature-icon.blue { background: rgba(91, 200, 245, 0.15); }
.feature-icon.green { background: rgba(0, 230, 118, 0.15); }
.feature-icon.orange { background: rgba(255, 152, 0, 0.15); }

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: #C0CEE0;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ── How It Works ── */
.how-section {
  padding: 4rem 1.5rem;
  background: linear-gradient(180deg, var(--color-bg-dark), var(--color-bg-mid));
}

.step-card {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-content h3 {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

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

/* ── CTA Section ── */
.cta-section {
  padding: 4rem 1.5rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 51, 102, 0.08), rgba(124, 77, 255, 0.08));
  border-top: 1px solid rgba(255, 51, 102, 0.1);
  border-bottom: 1px solid rgba(124, 77, 255, 0.1);
}

/* ── Footer ── */
.site-footer {
  background: rgba(10, 10, 20, 0.8);
  padding: 2.5rem 1.5rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.2rem;
}

.footer-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--color-primary); }

.footer-copy {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.82rem;
}

/* ── Privacy / Terms / Contact Content ── */
.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.page-content h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.page-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  color: var(--color-primary);
}

.page-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.page-content p,
.page-content li {
  color: var(--color-text-muted);
  line-height: 1.7;
  text-align: left;
}

.page-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.page-content li { margin-bottom: 0.4rem; }

.page-content a {
  color: var(--color-sky-mid);
  text-decoration: underline;
}

.page-content a:hover { color: var(--color-sky-top); }

.effective-date {
  display: inline-block;
  background: rgba(255, 51, 102, 0.1);
  color: var(--color-text-secondary);
  padding: 0.3rem 1rem;
  border-radius: 30px;
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

/* ── Contact Form ── */
.contact-card {
  background: linear-gradient(145deg, rgba(15, 52, 96, 0.5), rgba(22, 33, 62, 0.7));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--border-radius);
  padding: 2.5rem 2rem;
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.3rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-primary);
  font-family: var(--font-family);
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(255, 51, 102, 0.15);
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
}

.form-group input[type="file"] {
  padding: 0.6rem;
}

.form-group input[type="file"]::file-selector-button {
  background: var(--color-primary);
  color: #fff;
  border: none;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
  margin-right: 0.8rem;
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
}

.form-success .checkmark {
  font-size: 3rem;
  margin-bottom: 0.8rem;
}

/* ── Privacy Button (shared include) ── */
.privacy-accept-btn {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 1rem 1.5rem 1.5rem;
  background: linear-gradient(to top, var(--color-bg-dark) 60%, transparent);
  display: flex;
  justify-content: center;
}

.privacy-accept-btn.hidden { display: none; }

.accept-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 400px;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--color-primary), #E6205A);
  color: #fff;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 1.05rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(255, 51, 102, 0.4);
  text-align: center;
  line-height: 1.3;
}

/* ── Lightbox ── */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9998;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}

.lightbox-overlay.active { display: flex; }

.lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}

/* ── Floating Balloons (decorative) ── */
.balloon {
  position: absolute;
  width: 30px;
  height: 38px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  opacity: 0.15;
  animation: floatUp linear infinite;
  pointer-events: none;
}

@keyframes floatUp {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  10% { opacity: 0.15; }
  90% { opacity: 0.15; }
  100% { transform: translateY(-800px) rotate(20deg); opacity: 0; }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero-title { font-size: 2rem; }
  .hero-subtitle { font-size: 1rem; }
  .section-title { font-size: 1.6rem; }
  .carousel-container { height: 320px; }
  .carousel-slide .device-mockup { max-width: 180px; }
  .device-frame { border-radius: 24px; padding: 8px; }
  .device-frame img { border-radius: 17px; }
  .device-frame::before { width: 60px; height: 5px; top: 5px; }
  .hero-buttons { flex-direction: column; gap: 0.8rem; }
  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary { width: 100%; justify-content: center; }
  .contact-card { padding: 1.5rem 1.2rem; }
  .feature-card { padding: 1.5rem 1.2rem; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.7rem; }
  .carousel-container { height: 280px; }
  .carousel-slide .device-mockup { max-width: 155px; }
  .carousel-btn { width: 40px; height: 40px; font-size: 1.1rem; }
}

/* ── AOS-like animations via CSS ── */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}
