/* Digital Jewellery Design - Static CSS matching original design system */

:root {
  --radius: 0.5rem;
  --background: #ffffff;
  --foreground: #2a2a3d;
  --card: #ffffff;
  --card-foreground: #2a2a3d;
  --primary: #4a3f8c;
  --primary-foreground: #fafafa;
  --secondary: #f3f2f8;
  --secondary-foreground: #3d3566;
  --muted: #f6f5f9;
  --muted-foreground: #6b6b7b;
  --accent: #ebe8f5;
  --border: #e2e1e8;
  --deep: #2a2448;
  --deep-foreground: #f8f7fc;
  --gold: #d4a84b;
  --gold-foreground: #2a2448;
  --font-sans: "Barlow", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Archivo", ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
  border-color: var(--border);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  margin: 0;
}

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

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

.container-page {
  margin-inline: auto;
  max-width: 80rem;
  padding-inline: 1.5rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.logo-mark {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--deep) 0%, var(--primary) 100%);
  display: grid;
  place-items: center;
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.logo-text {
  line-height: 1.15;
}

.logo-text .top {
  display: block;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--deep);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.logo-text .bottom {
  display: block;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--gold);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-desktop a {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(42, 42, 61, 0.8);
  transition: color 0.2s;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--primary);
}

.services-dropdown {
  position: relative;
}

.services-dropdown > a {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.dropdown-panel {
  display: none;
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  width: 640px;
  padding-top: 1rem;
}

.services-dropdown:hover .dropdown-panel {
  display: block;
}

.dropdown-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 0.75rem;
  padding: 1rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.dropdown-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 0.5rem;
  transition: background 0.2s;
}

.dropdown-item:hover {
  background: var(--secondary);
}

.dropdown-icon {
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 0.375rem;
  background: rgba(74, 63, 140, 0.1);
  color: var(--primary);
  transition: all 0.2s;
}

.dropdown-item:hover .dropdown-icon {
  background: var(--primary);
  color: #fff;
}

.dropdown-item strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--deep);
}

.dropdown-item span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--muted-foreground);
}

.header-actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.btn-login {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--deep);
  border-radius: 0.375rem;
  transition: color 0.2s;
}

.btn-login:hover {
  color: var(--primary);
}

.btn-signup {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  background: var(--gold);
  color: var(--gold-foreground);
  border-radius: 0.375rem;
  transition: background 0.2s, color 0.2s;
}

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

.menu-toggle {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  background: transparent;
  color: var(--deep);
  cursor: pointer;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background: #fff;
}

.mobile-nav.open {
  display: block;
}

.mobile-nav a,
.mobile-nav .mobile-services-btn {
  display: block;
  width: 100%;
  padding: 0.75rem 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(42,42,61,0.8);
  border-bottom: 1px solid rgba(226,225,232,0.6);
  background: none;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  text-align: left;
  cursor: pointer;
}

.mobile-services-list {
  display: none;
  background: rgba(243,242,248,0.5);
  padding: 0 0.75rem;
}

.mobile-services-list.open {
  display: block;
}

.mobile-services-list a {
  font-weight: 400;
  color: rgba(42,42,61,0.7);
}

.mobile-actions {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 0;
}

.mobile-actions a {
  flex: 1;
  text-align: center;
  padding: 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid var(--border);
}

.mobile-actions .btn-signup {
  border: none;
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--deep);
  color: var(--deep-foreground);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--deep), rgba(42,36,72,0.85), rgba(42,36,72,0.4));
}

.hero-content {
  position: relative;
  padding: 6rem 0;
}

@media (min-width: 1024px) {
  .hero-content {
    padding: 8rem 0;
  }
}

.hero-badge {
  display: inline-block;
  border-radius: 9999px;
  background: rgba(212, 168, 75, 0.2);
  padding: 0.25rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.hero h1 {
  margin-top: 1.5rem;
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.05;
  max-width: 36rem;
}

@media (min-width: 640px) {
  .hero h1 { font-size: 3rem; }
}
@media (min-width: 1024px) {
  .hero h1 { font-size: 3.75rem; }
}

.hero p {
  margin-top: 1.5rem;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.625;
  color: rgba(248,247,252,0.75);
}

.hero-btns {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.375rem;
  background: var(--gold);
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold-foreground);
  transition: background 0.2s, transform 0.2s;
  border: none;
  cursor: pointer;
}

.btn-gold:hover {
  background: rgba(212, 168, 75, 0.85);
}

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.375rem;
  border: 1px solid rgba(248,247,252,0.3);
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--deep-foreground);
  transition: background 0.2s;
  background: transparent;
}

.btn-outline-light:hover {
  background: rgba(248,247,252,0.1);
}

/* Stats */
.stats {
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  gap: 2rem;
  padding: 2.5rem 0;
}

@media (min-width: 640px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.stat-icon {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  color: var(--primary);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Why section */
.why-section {
  position: relative;
  overflow: hidden;
  background: var(--deep);
  color: var(--deep-foreground);
  padding: 5rem 0;
}

.why-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .why-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.section-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--gold);
}

.why-section h2 {
  margin-top: 1.25rem;
  font-size: 1.875rem;
  font-weight: 800;
}

@media (min-width: 640px) {
  .why-section h2 { font-size: 2.25rem; }
}

.why-section > .container-page > .why-grid > div > p {
  margin-top: 1.25rem;
  max-width: 28rem;
  color: rgba(248,247,252,0.7);
}

.problems-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .problems-grid { grid-template-columns: 1fr 1fr; }
}

.problem-card {
  border-radius: 0.75rem;
  border: 1px solid rgba(248,247,252,0.1);
  background: rgba(248,247,252,0.05);
  padding: 1.5rem;
  transition: border-color 0.2s;
}

.problem-card:hover {
  border-color: rgba(212, 168, 75, 0.4);
}

.problem-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 0.5rem;
  background: rgba(212, 168, 75, 0.15);
  color: var(--gold);
}

.problem-card h3 {
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: 700;
}

.problem-card p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: rgba(248,247,252,0.65);
}

/* About preview */
.about-preview {
  padding: 5rem 0;
}

.about-grid {
  display: grid;
  align-items: center;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
}

.about-img {
  width: 100%;
  height: 20rem;
  object-fit: cover;
  border-radius: 0.75rem;
}

.about-preview h2 {
  margin-top: 1.25rem;
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--deep);
}

@media (min-width: 640px) {
  .about-preview h2 { font-size: 2.25rem; }
}

.about-preview > .container-page > .about-grid > div > p {
  margin-top: 1.25rem;
  color: var(--muted-foreground);
}

.about-list {
  margin-top: 1.75rem;
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: rgba(42,42,61,0.8);
}

.about-list svg {
  margin-top: 0.125rem;
  flex-shrink: 0;
  color: var(--primary);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  border-radius: 0.375rem;
  background: var(--primary);
  padding: 0.75rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--deep);
}

/* Offers */
.offers {
  background: rgba(243, 242, 248, 0.5);
  padding: 5rem 0;
}

.offers h2 {
  text-align: center;
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--deep);
}

@media (min-width: 640px) {
  .offers h2 { font-size: 2.25rem; }
}

.offers-grid {
  margin-top: 3rem;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .offers-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .offers-grid { grid-template-columns: repeat(4, 1fr); }
}

.offer-card {
  overflow: hidden;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: var(--card);
  transition: box-shadow 0.2s;
}

.offer-card:hover {
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.offer-img-wrap {
  position: relative;
}

.offer-img-wrap img {
  width: 100%;
  height: 11rem;
  object-fit: cover;
}

.offer-icon {
  position: absolute;
  bottom: -1.25rem;
  left: 1.25rem;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--gold-foreground);
}

.offer-body {
  padding: 2.25rem 1.25rem 1.25rem;
}

.offer-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--deep);
}

.offer-body p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}

.link-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
}

/* Who we serve */
.audiences {
  border-top: 1px solid var(--border);
  padding: 5rem 0;
}

.audiences-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.audiences h2 {
  margin-top: 0.75rem;
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--deep);
}

@media (min-width: 640px) {
  .audiences h2 { font-size: 2.25rem; }
}

.slider-btns {
  display: flex;
  gap: 0.5rem;
}

.slider-btn {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--deep);
  cursor: pointer;
  transition: background 0.2s;
}

.slider-btn:hover:not(:disabled) {
  background: var(--secondary);
}

.slider-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.slider-viewport {
  margin-top: 2.5rem;
  overflow: hidden;
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease-out;
}

.audience-slide {
  width: 100%;
  flex-shrink: 0;
  padding: 0 0.75rem;
}

@media (min-width: 640px) {
  .audience-slide { width: 50%; }
}
@media (min-width: 1024px) {
  .audience-slide { width: 33.333%; }
}

.audience-card {
  height: 100%;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.75rem;
}

.audience-icon {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 0.5rem;
  background: rgba(74, 63, 140, 0.1);
  color: var(--primary);
}

.audience-card h3 {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--deep);
}

.audience-card p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}

.slider-dots {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.slider-dot {
  height: 0.375rem;
  border-radius: 9999px;
  border: none;
  background: var(--border);
  cursor: pointer;
  transition: all 0.2s;
  width: 0.75rem;
  padding: 0;
}

.slider-dot.active {
  width: 2rem;
  background: var(--primary);
}

/* FAQ */
.faq-section {
  background: var(--deep);
  color: var(--deep-foreground);
  padding: 5rem 0;
}

.faq-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .faq-grid {
    grid-template-columns: 0.8fr 1.2fr;
  }
}

.faq-section h2 {
  margin-top: 0.75rem;
  font-size: 1.875rem;
  font-weight: 800;
}

@media (min-width: 640px) {
  .faq-section h2 { font-size: 2.25rem; }
}

.faq-section > .container-page > .faq-grid > div > p {
  margin-top: 1.25rem;
  color: rgba(248,247,252,0.7);
}

.link-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.accordion-item {
  border-bottom: 1px solid rgba(248,247,252,0.15);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  background: none;
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--deep-foreground);
  cursor: pointer;
  font-family: var(--font-sans);
}

.accordion-trigger svg {
  flex-shrink: 0;
  transition: transform 0.2s;
}

.accordion-item.open .accordion-trigger svg {
  transform: rotate(180deg);
}

.accordion-content {
  display: none;
  padding-bottom: 1.25rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: rgba(248,247,252,0.7);
}

.accordion-item.open .accordion-content {
  display: block;
}

/* CTA */
.cta-section {
  background: rgba(243, 242, 248, 0.5);
  padding: 5rem 0;
  text-align: center;
}

.cta-section h2 {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--deep);
}

@media (min-width: 640px) {
  .cta-section h2 { font-size: 2.25rem; }
}

.cta-section p {
  margin-top: 1rem;
  color: var(--muted-foreground);
}

.cta-btns {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.375rem;
  border: 1px solid var(--border);
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--deep);
  background: transparent;
  transition: background 0.2s;
}

.btn-outline:hover {
  background: #fff;
}

/* Footer */
.site-footer {
  background: var(--deep);
  color: var(--deep-foreground);
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand .logo-mark {
  background: #fff;
  color: var(--deep);
}

.footer-brand span {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.footer-brand + p {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: rgba(248,247,252,0.7);
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
}

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

.footer-col a,
.footer-col li {
  font-size: 0.875rem;
  color: rgba(248,247,252,0.7);
}

.footer-col a:hover {
  color: var(--deep-foreground);
}

.footer-col li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.footer-col svg {
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(248,247,252,0.1);
  padding: 1.25rem 0;
  font-size: 0.75rem;
  color: rgba(248,247,252,0.6);
}

/* Page shell for inner pages */
.page-hero {
  background: var(--deep);
  color: var(--deep-foreground);
  padding: 4rem 0;
}

.page-hero h1 {
  font-size: 2.25rem;
  font-weight: 800;
}

.page-hero p {
  margin-top: 1rem;
  max-width: 40rem;
  color: rgba(248,247,252,0.75);
}

.page-content {
  padding: 3rem 0 5rem;
}

/* Utilities */
.mt-8 { margin-top: 2rem; }

@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
  .header-actions { display: flex; }
  .menu-toggle { display: none; }
}
