/*
Anna's Ace Academy Website Theme
Inspired by the uploaded business card:
- Ink black background
- Deep academic navy #032650
- Warm metallic gold #ca8b29
- Crisp white/cream content cards
- Classic serif wordmark paired with modern sans-serif UI
- Gold rules, monogram styling, and sweeping curved accents
*/
:root {
  --ink: #050505;
  --navy: #032650;
  --navy-2: #07396f;
  --gold: #ca8b29;
  --gold-soft: #e1b15d;
  --cream: #fff8ea;
  --paper: #ffffff;
  --muted: #617083;
  --line: rgba(3, 38, 80, 0.16);
  --shadow: 0 18px 45px rgba(3, 38, 80, 0.14);
  --radius: 22px;
  --max: 1180px;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", Times, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--navy);
  background:
    radial-gradient(circle at top left, rgba(202,139,41,0.10), transparent 33rem),
    linear-gradient(180deg, #fffdf8 0%, #f4f7fb 56%, #eef3f8 100%);
  font-family: var(--sans);
  line-height: 1.6;
}
body.locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  z-index: 999;
  background: var(--gold);
  color: #000;
  padding: .7rem 1rem;
  border-radius: 999px;
}
.skip-link:focus { left: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 5, 5, 0.92);
  border-bottom: 2px solid var(--gold);
  backdrop-filter: blur(12px);
}
.navbar {
  max-width: var(--max);
  margin: 0 auto;
  padding: .8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .8rem;
  min-width: 230px;
  color: white;
}
.brand-mark {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  position: relative;
  border: 2px solid var(--gold);
  border-radius: 50%;
  color: var(--navy);
  background: #fff;
  box-shadow: inset 0 0 0 4px rgba(202,139,41,0.11);
}
.brand-mark span {
  font-family: var(--serif);
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1;
}
.brand-mark::after {
  content: "";
  position: absolute;
  width: 58px;
  height: 8px;
  background: var(--gold);
  border-radius: 999px;
  transform: rotate(-28deg) translateY(5px);
  opacity: .95;
}
.brand-text strong {
  display: block;
  font-family: var(--serif);
  letter-spacing: .12em;
  font-size: 1.05rem;
  color: white;
}
.brand-text small {
  display: block;
  letter-spacing: .28em;
  color: var(--gold-soft);
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .15rem;
  flex-wrap: wrap;
}
.nav-links a {
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  padding: .7rem .72rem;
  border-radius: 999px;
}
.nav-links a:hover,
.nav-links a.active {
  background: rgba(202,139,41,0.17);
  color: var(--gold-soft);
}
.nav-cta {
  background: var(--gold) !important;
  color: #060606 !important;
  margin-left: .3rem;
}
.mobile-menu-btn {
  display: none;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 12px;
  padding: .6rem .75rem;
  cursor: pointer;
}

main { overflow: hidden; }
.section {
  padding: 5rem 1rem;
}
.container {
  width: min(100%, var(--max));
  margin: 0 auto;
}
.section-kicker {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .78rem;
  font-weight: 900;
  margin-bottom: .6rem;
}
h1, h2, h3, h4 {
  margin: 0 0 1rem;
  line-height: 1.08;
  color: var(--navy);
}
h1, .page-title {
  font-family: var(--serif);
  font-size: clamp(2.55rem, 7vw, 5.75rem);
  letter-spacing: .04em;
}
h2 { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1rem; }
.lead {
  font-size: 1.14rem;
  color: #334963;
  max-width: 780px;
}
.muted { color: var(--muted); }
.gold { color: var(--gold); }

.btn-row { display: flex; gap: .8rem; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .9rem 1.15rem;
  min-height: 46px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 900;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(3,38,80,.13); }
.btn-primary { background: var(--gold); color: #070707; }
.btn-dark { background: var(--navy); color: white; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--gold); }
.btn-light { background: white; color: var(--navy); }
.btn-small { padding: .62rem .85rem; min-height: auto; font-size: .88rem; }

.hero {
  position: relative;
  background:
    linear-gradient(140deg, #050505 0%, #050505 50%, #061d3e 100%);
  color: white;
  padding: 5rem 1rem 7rem;
  border-bottom: 8px solid var(--gold);
}
.hero::after {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: -4rem;
  height: 9rem;
  border-radius: 0 0 50% 50%;
  background: var(--navy);
  transform: rotate(-2deg);
  border-top: 16px solid var(--gold);
}
.hero-grid {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: 3rem;
  align-items: center;
}
.hero h1, .hero h2, .hero p { color: white; }
.hero .lead { color: rgba(255,255,255,.82); }
.hero-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(202,139,41,.55);
  border-radius: 30px;
  padding: 1rem;
  box-shadow: 0 30px 80px rgba(0,0,0,.28);
}
.business-card-preview {
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  border: 2px solid var(--gold);
}
.hero-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .8rem;
  margin-top: 1rem;
}
.stat-pill {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  padding: .85rem;
  text-align: center;
}
.stat-pill strong { display: block; color: var(--gold-soft); font-size: 1.15rem; }
.stat-pill small { color: rgba(255,255,255,.75); font-weight: 700; }
.sparkles {
  display: flex;
  gap: .45rem;
  color: var(--gold-soft);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.card, .panel, .form-card {
  background: rgba(255,255,255,.94);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card { padding: 1.4rem; }
.panel { padding: 1.7rem; }
.form-card { padding: 1.6rem; }
.grid { display: grid; gap: 1rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.icon-card {
  position: relative;
  overflow: hidden;
}
.icon-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--gold), var(--navy));
}
.icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(202,139,41,.16);
  color: var(--navy);
  font-size: 1.25rem;
  margin-bottom: .8rem;
}

.brand-band {
  background: #050505;
  color: white;
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  position: relative;
}
.brand-band h2, .brand-band h3, .brand-band p { color: white; }
.brand-band .muted { color: rgba(255,255,255,.73); }
.brand-band .card { background: rgba(255,255,255,.06); border-color: rgba(202,139,41,.36); box-shadow: none; }

.ribbon {
  background: linear-gradient(90deg, var(--navy), #050505);
  border: 2px solid var(--gold);
  border-radius: 26px;
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  color: white;
}
.ribbon h2, .ribbon p { color: white; }

.result-number {
  font-family: var(--serif);
  color: var(--gold);
  font-size: 2.4rem;
  line-height: 1;
}
.testimonial {
  border-left: 5px solid var(--gold);
}
.badge-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .8rem; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .4rem .65rem;
  border-radius: 999px;
  background: rgba(3,38,80,.08);
  color: var(--navy);
  font-size: .82rem;
  font-weight: 850;
}
.badge.gold-badge { background: rgba(202,139,41,.18); }

.page-hero {
  background:
    linear-gradient(135deg, #050505 0%, #061f43 100%);
  color: white;
  padding: 4rem 1rem;
  border-bottom: 5px solid var(--gold);
}
.page-hero h1, .page-hero p { color: white; }
.page-hero .lead { color: rgba(255,255,255,.78); }

.profile-card {
  display: grid;
  gap: 1rem;
}
.profile-top {
  display: flex;
  align-items: center;
  gap: .9rem;
}
.avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--gold-soft);
  font-family: var(--serif);
  font-size: 2rem;
  border: 3px solid var(--gold);
}
.rate { font-weight: 900; color: var(--gold); font-size: 1.2rem; }

.service-card h3 { display: flex; align-items: center; gap: .5rem; }
.service-card ul, .check-list {
  padding-left: 1.2rem;
  margin: .8rem 0 1rem;
}
.service-card li, .check-list li { margin: .35rem 0; }

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1.2rem;
  align-items: start;
}
.price-card {
  border: 2px solid transparent;
}
.price-card.featured { border-color: var(--gold); }
.price-value {
  font-family: var(--serif);
  font-size: 2.25rem;
  color: var(--navy);
}
.price-value span { font-size: 1rem; color: var(--muted); font-family: var(--sans); }
.estimate-box {
  background: #061d3e;
  color: white;
  border-radius: 20px;
  padding: 1.3rem;
  border: 2px solid var(--gold);
}
.estimate-box h3, .estimate-box p { color: white; }
.estimate-amount { font-size: 2.4rem; font-weight: 950; color: var(--gold-soft); }
.status-pill {
  display: inline-flex;
  border-radius: 999px;
  padding: .32rem .58rem;
  font-size: .78rem;
  font-weight: 900;
  background: rgba(202,139,41,.18);
  color: var(--navy);
}
.status-unpaid { background: rgba(173, 63, 63, .13); color: #8a2020; }
.status-paid { background: rgba(29, 125, 72, .13); color: #1d7d48; }

form { display: grid; gap: .9rem; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; }
label { font-weight: 850; color: var(--navy); display: grid; gap: .32rem; }
input, select, textarea {
  width: 100%;
  border: 1px solid rgba(3,38,80,.2);
  border-radius: 14px;
  padding: .78rem .9rem;
  color: var(--navy);
  background: white;
}
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: 3px solid rgba(202,139,41,.28);
  border-color: var(--gold);
}
.form-note { font-size: .88rem; color: var(--muted); }

.calendar-shell {
  display: grid;
  grid-template-columns: .9fr 1.4fr;
  gap: 1.2rem;
  align-items: start;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(92px, 1fr));
  gap: .55rem;
  overflow-x: auto;
}
.calendar-day {
  min-height: 180px;
  padding: .7rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
}
.calendar-day strong { display: block; border-bottom: 1px solid var(--line); padding-bottom: .35rem; margin-bottom: .5rem; }
.slot {
  display: block;
  width: 100%;
  text-align: left;
  background: rgba(202,139,41,.16);
  color: var(--navy);
  border: 1px solid rgba(202,139,41,.28);
  padding: .45rem .5rem;
  border-radius: 12px;
  margin-bottom: .35rem;
  cursor: pointer;
  font-size: .82rem;
  font-weight: 800;
}
.slot:hover, .slot.selected { background: var(--gold); color: #080808; }
.slot.online { background: rgba(3,38,80,.09); border-color: rgba(3,38,80,.2); }
.slot.blocked { opacity: .45; text-decoration: line-through; cursor: not-allowed; }

.dashboard-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 1.2rem;
  align-items: start;
}
.sidebar {
  position: sticky;
  top: 92px;
  background: #050505;
  color: white;
  border: 2px solid var(--gold);
  border-radius: 22px;
  padding: 1rem;
}
.sidebar h3 { color: white; font-family: var(--serif); }
.sidebar a {
  display: block;
  color: rgba(255,255,255,.82);
  padding: .65rem .75rem;
  border-radius: 12px;
  font-weight: 800;
}
.sidebar a:hover { background: rgba(202,139,41,.16); color: var(--gold-soft); }
.dashboard-main { display: grid; gap: 1rem; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.metric { padding: 1rem; border-radius: 18px; background: white; border: 1px solid var(--line); }
.metric strong { display: block; font-size: 1.55rem; color: var(--gold); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: .75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--navy); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.file-list { display: grid; gap: .65rem; }
.file-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: .75rem;
  align-items: center;
  padding: .75rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: white;
}
.file-icon { color: var(--gold); font-size: 1.2rem; }
.message-box { min-height: 220px; background: white; border: 1px solid var(--line); border-radius: 18px; padding: 1rem; }

.progress-chart {
  width: 100%;
  min-height: 260px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1rem;
}
.progress-bars { display: grid; gap: .75rem; }
.progress-row { display: grid; grid-template-columns: 150px 1fr 50px; gap: .75rem; align-items: center; }
.progress-track { height: 14px; background: rgba(3,38,80,.09); border-radius: 999px; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--gold), var(--navy)); border-radius: 999px; width: var(--w, 50%); }

.quiz-result, .form-success, .payment-message, .auth-message, .booking-message {
  display: none;
  padding: .9rem;
  border-radius: 14px;
  background: rgba(29, 125, 72, .11);
  color: #145936;
  border: 1px solid rgba(29, 125, 72, .2);
  font-weight: 800;
}
.quiz-result.show, .form-success.show, .payment-message.show, .auth-message.show, .booking-message.show { display: block; }

.faq-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: white;
}
.faq-question {
  width: 100%;
  padding: 1rem;
  background: white;
  color: var(--navy);
  border: 0;
  text-align: left;
  font-weight: 950;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.faq-answer { display: none; padding: 0 1rem 1rem; color: #334963; }
.faq-item.open .faq-answer { display: block; }

.site-footer {
  background: #050505;
  color: white;
  border-top: 4px solid var(--gold);
  padding: 3rem 1rem 1rem;
}
.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr .7fr .7fr 1fr;
  gap: 2rem;
}
.site-footer h3, .site-footer h4 { color: white; }
.site-footer a, .site-footer p { color: rgba(255,255,255,.78); }
.site-footer a:hover { color: var(--gold-soft); }
.footer-bottom {
  max-width: var(--max);
  margin: 2rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.58);
  font-size: .9rem;
}

.callout-note {
  border-left: 5px solid var(--gold);
  background: rgba(202,139,41,.11);
  padding: 1rem;
  border-radius: 0 16px 16px 0;
}
.security-list li { margin-bottom: .45rem; }

@media (max-width: 1020px) {
  .hero-grid, .pricing-grid, .calendar-shell, .dashboard-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .grid-4, .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .mobile-menu-btn { display: inline-flex; }
  .nav-links {
    position: fixed;
    inset: 75px 1rem auto 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: #050505;
    border: 2px solid var(--gold);
    border-radius: 20px;
    padding: 1rem;
    box-shadow: 0 30px 80px rgba(0,0,0,.34);
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; }
  .brand { min-width: auto; }
  .brand-text strong { font-size: .9rem; }
  .brand-text small { letter-spacing: .18em; }
  .hero-stat-row, .grid-2, .grid-3, .grid-4, .metric-grid, .footer-grid, .form-row { grid-template-columns: 1fr; }
  .ribbon { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 1rem; }
  .hero { padding-top: 3.5rem; }
  .calendar-grid { grid-template-columns: repeat(7, 170px); }
  .progress-row { grid-template-columns: 1fr; gap: .25rem; }
}
@media (max-width: 520px) {
  .brand-mark { width: 44px; height: 44px; }
  .brand-text small { display: none; }
  .btn { width: 100%; }
  .page-title { font-size: 2.35rem; }
}
