/* ==========================================================================
   saruai.com.tr - Estilos Globales & Diseño Moderno
   Inspirado exactamente en la jerarquía visual de referencia
   ========================================================================== */

:root {
  /* Paleta de Colores Primaria */
  --primary-orange: #EF6C00;
  --primary-orange-hover: #D84315;
  --primary-orange-light: #FFF3E0;
  --teal-green: #00B894;
  --teal-green-hover: #00A383;
  --primary-purple: #6C5CE7;
  --accent-pink: #FD79A8;

  /* Redes Sociales Colores Oficiales */
  --color-instagram: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  --color-whatsapp: #25D366;
  --color-discord: #5865F2;
  --color-pubg: #F39C12;
  --color-tiktok: #000000;
  --color-facebook: #1877F2;

  /* Neutros y Fondos */
  --dark-text: #111827;
  --body-text: #4B5563;
  --light-gray: #E5E7EB;
  --border-color: #E2E8F0;
  --bg-page: #FFFFFF;
  --bg-soft: #F9FAFB;
  --white: #FFFFFF;

  /* Tipografía */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Sombras Modernas */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.08);

  /* Bordes & Transiciones */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark-text);
  background-color: var(--bg-page);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ==========================================================================
   Header & Dropdown Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--dark-text);
  letter-spacing: -0.02em;
}

.site-logo:hover {
  opacity: 0.9;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark-text);
  padding: 0.5rem 0;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-orange);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-orange);
  border-radius: 2px;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark-text);
  padding: 0.5rem 0;
  transition: var(--transition);
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.active {
  color: var(--primary-orange);
}

.dropdown-chevron {
  transition: transform 0.2s ease;
}

.nav-dropdown:hover .dropdown-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark-text);
  transition: var(--transition);
}

.dropdown-item:hover, .dropdown-item.active {
  background-color: var(--primary-orange-light);
  color: var(--primary-orange);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-orange);
  color: var(--white);
  padding: 0.6rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(239, 108, 0, 0.25);
  transition: var(--transition);
}

.btn-contact:hover {
  background-color: var(--primary-orange-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(239, 108, 0, 0.35);
}

.mobile-menu-toggle {
  display: none;
  padding: 0.5rem;
  color: var(--dark-text);
}

/* ==========================================================================
   Hero Section (Exact Visual Layout from Reference)
   ========================================================================== */
.hero-section {
  padding: 3.5rem 0 2rem;
  text-align: center;
  background: radial-gradient(circle at 50% 0%, #FFF9F5 0%, #FFFFFF 70%);
}

.hero-title {
  font-size: 2.85rem;
  font-weight: 900;
  line-height: 1.18;
  color: #0F172A;
  margin-bottom: 0.75rem;
  letter-spacing: -0.03em;
}

.hero-tagline {
  font-size: 1.35rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.05rem;
  font-weight: 400;
  color: #64748B;
  max-width: 780px;
  margin: 0 auto 2.5rem;
  line-height: 1.65;
}

/* Hero Interactive Box */
.hero-converter-box {
  max-width: 580px;
  margin: 0 auto 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 10px 40px -10px rgba(0, 184, 148, 0.18), 0 0 0 1px rgba(0, 184, 148, 0.15);
  transition: var(--transition);
}

.hero-converter-box:focus-within {
  box-shadow: 0 15px 45px -10px rgba(0, 184, 148, 0.28), 0 0 0 2px var(--teal-green);
}

.hero-input {
  width: 100%;
  height: 52px;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 0 1.25rem;
  font-size: 1.05rem;
  color: var(--dark-text);
  background-color: #F8FAFC;
  transition: var(--transition);
  margin-bottom: 1rem;
}

.hero-input:focus {
  outline: none;
  background-color: var(--white);
  border-color: var(--teal-green);
}

.btn-view-all {
  width: 100%;
  height: 50px;
  background-color: var(--teal-green);
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-view-all:hover {
  background-color: var(--teal-green-hover);
  transform: translateY(-1px);
}

/* Quick Platform Pills (Under Box) */
.platform-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-pill);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.platform-pill:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  filter: brightness(1.05);
}

.platform-pill.instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.platform-pill.whatsapp { background-color: #25D366; }
.platform-pill.discord { background-color: #5865F2; }
.platform-pill.pubg { background-color: #E67E22; }
.platform-pill.tiktok { background-color: #000000; }
.platform-pill.facebook { background-color: #1877F2; }

/* Feature Highlights Row (Badge Strip) */
.feature-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.75rem;
  color: #475569;
  font-size: 0.95rem;
  font-weight: 600;
}

.badge-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.badge-icon {
  font-size: 1.1rem;
}

/* ==========================================================================
   Full Converter & Results Area
   ========================================================================== */
.results-container {
  padding: 2rem 0 4rem;
}

.category-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.filter-btn {
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-pill);
  background-color: var(--white);
  border: 1px solid var(--border-color);
  color: #475569;
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
}

.filter-btn:hover {
  border-color: var(--teal-green);
  color: var(--teal-green);
}

.filter-btn.active {
  background-color: var(--teal-green);
  border-color: var(--teal-green);
  color: var(--white);
}

/* Style Cards Grid */
.style-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
}

.style-card {
  background: var(--white);
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.02);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.style-card:hover {
  transform: translateY(-3px);
  border-color: var(--teal-green);
  box-shadow: var(--shadow-lg);
}

.style-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
}

.style-name {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #00A383;
  background-color: #E6FFFA;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.04em;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  background-color: var(--teal-green);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.copy-btn:hover {
  background-color: var(--teal-green-hover);
}

.copy-btn.copied {
  background-color: #27AE60;
}

.style-preview {
  font-size: 1.25rem;
  line-height: 1.5;
  color: #0F172A;
  word-break: break-word;
  min-height: 56px;
  padding: 0.5rem 0;
  cursor: pointer;
}

/* ==========================================================================
   Content / SEO Section
   ========================================================================== */
.seo-content {
  padding: 4rem 0;
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-soft);
}

.seo-content article {
  max-width: 820px;
  margin: 0 auto;
}

.seo-content h2 {
  font-size: 1.85rem;
  font-weight: 800;
  color: #0F172A;
  margin: 2.5rem 0 1rem;
  letter-spacing: -0.02em;
}

.seo-content h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1E293B;
  margin: 1.75rem 0 0.75rem;
}

.seo-content p {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.seo-content ul {
  margin: 1rem 0 1.5rem 1.5rem;
  list-style: disc;
  color: #475569;
}

.seo-content li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

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

.section-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 2.5rem;
  letter-spacing: -0.02em;
}

.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 0.85rem;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: #CBD5E1;
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0F172A;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--primary-orange);
  transition: transform 0.2s ease;
}

.faq-open .faq-question::after {
  content: '−';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.5rem;
  color: #475569;
  font-size: 1rem;
  line-height: 1.75;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-open .faq-answer {
  max-height: 350px;
  padding-bottom: 1.25rem;
}

/* ==========================================================================
   Breadcrumb
   ========================================================================== */
.breadcrumb {
  padding: 1rem 0;
  background-color: var(--bg-soft);
  border-bottom: 1px solid var(--border-color);
  font-size: 0.9rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.breadcrumb a {
  color: var(--primary-orange);
  font-weight: 600;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb .separator {
  color: #94A3B8;
}

/* ==========================================================================
   Symbols Section
   ========================================================================== */
.symbols-section {
  padding: 3rem 0;
}

.symbols-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.symbol-category {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.symbol-category h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-orange-light);
}

.symbol-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(42px, 1fr));
  gap: 6px;
}

.symbol-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  font-size: 1.35rem;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-sm);
  cursor: pointer;
  user-select: none;
  transition: var(--transition);
}

.symbol-item:hover {
  background: var(--white);
  border-color: var(--primary-orange);
  color: var(--primary-orange);
  transform: scale(1.12);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: #0F172A;
  color: #94A3B8;
  padding: 4.5rem 0 2rem;
  margin-top: auto;
}

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

.footer-brand .site-logo {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: #94A3B8;
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid #1E293B;
  text-align: center;
  font-size: 0.85rem;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
  .nav-menu {
    display: none;
  }

  .nav-menu.active {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1.5rem;
    box-shadow: var(--shadow-xl);
    border-bottom: 1px solid var(--border-color);
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    gap: 0.75rem;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding-left: 1rem;
    display: none;
  }

  .nav-dropdown.open .nav-dropdown-menu {
    display: block;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 2.1rem;
  }

  .hero-tagline {
    font-size: 1.15rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ==========================================================================
   Google AdSense Responsive Placements & Placeholders
   ========================================================================== */
.ad-wrapper, .ad-container {
  margin: 1.75rem auto;
  text-align: center;
  clear: both;
  overflow: hidden;
}

.ad-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94A3B8;
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.ad-placeholder {
  background: #F8FAFC;
  border: 1px dashed #CBD5E1;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  color: #64748B;
  transition: var(--transition);
  margin: 0 auto;
}

.ad-placeholder:hover {
  border-color: var(--teal-green);
  background: #F1F5F9;
}

.ad-placeholder-content {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
}

.ad-placeholder-content svg {
  color: var(--primary-orange);
}

.ad-header_leaderboard .ad-placeholder {
  max-width: 970px;
  min-height: 90px;
}

.ad-in_content .ad-placeholder {
  max-width: 800px;
  min-height: 120px;
}

.ad-footer_banner .ad-placeholder {
  max-width: 970px;
  min-height: 90px;
}

/* ==========================================================================
   Legal Pages & Footer Legal Bar
   ========================================================================== */
.hero-legal {
  padding: 2.75rem 0 1.5rem;
}

.legal-article {
  max-width: 860px;
  margin: 0 auto;
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.legal-article h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0F172A;
  margin: 2rem 0 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--primary-orange-light);
}

.legal-article h2:first-of-type {
  margin-top: 0;
}

.legal-article p {
  font-size: 1rem;
  line-height: 1.8;
  color: #475569;
  margin-bottom: 1.15rem;
}

.legal-article ul {
  margin: 1rem 0 1.5rem 1.5rem;
  list-style: disc;
  color: #475569;
}

.legal-article li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.legal-article a {
  color: var(--primary-orange);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-article a:hover {
  color: var(--primary-orange-hover);
}

.footer-legal-bar {
  padding: 1.5rem 0;
  border-top: 1px solid #1E293B;
  background-color: #0B1120;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

.footer-legal-links li a {
  color: #94A3B8;
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition);
}

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