/* Coastline Digital: custom styles layered on top of Tailwind CDN */
:root {
  --accent: #2dd4bf;      /* teal-400 */
  --accent-2: #22d3ee;    /* cyan-400 */
  --bg: #0f172a;          /* slate-900 */
  --navy: #1e1b4b;        /* indigo-950 */
}

.section-anchor { scroll-margin-top: 5rem; }

/* Page width: wider on desktop screens so there's less empty space at the sides.
   Phones and tablets keep the standard width. Adjust the numbers to taste. */
@media (min-width: 1280px) {
  :root { --site-width: 1320px; }
  .site-wrap { max-width: min(var(--site-width), calc(100% - 2.5rem)); }
  header .site-wrap { max-width: min(calc(var(--site-width) + 2.5rem), calc(100% - 2.5rem)); } /* lines the logo up with the headings */
}
@media (min-width: 1536px) { :root { --site-width: 1440px; } }
.hero-phone { max-width: 250px; } /* keeps the phone mockup from outgrowing the hero on wide screens */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Nav */
.nav-glass { background: rgba(15, 23, 42, .85); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,.06); }
.nav-link { color: #cbd5e1; transition: color .2s; }
.nav-link:hover, .nav-link.active { color: var(--accent); }

/* Buttons */
.btn-primary, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .75rem 1.4rem; border-radius: .6rem; font-weight: 600; font-size: .95rem;
  transition: transform .15s, background .2s, border-color .2s;
}
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #042f2e; }
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost { border: 1px solid rgba(255,255,255,.25); color: #fff; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* Hero */
.hero {
  background:
    radial-gradient(60% 50% at 85% 20%, rgba(34,211,238,.16), transparent 70%),
    linear-gradient(180deg, var(--navy) 0%, var(--bg) 100%);
}
.wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 70px; fill: var(--bg); }
.pulse { animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }

/* Hero phone: reel-style overlay */
.reel-rail { position: absolute; right: .55rem; bottom: 5.25rem; display: flex; flex-direction: column; align-items: center; gap: .8rem; color: #fff; }
.reel-rail li { display: flex; flex-direction: column; align-items: center; gap: .15rem; font-size: .62rem; font-weight: 600; }
.reel-rail svg { width: 1.3rem; height: 1.3rem; stroke-width: 2; filter: drop-shadow(0 1px 2px rgba(0,0,0,.4)); }
.reel-rail svg.liked { color: #ff3040; fill: #ff3040; }
.reel-avatar { position: relative; flex-shrink: 0; width: 1.75rem; height: 1.75rem; border-radius: 50%; padding: 2px; background: conic-gradient(#feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5, #feda75); }
.reel-avatar span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; border: 2px solid #020617; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #042f2e; font-size: .55rem; font-weight: 800; }
.reel-avatar b { position: absolute; right: -3px; bottom: -3px; display: grid; place-items: center; width: .8rem; height: .8rem; border-radius: 50%; background: #0095F6; border: 1.5px solid #020617; color: #fff; font-size: .6rem; line-height: 1; font-weight: 700; }
.reel-handle { color: #fff; font-size: .68rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.reel-verified { width: .85rem; height: .85rem; flex-shrink: 0; }
.reel-follow { flex-shrink: 0; padding: .1rem .45rem; border: 1px solid rgba(255,255,255,.7); border-radius: .35rem; color: #fff; font-size: .6rem; font-weight: 600; }

/* Tabs */
.tab { padding: .6rem 1.2rem; border-radius: .5rem; font-weight: 600; font-size: .9rem; color: #94a3b8; transition: background .2s, color .2s; }
.tab[aria-selected="true"] { background: var(--accent); color: #042f2e; }
.panel[hidden] { display: none; }
.panel { animation: show .3s ease; }
@keyframes show { from { opacity: 0; transform: translateY(6px); } }

.feature { display: flex; flex-direction: column; gap: .35rem; padding: 1.25rem; border-radius: .9rem; background: rgba(30,41,59,.7); border: 1px solid rgba(255,255,255,.08); font-size: .9rem; }
.feature svg { color: var(--accent); margin-bottom: .25rem; }
.feature b { color: #fff; font-size: 1rem; }

/* Why grid */
.why { display: flex; gap: 1rem; }
.why svg { color: var(--accent); flex-shrink: 0; margin-top: .2rem; }
.why h3 { color: #fff; font-weight: 700; font-size: 1.15rem; font-family: "Plus Jakarta Sans", sans-serif; }
.why p { margin-top: .3rem; color: #a5b4fc; }

/* Pricing */
.plan { position: relative; display: flex; flex-direction: column; gap: 1.1rem; padding: 2rem; border-radius: 1.1rem; background: rgba(30,41,59,.6); border: 1px solid rgba(255,255,255,.1); }
.plan h3 { color: #fff; font-weight: 700; font-size: 1.2rem; font-family: "Plus Jakarta Sans", sans-serif; }
.plan .price { color: #fff; font-size: 1.9rem; font-weight: 800; font-family: "Plus Jakarta Sans", sans-serif; }
.plan .price small { font-size: .9rem; font-weight: 500; color: #94a3b8; margin-left: .25rem; }
.plan ul { display: grid; gap: .6rem; font-size: .93rem; margin-bottom: 1rem; }
.plan li::before { content: "\2713"; color: var(--accent); margin-right: .6rem; font-weight: 700; }
.plan-featured { border: 2px solid var(--accent); background: linear-gradient(180deg, rgba(45,212,191,.1), rgba(30,41,59,.6)); }
.badge { position: absolute; top: -.85rem; left: 2rem; background: var(--accent); color: #042f2e; font-size: .75rem; font-weight: 700; padding: .3rem .8rem; border-radius: 999px; }

/* Form */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
#inquiry-form { position: relative; }
button:disabled { opacity: .6; cursor: wait; transform: none; }
.field { display: flex; flex-direction: column; gap: .4rem; font-size: .9rem; color: #cbd5e1; }
.field input, .field textarea { background: #0f172a; border: 1px solid rgba(255,255,255,.15); border-radius: .5rem; padding: .7rem .9rem; color: #fff; font: inherit; }
.field input:focus, .field textarea:focus { border-color: var(--accent); outline: none; }
.field .invalid, .field input.invalid { border-color: #f87171; }
.check { display: flex; align-items: center; gap: .6rem; padding: .7rem .9rem; border: 1px solid rgba(255,255,255,.15); border-radius: .5rem; font-size: .9rem; cursor: pointer; }
.check:has(input:checked) { border-color: var(--accent); background: rgba(45,212,191,.08); }
.check input { accent-color: var(--accent); width: 1rem; height: 1rem; }

.social { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid rgba(255,255,255,.15); transition: color .2s, border-color .2s; }
.social:hover { color: var(--accent); border-color: var(--accent); }

/* Legal pages */
.legal h1 { color: #fff; font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; font-size: 2.25rem; }
.legal .updated { color: #94a3b8; font-size: .85rem; margin-top: .5rem; }
.legal h2 { color: #fff; font-family: "Plus Jakarta Sans", sans-serif; font-weight: 700; font-size: 1.25rem; margin-top: 2.25rem; }
.legal p { margin-top: .9rem; line-height: 1.7; }
.legal a { color: var(--accent); text-decoration: underline; }
.legal a:hover { color: #fff; }

@media (max-width: 639px) {
  .reel-avatar { width: 1.45rem; height: 1.45rem; }
  .reel-handle { font-size: .62rem; }
  .reel-verified { width: .75rem; height: .75rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
