/* ═══════════════════════════════════════════════════════════════════════════
   FloraAds — Landing Page Styles
   Premium dark floral theme with glassmorphism
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── CSS Variables ──────────────────────────────────────────────────────── */
:root {
  --color-bg: #0a0a0f;
  --color-bg-light: #12121a;
  --color-surface: rgba(255, 255, 255, 0.04);
  --color-surface-hover: rgba(255, 255, 255, 0.08);
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-hover: rgba(255, 255, 255, 0.15);

  --color-text: #ffffff;
  --color-text-secondary: rgba(255, 255, 255, 0.6);
  --color-text-muted: rgba(255, 255, 255, 0.4);

  --color-primary: #e84393;
  --color-primary-light: #fd79a8;
  --color-primary-dark: #c0336e;
  --color-accent: #a29bfe;
  --color-accent-2: #74b9ff;
  --color-green: #00b894;

  --gradient-primary: linear-gradient(135deg, #e84393, #a29bfe);
  --gradient-hero: linear-gradient(160deg, #0a0a0f 0%, #1a0a1a 30%, #0a1a0a 60%, #0a0a0f 100%);
  --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);

  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);

  --font-primary: 'Outfit', 'Inter', sans-serif;
  --font-body: 'Inter', 'Outfit', sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Reset & Base ───────────────────────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ─── Scroll Animations ─────────────────────────────────────────────────── */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }

/* ─── Navbar ─────────────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  padding: 10px 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 700;
}

.logo-icon {
  font-size: 1.6rem;
}

.logo-accent {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  transition: color var(--transition);
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--color-text);
}

.nav-cta {
  padding: 10px 24px;
  background: var(--gradient-primary);
  border: none;
  border-radius: var(--radius-xl);
  color: white;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 67, 147, 0.3);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: float 8s ease-in-out infinite;
}

.hero-orb--1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(232, 67, 147, 0.4), transparent);
  top: 10%;
  right: 15%;
  animation-delay: 0s;
}

.hero-orb--2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(162, 155, 254, 0.3), transparent);
  bottom: 20%;
  left: 10%;
  animation-delay: -3s;
}

.hero-orb--3 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(0, 184, 148, 0.25), transparent);
  top: 40%;
  left: 50%;
  animation-delay: -5s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-content {
  position: relative;
  text-align: center;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero-title {
  font-family: var(--font-primary);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--color-text-secondary);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-value {
  font-family: var(--font-primary);
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--color-border);
}

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-xl);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 20px rgba(232, 67, 147, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(232, 67, 147, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-outline:hover {
  background: var(--color-surface-hover);
  border-color: var(--color-border-hover);
  transform: translateY(-2px);
}

.btn-tariff {
  width: 100%;
  padding: 14px;
  background: var(--glass-bg);
  border: 1px solid var(--color-border);
  color: var(--color-text);
}

.btn-tariff:hover {
  background: var(--gradient-primary);
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(232, 67, 147, 0.3);
  transform: translateY(-2px);
}

.btn-submit {
  width: 100%;
  padding: 16px;
  font-size: 1.05rem;
}

.btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.btn-loader {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

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

/* ─── Sections ───────────────────────────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  font-size: 0.85rem;
  color: var(--color-primary-light);
  margin-bottom: 16px;
  font-weight: 500;
}

.section-title {
  font-family: var(--font-primary);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
}

/* ─── About / Features ───────────────────────────────────────────────────── */
.about {
  padding: 100px 0;
  background: var(--color-bg-light);
}

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

.feature-card {
  padding: 32px;
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.feature-card:hover {
  border-color: var(--color-border-hover);
  background: var(--color-surface-hover);
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-family: var(--font-primary);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ─── Channels ───────────────────────────────────────────────────────────── */
.channels {
  padding: 100px 0;
}

.channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
}

.channel-card {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.channel-card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.channel-cover {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.channel-cover--1 {
  background: linear-gradient(135deg, #c0392b33, #e84393aa, #e74c3c33);
}
.channel-cover--2 {
  background: linear-gradient(135deg, #f39c1233, #fdcb6eaa, #e17055cc);
}
.channel-cover--3 {
  background: linear-gradient(135deg, #00b89433, #55efc4aa, #00cec9cc);
}
.channel-cover--4 {
  background: linear-gradient(135deg, #a29bfe33, #fd79a8aa, #e84393cc);
}

.channel-emoji {
  font-size: 3.5rem;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
  animation: pulse 3s ease-in-out infinite;
}

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

.channel-body {
  padding: 24px;
}

.channel-name {
  font-family: var(--font-primary);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.channel-desc {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
  line-height: 1.5;
}

.channel-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.channel-link {
  font-size: 0.9rem;
  color: var(--color-primary-light);
  font-weight: 600;
  transition: color var(--transition);
}

.channel-link:hover {
  color: var(--color-primary);
}

/* ─── Tariffs ────────────────────────────────────────────────────────────── */
.tariffs {
  padding: 100px 0;
  background: var(--color-bg-light);
}

.tariffs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
}

.tariff-card {
  position: relative;
  padding: 36px 28px;
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--transition);
}

.tariff-card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.tariff-card--popular {
  border-color: var(--color-primary);
  background: linear-gradient(145deg, rgba(232, 67, 147, 0.08) 0%, rgba(162, 155, 254, 0.04) 100%);
  transform: scale(1.02);
}

.tariff-card--popular:hover {
  transform: scale(1.02) translateY(-6px);
  border-color: var(--color-primary-light);
  box-shadow: 0 16px 40px rgba(232, 67, 147, 0.2);
}

.tariff-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 20px;
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  font-size: 0.8rem;
  font-weight: 700;
  color: white;
  white-space: nowrap;
}

.tariff-header {
  margin-bottom: 24px;
}

.tariff-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 12px;
}

.tariff-name {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  font-weight: 700;
}

.tariff-price {
  margin-bottom: 28px;
}

.tariff-amount {
  font-family: var(--font-primary);
  font-size: 3.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tariff-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-muted);
  margin-left: 4px;
}

.tariff-features {
  list-style: none;
  text-align: left;
  margin-bottom: 28px;
}

.tariff-features li {
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  border-bottom: 1px solid var(--color-border);
}

.tariff-features li:last-child {
  border-bottom: none;
}

/* ─── Order ──────────────────────────────────────────────────────────────── */
.order {
  padding: 100px 0;
}

.order-wrapper {
  max-width: 560px;
  margin: 0 auto;
}

.order-form {
  padding: 40px;
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text-secondary);
}

.form-group .optional {
  color: var(--color-text-muted);
  font-weight: 400;
}

.form-group select,
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition), background var(--transition);
  outline: none;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='rgba(255,255,255,0.4)' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-group select option {
  background: #1a1a2e;
  color: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  background: rgba(232, 67, 147, 0.05);
}

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

.order-summary {
  margin-bottom: 24px;
  padding: 20px;
  background: rgba(232, 67, 147, 0.06);
  border: 1px solid rgba(232, 67, 147, 0.15);
  border-radius: var(--radius-md);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.95rem;
  color: var(--color-text-secondary);
}

.summary-total {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
  border-top: 1px solid rgba(232, 67, 147, 0.15);
  margin-top: 8px;
  padding-top: 12px;
}

.form-disclaimer {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-align: center;
  line-height: 1.5;
}

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.footer {
  padding: 60px 0 30px;
  background: var(--color-bg-light);
  border-top: 1px solid var(--color-border);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo-text {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  font-weight: 700;
}

.footer-desc {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-links a,
.footer-contact a {
  display: block;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  padding: 4px 0;
  transition: color var(--transition);
}

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

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
    z-index: 999;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: all;
  }

  .nav-links a {
    font-size: 1.3rem;
    font-weight: 600;
  }

  .nav-cta {
    display: none;
  }

  .mobile-toggle {
    display: flex;
    z-index: 1001;
  }

  .hero {
    padding: 100px 0 60px;
    min-height: auto;
  }

  .hero-stats {
    gap: 20px;
  }

  .stat-value {
    font-size: 1.5rem;
  }

  .hero-orb {
    opacity: 0.25;
  }

  .hero-orb--1 { width: 200px; height: 200px; }
  .hero-orb--2 { width: 180px; height: 180px; }
  .hero-orb--3 { width: 120px; height: 120px; }

  .about,
  .channels,
  .tariffs,
  .order {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .channels-grid,
  .tariffs-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .tariff-card--popular {
    transform: none;
  }

  .tariff-card--popular:hover {
    transform: translateY(-6px);
  }

  .order-form {
    padding: 24px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .stat-divider {
    display: none;
  }
}
