/* ==========================================================================
   Uniagenda: Uñas y Belleza — Website Design System
   Pure Vanilla CSS, Responsive, Glassmorphic & Modern Palette
   ========================================================================== */

:root {
  --primary: #6E39CB;
  --primary-hover: #592BB3;
  --primary-dark: #441A96;
  --primary-soft: #F1ECFA;
  --primary-glow: rgba(110, 57, 203, 0.28);
  --accent: #9B5DE5;
  --accent-soft: #FAF5FF;
  
  --bg: #FAF8FF;
  --bg-gradient: linear-gradient(180deg, #FAF8FF 0%, #F5F0FD 50%, #FAF8FF 100%);
  --surface: #FFFFFF;
  --surface-glass: rgba(255, 255, 255, 0.88);
  --border: #EDE7F6;
  --border-focus: #C4B2EE;
  
  --text-main: #1D162B;
  --text-muted: #665E75;
  --text-light: #948CA3;
  --success: #16A34A;
  --success-soft: #DCFCE7;
  
  --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --shadow-sm: 0 2px 6px rgba(45, 17, 85, 0.04);
  --shadow-card: 0 10px 30px -4px rgba(68, 26, 150, 0.07), 0 2px 8px rgba(0, 0, 0, 0.02);
  --shadow-card-hover: 0 20px 45px -8px rgba(110, 57, 203, 0.16), 0 4px 16px rgba(0, 0, 0, 0.04);
  --shadow-button: 0 8px 24px -4px rgba(110, 57, 203, 0.35);
  --shadow-mockup: 0 25px 60px -12px rgba(68, 26, 150, 0.25);
  
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Typography */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

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

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

/* Container */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Buttons & Badges */
.btn {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-family);
  font-size: 0.98rem;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #FFFFFF;
  box-shadow: var(--shadow-button);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -4px rgba(110, 57, 203, 0.45);
  filter: brightness(1.05);
}

.btn-secondary {
  background: var(--surface);
  color: var(--primary);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--primary-soft);
  border-color: var(--border-focus);
  transform: translateY(-2px);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  background: var(--primary-soft);
  color: var(--primary);
}

.badge-success {
  background: var(--success-soft);
  color: var(--success);
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--text-main);
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(110, 57, 203, 0.2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

/* Language Selector */
.lang-switch {
  display: inline-flex;
  align-items: center;
  background: var(--primary-soft);
  border-radius: var(--radius-pill);
  padding: 3px;
  border: 1px solid var(--border);
}

.lang-btn {
  background: transparent;
  border: none;
  font-family: var(--font-family);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.lang-btn.active {
  background: var(--surface);
  color: var(--primary);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* Hero Section */
.hero {
  padding: 4.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(155, 93, 229, 0.18) 0%, rgba(250, 248, 255, 0) 70%);
  z-index: -1;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-main);
}

.hero-title span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.65;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.google-play-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #111827;
  color: #FFFFFF;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
}

.google-play-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  filter: brightness(1.1);
}

.google-play-badge svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.google-play-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.15;
}

.google-play-text small {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #9CA3AF;
}

.google-play-text strong {
  font-size: 1.05rem;
  font-weight: 700;
}

/* Phone Mockup */
.mockup-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.mockup-frame {
  position: relative;
  width: 310px;
  background: #1A1325;
  border-radius: 46px;
  padding: 10px;
  box-shadow: var(--shadow-mockup);
  border: 4px solid #362947;
}

.mockup-speaker {
  width: 80px;
  height: 5px;
  background: #2D223B;
  border-radius: 3px;
  margin: 6px auto 10px;
}

.mockup-screen {
  border-radius: 36px;
  overflow: hidden;
  background: #FAF8FF;
  position: relative;
}

.mockup-screen img {
  width: 100%;
  display: block;
  transition: opacity 0.3s ease;
}

.floating-pill {
  position: absolute;
  background: var(--surface-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.75rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
  font-weight: 600;
  z-index: 10;
  animation: float 4s ease-in-out infinite;
}

.pill-left {
  top: 15%;
  left: -20px;
  animation-delay: 0s;
}

.pill-right {
  bottom: 20%;
  right: -20px;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-header .badge {
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 0.85rem;
  color: var(--text-main);
}

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

/* Features Grid */
.features-section {
  padding: 5rem 0;
}

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

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-focus);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
}

.feature-icon-box svg {
  width: 28px;
  height: 28px;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text-main);
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Interactive Showcase / App Tour */
.showcase-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, rgba(243, 239, 255, 0.4) 0%, rgba(250, 248, 255, 0.9) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.tab-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-family);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tab-btn:hover {
  color: var(--primary);
  border-color: var(--border-focus);
}

.tab-btn.active {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(110, 57, 203, 0.3);
}

.showcase-display {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 3rem;
  box-shadow: var(--shadow-card);
}

.showcase-image-container {
  display: flex;
  justify-content: center;
}

.showcase-mockup {
  width: 290px;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: var(--shadow-card-hover);
  border: 6px solid #2D223B;
  background: #FAF8FF;
}

.showcase-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.showcase-info h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.showcase-info p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.showcase-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.showcase-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-main);
}

.bullet-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--success-soft);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.bullet-icon svg {
  width: 13px;
  height: 13px;
}

/* Privacy & Offline Banner */
.privacy-banner-section {
  padding: 5rem 0;
}

.privacy-banner {
  background: linear-gradient(135deg, #2E145B 0%, #441A96 100%);
  color: #FFFFFF;
  border-radius: 32px;
  padding: 3.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-mockup);
}

.privacy-banner-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 3rem;
  position: relative;
  z-index: 2;
}

.privacy-banner h2 {
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.privacy-banner p {
  font-size: 1.05rem;
  color: #D3C4F5;
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.privacy-highlights {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(12px);
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.highlight-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.highlight-text strong {
  display: block;
  font-size: 1rem;
}

.highlight-text small {
  color: #D3C4F5;
  font-size: 0.85rem;
}

/* FAQ Section */
.faq-section {
  padding: 5rem 0;
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.faq-item:hover {
  border-color: var(--border-focus);
}

.faq-question {
  width: 100%;
  padding: 1.35rem 1.5rem;
  background: transparent;
  border: none;
  font-family: var(--font-family);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 1rem;
}

.faq-icon {
  transition: transform 0.25s ease;
  color: var(--primary);
  flex-shrink: 0;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding: 0 1.5rem 1.35rem;
  transition: max-height 0.3s ease-in-out;
}

/* Call to Action Final */
.cta-section {
  padding: 5rem 0 6rem;
  text-align: center;
}

.cta-card {
  background: linear-gradient(135deg, var(--surface) 0%, #F5F0FD 100%);
  border: 1px solid var(--border);
  border-radius: 36px;
  padding: 4.5rem 2rem;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.cta-card h2 {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.cta-card p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

/* Footer */
.footer {
  background: #140E20;
  color: #D3C4F5;
  padding: 4.5rem 0 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 3.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand .brand {
  color: #FFFFFF;
}

.footer-tagline {
  color: #9F93B8;
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col a {
  color: #9F93B8;
  font-size: 0.92rem;
  transition: var(--transition);
}

.footer-col a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.88rem;
  color: #7E7298;
}

/* ==========================================================================
   Privacy Policy Page Specific Styles
   ========================================================================== */
.policy-page {
  padding: 4rem 0 6rem;
}

.policy-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 3.5rem;
  box-shadow: var(--shadow-card);
}

.policy-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 2rem;
  margin-bottom: 2.5rem;
}

.policy-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.policy-meta {
  color: var(--text-light);
  font-size: 0.92rem;
}

.policy-content h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 2.2rem 0 0.85rem;
}

.policy-content p, .policy-content li {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

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

.policy-callout {
  background: var(--primary-soft);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.policy-callout p {
  color: var(--text-main);
  margin-bottom: 0;
  font-weight: 500;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-subtitle {
    margin: 0 auto;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .showcase-display {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2rem;
  }
  
  .privacy-banner-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 640px) {
  .navbar .container {
    height: 4rem;
    padding: 0 1rem;
  }

  .brand {
    font-size: 1.15rem;
    gap: 0.5rem;
  }

  .brand-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .nav-actions {
    gap: 0.5rem;
  }

  .nav-actions .btn {
    display: none;
  }

  .lang-switch {
    padding: 2px;
  }

  .lang-btn {
    padding: 0.3rem 0.65rem;
    font-size: 0.75rem;
  }
  .hero-title {
    font-size: 2.35rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .nav-links {
    display: none;
  }
  
  .floating-pill {
    display: none;
  }
  
  .policy-card {
    padding: 2rem 1.5rem;
  }
  
  .policy-header h1 {
    font-size: 1.85rem;
  }
  
  .cta-card {
    padding: 3rem 1.5rem;
  }
  
  .cta-card h2 {
    font-size: 2rem;
  }
}
