/* Edira — Muttgrams-style dark theme (aligned with muttgrams.com) */

:root {
  --color-bg: #0f0f1a;
  --color-bg-alt: #18182b;
  --color-bg-elevated: #1e1e32;
  --color-surface: #25253d;
  --color-text: #ffffff;
  --color-text-muted: rgba(255, 255, 255, 0.75);
  --color-text-soft: rgba(255, 255, 255, 0.6);
  --color-accent-start: #ff8c42;
  --color-accent-end: #b45bff;
  --color-accent: linear-gradient(90deg, var(--color-accent-start), var(--color-accent-end));
  --color-border: rgba(255, 255, 255, 0.1);
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 12px;
  --radius-pill: 9999px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.4);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 15, 26, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo:hover {
  color: var(--color-text-muted);
}

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

.nav a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color 0.2s;
}

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

.cta-nav {
  color: var(--color-text) !important;
  padding: 0.5rem 1rem;
  background: var(--color-accent);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
}

.cta-nav:hover {
  opacity: 0.9;
  color: var(--color-text) !important;
}

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

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  padding: 6rem 1.5rem 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 20%, rgba(90, 56, 126, 0.25) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(180, 91, 255, 0.15) 0%, transparent 50%),
    linear-gradient(180deg, #1a1a2e 0%, var(--color-bg) 100%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.hero-byline {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text-soft);
  margin: 0 0 0.5rem;
}

.hero-tagline {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin: 0 0 1.25rem;
  padding: 0.4rem 1rem;
  background: linear-gradient(90deg, #ff8c42, #b45bff);
  border: 1px solid rgba(255, 140, 66, 0.4);
  border-radius: var(--radius-pill);
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 4rem);
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 1rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin: 0 0 2rem;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

.btn {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-primary {
  background: linear-gradient(90deg, #ff8c42, #b45bff);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  opacity: 0.95;
}

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

.btn-secondary:hover {
  background: var(--color-surface);
  border-color: var(--color-text-soft);
}

.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.phone-mockup {
  width: 220px;
  height: 440px;
  background: var(--color-bg-elevated);
  border-radius: 28px;
  padding: 12px;
  box-shadow: var(--shadow-hover), 0 0 0 1px var(--color-border);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--color-bg);
  border-radius: 18px;
  overflow: hidden;
}

.phone-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Sections */
.section {
  padding: 4rem 1.5rem;
}

.container {
  max-width: 720px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.section-lead {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.65;
}

.section-lead a {
  color: #b45bff;
  font-weight: 500;
  text-decoration: none;
}

.section-lead a:hover {
  text-decoration: underline;
}

.about {
  background: var(--color-bg-alt);
}

.muttgrams-intro .btn {
  margin-top: 1.5rem;
}

/* Feature cards */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 1.5rem;
}

.feature-card {
  background: var(--color-surface);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.75rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--color-text);
}

.feature-card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 1rem;
}

/* CTA section */
.cta {
  background: linear-gradient(180deg, rgba(180, 91, 255, 0.15) 0%, var(--color-bg) 100%);
  text-align: center;
}

.cta .section-lead {
  margin-bottom: 1.5rem;
}

/* Footer */
.site-footer {
  padding: 2.5rem 1.5rem;
  background: var(--color-bg-alt);
  color: var(--color-text-muted);
  text-align: center;
  border-top: 1px solid var(--color-border);
}

.site-footer a {
  color: #b45bff;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-brand {
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-text);
  margin: 0 0 0.25rem;
}

.footer-product {
  font-size: 0.9375rem;
  margin: 0 0 0.5rem;
  opacity: 0.9;
}

.footer-copy {
  font-size: 0.8125rem;
  opacity: 0.75;
  margin: 0;
}

/* Mobile */
@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .nav.is-open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 1.5rem;
    background: var(--color-bg-alt);
    border-bottom: 1px solid var(--color-border);
    gap: 1rem;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    padding-top: 5rem;
  }

  .phone-mockup {
    width: 180px;
    height: 360px;
    border-radius: 24px;
  }

  .section {
    padding: 3rem 1.5rem;
  }
}
