/* AuraFarm Premium | Electric Dark V2
   Capa 100% visual. No toca PHP, acciones, API, rutas, formularios ni precios.
   Se carga despues de los estilos originales del index.php.
*/
:root {
  color-scheme: dark;
  --bg: #050a15;
  --surface: #0b1628;
  --surface2: #101e35;
  --line: #263b57;
  --cyan: #50dafe;
  --blue: #3478ff;
  --green: #45e8a4;
  --red: #ff7388;
  --yellow: #ffce6d;
  --muted: #9dadc5;
  --white: #f4f8ff;
  --aura-heading: 'Space Grotesk', 'Segoe UI', sans-serif;
  --aura-body: 'Manrope', 'Segoe UI', Arial, sans-serif;
}
html { scroll-padding-top: 108px; }
body {
  overflow-x: hidden;
  min-height: 100vh;
  font: 500 15px/1.7 var(--aura-body);
  color: var(--white);
  background:
    radial-gradient(ellipse 56% 23% at 50% 1%, rgba(38, 113, 255, .20), transparent 100%),
    radial-gradient(ellipse 38% 34% at 94% 21%, rgba(36, 181, 255, .065), transparent 100%),
    radial-gradient(ellipse 44% 27% at 0% 72%, rgba(55, 108, 255, .075), transparent 100%),
    #050a15;
  -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(59, 182, 255, .38); color: #fff; }
a, button, input { -webkit-tap-highlight-color: transparent; }
a { transition: color .2s ease; }
button, input, select { font: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
.container { width: min(1200px, calc(100% - 64px)); }

/* Encabezado: barra translucida contenida */
header {
  background: rgba(5, 11, 25, .84);
  backdrop-filter: blur(24px) saturate(135%);
  -webkit-backdrop-filter: blur(24px) saturate(135%);
  border-bottom: 1px solid rgba(159, 192, 255, .12);
  box-shadow: 0 12px 50px rgba(0, 0, 0, .10);
}
.nav { min-height: 86px; gap: 32px; }
.brand { gap: 14px; font: 700 22px/1 var(--aura-heading); letter-spacing: -.9px; }
.brand > div:last-child { position: relative; }
.brand > div:last-child::after {
  content: 'PREMIUM'; position: absolute; top: -11px; right: -52px;
  font: 800 8px/1 var(--aura-body); letter-spacing: 1.5px; color: #69dffb;
}
.brand-mark {
  width: 46px; height: 46px; border-radius: 14px;
  background: linear-gradient(140deg, #b9f5ff -10%, #42caff 43%, #3669ff 100%);
  box-shadow: 0 0 0 1px rgba(146, 222, 255, .28) inset, 0 8px 26px rgba(25, 131, 255, .25);
  color: #031021; font: 800 18px/1 var(--aura-heading); letter-spacing: -1px;
  transform: rotate(-3deg);
}
.nav-links { gap: clamp(12px, 2.2vw, 28px); }
.nav-links > a:not(.btn) {
  color: #c3cfe1; font: 650 12px/1.4 var(--aura-body);
  letter-spacing: .04em; position: relative; white-space: nowrap;
}
.nav-links > a:not(.btn)::after {
  content: ''; position: absolute; left: 0; bottom: -7px; width: 0; height: 2px;
  border-radius: 99px; background: var(--cyan); transition: width .2s ease;
}
.nav-links > a:not(.btn):hover::after { width: 100%; }
.nav-links > a:not(.btn):hover { color: #fff; }

/* Botones: brillo dirigido y ritmo uniforme */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 47px; padding: 12px 21px;
  border: 1px solid transparent; border-radius: 12px;
  font: 800 12px/1.35 var(--aura-body);
  letter-spacing: .01em; white-space: normal; text-align: center;
  box-shadow: none; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}
.btn::after {
  content: ''; position: absolute; width: 60%; height: 160%; top: -30%; left: -120%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
  transform: skewX(-26deg); transition: left .55s ease; pointer-events: none;
}
.btn:hover::after { left: 140%; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  color: #fff; background: linear-gradient(122deg, #2469fa 0%, #3388ff 60%, #36bbff 145%);
  border-color: rgba(148, 204, 255, .30);
  box-shadow: 0 9px 28px rgba(28, 104, 249, .24), inset 0 1px 0 rgba(255,255,255,.22);
}
.btn-primary:hover { box-shadow: 0 14px 36px rgba(28, 104, 249, .40), 0 0 26px rgba(49, 176, 255, .15); }
.btn-ghost {
  color: #e9f3ff; background: rgba(18, 35, 59, .68);
  border-color: rgba(122, 173, 219, .25); box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.btn-ghost:hover { border-color: rgba(84, 203, 255, .55); background: #142640; }
.btn-green {
  color: #021721; background: linear-gradient(120deg, #77ffd1, #46dda6);
  border-color: rgba(179, 255, 224, .30);
  box-shadow: 0 9px 24px rgba(53, 216, 155, .15), inset 0 1px 0 rgba(255,255,255,.38);
}
.btn-green:hover { box-shadow: 0 12px 34px rgba(53,216,155,.25); }

/* Portada: foco editorial y volumen luminoso */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(94px, 10vw, 142px) 0 clamp(95px, 9vw, 124px);
  text-align: center;
}
.hero::before {
  content: ''; pointer-events: none; position: absolute; z-index: -1;
  width: 960px; height: 670px; top: -260px; left: 50%; transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 50%, rgba(38, 115, 246, .30), rgba(47, 133, 255, .09) 43%, transparent 73%);
  filter: blur(18px);
}
.hero::after {
  content: ''; pointer-events: none; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(149,186,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(149,186,255,.035) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(180deg, transparent, black 24%, black 58%, transparent 95%);
  -webkit-mask-image: linear-gradient(180deg, transparent, black 24%, black 58%, transparent 95%);
  opacity: .75;
}
.hero .container { position: relative; }
.hero-logo {
  position: relative; width: 94px; height: 94px; margin: 0 auto 29px;
  border-radius: 27px; font: 800 39px/1 var(--aura-heading); letter-spacing: -2px;
  background: linear-gradient(145deg, #c9f9ff 0%, #61d6ff 42%, #316cfa 100%);
  box-shadow: 0 0 0 1px rgba(223,249,255,.48) inset, 0 0 0 10px rgba(45, 161, 255, .05), 0 0 0 22px rgba(38, 121, 255, .027), 0 18px 75px rgba(39, 129, 255, .39);
  transform: rotate(-4deg);
}
.hero-logo::after {
  content: ''; position: absolute; top: -7px; right: -7px; width: 14px; height: 14px;
  border-radius: 50%; background: #74ffcf; border: 3px solid #0b1930;
  box-shadow: 0 0 20px rgba(106, 255, 205, .6);
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 11px; margin: 0 auto 22px;
  padding: 8px 14px; border-radius: 99px;
  background: rgba(24, 53, 94, .55); border: 1px solid rgba(92, 170, 252, .24);
  color: #b2d9ff; font: 800 10px/1.2 var(--aura-body); letter-spacing: .21em;
}
.hero-eyebrow::before { content: ''; width: 6px; height: 6px; background: #57e6ff; border-radius: 50%; box-shadow: 0 0 12px #57e6ff; }
.hero h1 {
  margin: 0 auto; max-width: 1100px;
  font: 750 clamp(54px, 7.2vw, 104px)/.99 var(--aura-heading);
  letter-spacing: -.07em; text-wrap: balance;
  text-shadow: 0 14px 40px rgba(0,0,0,.16);
}
.hero h1 span {
  color: #7ee4ff;
  background: linear-gradient(120deg, #bbf7ff 2%, #55cbff 45%, #6b8fff 95%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p { margin-top: 29px; width: min(710px, 100%); color: #b7c8df; font-size: clamp(15px, 1.6vw, 18px); line-height: 1.95; }
.hero-actions { margin-top: 38px; gap: 13px; }
.hero-actions .btn { min-height: 54px; padding: 15px 30px; font-size: 13px; }
.online {
  margin-top: 28px; padding: 9px 16px; border: 1px solid rgba(89, 226, 165, .19);
  border-radius: 99px; background: rgba(15, 52, 46, .48);
  color: #89f7c5; font-size: 10px; letter-spacing: .15em;
}
.dot { width: 7px; height: 7px; background: #61f9b5; box-shadow: 0 0 15px rgba(92, 255, 182, .75); }

/* Secciones: jerarquia y ritmo editorial */
main > section:not(.hero) { position: relative; }
section:not(.hero):not(.dashboard-intro) { padding: clamp(68px, 7vw, 100px) 0; }
#funciones, #planes, #como-funciona, #cuenta { scroll-margin-top: 100px; }
#planes { background: linear-gradient(180deg, rgba(14,32,58,.0), rgba(18,44,77,.21) 48%, rgba(14,32,58,0)); }
#cuenta { border-top: 1px solid rgba(154, 193, 255, .065); }
.section-head { max-width: 760px; margin-bottom: 43px; }
.section-head::before {
  content: 'AURAFARM · PREMIUM'; display: block; margin-bottom: 16px;
  color: #65cfff; font: 850 10px/1.3 var(--aura-body); letter-spacing: .22em;
}
.section-head h2 {
  font: 750 clamp(31px, 4.1vw, 53px)/1.08 var(--aura-heading);
  letter-spacing: -.052em; text-wrap: balance; margin-bottom: 17px;
}
.section-head p { color: #a8bcd6; line-height: 1.9; font-size: 15px; }
h2, h3 { color: #f2f7ff; }
h3, .profile-name { font-family: var(--aura-heading); letter-spacing: -.035em; }
.feature-grid { gap: 18px; }
.feature, .step, .plan, .card {
  border: 1px solid rgba(108, 155, 218, .20);
  border-radius: 21px;
  background: linear-gradient(154deg, rgba(20, 37, 63, .90), rgba(8, 20, 38, .94));
  box-shadow: inset 0 1px 0 rgba(210, 236, 255, .055), 0 19px 52px rgba(0, 0, 0, .12);
}
.feature, .step, .plan { transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.feature:hover, .step:hover, .plan:hover {
  transform: translateY(-5px); border-color: rgba(84, 193, 255, .52);
  box-shadow: inset 0 1px 0 rgba(211, 238, 255, .08), 0 22px 60px rgba(0,0,0,.24), 0 0 32px rgba(47, 141, 254, .065);
}
.feature { padding: 29px 28px 31px; position: relative; overflow: hidden; }
.feature::before {
  content: ''; position: absolute; left: 27px; right: 27px; top: 0; height: 1px;
  background: linear-gradient(90deg, rgba(98,214,255,.7), transparent 78%); opacity: .58;
}
.feature-icon {
  width: 48px; height: 48px; border-radius: 15px; margin-bottom: 25px;
  background: linear-gradient(140deg, rgba(59,153,255,.18), rgba(32,93,194,.07));
  border: 1px solid rgba(98, 193, 255, .24); color: #8ae6ff;
  font: 800 12px/1 var(--aura-heading); letter-spacing: -.025em;
}
.feature h3 { font-size: 20px; line-height: 1.26; margin-bottom: 12px; }
.feature p { color: #a9bbd3; font-size: 13px; line-height: 1.85; }
.plans { gap: 16px; align-items: stretch; }
.plan { padding: 30px 24px 26px; display: flex; flex-direction: column; }
.plan.popular {
  border-color: rgba(94, 215, 255, .85);
  background: linear-gradient(156deg, rgba(29, 69, 112, .75), rgba(11, 26, 49, .98) 49%, #081829 100%);
  box-shadow: 0 0 0 1px rgba(109, 220, 255, .19), 0 22px 62px rgba(36, 119, 231, .16);
}
.plan-badge {
  align-self: flex-start; background: rgba(85, 197, 255, .095);
  border: 1px solid rgba(95, 190, 248, .25); color: #a1e8ff;
  font: 850 9px/1.2 var(--aura-body); letter-spacing: .12em;
  padding: 9px 12px; margin-bottom: 28px;
}
.plan h3 { font: 750 22px/1.1 var(--aura-heading); }
.price { color: #fff; font: 750 clamp(36px, 3.8vw, 49px)/1 var(--aura-heading); letter-spacing: -.07em; margin: 24px 0 9px; }
.price small { font: 650 12px/1.2 var(--aura-body); letter-spacing: .06em; color: #98b4d7; }
.plan p { margin-bottom: 25px; color: #a9bdd7; font-size: 13px; line-height: 1.8; }
.plan form, .plan .login-buy { margin-top: auto; }
.plan .btn { min-height: 51px; padding: 10px 12px; font-size: 11px; }
.step { padding: 27px; }
.step-number { font: 750 26px/1 var(--aura-heading); color: #7bdbff; }
.step h3 { font-size: 18px; margin-top: 18px; }
.step p { font-size: 13px; line-height: 1.8; color: #a7bbd5; }
.card { padding: clamp(22px, 3vw, 32px); }
.card h2 { font: 750 clamp(25px, 3vw, 34px)/1.15 var(--aura-heading); letter-spacing: -.05em; }
.card h3 { font-size: 21px; }
.account-wrap { gap: 22px; }
.form-group { margin-bottom: 17px; }
.form-group label { color: #bbd0ea; font: 800 10px/1.5 var(--aura-body); letter-spacing: .11em; margin-bottom: 10px; }
input:not([type='hidden']) {
  min-height: 48px; border: 1px solid rgba(112, 159, 222, .29);
  border-radius: 12px; background: rgba(10, 23, 44, .90);
  color: #f5faff; padding: 12px 15px;
  box-shadow: inset 0 1px 1px rgba(0,0,0,.12);
  transition: border-color .18s ease, box-shadow .18s ease;
}
input:not([type='hidden']):focus { border-color: #66d3ff; box-shadow: 0 0 0 3px rgba(64, 173, 255, .15); }
.auth-tabs { gap: 8px; margin-bottom: 25px; border-radius: 13px; background: rgba(6, 19, 39, .8); padding: 5px; }
.auth-tabs a { background: none; border-radius: 9px; font: 800 12px/1.3 var(--aura-body); padding: 14px 9px; }
.auth-tabs a.active { background: #1b3e79; color: #fff; box-shadow: 0 3px 12px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.12); }
.license-box { background: rgba(7, 21, 40, .7); border-color: rgba(91, 165, 231, .25); border-radius: 16px; padding: 22px; }
.license-key { font-size: clamp(14px, 1.8vw, 19px); letter-spacing: .02em; }
.profile-name { font-size: clamp(25px, 3vw, 35px); font-weight: 750; }
.dashboard-intro { padding-top: 72px; }
.dashboard-intro h1 { font: 750 clamp(29px, 4.5vw, 49px)/1.1 var(--aura-heading); letter-spacing: -.05em; }
.dashboard-intro p, .email { color: #aabfd8; }
.metrics { gap: 12px; }
.metric { background: rgba(18, 39, 68, .71); border: 1px solid rgba(116, 171, 239, .16); border-radius: 12px; padding: 17px; }
.metric small { color: #9eb5d1; }
.metric strong { font-family: var(--aura-heading); font-size: 19px; }
.purchase-notice { background: rgba(112, 70, 12, .12); border-color: rgba(255, 205, 111, .33); border-radius: 15px; }
.flash { margin-top: 19px; border: 1px solid rgba(127, 176, 227, .2); border-radius: 13px; }
.history { border-radius: 12px; }
table { font-size: 12px; }
th { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
th, td { padding: 14px 12px; border-bottom-color: rgba(107, 154, 220, .16); }
tbody tr { transition: background .18s ease; }
tbody tr:hover { background: rgba(86, 151, 225, .065); }
footer { border-top-color: rgba(118, 155, 216, .13); color: #90a5be; padding: 42px 0 52px; }

@media(max-width: 1050px) {
  .nav { gap: 22px; }
  .nav-links { gap: 12px; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media(max-width: 760px) {
  .container { width: min(100% - 36px, 1200px); }
  .nav { min-height: 75px; gap: 15px; }
  .brand { font-size: 20px; }
  .brand > div:last-child::after { display: none; }
  .nav-links > a:not(.btn) { display: none; }
  .hero { padding: 86px 0 88px; }
  .hero h1 { letter-spacing: -.055em; }
  .feature-grid { grid-template-columns: 1fr; }
  .account-wrap { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .metrics { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .feature { padding: 25px; }
}
@media(max-width: 520px) {
  .container { width: calc(100% - 30px); }
  .nav { flex-wrap: wrap; gap: 9px; padding: 14px 0; }
  .nav-links { width: 100%; justify-content: flex-end; gap: 8px; }
  .nav-links .btn { font-size: 11px; min-height: 40px; padding: 8px 15px; }
  .hero { padding: 65px 0 71px; }
  .hero-logo { width: 77px; height: 77px; border-radius: 22px; font-size: 33px; }
  .hero-eyebrow { font-size: 9px; letter-spacing: .12em; }
  .hero h1 { font-size: clamp(44px, 11.7vw, 66px); }
  .hero p { font-size: 14px; line-height: 1.8; }
  .hero-actions { display: grid; grid-template-columns: 1fr; width: min(100%, 350px); margin: 30px auto 0; }
  .hero-actions .btn { width: 100%; }
  .section-head { margin-bottom: 30px; }
  .plans, .steps { grid-template-columns: 1fr; }
  .plan { padding: 27px; }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric { padding: 12px; }
  .online { letter-spacing: .07em; }
  .card { padding: 21px; }
}
@media(prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
