/* ============================================
   Calico Creations, LLC — Global Styles
   Brand: Gold/Copper on Dark
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Nunito+Sans:ital,opsz,wght@0,6..12,300;0,6..12,400;0,6..12,500;0,6..12,600;0,6..12,700;1,6..12,400&display=swap');

:root {
  --gold:        #af8237;
  --gold-light:  #c9a45c;
  --gold-dark:   #8a6528;
  --copper:      #a07145;
  --bg-primary:  #0a0a0a;
  --bg-card:     #111111;
  --bg-elevated: #181818;
  --text-primary:#f0ece4;
  --text-muted:  #9a958c;
  --text-dim:    #6b6560;
  --border:      #2a2520;
  --border-gold: rgba(175, 130, 55, 0.25);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Nunito Sans', -apple-system, sans-serif;

  --max-width: 1140px;
  --radius:    12px;
  --radius-sm: 8px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--gold-light); text-decoration: none; transition: color 0.25s; }
a:hover { color: var(--gold); }

/* ---------- Utility ---------- */
.container  { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; width: 100%; }
.sr-only    { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.text-gold  { color: var(--gold); }
.flex-grow  { flex: 1; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }

p { margin-bottom: 1rem; }

/* ---------- Animated gold line ---------- */
.gold-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  border: none;
  margin: 20px 0;
}

.gold-line--center { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  color: #0a0a0a;
}
.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(175, 130, 55, 0.3);
  color: #0a0a0a;
}

.btn--outline {
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold-light);
}
.btn--outline:hover {
  background: rgba(175, 130, 55, 0.1);
  color: var(--gold-light);
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

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

.nav__logo img {
  height: 42px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--gold-light);
}

.nav__links a:hover::after,
.nav__links a.active::after {
  width: 100%;
}

/* Mobile nav toggle */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  margin: 5px 0;
  transition: all 0.3s;
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(175, 130, 55, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(160, 113, 69, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid var(--border-gold);
  background: rgba(175, 130, 55, 0.08);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 24px;
}

.hero__badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero__title {
  margin-bottom: 20px;
}

.hero__title em {
  font-style: italic;
  color: var(--gold);
}

.hero__subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 480px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__logo-showcase {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__logo-showcase::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  animation: rotate-slow 30s linear infinite;
}

.hero__logo-showcase::after {
  content: '';
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  border: 1px dashed rgba(175, 130, 55, 0.15);
  animation: rotate-slow 20s linear infinite reverse;
}

@keyframes rotate-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.hero__logo-showcase img {
  width: 200px;
  filter: drop-shadow(0 0 40px rgba(175, 130, 55, 0.15));
}

/* ---------- Section Base ---------- */
.section {
  padding: 80px 0;
}

.section--alt {
  background: var(--bg-card);
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section__header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ---------- About / Features Grid ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all 0.35s ease;
}

.feature-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(175, 130, 55, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
}

.feature-card h3 {
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ---------- App Spotlight ---------- */
.app-spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.app-spotlight__badge {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 50px;
  background: rgba(247, 147, 26, 0.12);
  color: #f7931a;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.app-spotlight h2 {
  margin-bottom: 16px;
}

.app-spotlight__desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 28px;
}

.app-feature-list {
  list-style: none;
  margin-bottom: 36px;
}

.app-feature-list li {
  padding: 8px 0;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
}

.app-feature-list li::before {
  content: '✦';
  color: var(--gold);
  font-size: 0.7rem;
  margin-top: 5px;
  flex-shrink: 0;
}

/* App mockup card */
.app-mockup {
  display: flex;
  justify-content: center;
}

.app-mockup__frame {
  width: 280px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 16px;
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(175, 130, 55, 0.1);
}

.app-mockup__screen {
  background: #1a1a1a;
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.app-mockup__btc-icon {
  font-size: 3rem;
  margin-bottom: 8px;
}

.app-mockup__price {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--text-primary);
}

.app-mockup__label {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.app-mockup__coming {
  margin-top: 16px;
  padding: 10px 24px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: #0a0a0a;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.app-mockup__graph {
  width: 100%;
  height: 60px;
  margin-top: 8px;
}

/* ---------- Coming Soon Banner ---------- */
.coming-soon {
  text-align: center;
  padding: 60px 0;
  background: linear-gradient(180deg, rgba(175, 130, 55, 0.05) 0%, transparent 100%);
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
}

.coming-soon h2 {
  margin-bottom: 12px;
}

.coming-soon p {
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 32px;
}

/* ---------- Privacy / Legal ---------- */
.legal {
  padding: 60px 0 80px;
}

.legal h1 {
  margin-bottom: 12px;
}

.legal__updated {
  color: var(--text-dim);
  font-size: 0.88rem;
  margin-bottom: 40px;
}

.legal__content h2 {
  font-size: 1.4rem;
  margin: 36px 0 12px;
  color: var(--gold-light);
}

.legal__content p,
.legal__content li {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

.legal__content ul {
  margin: 12px 0 12px 24px;
}

.legal__content li {
  margin-bottom: 6px;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info h2 {
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--text-muted);
  margin-bottom: 28px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.contact-detail__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(175, 130, 55, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-detail__text {
  font-size: 0.95rem;
}

.contact-detail__label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin-bottom: 2px;
}

.contact-form {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: border-color 0.25s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

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

/* ---------- Footer ---------- */
.footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
  background: var(--bg-card);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

.footer__brand img {
  height: 36px;
  margin-bottom: 12px;
}

.footer__brand p {
  color: var(--text-dim);
  font-size: 0.85rem;
  max-width: 280px;
}

.footer__links h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer__links ul {
  list-style: none;
}

.footer__links li {
  margin-bottom: 8px;
}

.footer__links a {
  color: var(--text-dim);
  font-size: 0.9rem;
}

.footer__links a:hover {
  color: var(--gold-light);
}

.footer__bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-dim);
  font-size: 0.82rem;
}

/* ---------- Page header (non-home) ---------- */
.page-header {
  padding: 48px 0 40px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(175, 130, 55, 0.05) 0%, transparent 60%);
}

.page-header h1 {
  margin-bottom: 8px;
}

.page-header p {
  color: var(--text-muted);
}

/* ---------- Animations ---------- */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-in {
  animation: fade-up 0.7s ease forwards;
}

.animate-in--d1 { animation-delay: 0.1s; opacity: 0; }
.animate-in--d2 { animation-delay: 0.2s; opacity: 0; }
.animate-in--d3 { animation-delay: 0.3s; opacity: 0; }
.animate-in--d4 { animation-delay: 0.4s; opacity: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .hero__grid,
  .app-spotlight,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero__visual { order: -1; }

  .hero__logo-showcase {
    width: 220px;
    height: 220px;
  }

  .hero__logo-showcase img { width: 140px; }

  .features {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .nav__links   { display: none; }
  .nav__toggle  { display: block; }

  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(16px);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
  }

  .hero { padding: 60px 0 40px; min-height: auto; }
  .section { padding: 56px 0; }

  .footer__inner {
    flex-direction: column;
    gap: 32px;
  }

  .app-mockup__frame { width: 240px; }
}
