/* ===== FancyCow Studio — shared styles ===== */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600;700&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700&display=swap');

:root {
  --bg-0:        #0a0818;
  --bg-1:        #110c24;
  --bg-2:        #1a1136;
  --panel:       rgba(28, 21, 54, 0.55);
  --panel-line:  rgba(150, 130, 220, 0.16);
  --ink:         #f4f1fb;
  --ink-soft:    #b3acce;
  --ink-mute:    #8a83a6;

  --violet:      #8b5cf6;
  --violet-2:    #a855f7;
  --violet-deep: #6d28d9;

  --blue:   #3b82f6;
  --green:  #22c55e;
  --orange: #f97316;

  --grad-violet: linear-gradient(100deg, #7c3aed 0%, #a855f7 60%, #c084fc 100%);
  --grad-page:   radial-gradient(1200px 700px at 80% -8%, rgba(124,58,237,.30), transparent 60%),
                 radial-gradient(900px 600px at 8% 18%, rgba(59,30,120,.35), transparent 60%),
                 linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 45%, var(--bg-2) 100%);

  --maxw: 1240px;
  --radius: 18px;
  --radius-lg: 26px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg-0);
  background-image: var(--grad-page);
  background-attachment: fixed;
  color: var(--ink);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, .display {
  font-family: 'Fredoka', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

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

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

.txt-violet {
  background: linear-gradient(100deg, #a855f7, #c084fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 18px;
  z-index: 50;
  padding: 0 28px;
}
.nav {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 22px;
  border-radius: 20px;
  background: rgba(16, 12, 34, 0.72);
  border: 1px solid var(--panel-line);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-badge {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--grad-violet);
  box-shadow: 0 8px 22px rgba(124,58,237,.5);
  color: #fff;
}
.brand-name {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: .01em;
}
.brand-name span { color: var(--violet-2); }

.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 9px 16px;
  border-radius: 11px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--ink); background: rgba(139,92,246,.12); }
.nav-links a.active { color: #fff; }
.nav-links a.active::after {
  content: ""; display: block; height: 2px; margin-top: 5px; border-radius: 2px;
  background: var(--grad-violet);
}

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600; font-size: 15.5px;
  border: none; cursor: pointer;
  padding: 13px 24px; border-radius: 14px;
  color: #fff; background: var(--grad-violet);
  box-shadow: 0 12px 30px rgba(124,58,237,.45);
  transition: transform .2s, box-shadow .2s, filter .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(124,58,237,.55); filter: brightness(1.06); }
.btn-ghost {
  background: rgba(255,255,255,.05);
  border: 1px solid var(--panel-line);
  box-shadow: none; color: var(--ink);
}
.btn-ghost:hover { background: rgba(255,255,255,.09); box-shadow: none; }

.menu-toggle { display: none; background: none; border: none; color: var(--ink); cursor: pointer; }

/* ===== Hero ===== */
.hero { padding: 64px 0 30px; position: relative; }
.hero-grid {
  display: grid; grid-template-columns: 1fr 0.92fr; gap: 40px; align-items: center;
}
.badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft);
  padding: 9px 16px; border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--panel-line);
}
.badge svg { color: var(--violet-2); }
.hero h1 {
  font-size: clamp(40px, 5.2vw, 70px);
  line-height: 1.12;
  margin: 26px 0 0;
  max-width: 14ch;
}
.hero p.lead {
  font-size: 19px; color: var(--ink-soft); margin: 30px 0 0; max-width: 46ch;
}
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 38px; flex-wrap: wrap; }
.play {
  display: flex; align-items: center; gap: 14px; cursor: pointer;
}
.play-circle {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--panel-line);
  background: rgba(255,255,255,.04);
  color: #fff; transition: background .2s, transform .2s;
}
.play:hover .play-circle { background: rgba(139,92,246,.2); transform: scale(1.05); }
.play-txt b { display: block; font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 16px; }
.play-txt span { font-size: 13.5px; color: var(--ink-mute); }

/* phone fan */
.phone-fan {
  position: relative; height: 460px;
  display: flex; justify-content: center; align-items: center;
}
.phone {
  position: absolute;
  width: 178px; height: 372px;
  border-radius: 26px;
  padding: 7px;
  background: linear-gradient(160deg, #2a2150, #15102b);
  border: 1px solid rgba(160,140,230,.22);
  box-shadow: 0 30px 60px rgba(0,0,0,.5);
}
.phone image-slot { width: 100%; height: 100%; display: block; }
.phone:nth-child(1) { transform: rotate(-13deg) translate(-188px, 8px); z-index: 1; }
.phone:nth-child(2) { transform: rotate(-5deg)  translate(-66px, -10px); z-index: 2; }
.phone:nth-child(3) { transform: rotate(5deg)   translate(66px, -10px);  z-index: 2; }
.phone:nth-child(4) { transform: rotate(13deg)  translate(188px, 8px);   z-index: 1; }

/* ===== Section base ===== */
.section { padding: 78px 0; }
.section-center { text-align: center; }
.section-center .badge { margin-bottom: 22px; }
.section h2 { font-size: clamp(30px, 3.6vw, 46px); }
.section .sub { color: var(--ink-soft); font-size: 18.5px; margin-top: 14px; }

/* feature cards */
.features {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 52px;
}
.card {
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-radius: var(--radius);
  padding: 26px 24px 22px;
  backdrop-filter: blur(8px);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-5px); border-color: rgba(150,130,220,.35); box-shadow: 0 22px 44px rgba(0,0,0,.4); }
.card-icon {
  width: 56px; height: 56px; border-radius: 15px;
  display: grid; place-items: center; color: #fff; margin-bottom: 20px;
}
.ic-violet { background: linear-gradient(150deg, #8b5cf6, #6d28d9); }
.ic-blue   { background: linear-gradient(150deg, #3b82f6, #1d4ed8); }
.ic-green  { background: linear-gradient(150deg, #22c55e, #15803d); }
.ic-orange { background: linear-gradient(150deg, #fb923c, #ea580c); }
.card h3 { font-size: 21px; margin-bottom: 9px; }
.card p { font-size: 15.5px; color: var(--ink-soft); }
.card .accent { height: 3px; width: 64px; border-radius: 3px; margin-top: 20px; }
.acc-violet { background: var(--violet); }
.acc-blue   { background: var(--blue); }
.acc-green  { background: var(--green); }
.acc-orange { background: var(--orange); }

/* google play badge */
.gplay-row { display: flex; justify-content: center; margin-top: 56px; }
.gplay {
  display: inline-flex; align-items: center; gap: 14px;
  background: #000; border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px; padding: 12px 26px;
  transition: transform .2s, box-shadow .2s;
}
.gplay:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,0,0,.5); }
.gplay small { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #cbd5e1; }
.gplay b { font-family: 'Fredoka', sans-serif; font-size: 24px; line-height: 1; }

/* ===== Footer ===== */
.site-footer {
  margin-top: 30px;
  border-top: 1px solid var(--panel-line);
  background: rgba(10, 8, 22, 0.55);
}
.footer-grid {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 40px; padding: 52px 0 30px; flex-wrap: wrap;
}
.footer-grid p { color: var(--ink-soft); font-size: 15px; max-width: 34ch; margin-top: 16px; }
.footer-links { display: flex; gap: 36px; flex-wrap: wrap; }
.footer-col h4 { font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 14px; }
.footer-col a { display: block; color: var(--ink-soft); font-size: 15px; padding: 5px 0; transition: color .2s; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  border-top: 1px solid var(--panel-line);
  padding: 22px 0; text-align: center; color: var(--ink-mute); font-size: 14px;
}
.footer-bottom a { color: var(--ink-soft); }

/* ===== Page header (interior pages) ===== */
.page-hero { padding: 80px 0 40px; text-align: center; }
.page-hero .badge { margin-bottom: 22px; }
.page-hero h1 { font-size: clamp(38px, 5vw, 60px); }
.page-hero p { color: var(--ink-soft); font-size: 19px; margin-top: 16px; }

/* ===== Legal / prose ===== */
.prose-wrap { max-width: 860px; margin: 0 auto; padding: 10px 28px 90px; }
.prose-card {
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-radius: var(--radius-lg);
  padding: 48px 52px;
  backdrop-filter: blur(8px);
}
.prose .meta { color: var(--ink-mute); font-size: 14.5px; margin-bottom: 30px; }
.prose h2 { font-size: 26px; margin: 38px 0 12px; }
.prose h2:first-of-type { margin-top: 0; }
.prose h3 { font-size: 19px; margin: 24px 0 8px; color: var(--ink); }
.prose p, .prose li { color: var(--ink-soft); font-size: 16.5px; line-height: 1.75; }
.prose p { margin-bottom: 14px; }
.prose ul { margin: 4px 0 16px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--violet-2); }
.prose strong { color: var(--ink); }

/* ===== Contact ===== */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: start;
  max-width: 1080px; margin: 0 auto; padding: 0 28px 90px;
}
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.info-card {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--panel); border: 1px solid var(--panel-line);
  border-radius: var(--radius); padding: 24px;
}
.info-card .card-icon { margin-bottom: 0; flex-shrink: 0; width: 50px; height: 50px; border-radius: 13px; }
.info-card h3 { font-size: 18px; margin-bottom: 4px; }
.info-card p, .info-card a { color: var(--ink-soft); font-size: 15.5px; }
.info-card a:hover { color: var(--violet-2); }

.form-card {
  background: var(--panel); border: 1px solid var(--panel-line);
  border-radius: var(--radius-lg); padding: 36px 36px 40px; backdrop-filter: blur(8px);
}
.form-card h2 { font-size: 26px; margin-bottom: 6px; }
.form-card .sub { color: var(--ink-soft); font-size: 15.5px; margin-bottom: 26px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink-soft); margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%; font-family: inherit; font-size: 15.5px; color: var(--ink);
  background: rgba(255,255,255,.04); border: 1px solid var(--panel-line);
  border-radius: 12px; padding: 13px 16px; transition: border-color .2s, background .2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-mute); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--violet); background: rgba(139,92,246,.06); }
.field textarea { resize: vertical; min-height: 130px; }
.form-card .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { font-size: 13.5px; color: var(--ink-mute); text-align: center; margin-top: 14px; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .nav > .btn { display: none; }
  .phone-fan { overflow: hidden; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 78px; left: 28px; right: 28px;
    background: rgba(16,12,34,.97); border: 1px solid var(--panel-line);
    border-radius: 18px; padding: 14px; gap: 4px; backdrop-filter: blur(18px);
  }
  .hero-grid { grid-template-columns: 1fr; }
  .phone-fan { height: 400px; margin-top: 30px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .prose-card { padding: 34px 26px; }
}
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .phone { width: 150px; height: 314px; }
  .phone:nth-child(1) { transform: rotate(-12deg) translate(-96px, 8px); }
  .phone:nth-child(2) { transform: rotate(-4deg)  translate(-34px, -8px); }
  .phone:nth-child(3) { transform: rotate(4deg)   translate(34px, -8px); }
  .phone:nth-child(4) { transform: rotate(12deg)  translate(96px, 8px); }
  .nav { padding: 12px 16px; }
  .hero-actions { gap: 18px; }
}
