/* Shared interface styles are defined here so every page retains the same experience. */
:root {
  --ink: #11213d;
  --muted: #62718a;
  --paper: #f4f7fc;
  --surface: rgba(255, 255, 255, .80);
  --line: rgba(17, 33, 61, .11);
  --navy: #10284c;
  --blue: #3278f6;
  --aqua: #35d3c8;
  --violet: #7956ff;
  --sun: #ffb74a;
  --danger: #b93052;
  --shadow: 0 24px 60px rgba(24, 50, 93, .15);
  --soft-shadow: 0 12px 30px rgba(24, 50, 93, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
button, input, select { font: inherit; }
a { color: inherit; }

.site-shell { overflow: hidden; position: relative; }
.orb { position: absolute; border-radius: 50%; filter: blur(1px); pointer-events: none; }
.orb.one { width: 28rem; height: 28rem; top: 4rem; right: -11rem; background: radial-gradient(circle at 34% 34%, rgba(53,211,200,.68), rgba(50,120,246,.08) 64%, transparent 70%); animation: orbit 14s ease-in-out infinite; }
.orb.two { width: 23rem; height: 23rem; top: 43rem; left: -12rem; background: radial-gradient(circle at 60% 60%, rgba(121,86,255,.20), rgba(121,86,255,0) 68%); animation: orbit 18s ease-in-out infinite reverse; }
.grain { position: fixed; inset: 0; z-index: 20; opacity: .20; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.14'/%3E%3C/svg%3E"); }

.container { width: min(1140px, calc(100% - 40px)); margin: 0 auto; position: relative; z-index: 1; }
.announcement { color: rgba(255,255,255,.88); background: var(--navy); font-size: .83rem; }
.announcement .container { min-height: 35px; display: flex; align-items: center; justify-content: center; gap: .6rem; text-align: center; }
.announcement strong { color: #a5f4ed; }

.topbar { position: sticky; top: 0; z-index: 10; background: rgba(244,247,252,.78); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(17,33,61,.07); }
.nav { min-height: 75px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .8rem; color: var(--navy); font-weight: 800; text-decoration: none; letter-spacing: -.035em; }
.brand-mark { position: relative; display: grid; width: 37px; height: 37px; place-items: center; overflow: hidden; color: white; border-radius: 12px; background: linear-gradient(145deg, #3e87ff, #6751ef); box-shadow: 5px 7px 15px rgba(50,120,246,.27), inset 1px 1px 0 rgba(255,255,255,.35); transform: perspective(80px) rotateX(8deg) rotateY(-8deg); }
.brand-mark:after { content: ""; position: absolute; width: 39px; height: 13px; background: rgba(255,255,255,.2); transform: rotate(-36deg); }
.brand-mark svg { width: 22px; position: relative; z-index: 1; }
.brand small { display: block; margin-top: -.2rem; color: var(--muted); font-size: .59rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: .3rem; }
.nav-links > a { padding: .55rem .7rem; color: #40516d; font-size: .92rem; font-weight: 650; text-decoration: none; border-radius: .6rem; }
.nav-links > a:hover, .nav-links > a.active { color: var(--blue); background: rgba(50,120,246,.08); }
.nav-actions { display: flex; align-items: center; gap: .65rem; }
.menu-toggle { display: none; width: 42px; height: 42px; color: var(--navy); background: white; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 46px; padding: .72rem 1.05rem; color: var(--navy); background: transparent; border: 1px solid transparent; border-radius: 12px; font-size: .92rem; font-weight: 750; text-decoration: none; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.button:hover { transform: translateY(-3px); }
.button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid rgba(50,120,246,.32); outline-offset: 2px; }
.button-primary { color: white; background: linear-gradient(135deg, #3f82fa, #6252ef); box-shadow: 0 10px 20px rgba(69,100,235,.24), inset 0 1px 0 rgba(255,255,255,.28); }
.button-primary:hover { box-shadow: 0 15px 24px rgba(69,100,235,.31), inset 0 1px 0 rgba(255,255,255,.28); }
.button-plain { color: #264670; }
.button-plain:hover { background: rgba(50,120,246,.08); }
.button-outline { color: var(--blue); background: rgba(255,255,255,.64); border-color: rgba(50,120,246,.25); }

.hero { min-height: 620px; padding: clamp(4rem, 8vw, 8rem) 0 5rem; display: grid; align-items: center; }
.hero-layout { display: grid; grid-template-columns: 1.04fr .96fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 1rem; padding: .42rem .7rem; color: #2a5ea9; background: rgba(50,120,246,.1); border: 1px solid rgba(50,120,246,.12); border-radius: 99px; font-size: .79rem; font-weight: 800; letter-spacing: .03em; }
.eyebrow i { width: 7px; height: 7px; background: var(--aqua); border-radius: 99px; box-shadow: 0 0 0 4px rgba(53,211,200,.15); }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { max-width: 680px; margin-bottom: 1.25rem; color: var(--navy); font-size: clamp(2.55rem, 5.2vw, 4.8rem); letter-spacing: -.065em; line-height: .99; }
.hero h1 span { display: block; color: var(--blue); }
.lead { max-width: 600px; margin-bottom: 1.8rem; color: var(--muted); font-size: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.9rem; }
.trust-line { display: flex; flex-wrap: wrap; gap: .9rem 1.5rem; color: #536581; font-size: .82rem; font-weight: 650; }
.trust-line span { display: inline-flex; align-items: center; gap: .4rem; }
.trust-line b { display: grid; width: 20px; height: 20px; place-items: center; color: #0c968c; background: rgba(53,211,200,.15); border-radius: 50%; }

.scene { min-height: 410px; position: relative; transform-style: preserve-3d; }
.scene-card { position: absolute; overflow: hidden; border: 1px solid rgba(255,255,255,.6); border-radius: 24px; background: rgba(255,255,255,.76); box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.76); backdrop-filter: blur(14px); }
.scene-main { inset: 27px 8px 24px 20px; padding: 1.55rem; transform: perspective(900px) rotateY(-8deg) rotateX(4deg); animation: hover-main 6s ease-in-out infinite; }
.scene-topline { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.4rem; }
.scene-topline span { color: #6a7891; font-size: .77rem; font-weight: 750; }
.scene-topline strong { color: #315c9b; font-size: .85rem; }
.scene-value { margin: 0 0 .15rem; color: var(--navy); font-size: 2.2rem; font-weight: 850; letter-spacing: -.06em; }
.scene-change { color: #168d80; font-size: .84rem; font-weight: 800; }
.chart { height: 155px; margin: 1.5rem 0 1.2rem; position: relative; border-bottom: 1px solid rgba(50,91,147,.15); background: repeating-linear-gradient(to bottom, transparent 0, transparent 37px, rgba(54,91,139,.08) 38px, transparent 39px); }
.chart svg { width: 100%; height: 100%; overflow: visible; }
.chart path.line { fill: none; stroke: #317bf5; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 5px 4px rgba(49,123,245,.22)); stroke-dasharray: 480; stroke-dashoffset: 480; animation: draw-line 2s .5s ease forwards; }
.chart path.fill { fill: url(#chartFill); opacity: .65; }
.scene-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: .65rem; }
.scene-metrics div { padding: .63rem; background: rgba(241,246,255,.85); border-radius: 12px; }
.scene-metrics strong, .scene-metrics small { display: block; }
.scene-metrics strong { color: #294b78; font-size: .87rem; }
.scene-metrics small { color: #76849b; font-size: .62rem; font-weight: 700; }
.float-chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: .58rem; padding: .72rem .9rem; background: rgba(255,255,255,.87); border: 1px solid rgba(255,255,255,.8); border-radius: 14px; box-shadow: var(--soft-shadow); backdrop-filter: blur(10px); font-size: .78rem; font-weight: 800; }
.float-chip b { display: grid; width: 27px; height: 27px; place-items: center; color: white; border-radius: 9px; background: linear-gradient(135deg, #45d7ca, #34a7be); }
.float-chip small { display: block; color: #718099; font-size: .62rem; font-weight: 650; }
.chip-a { top: 0; right: -1rem; animation: hover-chip 5s .2s ease-in-out infinite; }
.chip-b { bottom: 0; left: -1rem; animation: hover-chip 5s 1s ease-in-out infinite reverse; }

.stats { margin-bottom: 5.5rem; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; background: rgba(255,255,255,.76); border: 1px solid rgba(255,255,255,.8); border-radius: 22px; box-shadow: var(--soft-shadow); }
.stat { padding: 1.4rem 1.8rem; position: relative; text-align: center; }
.stat + .stat:before { position: absolute; top: 20%; bottom: 20%; left: 0; width: 1px; background: var(--line); content: ""; }
.stat strong { display: block; color: var(--navy); font-size: 1.6rem; letter-spacing: -.05em; }
.stat span { color: var(--muted); font-size: .83rem; font-weight: 650; }

.section { padding: 5.7rem 0; }
.section-tint { background: linear-gradient(155deg, #eff5ff, #f7fbff 60%, #f1f7ff); }
.section-heading { max-width: 660px; margin: 0 auto 3rem; text-align: center; }
.section-heading h2 { margin-bottom: .85rem; color: var(--navy); font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.055em; line-height: 1.06; }
.section-heading p { margin-bottom: 0; color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.feature { min-height: 230px; padding: 1.6rem; overflow: hidden; position: relative; background: rgba(255,255,255,.8); border: 1px solid rgba(255,255,255,.88); border-radius: 20px; box-shadow: 0 14px 25px rgba(29,63,114,.08); transition: transform .35s ease, box-shadow .35s ease; }
.feature:hover { transform: translateY(-9px) rotateX(2deg); box-shadow: 0 25px 38px rgba(29,63,114,.14); }
.feature-icon { display: grid; width: 49px; height: 49px; place-items: center; margin-bottom: 1.25rem; color: white; border-radius: 15px; background: linear-gradient(145deg, #498bff, #5c55ee); box-shadow: 6px 7px 12px rgba(70,105,236,.2), inset 1px 1px 0 rgba(255,255,255,.35); font-size: 1.35rem; }
.feature:nth-child(2) .feature-icon { background: linear-gradient(145deg, #47d5c9, #30a9bd); }
.feature:nth-child(3) .feature-icon { background: linear-gradient(145deg, #ffbf58, #ed8b4b); }
.feature h3 { margin-bottom: .55rem; color: var(--navy); font-size: 1.06rem; }
.feature p { margin-bottom: 0; color: var(--muted); font-size: .92rem; }
.feature:after { position: absolute; right: -35px; bottom: -42px; width: 120px; height: 120px; background: radial-gradient(circle, rgba(50,120,246,.14), transparent 66%); border-radius: 50%; content: ""; }

.plan-grid { display: grid; grid-template-columns: repeat(5, 1fr); align-items: stretch; gap: .95rem; }
.plan { display: flex; flex-direction: column; min-height: 345px; padding: 1.4rem 1.2rem; position: relative; overflow: hidden; background: rgba(255,255,255,.88); border: 1px solid rgba(33,66,112,.1); border-radius: 18px; box-shadow: 0 12px 25px rgba(29,63,114,.07); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.plan:hover { z-index: 1; border-color: rgba(50,120,246,.36); box-shadow: 0 24px 38px rgba(29,63,114,.14); transform: translateY(-10px); }
.plan.recommended { color: white; background: linear-gradient(154deg, #294f9f, #513cc9); border-color: transparent; box-shadow: 0 22px 35px rgba(72,77,192,.29); transform: translateY(-12px); }
.plan.recommended:hover { transform: translateY(-20px); }
.plan-label { min-height: 19px; margin-bottom: .7rem; color: #587297; font-size: .7rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.recommended .plan-label { color: #bdf9f2; }
.plan h3 { margin-bottom: .45rem; font-size: 1.25rem; letter-spacing: -.035em; }
.plan-copy { min-height: 62px; margin-bottom: 1rem; color: var(--muted); font-size: .82rem; }
.recommended .plan-copy, .recommended li { color: rgba(255,255,255,.77); }
.plan ul { padding: 0; margin: 0 0 1.15rem; list-style: none; }
.plan li { display: flex; gap: .4rem; margin-bottom: .58rem; color: #445a7b; font-size: .78rem; }
.plan li:before { flex: 0 0 17px; width: 17px; height: 17px; display: grid; place-items: center; color: #0b9c8d; background: rgba(53,211,200,.13); border-radius: 50%; content: "✓"; font-size: .62rem; font-weight: 900; }
.recommended li:before { color: #d9fffc; background: rgba(255,255,255,.16); }
.plan .button { width: 100%; margin-top: auto; min-height: 41px; padding: .55rem .5rem; font-size: .78rem; }
.recommended .button { color: #244d96; background: white; box-shadow: 0 8px 14px rgba(18,24,106,.22); }
.plan-pip { position: absolute; width: 130px; height: 130px; right: -60px; bottom: -64px; background: radial-gradient(circle, rgba(50,120,246,.12), transparent 66%); border-radius: 50%; }
.recommended .plan-pip { background: radial-gradient(circle, rgba(53,211,200,.42), transparent 66%); }
.disclaimer { max-width: 780px; margin: 2.1rem auto 0; color: #6b7a91; font-size: .75rem; text-align: center; }

.process { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 8vw, 8rem); align-items: center; }
.process-visual { min-height: 310px; position: relative; }
.process-stack { position: absolute; inset: 20px 10px 0 0; transform: perspective(850px) rotateY(7deg) rotateX(4deg); }
.stack-layer { position: absolute; left: 0; right: 0; min-height: 95px; display: flex; align-items: center; gap: 1rem; padding: 1rem 1.15rem; background: rgba(255,255,255,.9); border: 1px solid rgba(255,255,255,.9); border-radius: 17px; box-shadow: 0 15px 26px rgba(29,63,114,.12); }
.stack-layer:nth-child(1) { top: 8px; transform: translateX(25px); }
.stack-layer:nth-child(2) { top: 104px; transform: translateX(8px); }
.stack-layer:nth-child(3) { top: 200px; transform: translateX(33px); }
.stack-count { flex: 0 0 34px; display: grid; width: 34px; height: 34px; place-items: center; color: #336ecb; background: #edf4ff; border-radius: 10px; font-size: .82rem; font-weight: 850; }
.stack-layer h3, .stack-layer p { margin: 0; }
.stack-layer h3 { font-size: .88rem; }
.stack-layer p { color: var(--muted); font-size: .73rem; }
.process-content h2 { margin-bottom: 1rem; color: var(--navy); font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.055em; line-height: 1.06; }
.process-content > p { color: var(--muted); }
.check-list { padding: 0; margin: 1.4rem 0 1.8rem; list-style: none; }
.check-list li { display: flex; align-items: center; gap: .7rem; margin: .75rem 0; color: #405878; font-size: .9rem; font-weight: 650; }
.check-list b { display: grid; width: 25px; height: 25px; place-items: center; color: #0e9b8e; background: rgba(53,211,200,.14); border-radius: 50%; }

.cta { margin-bottom: 5rem; padding: 3.1rem clamp(1.3rem, 5vw, 4rem); overflow: hidden; position: relative; color: white; background: linear-gradient(135deg, #173c7f, #3f55cc 56%, #5e48d5); border-radius: 26px; box-shadow: 0 25px 50px rgba(36,61,166,.27); }
.cta:after { position: absolute; width: 390px; height: 390px; right: -120px; top: -210px; background: radial-gradient(circle, rgba(53,211,200,.48), transparent 63%); border-radius: 50%; content: ""; }
.cta > * { position: relative; z-index: 1; }
.cta h2 { max-width: 680px; margin-bottom: .7rem; font-size: clamp(2rem, 3.4vw, 2.8rem); letter-spacing: -.05em; line-height: 1.05; }
.cta p { max-width: 600px; margin-bottom: 1.6rem; color: rgba(255,255,255,.78); }
.cta .button { color: #234a92; background: white; box-shadow: 0 8px 18px rgba(13,20,83,.22); }

.footer { padding: 0 0 2.4rem; color: #5e708b; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.footer .brand { margin-bottom: .8rem; }
.footer p { max-width: 375px; margin-bottom: 0; font-size: .82rem; }
.footer h3 { margin: .4rem 0 .75rem; color: var(--navy); font-size: .82rem; }
.footer a { display: block; margin: .45rem 0; font-size: .82rem; text-decoration: none; }
.footer a:hover { color: var(--blue); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.25rem; color: #74829a; font-size: .75rem; }

/* Form pages */
.account-page { min-height: 100vh; display: grid; grid-template-columns: .95fr 1.05fr; background: #edf3fc; }
.account-aside { min-height: 100%; padding: clamp(2rem, 5vw, 4.5rem); overflow: hidden; position: relative; color: white; background: linear-gradient(145deg, #112d59, #253f92 55%, #4f45c8); }
.account-aside:before { position: absolute; width: 500px; height: 500px; top: -200px; right: -250px; background: radial-gradient(circle, rgba(53,211,200,.52), transparent 65%); border-radius: 50%; content: ""; }
.account-aside > * { position: relative; z-index: 1; }
.account-aside .brand { color: white; }
.account-aside .brand small { color: rgba(255,255,255,.66); }
.aside-content { max-width: 450px; margin: clamp(4rem, 14vh, 9rem) auto 0; }
.aside-content .eyebrow { color: #d9fffb; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.15); }
.aside-content .eyebrow i { background: #72efe3; }
.aside-content h1 { margin-bottom: 1rem; font-size: clamp(2.3rem, 4vw, 4rem); letter-spacing: -.065em; line-height: 1.01; }
.aside-content p { color: rgba(255,255,255,.74); }
.aside-list { padding: 0; margin: 2rem 0; list-style: none; }
.aside-list li { display: flex; align-items: center; gap: .75rem; margin: 1rem 0; font-size: .9rem; font-weight: 650; }
.aside-list b { display: grid; width: 26px; height: 26px; place-items: center; color: #0d8f86; background: #d9fffa; border-radius: 50%; }
.aside-tiles { display: flex; gap: .75rem; margin-top: 2.2rem; }
.aside-tile { flex: 1; padding: .85rem; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.15); border-radius: 13px; backdrop-filter: blur(10px); }
.aside-tile strong, .aside-tile span { display: block; }
.aside-tile strong { font-size: .95rem; }
.aside-tile span { color: rgba(255,255,255,.65); font-size: .68rem; }
.account-main { display: flex; align-items: center; justify-content: center; padding: clamp(2rem, 5vw, 5.5rem); }
.form-wrap { width: min(510px, 100%); }
.back-link { display: inline-flex; align-items: center; gap: .45rem; margin-bottom: 2rem; color: #5d6e88; font-size: .82rem; font-weight: 700; text-decoration: none; }
.back-link:hover { color: var(--blue); }
.form-title { margin-bottom: 1.75rem; }
.form-title h2 { margin-bottom: .45rem; color: var(--navy); font-size: 2rem; letter-spacing: -.055em; }
.form-title p { margin-bottom: 0; color: var(--muted); font-size: .92rem; }
.form-card { padding: clamp(1.3rem, 3vw, 2rem); background: rgba(255,255,255,.82); border: 1px solid rgba(255,255,255,.9); border-radius: 22px; box-shadow: var(--shadow); }
.notice { display: flex; gap: .65rem; padding: .75rem .8rem; margin-bottom: 1.4rem; color: #42618b; background: #edf5ff; border: 1px solid #d7e7fc; border-radius: 12px; font-size: .78rem; }
.notice b { color: #3676dc; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.field { margin-bottom: 1rem; }
.field.full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: .42rem; color: #3a5074; font-size: .79rem; font-weight: 800; }
.field input, .field select { width: 100%; min-height: 46px; padding: .72rem .8rem; color: var(--ink); background: rgba(255,255,255,.78); border: 1px solid #dce5f1; border-radius: 11px; transition: border .2s, box-shadow .2s; }
.field input::placeholder { color: #a1aebe; }
.field input:focus, .field select:focus { border-color: #73a4fa; box-shadow: 0 0 0 3px rgba(50,120,246,.12); outline: none; }
.password-field { position: relative; }
.password-field input { padding-right: 3rem; }
.password-toggle { position: absolute; right: .45rem; top: 50%; transform: translateY(-50%); color: #72809a; background: transparent; border: 0; cursor: pointer; font-size: .75rem; font-weight: 800; }
.password-toggle:hover { color: var(--blue); }
.check-control { display: flex; align-items: flex-start; gap: .65rem; margin: .4rem 0 1.3rem; color: #61728c; font-size: .78rem; }
.check-control input { flex: 0 0 auto; width: 16px; height: 16px; margin-top: .1rem; accent-color: var(--blue); }
.check-control a { color: var(--blue); font-weight: 700; }
.form-card .button { width: 100%; }
.form-divider { display: flex; align-items: center; gap: .7rem; margin: 1.2rem 0; color: #8794a8; font-size: .73rem; text-align: center; }
.form-divider:before, .form-divider:after { flex: 1; height: 1px; background: #e0e7f0; content: ""; }
.form-foot { margin: 0; color: #60718c; font-size: .82rem; text-align: center; }
.form-foot a { color: var(--blue); font-weight: 800; text-decoration: none; }
.form-message { display: none; margin: .9rem 0 0; padding: .72rem .8rem; border-radius: 10px; font-size: .79rem; }
.form-message.show { display: block; }
.form-message.error { color: #94314a; background: #ffedf1; }
.form-message.success { color: #176858; background: #e5fbf4; }
.form-tabs { display: flex; margin-bottom: 1.4rem; padding: .28rem; background: #eef3fa; border-radius: 12px; }
.form-tabs button { flex: 1; padding: .56rem .4rem; color: #6a7990; background: transparent; border: 0; border-radius: 9px; cursor: pointer; font-size: .78rem; font-weight: 800; }
.form-tabs button.active { color: #315dba; background: white; box-shadow: 0 3px 8px rgba(27,56,100,.1); }
.form-panel { display: none; }
.form-panel.active { display: block; }
.selected-plan { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .65rem .75rem; margin: 0 0 1rem; color: #3d5580; background: #f0f6ff; border: 1px solid #dae8ff; border-radius: 10px; font-size: .78rem; }
.selected-plan strong { color: #2759b5; }

.simple-page { min-height: 100vh; display: grid; place-items: center; padding: 2rem; background: radial-gradient(circle at 18% 10%, rgba(53,211,200,.24), transparent 30%), linear-gradient(135deg, #edf4ff, #f9fbff); }
.simple-card { width: min(520px, 100%); padding: clamp(1.5rem, 5vw, 2.8rem); background: rgba(255,255,255,.84); border: 1px solid white; border-radius: 24px; box-shadow: var(--shadow); }
.simple-card .brand { margin-bottom: 2.8rem; }
.simple-card h1 { margin-bottom: .7rem; color: var(--navy); font-size: 2.2rem; letter-spacing: -.06em; }
.simple-card > p { margin-bottom: 1.8rem; color: var(--muted); }
.simple-card .form-card { padding: 0; background: transparent; border: 0; box-shadow: none; }

@keyframes orbit { 50% { transform: translate3d(-15px, 28px, 0) scale(1.05); } }
@keyframes hover-main { 50% { transform: perspective(900px) rotateY(-5deg) rotateX(2deg) translateY(-10px); } }
@keyframes hover-chip { 50% { transform: translateY(-10px) rotate(2deg); } }
@keyframes draw-line { to { stroke-dashoffset: 0; } }

@media (max-width: 960px) {
  .hero-layout, .process, .account-page { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .scene { max-width: 550px; width: 100%; margin: 0 auto; }
  .feature-grid { grid-template-columns: repeat(3,1fr); }
  .plan-grid { grid-template-columns: repeat(3, 1fr); }
  .plan.recommended { transform: none; }
  .plan.recommended:hover { transform: translateY(-10px); }
  .account-aside { min-height: auto; padding-bottom: 3rem; }
  .aside-content { margin-top: 3.5rem; }
  .account-main { padding-top: 3.5rem; }
}
@media (max-width: 720px) {
  .container { width: min(100% - 30px, 1140px); }
  .announcement { display: none; }
  .nav { min-height: 65px; }
  .nav-links { display: none; position: absolute; top: 65px; left: 15px; right: 15px; padding: .6rem; flex-direction: column; align-items: stretch; background: rgba(255,255,255,.97); border: 1px solid rgba(17,33,61,.1); border-radius: 15px; box-shadow: var(--soft-shadow); }
  .nav-links.open { display: flex; }
  .nav-links > a { padding: .7rem .8rem; }
  .nav-actions .button-plain { display: none; }
  .menu-toggle { display: block; }
  .hero { padding-top: 4rem; }
  .hero h1 { font-size: clamp(2.4rem, 13vw, 3.7rem); }
  .scene { min-height: 350px; transform: scale(.92); transform-origin: center; margin: -1rem 0; }
  .stats { margin-bottom: 3rem; }
  .stat-grid { grid-template-columns: 1fr; }
  .stat { padding: 1rem; }
  .stat + .stat:before { top: 0; bottom: auto; left: 15%; right: 15%; width: auto; height: 1px; }
  .section { padding: 4rem 0; }
  .feature-grid, .plan-grid { grid-template-columns: 1fr; }
  .feature { min-height: auto; }
  .plan { min-height: auto; padding: 1.4rem; }
  .plan-copy { min-height: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  .account-aside { padding: 1.7rem; }
  .aside-content { margin-top: 3rem; }
  .aside-tiles { display: none; }
  .account-main { padding: 2rem 1rem 3rem; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .field.full { grid-column: auto; }
  .simple-page { padding: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
