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

:root {
  --bg: #0d0f1a;
  --fg: #f5f5f7;
  --card: #161827;
  --card-fg: #eeeef0;
  --primary: #e8a020;
  --primary-fg: #0d0f1a;
  --secondary: #1e2035;
  --secondary-fg: #d4d4d8;
  --muted: #1a1c2e;
  --muted-fg: #888899;
  --border: #2a2c42;
  --surface: #141625;
  --whatsapp: #25d366;
  --whatsapp-fg: #fff;
  --radius: 0.75rem;
  --font: 'Inter', system-ui, sans-serif;
}

body { background: var(--bg); color: var(--fg); font-family: var(--font); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
.hidden { display: none !important; }
.text-center { text-align: center; }
img { max-width: 100%; height: auto; }

.text-gradient {
  background: linear-gradient(135deg, #f0b030, #d07020);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* HEADER */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: rgba(13,15,26,0.8); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 0 1rem; height: 64px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: 1.1rem; }
.logo-icon { width: 24px; height: 24px; color: var(--primary); }
.nav-desktop { display: flex; align-items: center; gap: 2rem; }
.nav-link { font-size: 0.875rem; color: var(--muted-fg); transition: color 0.2s; }
.nav-link:hover, .nav-link.active { color: var(--fg); }
.lang-btn { display: flex; align-items: center; gap: 0.375rem; padding: 0.375rem 0.75rem; border-radius: 999px; background: var(--secondary); color: var(--secondary-fg); border: none; font-size: 0.75rem; font-weight: 700; cursor: pointer; font-family: var(--font); }
.lang-icon { width: 14px; height: 14px; }
.mobile-controls { display: none; align-items: center; gap: 0.75rem; }
.menu-toggle { background: none; border: none; color: var(--fg); cursor: pointer; }
.nav-mobile { background: var(--bg); border-bottom: 1px solid var(--border); padding: 0 1rem 1rem; display: flex; flex-direction: column; gap: 0.75rem; }

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .mobile-controls { display: flex; }
}

/* HERO */
.hero { padding: 6rem 1rem 4rem; background: linear-gradient(180deg, var(--bg) 0%, #161830 100%); }
.hero-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.hero h1 { font-size: 2.5rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 1rem; line-height: 1.15; }
.hero-subtitle { font-size: 1.125rem; color: var(--muted-fg); margin-bottom: 2rem; max-width: 540px; margin-left: auto; margin-right: auto; }
.hero-form { display: flex; flex-direction: column; gap: 0.75rem; max-width: 520px; margin: 0 auto; }
.hero-input { height: 56px; font-size: 1rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 0 1.25rem; color: var(--fg); outline: none; font-family: var(--font); }
.hero-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(232,160,32,0.15); }
.btn-hero { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; height: 56px; padding: 0 2rem; border: none; border-radius: var(--radius); background: linear-gradient(135deg, #e8a020, #d07020); color: var(--primary-fg); font-weight: 700; font-size: 1rem; cursor: pointer; font-family: var(--font); transition: transform 0.15s, box-shadow 0.15s; }
.btn-hero:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(232,160,32,0.3); }
.btn-hero:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

@media (min-width: 640px) {
  .hero h1 { font-size: 3.5rem; }
  .hero { padding-top: 8rem; padding-bottom: 6rem; }
  .hero-form { flex-direction: row; }
  .btn-hero { flex-shrink: 0; }
}

/* SECTIONS */
.section-inner { max-width: 1100px; margin: 0 auto; padding: 0 1rem; }
.section-title { font-size: 1.5rem; font-weight: 700; text-align: center; margin-bottom: 2rem; }
@media (min-width: 768px) { .section-title { font-size: 1.875rem; } }

/* DESIGNS */
.designs-section { padding: 3rem 1rem; }
.designs-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .designs-grid { grid-template-columns: repeat(3, 1fr); } }
.design-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; cursor: pointer; transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s; }
.design-card:hover { transform: scale(1.03); border-color: rgba(232,160,32,0.5); }
.design-card.selected { border-color: var(--primary); box-shadow: 0 0 30px rgba(232,160,32,0.3); }
.design-card-img { aspect-ratio: 1; overflow: hidden; background: var(--surface); }
.design-card-img img { width: 100%; height: 100%; object-fit: cover; }
.design-card-body { padding: 1rem; }
.design-card-title { font-size: 0.875rem; font-weight: 600; margin-bottom: 0.25rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.design-card-desc { font-size: 0.75rem; color: var(--muted-fg); }

/* PREVIEW */
.preview-section { padding: 3rem 1rem; }
.preview-layout { display: flex; flex-direction: column; align-items: center; gap: 2rem; }
@media (min-width: 768px) { .preview-layout { flex-direction: row; } }
.preview-mockup { flex: 1; display: flex; justify-content: center; }
.mockup-bg { width: 256px; height: 256px; border-radius: 1rem; background: var(--surface); display: flex; align-items: center; justify-content: center; }
@media (min-width: 768px) { .mockup-bg { width: 320px; height: 320px; } }
.mockup-img { width: 224px; height: 224px; object-fit: contain; transition: filter 0.3s; }
@media (min-width: 768px) { .mockup-img { width: 288px; height: 288px; } }
.preview-options { flex: 1; display: flex; flex-direction: column; gap: 1.5rem; }
.option-label { font-size: 0.875rem; font-weight: 500; color: var(--muted-fg); margin-bottom: 0.75rem; }
.color-picker { display: flex; gap: 0.75rem; }
.color-btn { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--border); cursor: pointer; transition: transform 0.2s, border-color 0.2s; }
.color-btn.active { border-color: var(--primary); transform: scale(1.1); }
.size-picker { display: flex; gap: 0.75rem; }
.size-btn { width: 48px; height: 48px; border-radius: var(--radius); border: 2px solid var(--border); background: var(--surface); color: var(--secondary-fg); font-weight: 700; font-size: 0.875rem; cursor: pointer; font-family: var(--font); transition: all 0.2s; }
.size-btn.active { border-color: var(--primary); background: var(--primary); color: var(--primary-fg); }
.size-btn:hover { border-color: rgba(232,160,32,0.5); }

/* ORDER */
.order-section { padding: 3rem 1rem; }
.order-subtitle { color: var(--muted-fg); margin-bottom: 1.5rem; }
.btn-whatsapp { display: inline-flex; align-items: center; gap: 0.5rem; height: 56px; padding: 0 2rem; border: none; border-radius: var(--radius); background: var(--whatsapp); color: var(--whatsapp-fg); font-weight: 700; font-size: 1rem; cursor: pointer; font-family: var(--font); transition: transform 0.15s, box-shadow 0.15s; }
.btn-whatsapp:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(37,211,102,0.3); }

/* FOOTER */
.footer { border-top: 1px solid var(--border); padding: 2rem 1rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
@media (min-width: 768px) { .footer-inner { flex-direction: row; justify-content: space-between; } }
.footer-text { font-size: 0.875rem; color: var(--muted-fg); }
