/* ===== Siren Enterprises — base styles ===== */

:root {
  --bg: #0a0f1a;
  --bg-alt: #0f1524;
  --surface: #141b2d;
  --surface-hover: #1a2338;
  --border: #232c42;
  --text: #e8ecf4;
  --text-muted: #9aa5bd;
  --accent: #34d399;
  --accent-dim: #10b981;
  --accent-soft: rgba(52, 211, 153, 0.12);
  --accent-2: #a855f7;
  --accent-2-dim: #7c3aed;
  --accent-2-soft: rgba(168, 85, 247, 0.14);
  --gradient: linear-gradient(135deg, var(--accent), var(--accent-2));
  --max-width: 1120px;
  --radius: 14px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  line-height: 1.2;
  margin: 0 0 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }

p { color: var(--text-muted); margin: 0 0 16px; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

/* ===== Header / Nav ===== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 15, 26, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #0a0f1a;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

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

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

.nav-cta {
  background: var(--gradient);
  color: #0a0f1a !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.nav-cta:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

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

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

/* ===== Buttons ===== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: inherit;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.card ul {
  margin: 0 0 16px;
  padding-left: 20px;
  color: var(--text-muted);
}

.card li { margin-bottom: 6px; }
.card li:last-child { margin-bottom: 0; }

.btn-primary {
  background: var(--gradient);
  color: #0a0f1a;
}

.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-disabled {
  background: transparent;
  border-color: var(--border);
  color: var(--text-muted);
  cursor: not-allowed;
  opacity: 0.6;
}

/* ===== Project folder cards ===== */

.folder-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 28px;
}

.folder-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.app-icon-link {
  flex-shrink: 0;
  display: block;
  border-radius: 14px;
  transition: transform 0.2s ease;
}

.app-icon-link:hover {
  transform: translateY(-2px);
}

.app-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: block;
}

.folder-card h3 { margin-bottom: 4px; }
.folder-card p { margin-bottom: 0; }

.link-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 24px;
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ===== Hero ===== */

.hero {
  padding: 100px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -150px;
  width: 600px;
  height: 500px;
  background:
    radial-gradient(circle at 30% 30%, var(--accent-soft), transparent 60%),
    radial-gradient(circle at 70% 70%, var(--accent-2-soft), transparent 60%);
  pointer-events: none;
}

.hero-inner {
  max-width: 680px;
  position: relative;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* ===== Sections ===== */

section {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.section-head {
  max-width: 620px;
  margin-bottom: 48px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ===== Cards / Grid ===== */

.grid {
  display: grid;
  gap: 24px;
}

.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

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

.card:hover {
  border-color: var(--accent-dim);
  transform: translateY(-3px);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 18px;
}

.card p:last-child { margin-bottom: 0; }

.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-left: 8px;
  vertical-align: middle;
}

.badge-soon {
  background: var(--accent-2-soft);
  color: var(--accent-2);
}

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

/* ===== CTA band ===== */

.cta-band {
  background:
    linear-gradient(135deg, var(--accent-soft), var(--accent-2-soft)),
    linear-gradient(135deg, var(--surface), var(--bg-alt));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 56px;
  text-align: center;
}

.cta-band h2 { margin-bottom: 10px; }
.cta-band p { max-width: 480px; margin-left: auto; margin-right: auto; }

/* ===== Forms ===== */

.form {
  max-width: 560px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.15s ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
}

.field textarea { resize: vertical; min-height: 120px; }

.form-note {
  font-size: 0.85rem;
  margin-top: 12px;
}

.form-status {
  margin-top: 16px;
  font-size: 0.9rem;
  display: none;
}

.form-status.visible { display: block; }

.form-status.success { color: var(--accent); }
.form-status.error { color: var(--accent-2); }

/* ===== Contact info list ===== */

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-list li {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}

.info-list li:last-child { border-bottom: none; }

.info-list strong { color: var(--text); display: block; }

/* ===== Footer ===== */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  margin-top: 40px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

.footer-fine {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ===== Responsive ===== */

@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 18px;
    transform: translateY(-150%);
    opacity: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-toggle { display: flex; }

  .grid-3, .grid-2, .form-row { grid-template-columns: 1fr; }

  .cta-band { padding: 40px 24px; }

  .hero { padding: 60px 0 60px; }

  section { padding: 56px 0; }
}
