/* ============================================================
   Andromeda Creations – style.css
   Theme: Dark cosmos, refined & modern
   ============================================================ */

/* --- Variables --- */
:root {
  --bg:        #07080f;
  --bg-card:   #0e1020;
  --bg-card-alt: #111325;
  --border:    rgba(255,255,255,0.07);
  --border-hi: rgba(255,255,255,0.15);

  --text:      #e8eaf2;
  --text-muted:#8b8fa8;
  --text-dim:  #555870;

  --accent:    #6c8aff;
  --accent-2:  #a78bfa;
  --accent-glow: rgba(108,138,255,0.25);

  --gold:      #f0c56a;

  --radius:    16px;
  --radius-sm: 10px;

  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  --max-w: 1100px;
  --section-pad: 100px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Starfield canvas --- */
#stars {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

/* --- Utility --- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section {
  position: relative;
  z-index: 1;
  padding: var(--section-pad) 0;
}

.section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 64px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; }
.section-header em { color: var(--accent); font-style: normal; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 700; }

em { color: var(--accent-2); font-style: italic; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 50px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 24px var(--accent-glow);
}
.btn-primary:hover {
  background: #7d9aff;
  box-shadow: 0 6px 32px rgba(108,138,255,0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-hi);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.25);
}

.btn-sm { padding: 9px 20px; font-size: 0.82rem; }

.play-icon { width: 18px; height: 18px; }

/* ============================================================
   NAV
   ============================================================ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  background: rgba(7,8,15,0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
}
.brand-icon {
  color: var(--accent);
  font-size: 1.2rem;
  animation: spin-slow 12s linear infinite;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  padding: 8px 14px;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-cta {
  background: rgba(108,138,255,0.12) !important;
  color: var(--accent) !important;
  border: 1px solid rgba(108,138,255,0.25) !important;
  border-radius: 50px !important;
}
.nav-cta:hover {
  background: rgba(108,138,255,0.22) !important;
  color: #fff !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.4rem;
  cursor: pointer;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 140px 24px 80px;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  animation: fade-up 0.8s ease both;
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  opacity: 0.9;
}

.hero h1 {
  margin-bottom: 24px;
}
.hero h1 em {
  display: block;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: italic;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Glowing orb */
.hero-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  width: min(700px, 100vw);
  height: min(700px, 100vw);
  background: radial-gradient(ellipse at center,
    rgba(108,138,255,0.12) 0%,
    rgba(167,139,250,0.06) 40%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: pulse-orb 6s ease-in-out infinite;
}

/* ============================================================
   APPS SECTION
   ============================================================ */
.apps-section { background: transparent; }

.apps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.app-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}
.app-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 20%, rgba(108,138,255,0.05), transparent 60%);
  pointer-events: none;
}
.app-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hi);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.app-card.featured {
  border-color: rgba(108,138,255,0.3);
  background: linear-gradient(135deg, #0e1020, #111428);
}
.app-card.featured::before {
  background: radial-gradient(ellipse at 30% 0%, rgba(108,138,255,0.1), transparent 60%);
}

.app-card.coming-soon {
  border-style: dashed;
  opacity: 0.7;
}
.app-card.coming-soon:hover { opacity: 1; }

.app-card-badge {
  position: absolute;
  top: 20px; right: 20px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 50px;
}

.app-card-icon {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 24px;
  flex-shrink: 0;
}
.cocktail-icon {
  background: linear-gradient(135deg, #1a1040, #2d1b69);
  border: 1px solid rgba(167,139,250,0.3);
  box-shadow: 0 0 24px rgba(167,139,250,0.15);
}
.placeholder-icon {
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 1.4rem;
}

.app-card-body { display: flex; flex-direction: column; flex: 1; }
.app-card-body h3 { margin-bottom: 4px; }

.app-tagline {
  font-size: 0.9rem;
  color: var(--accent-2);
  font-style: italic;
  margin-bottom: 14px;
}

.app-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.7;
}

.app-features {
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.app-features li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding-left: 18px;
  position: relative;
}
.app-features li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.6rem;
  top: 4px;
}

.app-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
  background: linear-gradient(180deg, transparent, rgba(108,138,255,0.04) 50%, transparent);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
  width: 280px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.about-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  animation: spin-slow linear infinite;
}
.ring-1 {
  width: 100%;
  height: 100%;
  border-color: rgba(108,138,255,0.2);
  animation-duration: 20s;
}
.ring-2 {
  width: 70%;
  height: 70%;
  border-color: rgba(167,139,250,0.25);
  animation-duration: 14s;
  animation-direction: reverse;
}
.ring-3 {
  width: 40%;
  height: 40%;
  border-color: rgba(108,138,255,0.3);
  animation-duration: 9s;
}

.about-star {
  font-size: 2.5rem;
  color: var(--accent);
  animation: pulse-orb 3s ease-in-out infinite;
}

.about-text { }
.about-text h2 { margin-bottom: 20px; }
.about-text p {
  color: var(--text-muted);
  margin-bottom: 18px;
  font-size: 1.02rem;
}
.about-text .btn { margin-top: 12px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 48px 0;
  background: rgba(7,8,15,0.6);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}

.footer-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-nav a {
  padding: 6px 14px;
  font-size: 0.88rem;
  color: var(--text-muted);
  border-radius: 6px;
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--text); }

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.page-hero {
  padding: 160px 24px 80px;
  text-align: center;
}
.page-hero h1 { margin-bottom: 16px; }
.page-hero p { color: var(--text-muted); max-width: 500px; margin: 0 auto; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  padding-bottom: var(--section-pad);
}

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

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  margin-bottom: 14px;
  transition: border-color 0.2s;
}
.contact-method:hover { border-color: var(--border-hi); }
.contact-method-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-method-label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 4px;
}
.contact-method-value {
  color: var(--accent);
  font-size: 0.95rem;
}

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}
.contact-form-card h3 { margin-bottom: 24px; }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  background: rgba(108,138,255,0.06);
}
.form-group select option { background: var(--bg); }
.form-group textarea { min-height: 130px; }

/* ============================================================
   APP DETAIL PAGE
   ============================================================ */
.app-detail-hero {
  padding: 150px 24px 80px;
  position: relative;
  z-index: 1;
}
.app-detail-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: start;
}
.app-detail-icon-lg {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  flex-shrink: 0;
}
.app-detail-meta {}
.app-detail-meta .label { margin-bottom: 8px; }
.app-detail-meta h1 { margin-bottom: 10px; }
.app-detail-meta .hero-sub { max-width: 540px; margin: 0 0 28px; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px;
}
.feature-card-icon { font-size: 1.6rem; margin-bottom: 12px; }
.feature-card h4 { font-size: 1rem; margin-bottom: 6px; }
.feature-card p { font-size: 0.88rem; color: var(--text-muted); }

/* ============================================================
   PRIVACY PAGE
   ============================================================ */
.prose {
  max-width: 720px;
  margin: 0 auto;
  padding-bottom: var(--section-pad);
}
.prose h2 { font-size: 1.4rem; margin: 40px 0 12px; }
.prose p, .prose li {
  color: var(--text-muted);
  font-size: 0.97rem;
  margin-bottom: 14px;
  line-height: 1.8;
}
.prose ul { padding-left: 20px; list-style: disc; }
.prose a { color: var(--accent); text-decoration: underline; }
.prose .last-updated {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 40px;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes pulse-orb {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.06); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .apps-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; }
  .app-detail-inner { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  nav { padding: 14px 20px; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(7,8,15,0.97); padding: 16px; border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .hero { padding: 120px 24px 60px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .app-card { padding: 24px; }
  --section-pad: 64px;
}
