/* ============================================================
   refer-beauty.css — Refer & Earn Page Styles
   Namespace : rae-
   Brand     : Ares Energy & Electricals
   Accent    : #f38b2a (orange) / #10b981 (green) / #0b1c2e (navy)
   Depends   : style.css  responsive.css  home-beauty.css
   ============================================================ */

/* ── CUSTOM PROPERTIES ──────────────────────────────────── */
:root {
    --rae-orange:    #f38b2a;
    --rae-orange-dk: #c96c10;
    --rae-navy:      #0b1c2e;
    --rae-navy-2:    #0f2540;
    --rae-green:     #10b981;
    --rae-gold:      #f59e0b;
    --rae-purple:    #7c3aed;
    --rae-teal:      #0891b2;
    --rae-radius:    14px;
    --rae-shadow:    0 4px 24px rgba(0,0,0,0.08);
    --rae-shadow-lg: 0 12px 48px rgba(0,0,0,0.14);
}

/* ── KEYFRAMES ───────────────────────────────────────────── */
@keyframes raeFadeUp {
    from { opacity:0; transform:translateY(28px); }
    to   { opacity:1; transform:translateY(0); }
}
@keyframes raeFloat {
    0%,100% { transform:translateY(0)   rotate(-2deg); }
    50%     { transform:translateY(-12px) rotate(1deg); }
}
@keyframes raeFloat2 {
    0%,100% { transform:translateY(0)   rotate(2deg); }
    50%     { transform:translateY(-9px) rotate(-1deg); }
}
@keyframes raePulse {
    0%,100% { opacity:.6; transform:scale(1); }
    50%     { opacity:1;  transform:scale(1.08); }
}
@keyframes raeSpinSlow {
    to { transform:rotate(360deg); }
}
@keyframes raeProgress {
    from { width:0; }
    to   { width:72%; }
}
@keyframes raeDot {
    0%,100% { opacity:1; box-shadow:0 0 6px rgba(16,185,129,.6); }
    50%     { opacity:.4; box-shadow:0 0 2px rgba(16,185,129,.2); }
}
@keyframes raeGradShift {
    0%   { background-position:0% 50%; }
    50%  { background-position:100% 50%; }
    100% { background-position:0% 50%; }
}


/* ── SHARED BUTTON STYLES ────────────────────────────────── */
.rae-btn-primary {
    display:inline-flex;
    align-items:center;
    gap:8px;
    background:linear-gradient(135deg,#f38b2a 0%,#e07620 100%);
    color:#fff;
    font-size:.9375rem;
    font-weight:700;
    padding:14px 28px;
    border-radius:10px;
    text-decoration:none;
    transition:all .25s ease;
    border:none;
    cursor:pointer;
    box-shadow:0 4px 20px rgba(243,139,42,.35);
    white-space:nowrap;
}
.rae-btn-primary:hover {
    background:linear-gradient(135deg,#e07620 0%,#c96c10 100%);
    transform:translateY(-2px);
    box-shadow:0 8px 30px rgba(243,139,42,.45);
    color:#fff;
}
.rae-btn-primary.rae-btn-large {
    font-size:1rem;
    padding:16px 34px;
}

.rae-btn-ghost {
    display:inline-flex;
    align-items:center;
    gap:8px;
    background:rgba(255,255,255,.12);
    border:1.5px solid rgba(255,255,255,.3);
    color:#fff;
    font-size:.9375rem;
    font-weight:600;
    padding:13px 26px;
    border-radius:10px;
    text-decoration:none;
    transition:all .25s ease;
    backdrop-filter:blur(8px);
    white-space:nowrap;
}
.rae-btn-ghost:hover {
    background:rgba(255,255,255,.22);
    border-color:rgba(255,255,255,.55);
    color:#fff;
    transform:translateY(-2px);
}

.rae-btn-ghost-light {
    display:inline-flex;
    align-items:center;
    gap:8px;
    background:rgba(255,255,255,.1);
    border:1.5px solid rgba(255,255,255,.25);
    color:#fff;
    font-size:.9375rem;
    font-weight:600;
    padding:15px 28px;
    border-radius:10px;
    text-decoration:none;
    transition:all .25s ease;
    white-space:nowrap;
}
.rae-btn-ghost-light:hover {
    background:rgba(255,255,255,.2);
    border-color:rgba(255,255,255,.5);
    color:#fff;
    transform:translateY(-2px);
}

/* ── SHARED SECTION HEADER ───────────────────────────────── */
.rae-section-header {
    text-align:center;
    max-width:700px;
    margin:0 auto 3.5rem;
}
.rae-section-badge {
    display:inline-flex;
    align-items:center;
    gap:7px;
    background:rgba(243,139,42,.08);
    border:1px solid rgba(243,139,42,.22);
    color:#b45309;
    font-size:.775rem;
    font-weight:700;
    padding:5px 14px;
    border-radius:20px;
    margin-bottom:16px;
    letter-spacing:.04em;
    text-transform:uppercase;
}
.rae-badge-light {
    background:rgba(255,255,255,.12);
    border-color:rgba(255,255,255,.25);
    color:#fff;
}
.rae-section-header h2 {
    font-size:clamp(1.8rem,3.5vw,2.6rem);
    font-weight:800;
    color:var(--rae-navy);
    line-height:1.15;
    margin-bottom:14px;
    letter-spacing:-.02em;
}
.rae-section-header p {
    font-size:clamp(.9rem,1.3vw,1.05rem);
    color:#4b5563;
    line-height:1.75;
}

/* ================================================================
   SECTION 1 — HERO
   ================================================================ */
.rae-hero {
    position:relative;
    background:linear-gradient(145deg,#040e1a 0%,#0b1c2e 45%,#0c2545 100%);
    padding:clamp(80px,10vw,130px) 0 clamp(70px,9vw,120px);
    overflow:hidden;
    color:#fff;
}

/* Animated background */
.rae-hero-bg { position:absolute; inset:0; pointer-events:none; }
.rae-orb {
    position:absolute;
    border-radius:50%;
    filter:blur(70px);
    animation:raePulse 6s ease-in-out infinite;
}
.rae-orb-1 {
    width:600px; height:600px;
    background:radial-gradient(circle,rgba(243,139,42,.18),transparent 65%);
    top:-200px; right:-100px;
    animation-duration:7s;
}
.rae-orb-2 {
    width:400px; height:400px;
    background:radial-gradient(circle,rgba(16,185,129,.12),transparent 65%);
    bottom:-120px; left:-60px;
    animation-delay:2s;
    animation-duration:9s;
}
.rae-orb-3 {
    width:280px; height:280px;
    background:radial-gradient(circle,rgba(124,58,237,.1),transparent 65%);
    top:30%; left:30%;
    animation-delay:4s;
}
.rae-grid-lines {
    position:absolute;
    inset:0;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),
        linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);
    background-size:60px 60px;
}

/* Floating badges */
.rae-float-badge {
    position:absolute;
    display:flex;
    align-items:center;
    gap:8px;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.18);
    backdrop-filter:blur(12px);
    color:#fff;
    font-size:.78rem;
    font-weight:700;
    padding:8px 14px;
    border-radius:30px;
    z-index:2;
    pointer-events:none;
}
.rae-float-badge strong {
    background:linear-gradient(90deg,#f38b2a,#fbbf24);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
    font-size:1rem;
}
.rae-float-1 {
    top:18%;  right:8%;
    animation:raeFloat  5s  ease-in-out infinite;
}
.rae-float-2 {
    top:52%;  right:4%;
    animation:raeFloat2 6.5s ease-in-out infinite;
    animation-delay:.8s;
}
.rae-float-3 {
    bottom:15%; right:12%;
    animation:raeFloat  7s  ease-in-out infinite;
    animation-delay:1.5s;
}
@media(max-width:900px){
    .rae-float-1,.rae-float-2,.rae-float-3 { display:none; }
}

/* Hero inner layout */
.rae-hero-inner {
    display:grid;
    grid-template-columns:1fr 480px;
    gap:60px;
    align-items:center;
    position:relative;
    z-index:3;
}

/* Breadcrumb */
.rae-breadcrumb {
    display:flex;
    align-items:center;
    gap:6px;
    font-size:.83rem;
    color:rgba(255,255,255,.55);
    margin-bottom:22px;
    grid-column:1/-1;
}
.rae-breadcrumb a { color:rgba(255,255,255,.55); transition:color .2s; }
.rae-breadcrumb a:hover { color:#f38b2a; }

/* Hero content */
.rae-hero-content { grid-column:1; }

.rae-hero-badge {
    display:inline-flex;
    align-items:center;
    gap:8px;
    background:rgba(243,139,42,.12);
    border:1px solid rgba(243,139,42,.3);
    color:#fbbf24;
    font-size:.78rem;
    font-weight:700;
    padding:6px 16px;
    border-radius:30px;
    margin-bottom:22px;
    letter-spacing:.04em;
    text-transform:uppercase;
}
.rae-badge-dot {
    width:8px; height:8px;
    background:#f38b2a;
    border-radius:50%;
    animation:raeDot 2s ease-in-out infinite;
    flex-shrink:0;
}

.rae-hero-h1 {
    font-size:clamp(2.4rem,5vw,3.8rem);
    font-weight:800;
    line-height:1.08;
    letter-spacing:-.025em;
    margin-bottom:22px;
    color:#fff;
}
.rae-gradient-text {
    background:linear-gradient(90deg,#f38b2a 0%,#fbbf24 40%,#f38b2a 80%);
    background-size:200% auto;
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
    animation:raeGradShift 4s linear infinite;
}

.rae-hero-desc {
    font-size:clamp(.95rem,1.4vw,1.1rem);
    color:rgba(255,255,255,.75);
    line-height:1.8;
    margin-bottom:30px;
    max-width:540px;
}
.rae-hero-desc strong { color:#fff; }

/* Reward pills */
.rae-reward-pills {
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:32px;
}
.rae-pill {
    display:inline-flex;
    align-items:center;
    gap:7px;
    padding:8px 16px;
    border-radius:30px;
    font-size:.8125rem;
    font-weight:600;
    border:1.5px solid;
    transition:transform .2s;
    cursor:default;
}
.rae-pill:hover { transform:translateY(-2px); }
.rae-pill strong { font-size:1rem; font-weight:800; margin-left:2px; }
.rae-pill-solar  { background:rgba(243,139,42,.12); border-color:rgba(243,139,42,.35); color:#fbbf24; }
.rae-pill-battery{ background:rgba(59,130,246,.12); border-color:rgba(59,130,246,.35); color:#93c5fd; }
.rae-pill-elec   { background:rgba(124,58,237,.12); border-color:rgba(124,58,237,.35); color:#c4b5fd; }
.rae-pill-ac     { background:rgba(6,182,212,.12);  border-color:rgba(6,182,212,.35);  color:#67e8f9; }

/* Hero CTAs */
.rae-hero-ctas {
    display:flex;
    gap:14px;
    flex-wrap:wrap;
    margin-bottom:40px;
}

/* Social proof */
.rae-hero-proof {
    display:flex;
    align-items:center;
    gap:24px;
    padding-top:28px;
    border-top:1px solid rgba(255,255,255,.1);
    flex-wrap:wrap;
}
.rae-proof-item strong {
    display:block;
    font-size:1.35rem;
    font-weight:800;
    color:#f38b2a;
    line-height:1;
}
.rae-proof-item {
    display:flex;
    align-items:center;
    gap:7px;
}
.rae-proof-item span {
    font-size:.8rem;
    font-weight:500;
    color:rgba(255,255,255,.6);
    margin-top:0;
}
.rae-proof-sep {
    width:1px;
    height:36px;
    background:rgba(255,255,255,.12);
}

/* Hero visual */
.rae-hero-visual {
    position:relative;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:flex-start;
    gap:0;
}

/* Reward card visual */
.rae-reward-card {
    background:linear-gradient(145deg,rgba(255,255,255,.08),rgba(255,255,255,.03));
    border:1px solid rgba(255,255,255,.14);
    backdrop-filter:blur(20px);
    border-radius:20px;
    padding:28px;
    width:100%;
    max-width:380px;
    position:relative;
    z-index:2;
    box-shadow:0 24px 64px rgba(0,0,0,.4),inset 0 1px 0 rgba(255,255,255,.12);
    animation:raeFadeUp .8s ease both;
}
.rae-rc-header {
    display:flex;
    align-items:center;
    gap:14px;
    margin-bottom:22px;
}
.rae-rc-icon {
    width:50px; height:50px;
    background:linear-gradient(135deg,#f38b2a,#e07620);
    border-radius:12px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    flex-shrink:0;
    box-shadow:0 6px 20px rgba(243,139,42,.4);
}
.rae-rc-label { font-size:.78rem; color:rgba(255,255,255,.55); margin-bottom:4px; }
.rae-rc-status {
    display:flex;
    align-items:center;
    gap:6px;
    font-size:.75rem;
    font-weight:600;
    color:#10b981;
}
.rae-status-dot {
    width:7px; height:7px;
    background:#10b981;
    border-radius:50%;
    animation:raeDot 1.8s infinite;
}
.rae-rc-amount {
    font-size:3.2rem;
    font-weight:800;
    color:#fff;
    line-height:1;
    margin-bottom:6px;
    letter-spacing:-.03em;
}
.rae-rc-amount span { font-size:1.4rem; font-weight:700; color:rgba(255,255,255,.6); }
.rae-rc-ref {
    font-size:.78rem;
    color:rgba(255,255,255,.45);
    margin-bottom:20px;
}

/* Progress bar */
.rae-rc-progress-wrap { margin-bottom:18px; }
.rae-rc-progress-track {
    height:6px;
    background:rgba(255,255,255,.1);
    border-radius:10px;
    overflow:hidden;
    margin-bottom:8px;
}
.rae-rc-progress-bar {
    height:100%;
    background:linear-gradient(90deg,#f38b2a,#10b981);
    border-radius:10px;
    animation:raeProgress 2s ease-out .5s both;
}
.rae-rc-progress-labels {
    display:flex;
    justify-content:space-between;
    font-size:.7rem;
    color:rgba(255,255,255,.4);
}
.rae-rc-footer {
    display:flex;
    align-items:center;
    gap:6px;
    font-size:.75rem;
    color:rgba(255,255,255,.45);
    padding-top:16px;
    border-top:1px solid rgba(255,255,255,.08);
}

/* ── IMAGE PLACEHOLDERS in hero ───────────────────────────── */
.rae-img-placeholders {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:10px;
    width:100%;
    max-width:380px;
    margin-top:16px;
    position:relative;
    z-index:2;
}
.rae-img-ph {
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:8px;
    border-radius:12px;
    padding:20px 10px;
    border:2px dashed rgba(255,255,255,.2);
    background:rgba(255,255,255,.04);
    backdrop-filter:blur(8px);
    text-align:center;
    transition:border-color .3s, background .3s;
    cursor:default;
    animation:raeFadeUp .9s ease both;
}
.rae-img-ph:hover {
    border-color:rgba(243,139,42,.5);
    background:rgba(243,139,42,.07);
}
.rae-img-ph-1 { animation-delay:.3s; }
.rae-img-ph-2 { animation-delay:.45s; }
.rae-img-ph-3 { animation-delay:.6s; }
.rae-img-ph i { color:rgba(243,139,42,.75); }
.rae-img-ph span {
    font-size:.68rem;
    font-weight:600;
    color:rgba(255,255,255,.45);
    line-height:1.3;
    letter-spacing:.02em;
    text-transform:uppercase;
}

/* ── TRUST STRIP (replaces stats strip) ──────────────────── */
.rae-trust-strip .rae-proof-item {
    display:flex;
    align-items:center;
    gap:8px;
}
.rae-trust-icon {
    color:#f38b2a;
    flex-shrink:0;
}
.rae-trust-strip .rae-proof-item span {
    font-size:.8rem;
    font-weight:600;
    color:rgba(255,255,255,.75);
    margin-top:0;
}

/* ── TILE AMOUNT LABEL (no dollar number) ────────────────── */
.rae-tile-amount-label {
    font-size:1rem !important;
    font-weight:700 !important;
    letter-spacing:.04em !important;
    text-transform:uppercase;
    padding:6px 14px;
    border-radius:20px;
    display:inline-flex;
    align-items:center;
    gap:6px;
    margin-bottom:12px !important;
    background:linear-gradient(135deg,rgba(243,139,42,.15),rgba(243,139,42,.08));
    border:1px solid rgba(243,139,42,.25);
}
.rae-tile-solar .rae-tile-amount-label { color:#b45309; }
.rae-tile-battery .rae-tile-amount-label { color:#1e40af; }
.rae-tile-elec .rae-tile-amount-label { color:#5b21b6; }
.rae-tile-ac .rae-tile-amount-label { color:#075985; }

/* ── REWARD CARD AMOUNT — non-dollar label version ────────── */
.rae-rc-amount-label {
    display:flex;
    align-items:center;
    gap:10px;
    font-size:1.4rem !important;
    font-weight:700;
    color:#f38b2a;
    background:rgba(243,139,42,.12);
    border:1px solid rgba(243,139,42,.25);
    border-radius:12px;
    padding:12px 18px;
    margin-bottom:6px;
}
.rae-rc-amount-label i { color:#f38b2a; }
.rae-rc-amount-label span {
    font-size:1.3rem !important;
    font-weight:700;
    color:#f38b2a !important;
}

/* Decorative rings */
.rae-deco-ring {
    position:absolute;
    border-radius:50%;
    border:1px solid rgba(243,139,42,.15);
    pointer-events:none;
}
.rae-deco-ring-1 {
    width:500px; height:500px;
    top:50%; left:50%;
    transform:translate(-50%,-50%);
    animation:raeSpinSlow 30s linear infinite;
}
.rae-deco-ring-2 {
    width:380px; height:380px;
    top:50%; left:50%;
    transform:translate(-50%,-50%);
    border-color:rgba(16,185,129,.1);
    animation:raeSpinSlow 20s linear infinite reverse;
}

/* ================================================================
   SECTION 2 — HOW IT WORKS
   ================================================================ */
.rae-how-section {
    background:#fff;
    padding:clamp(60px,8vw,100px) 0;
}

.rae-steps {
    display:flex;
    align-items:flex-start;
    gap:0;
}

.rae-step {
    flex:1;
    text-align:center;
    padding:36px 32px;
    position:relative;
}
.rae-step-number {
    font-size:3.5rem;
    font-weight:800;
    color:rgba(243,139,42,.1);
    line-height:1;
    position:absolute;
    top:24px;
    left:50%;
    transform:translateX(-50%);
    letter-spacing:-.04em;
    pointer-events:none;
}
.rae-step-icon {
    width:70px; height:70px;
    background:linear-gradient(135deg,rgba(243,139,42,.1),rgba(243,139,42,.05));
    border:2px solid rgba(243,139,42,.25);
    border-radius:18px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#f38b2a;
    margin:0 auto 20px;
    position:relative;
    z-index:1;
    transition:all .3s ease;
}
.rae-step:hover .rae-step-icon {
    background:linear-gradient(135deg,#f38b2a,#e07620);
    color:#fff;
    border-color:#f38b2a;
    transform:translateY(-4px);
    box-shadow:0 12px 32px rgba(243,139,42,.3);
}
.rae-step h3 {
    font-size:1.05rem;
    font-weight:700;
    color:var(--rae-navy);
    margin-bottom:10px;
    position:relative;
    z-index:1;
}
.rae-step p {
    font-size:.875rem;
    color:#4b5563;
    line-height:1.7;
    position:relative;
    z-index:1;
}
.rae-step-tag {
    display:inline-flex;
    margin-top:14px;
    padding:4px 12px;
    border-radius:20px;
    font-size:.73rem;
    font-weight:700;
    background:rgba(16,185,129,.08);
    color:#059669;
    border:1px solid rgba(16,185,129,.2);
    position:relative;
    z-index:1;
}

.rae-step-connector {
    display:flex;
    align-items:center;
    justify-content:center;
    padding-top:55px;
    color:rgba(243,139,42,.5);
    flex-shrink:0;
}

/* ================================================================
   SECTION 3 — REWARD TIERS
   ================================================================ */
.rae-rewards-section {
    background:linear-gradient(180deg,#f9fafb 0%,#fff 100%);
    padding:clamp(60px,8vw,100px) 0;
}

.rae-reward-grid {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    margin-bottom:32px;
}

.rae-reward-tile {
    background:#fff;
    border-radius:var(--rae-radius);
    padding:28px 24px 24px;
    border:1.5px solid #e5e7eb;
    position:relative;
    overflow:hidden;
    transition:all .3s ease;
    display:flex;
    flex-direction:column;
}
.rae-reward-tile::before {
    content:'';
    position:absolute;
    inset:0;
    opacity:0;
    transition:opacity .3s;
    border-radius:inherit;
}
.rae-reward-tile:hover {
    transform:translateY(-6px);
    box-shadow:var(--rae-shadow-lg);
    border-color:transparent;
}

/* Solar tile */
.rae-tile-solar:hover { box-shadow:0 12px 48px rgba(243,139,42,.2); }
.rae-tile-solar .rae-tile-icon { background:linear-gradient(135deg,#fff7ed,#fed7aa); color:#c05e00; }
.rae-tile-solar .rae-tile-amount { color:#b45309; }
.rae-tile-solar .rae-tile-cta  { color:#f38b2a; }

/* Battery tile */
.rae-tile-battery:hover { box-shadow:0 12px 48px rgba(37,99,235,.18); }
.rae-tile-battery .rae-tile-icon { background:linear-gradient(135deg,#dbeafe,#bfdbfe); color:#1d4ed8; }
.rae-tile-battery .rae-tile-amount { color:#1e40af; }
.rae-tile-battery .rae-tile-cta  { color:#2563eb; }

/* Electrical tile */
.rae-tile-elec:hover { box-shadow:0 12px 48px rgba(109,40,217,.18); }
.rae-tile-elec .rae-tile-icon { background:linear-gradient(135deg,#f3e8ff,#ddd6fe); color:#6d28d9; }
.rae-tile-elec .rae-tile-amount { color:#5b21b6; }
.rae-tile-elec .rae-tile-cta  { color:#7c3aed; }

/* AC tile */
.rae-tile-ac:hover { box-shadow:0 12px 48px rgba(8,145,178,.18); }
.rae-tile-ac .rae-tile-icon { background:linear-gradient(135deg,#e0f2fe,#bae6fd); color:#0369a1; }
.rae-tile-ac .rae-tile-amount { color:#075985; }
.rae-tile-ac .rae-tile-cta  { color:#0891b2; }

.rae-tile-top {
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    margin-bottom:16px;
}
.rae-tile-icon {
    width:56px; height:56px;
    border-radius:14px;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
}
.rae-tile-badge-top {
    font-size:.68rem;
    font-weight:700;
    background:linear-gradient(135deg,#f38b2a,#fbbf24);
    color:#fff;
    padding:4px 10px;
    border-radius:20px;
    letter-spacing:.03em;
    text-transform:uppercase;
}
.rae-tile-amount {
    font-size:2.8rem;
    font-weight:800;
    line-height:1;
    margin-bottom:8px;
    letter-spacing:-.03em;
}
.rae-reward-tile h3 {
    font-size:.95rem;
    font-weight:700;
    color:var(--rae-navy);
    margin-bottom:8px;
    line-height:1.3;
}
.rae-reward-tile p {
    font-size:.8125rem;
    color:#6b7280;
    line-height:1.65;
    margin-bottom:16px;
    flex:1;
}
.rae-tile-list {
    list-style:none;
    padding:0;
    margin:0 0 20px;
    display:flex;
    flex-direction:column;
    gap:7px;
}
.rae-tile-list li {
    display:flex;
    align-items:center;
    gap:8px;
    font-size:.8rem;
    color:#374151;
    font-weight:500;
}
.rae-tile-list li i { color:#10b981; flex-shrink:0; }

.rae-tile-cta {
    display:inline-flex;
    align-items:center;
    gap:6px;
    font-size:.8125rem;
    font-weight:700;
    text-decoration:none;
    padding:10px 18px;
    border-radius:8px;
    background:rgba(243,139,42,.06);
    transition:all .2s;
    margin-top:auto;
}
.rae-tile-solar  .rae-tile-cta { background:rgba(243,139,42,.07); }
.rae-tile-battery .rae-tile-cta{ background:rgba(37,99,235,.07);  }
.rae-tile-elec    .rae-tile-cta{ background:rgba(109,40,217,.07); }
.rae-tile-ac      .rae-tile-cta{ background:rgba(8,145,178,.07);  }

.rae-tile-cta:hover { background:rgba(243,139,42,.15); transform:translateX(3px); }

/* Bonus strip */
.rae-bonus-strip {
    background:linear-gradient(135deg,#0b1c2e 0%,#0f2540 100%);
    border-radius:var(--rae-radius);
    padding:22px 28px;
    display:flex;
    align-items:center;
    gap:18px;
    color:#fff;
    flex-wrap:wrap;
}
.rae-bonus-icon {
    width:44px; height:44px;
    background:linear-gradient(135deg,#f38b2a,#e07620);
    border-radius:10px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    flex-shrink:0;
    animation:raePulse 3s ease-in-out infinite;
}
.rae-bonus-text {
    flex:1;
    font-size:.9rem;
    color:rgba(255,255,255,.8);
    line-height:1.6;
}
.rae-bonus-text strong { color:#fff; }
.rae-bonus-link {
    display:inline-flex;
    align-items:center;
    gap:6px;
    background:rgba(243,139,42,.15);
    border:1px solid rgba(243,139,42,.3);
    color:#fbbf24;
    font-size:.83rem;
    font-weight:700;
    padding:8px 16px;
    border-radius:8px;
    text-decoration:none;
    transition:all .2s;
    flex-shrink:0;
}
.rae-bonus-link:hover { background:rgba(243,139,42,.25); color:#fbbf24; }

/* ================================================================
   SECTION 4 — FORMS
   ================================================================ */
.rae-forms-section {
    background:linear-gradient(180deg,#fff 0%,#f9fafb 100%);
    padding:clamp(60px,8vw,100px) 0;
}

.rae-forms-grid {
    display:grid;
    grid-template-columns:1fr auto 1fr;
    gap:20px;
    align-items:start;
}

/* Form card */
.rae-form-card {
    background:#fff;
    border-radius:20px;
    border:1.5px solid #e5e7eb;
    overflow:hidden;
    box-shadow:0 4px 30px rgba(0,0,0,.06);
    transition:box-shadow .3s;
}
.rae-form-card:hover {
    box-shadow:0 8px 48px rgba(0,0,0,.1);
}

.rae-form-card-header {
    display:flex;
    align-items:center;
    gap:14px;
    padding:24px 28px;
    background:linear-gradient(135deg,#0b1c2e 0%,#0f2540 100%);
    color:#fff;
}
.rae-form-icon {
    width:48px; height:48px;
    background:linear-gradient(135deg,#f38b2a,#e07620);
    border-radius:12px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    flex-shrink:0;
    box-shadow:0 6px 20px rgba(243,139,42,.35);
}
.rae-form-icon-friend {
    background:linear-gradient(135deg,#10b981,#059669);
    box-shadow:0 6px 20px rgba(16,185,129,.35);
}
.rae-form-card-header h3 {
    font-size:1.1rem;
    font-weight:700;
    color:#fff;
    margin:0 0 3px;
}
.rae-form-card-header p {
    font-size:.8125rem;
    color:rgba(255,255,255,.6);
    margin:0;
}

/* Form itself */
.rae-form {
    padding:28px;
    display:flex;
    flex-direction:column;
    gap:18px;
}

.rae-field-row {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
}

.rae-field {
    display:flex;
    flex-direction:column;
    gap:6px;
}
.rae-field label {
    font-size:.82rem;
    font-weight:600;
    color:#374151;
}
.rae-field label span[aria-hidden] { color:#ef4444; margin-left:2px; }
.rae-optional { color:#9ca3af; font-weight:400; }

/* Input wrapper */
.rae-input-wrap, .rae-select-wrap, .rae-textarea-wrap {
    position:relative;
    display:flex;
    align-items:center;
}
.rae-input-icon {
    position:absolute;
    left:13px;
    color:#9ca3af;
    pointer-events:none;
    flex-shrink:0;
}
.rae-select-chevron {
    position:absolute;
    right:13px;
    color:#9ca3af;
    pointer-events:none;
}

.rae-input-wrap input,
.rae-select-wrap select,
.rae-textarea-wrap textarea {
    width:100%;
    padding:11px 14px 11px 40px;
    border:1.5px solid #d1d5db;
    border-radius:10px;
    font-size:.875rem;
    font-family:inherit;
    color:#111827;
    background:#fafafa;
    transition:all .2s ease;
    outline:none;
    appearance:none;
    -webkit-appearance:none;
}
.rae-textarea-wrap textarea {
    padding:12px 14px;
    resize:vertical;
    min-height:90px;
}
.rae-select-wrap select { padding-right:36px; cursor:pointer; }

.rae-input-wrap input:focus,
.rae-select-wrap select:focus,
.rae-textarea-wrap textarea:focus {
    border-color:#f38b2a;
    background:#fff;
    box-shadow:0 0 0 3px rgba(243,139,42,.12);
}
.rae-input-wrap input.rae-invalid,
.rae-select-wrap select.rae-invalid {
    border-color:#ef4444;
    box-shadow:0 0 0 3px rgba(239,68,68,.1);
}
.rae-input-wrap input::placeholder { color:#c4c9d4; }

.rae-field-error {
    font-size:.75rem;
    color:#ef4444;
    min-height:16px;
    display:block;
}

/* Secure note */
.rae-secure-note {
    display:flex;
    align-items:center;
    gap:7px;
    font-size:.75rem;
    color:#6b7280;
    background:rgba(16,185,129,.05);
    border:1px solid rgba(16,185,129,.15);
    border-radius:8px;
    padding:9px 13px;
}
.rae-secure-note i { color:#10b981; flex-shrink:0; }

/* Checkbox */
.rae-checkbox-label {
    display:flex;
    align-items:flex-start;
    gap:10px;
    cursor:pointer;
    font-size:.82rem;
    color:#374151;
    line-height:1.5;
    user-select:none;
}
.rae-checkbox-label input[type=checkbox] {
    position:absolute;
    opacity:0;
    width:0;
    height:0;
}
.rae-checkbox-custom {
    width:20px; height:20px;
    border:2px solid #d1d5db;
    border-radius:5px;
    flex-shrink:0;
    margin-top:1px;
    transition:all .2s;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#fff;
}
.rae-checkbox-label input:checked ~ .rae-checkbox-custom {
    background:#f38b2a;
    border-color:#f38b2a;
}
.rae-checkbox-label input:checked ~ .rae-checkbox-custom::after {
    content:'✓';
    font-size:.7rem;
    color:#fff;
    font-weight:700;
}
.rae-checkbox-text span[aria-hidden] { color:#ef4444; }

/* Submit button */
.rae-submit-btn {
    width:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    background:linear-gradient(135deg,#f38b2a 0%,#e07620 100%);
    color:#fff;
    font-size:1rem;
    font-weight:700;
    padding:16px 28px;
    border-radius:12px;
    border:none;
    cursor:pointer;
    transition:all .25s ease;
    box-shadow:0 6px 24px rgba(243,139,42,.4);
    letter-spacing:.01em;
    margin-top:6px;
}
.rae-submit-btn:hover:not(:disabled) {
    background:linear-gradient(135deg,#e07620 0%,#c96c10 100%);
    transform:translateY(-2px);
    box-shadow:0 10px 36px rgba(243,139,42,.5);
}
.rae-submit-btn:disabled {
    opacity:.7;
    cursor:not-allowed;
    transform:none;
}

/* Success message */
.rae-success-msg {
    text-align:center;
    padding:32px 24px;
    background:linear-gradient(135deg,rgba(16,185,129,.06),rgba(16,185,129,.02));
    border:2px solid rgba(16,185,129,.2);
    border-radius:16px;
    animation:raeFadeUp .5s ease;
}
.rae-success-icon { color:#10b981; margin-bottom:12px; }
.rae-success-msg h4 {
    font-size:1.2rem;
    font-weight:700;
    color:var(--rae-navy);
    margin-bottom:10px;
}
.rae-success-msg p {
    font-size:.88rem;
    color:#4b5563;
    line-height:1.7;
    margin-bottom:16px;
}
.rae-success-ref {
    font-size:.83rem;
    color:#6b7280;
    background:rgba(16,185,129,.08);
    padding:8px 16px;
    border-radius:8px;
    display:inline-block;
}
.rae-success-ref strong { color:#059669; }

/* Forms connector */
.rae-forms-connector {
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:0;
    padding-top:120px;
}
.rae-connector-line {
    width:2px;
    height:60px;
    background:linear-gradient(180deg,transparent,#e5e7eb 30%,#e5e7eb 70%,transparent);
}
.rae-connector-bubble {
    width:44px; height:44px;
    background:linear-gradient(135deg,#f38b2a,#e07620);
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    box-shadow:0 6px 24px rgba(243,139,42,.4);
    flex-shrink:0;
    animation:raePulse 2.5s ease-in-out infinite;
}

/* Trust row */
.rae-form-trust {
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    gap:24px;
    margin-top:32px;
    padding:18px 24px;
    background:rgba(16,185,129,.04);
    border:1px solid rgba(16,185,129,.12);
    border-radius:12px;
}
.rae-trust-item {
    display:flex;
    align-items:center;
    gap:7px;
    font-size:.8rem;
    font-weight:600;
    color:#374151;
}
.rae-trust-item i { color:#10b981; }

/* ================================================================
   SECTION 5 — WHY ARES ENERGY
   ================================================================ */
.rae-why-section {
    position:relative;
    background:linear-gradient(145deg,#040e1a 0%,#0b1c2e 100%);
    padding:clamp(70px,9vw,110px) 0;
    overflow:hidden;
    color:#fff;
}
.rae-why-bg {
    position:absolute;
    inset:0;
    background:radial-gradient(ellipse 60% 70% at 90% 50%,rgba(243,139,42,.06),transparent 65%);
    pointer-events:none;
}
.rae-why-inner {
    display:grid;
    grid-template-columns:1fr 360px;
    gap:60px;
    align-items:start;
    position:relative;
    z-index:1;
}
.rae-why-text .rae-section-header {
    text-align:left;
    margin-left:0;
    margin-bottom:24px;
}
.rae-why-text h2 {
    font-size:clamp(1.8rem,3.2vw,2.5rem);
    font-weight:800;
    color:#fff;
    line-height:1.15;
    margin-bottom:18px;
    letter-spacing:-.02em;
}
.rae-why-text > p {
    font-size:clamp(.9rem,1.2vw,1rem);
    color:rgba(255,255,255,.65);
    line-height:1.8;
    margin-bottom:28px;
}
.rae-why-list {
    list-style:none;
    padding:0;
    margin:0 0 32px;
    display:flex;
    flex-direction:column;
    gap:18px;
}
.rae-why-list li {
    display:flex;
    gap:14px;
    align-items:flex-start;
}
.rae-why-icon {
    width:38px; height:38px;
    background:rgba(243,139,42,.12);
    border:1px solid rgba(243,139,42,.25);
    border-radius:10px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#f38b2a;
    flex-shrink:0;
}
.rae-why-list li strong {
    display:block;
    font-size:.9rem;
    font-weight:700;
    color:#fff;
    margin-bottom:3px;
}
.rae-why-list li span {
    font-size:.82rem;
    color:rgba(255,255,255,.55);
    line-height:1.6;
}

/* Stats */
.rae-why-stats {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
    align-self:center;
}
.rae-stat-card {
    background:rgba(255,255,255,.04);
    border:1px solid rgba(255,255,255,.08);
    border-radius:14px;
    padding:24px 20px;
    text-align:center;
    transition:all .3s;
}
.rae-stat-card:hover {
    background:rgba(243,139,42,.08);
    border-color:rgba(243,139,42,.2);
    transform:translateY(-4px);
}
.rae-stat-num {
    font-size:2.2rem;
    font-weight:800;
    background:linear-gradient(135deg,#f38b2a,#fbbf24);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
    line-height:1;
    margin-bottom:6px;
}
.rae-stat-label {
    font-size:.78rem;
    color:rgba(255,255,255,.5);
    font-weight:500;
}

/* ================================================================
   SECTION 6 — FAQ
   ================================================================ */
.rae-faq-section {
    background:#fff;
    padding:clamp(60px,8vw,100px) 0;
}

.rae-faq-grid {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
    max-width:960px;
    margin:0 auto;
}

.rae-faq-item {
    border:1px solid #e2e8f0;
    border-radius:10px;
    overflow:hidden;
    transition:border-color .2s, box-shadow .2s;
    position:relative;
    background:#fff;
}
.rae-faq-item:hover { border-color:rgba(243,139,42,.3); box-shadow:0 4px 12px rgba(0,0,0,.06); }
.rae-faq-item.rae-faq-open { border-color:#f38b2a; box-shadow:0 4px 16px rgba(243,139,42,.10); }

.rae-faq-q {
    width:100%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:16px 20px;
    min-height:52px;
    background:#fff;
    border:none;
    cursor:pointer;
    text-align:left;
    font-size:.9rem;
    font-weight:700;
    color:var(--rae-navy);
    transition:background .2s, color .2s;
}
.rae-faq-q:hover { background:#fff8f0; }
.rae-faq-item.rae-faq-open .rae-faq-q { background:#fff8f0; color:#f38b2a; }
.rae-faq-icon {
    flex-shrink:0;
    color:#9ca3af;
    transition:transform .3s ease, color .2s;
}
.rae-faq-item.rae-faq-open .rae-faq-icon { transform:rotate(180deg); color:#f38b2a; }

.rae-faq-a {
    max-height:0;
    overflow:hidden;
    transition:max-height .35s ease, padding .25s ease, opacity .25s ease;
    padding:0 20px;
    opacity:0;
}
.rae-faq-item.rae-faq-open .rae-faq-a {
    max-height:1000px;
    padding:0 20px 18px;
    opacity:1;
}
.rae-faq-a p {
    font-size:.875rem;
    color:#475569;
    line-height:1.75;
    margin:0;
    border-top:1px solid #f3f4f6;
    padding-top:.875rem;
}
.rae-faq-a a { color:#f38b2a; font-weight:600; text-decoration:none; }
.rae-faq-a a:hover { text-decoration:underline; }

/* ================================================================
   SECTION 7 — FINAL CTA
   ================================================================ */
.rae-final-cta {
    position:relative;
    background:linear-gradient(135deg,#0b1c2e 0%,#f38b2a 120%);
    padding:clamp(70px,9vw,100px) 0;
    overflow:hidden;
    text-align:center;
    color:#fff;
}
.rae-final-bg { position:absolute; inset:0; pointer-events:none; }
.rae-final-orb {
    position:absolute;
    border-radius:50%;
    filter:blur(60px);
}
.rae-final-orb-1 {
    width:500px; height:500px;
    background:rgba(243,139,42,.2);
    top:-200px; left:-100px;
    animation:raePulse 8s ease-in-out infinite;
}
.rae-final-orb-2 {
    width:400px; height:400px;
    background:rgba(16,185,129,.12);
    bottom:-150px; right:-80px;
    animation:raePulse 6s ease-in-out infinite;
    animation-delay:3s;
}
.rae-final-inner {
    position:relative;
    z-index:1;
    max-width:680px;
    margin:0 auto;
}
.rae-final-icon {
    width:72px; height:72px;
    background:rgba(255,255,255,.12);
    border:2px solid rgba(255,255,255,.2);
    border-radius:20px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fbbf24;
    margin:0 auto 24px;
    animation:raePulse 3s ease-in-out infinite;
}
.rae-final-inner h2 {
    font-size:clamp(1.9rem,3.8vw,2.9rem);
    font-weight:800;
    color:#fff;
    line-height:1.15;
    margin-bottom:18px;
    letter-spacing:-.02em;
}
.rae-final-inner > p {
    font-size:clamp(.9rem,1.3vw,1.05rem);
    color:rgba(255,255,255,.72);
    line-height:1.8;
    margin-bottom:36px;
}
.rae-final-actions {
    display:flex;
    align-items:center;
    justify-content:center;
    gap:16px;
    flex-wrap:wrap;
    margin-bottom:22px;
}
.rae-final-small {
    font-size:.8rem;
    color:rgba(255,255,255,.45);
    margin:0;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width:1200px) {
    .rae-hero-inner { grid-template-columns:1fr 400px; gap:40px; }
    .rae-reward-grid { grid-template-columns:repeat(2,1fr); }
}

@media (max-width:1024px) {
    .rae-hero-inner { grid-template-columns:1fr; }
    .rae-breadcrumb { grid-column:1; }
    .rae-hero-visual { display:none; }
    .rae-why-inner { grid-template-columns:1fr; gap:40px; }
    .rae-why-stats { grid-template-columns:repeat(4,1fr); }
    .rae-forms-grid { grid-template-columns:1fr 1fr; }
    .rae-forms-connector { display:none; }
}

@media (max-width:860px) {
    .rae-steps { flex-direction:column; align-items:stretch; }
    .rae-step-connector { display:none; }
    .rae-step { padding:24px 20px; }
    .rae-reward-grid { grid-template-columns:1fr 1fr; gap:14px; }
    .rae-forms-grid { grid-template-columns:1fr; gap:24px; }
    .rae-faq-grid { grid-template-columns:1fr; }
    .rae-bonus-strip { flex-direction:column; text-align:center; gap:14px; }
    .rae-why-stats { grid-template-columns:repeat(2,1fr); }
}

@media (max-width:640px) {
    .rae-hero-h1 { font-size:2.1rem; }
    .rae-hero-ctas { flex-direction:column; }
    .rae-hero-ctas a { width:100%; justify-content:center; }
    .rae-reward-pills { gap:8px; }
    .rae-pill { font-size:.73rem; padding:6px 12px; }
    .rae-reward-grid { grid-template-columns:1fr; }
    .rae-field-row { grid-template-columns:1fr; }
    .rae-hero-proof { gap:12px; flex-wrap:wrap; }
    .rae-proof-sep { display:none; }
    .rae-form-trust { gap:14px; }
    .rae-final-actions { flex-direction:column; }
    .rae-final-actions a { width:100%; justify-content:center; }
    .rae-why-stats { grid-template-columns:1fr 1fr; }
    .rae-section-header h2 { font-size:1.65rem; }
    .rae-img-placeholders { grid-template-columns:repeat(3,1fr); max-width:100%; }
    .rae-img-ph { padding:14px 6px; }
    .rae-trust-strip .rae-proof-item span { font-size:.74rem; }
}

@media (max-width:400px) {
    .rae-hero { padding:70px 0 60px; }
    .rae-forms-section { padding:50px 0; }
    .rae-form { padding:20px; }
    .rae-form-card-header { padding:20px; }
}
