
/* ==========================================================
   SEFTON HOMEPAGE PREMIUM v4
   Page-specific enhancement layer.
   Keep existing app.css; load this file after it.
   ========================================================== */

:root{
    --hp-red:#94191e;
    --hp-red-dark:#641015;
    --hp-red-bright:#ae2227;
    --hp-navy:#0e2237;
    --hp-navy-2:#152f49;
    --hp-gold:#caa44f;
    --hp-gold-soft:#ead7a4;
    --hp-cream:#f7f4ed;
    --hp-white:#ffffff;
    --hp-line:rgba(255,255,255,.13);
    --hp-shadow:0 20px 60px rgba(8,23,37,.16);
}

/* ---------- TICKER ---------- */
.classic-ticker{
    position:relative;
    z-index:8;
    border-bottom:1px solid rgba(202,164,79,.22);
}
.classic-ticker .ticker-label{
    font-weight:900;
}
.classic-ticker .ticker-track span{
    display:flex;
    align-items:center;
    gap:10px;
}
.classic-ticker .ticker-track b{
    opacity:.92;
}

/* ---------- HERO ---------- */
.hero-classic{
    min-height:690px;
    isolation:isolate;
    background:#0b2035;
}
.hero-classic:before{
    content:"";
    position:absolute;
    inset:0;
    z-index:1;
    pointer-events:none;
    background:
        linear-gradient(90deg,rgba(82,10,14,.94) 0%,rgba(104,17,22,.73) 35%,rgba(11,32,53,.33) 68%,rgba(11,32,53,.48) 100%),
        linear-gradient(180deg,transparent 58%,rgba(4,17,29,.54) 100%);
}
.hero-classic:after{
    content:"";
    position:absolute;
    width:520px;
    height:520px;
    right:-120px;
    top:-150px;
    border-radius:50%;
    border:1px solid rgba(202,164,79,.17);
    box-shadow:
        0 0 0 90px rgba(202,164,79,.025),
        0 0 0 180px rgba(202,164,79,.02);
    z-index:2;
    pointer-events:none;
    animation:hpOrbitFloat 12s ease-in-out infinite alternate;
}
.hero-photo{
    z-index:0;
    filter:saturate(.96) contrast(1.02);
}
.hero-shade,
.hero-lines,
.hero-orbit{
    z-index:2;
}
.hero-content{
    z-index:4;
    padding-top:108px;
    max-width:760px;
}
.hero-kicker{
    display:inline-flex;
    align-items:center;
    gap:10px;
    margin-bottom:20px;
    padding:9px 14px;
    border:1px solid rgba(255,255,255,.22);
    border-radius:999px;
    background:rgba(7,23,38,.22);
    backdrop-filter:blur(8px);
    color:#fff;
    font-size:9px;
    font-weight:800;
    letter-spacing:.16em;
}
.hero-kicker span{
    color:var(--hp-gold);
}
.hero-classic .eyebrow{
    color:#e1bb65;
}
.hero-classic h1{
    max-width:760px;
    font-family:Georgia,serif;
    font-size:clamp(48px,5.2vw,78px);
    font-weight:400;
    line-height:.98;
    letter-spacing:-.045em;
    text-wrap:balance;
}
.hero-description{
    max-width:650px;
    font-size:18px;
    line-height:1.65;
    color:#f3e7e7;
}
.hero-actions{
    margin-top:30px;
}
.premium-button{
    min-height:52px;
    padding-inline:25px;
    border-radius:6px;
    box-shadow:0 14px 30px rgba(5,20,33,.18);
}
.hero-assurance{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:28px;
}
.hero-assurance span{
    padding:8px 11px;
    border:1px solid rgba(255,255,255,.14);
    border-radius:999px;
    background:rgba(4,18,31,.22);
    color:#e9edf0;
    font-size:9px;
    backdrop-filter:blur(8px);
}

/* ---------- HERO WORLD CARD ---------- */
.hero-world-card{
    position:absolute;
    right:5%;
    top:72px;
    z-index:5;
    width:min(330px,29vw);
    padding:24px;
    border:1px solid rgba(223,190,111,.35);
    border-radius:18px;
    background:
        linear-gradient(160deg,rgba(15,47,70,.92),rgba(9,31,49,.94));
    box-shadow:0 28px 70px rgba(2,15,26,.34);
    backdrop-filter:blur(13px);
    overflow:hidden;
}
.hero-world-card:before{
    content:"";
    position:absolute;
    width:210px;
    height:210px;
    right:-110px;
    top:-120px;
    border-radius:50%;
    border:1px solid rgba(202,164,79,.24);
    box-shadow:0 0 0 38px rgba(202,164,79,.03),0 0 0 76px rgba(202,164,79,.025);
}
.hero-card-top{
    position:relative;
    z-index:2;
}
.mini-globe{
    transform:scale(.93);
}
.hero-card-index{
    color:#d9c28a;
    font-weight:800;
}
.hero-world-card h3{
    position:relative;
    z-index:2;
    font-family:Georgia,serif;
    font-weight:400;
    line-height:1.08;
    font-size:27px;
}
.hero-world-card>p:not(.eyebrow){
    position:relative;
    z-index:2;
    color:#bed0dc;
    line-height:1.65;
}
.hero-premium-status{
    position:relative;
    z-index:2;
    margin-top:19px;
    padding:13px;
    border:1px solid rgba(218,183,100,.24);
    border-radius:12px;
    background:rgba(4,24,39,.42);
}
.hero-premium-status-title{
    display:flex;
    align-items:center;
    gap:8px;
    padding-bottom:10px;
    margin-bottom:10px;
    border-bottom:1px solid rgba(255,255,255,.10);
}
.hero-premium-status-title strong{
    color:#e6c36f;
    font-size:8px;
    letter-spacing:.12em;
}
.live-dot{
    width:7px;
    height:7px;
    border-radius:50%;
    background:#43d98d;
    box-shadow:0 0 0 0 rgba(67,217,141,.55);
    animation:hpLivePulse 2s infinite;
}
.hero-status-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:7px;
}
.hero-status-grid span{
    min-height:60px;
    padding:8px 6px;
    border-radius:9px;
    background:rgba(255,255,255,.055);
    border:1px solid rgba(255,255,255,.07);
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    justify-content:center;
    gap:4px;
    transition:.25s ease;
}
.hero-status-grid span:hover{
    transform:translateY(-3px);
    background:rgba(255,255,255,.09);
    border-color:rgba(218,183,100,.30);
}
.hero-status-grid b{
    font-size:16px;
}
.hero-status-grid small{
    color:#e5edf2;
    font-size:7px;
    line-height:1.25;
}
.hero-card-line{
    margin-top:17px;
}
.hero-controls{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    z-index:6;
    padding-bottom:24px;
}

/* ---------- ACCOUNT STRIP ---------- */
.premium-account-strip{
    position:relative;
    z-index:6;
    min-height:112px;
    padding-top:24px;
    padding-bottom:24px;
    background:
        linear-gradient(90deg,#0b2035 0%,#102b44 60%,#0b2035 100%);
    border-top:1px solid rgba(202,164,79,.34);
    border-bottom:1px solid rgba(202,164,79,.20);
}
.premium-account-strip:before{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    background:linear-gradient(90deg,transparent,rgba(255,255,255,.02),transparent);
}
.premium-account-strip h3{
    font-size:18px;
}
.account-mini-proof{
    padding:10px 14px;
    border:1px solid rgba(255,255,255,.11);
    border-radius:999px;
    color:#d4dfe6;
    font-size:9px;
    white-space:nowrap;
}
.account-mini-proof span{
    color:#e4bd65;
}

/* ---------- STAT CARDS ---------- */
.confidence-ribbon{
    position:relative;
    gap:14px;
    padding-top:36px;
    padding-bottom:36px;
    background:#f5f3ee;
}
.confidence-ribbon article{
    position:relative;
    overflow:hidden;
    min-height:170px;
    padding:23px;
    border:1px solid #e5ded2;
    border-radius:14px;
    background:#fff;
    box-shadow:0 13px 35px rgba(17,36,48,.06);
    transition:.28s ease;
}
.confidence-ribbon article:after{
    content:"";
    position:absolute;
    width:110px;
    height:110px;
    right:-52px;
    bottom:-52px;
    border-radius:50%;
    border:1px solid rgba(202,164,79,.24);
}
.confidence-ribbon article:hover{
    transform:translateY(-5px);
    border-color:#d6c28f;
    box-shadow:0 20px 40px rgba(17,36,48,.10);
}
.confidence-icon{
    width:42px;
    height:42px;
    display:grid;
    place-items:center;
    border-radius:12px;
    background:#f7eeee;
    font-size:20px;
}
.confidence-ribbon strong{
    margin-top:18px;
    display:block;
    font-family:Georgia,serif;
    font-size:37px;
    font-weight:400;
    color:#891519;
}
.confidence-ribbon small{
    display:block;
    margin-top:4px;
    color:#62737c;
    font-size:8px;
    font-weight:800;
    letter-spacing:.13em;
}

/* ---------- PROOF STRIP ---------- */
.home-proof-strip{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:0;
    background:#fff;
    border-top:1px solid #ece6dc;
    border-bottom:1px solid #ece6dc;
}
.home-proof-strip article{
    display:grid;
    grid-template-columns:46px 1fr;
    gap:13px;
    align-items:flex-start;
    padding:26px 30px;
    border-right:1px solid #ece6dc;
}
.home-proof-strip article:last-child{
    border-right:0;
}
.home-proof-strip>article>span{
    width:44px;
    height:44px;
    display:grid;
    place-items:center;
    border-radius:12px;
    background:#f8f1f0;
    font-size:20px;
}
.home-proof-strip small,
.home-proof-strip strong,
.home-proof-strip p{
    display:block;
}
.home-proof-strip small{
    color:#9b1d21;
    font-size:7px;
    font-weight:900;
    letter-spacing:.14em;
}
.home-proof-strip strong{
    margin-top:4px;
    color:#132d3a;
    font-family:Georgia,serif;
    font-size:18px;
    font-weight:400;
}
.home-proof-strip p{
    margin:6px 0 0;
    color:#77858c;
    font-size:10px;
    line-height:1.55;
}

/* ---------- MEMBER BAND ---------- */
.premium-member-band{
    min-height:62px;
    background:#0b2035;
}
.premium-member-band>span{
    color:#fff;
    font-weight:800;
}
.premium-member-band>span:first-letter{
    color:#e1bb65;
}

/* ---------- SERVICES ---------- */
.classic-services{
    position:relative;
    overflow:hidden;
    background:
        radial-gradient(circle at 13% 5%,rgba(202,164,79,.08),transparent 20%),
        linear-gradient(145deg,#0b2035,#17324d 63%,#102943);
}
.classic-services:after{
    content:"";
    position:absolute;
    width:420px;
    height:420px;
    right:-220px;
    bottom:-230px;
    border-radius:50%;
    border:1px solid rgba(202,164,79,.15);
    box-shadow:0 0 0 70px rgba(202,164,79,.018),0 0 0 140px rgba(202,164,79,.014);
}
.classic-services .section-heading{
    position:relative;
    z-index:2;
}
.classic-services .section-heading h2{
    font-family:Georgia,serif;
    font-weight:400;
    font-size:42px;
}
.service-grid{
    position:relative;
    z-index:2;
    gap:16px;
}
.classic-services .service-card{
    min-height:220px;
    padding:25px;
    border-radius:14px;
    border:1px solid rgba(255,255,255,.10);
    background:linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.025));
    box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
}
.classic-services .service-card:before{
    content:"";
    position:absolute;
    inset:0;
    border-radius:inherit;
    opacity:0;
    background:linear-gradient(135deg,rgba(202,164,79,.10),transparent 50%);
    transition:.25s ease;
}
.classic-services .service-card:hover{
    transform:translateY(-7px);
    border-color:rgba(202,164,79,.55);
    box-shadow:0 20px 45px rgba(3,17,28,.24);
}
.classic-services .service-card:hover:before{
    opacity:1;
}
.service-emoji{
    width:48px;
    height:48px;
    flex:0 0 48px;
    display:grid;
    place-items:center;
    border:1px solid rgba(202,164,79,.18);
    border-radius:12px;
    background:rgba(202,164,79,.08);
    font-size:23px;
}
.classic-services .service-card h3{
    margin-top:4px;
    font-family:Georgia,serif;
    font-size:21px;
    font-weight:400;
}
.classic-services .service-card p{
    min-height:58px;
}
.classic-services .explore{
    display:inline-flex;
    gap:7px;
    margin-top:10px;
}

/* ---------- EDITORIAL ---------- */
.editorial-showcase{
    align-items:center;
    gap:55px;
    background:
        linear-gradient(180deg,#fff,#fbfaf7);
}
.editorial-copy h2{
    max-width:620px;
    font-family:Georgia,serif;
    font-size:44px;
    font-weight:400;
    line-height:1.08;
}
.editorial-points>div{
    transition:.22s ease;
}
.editorial-points>div:hover{
    transform:translateX(7px);
}
.photo-card{
    overflow:hidden;
    border-radius:14px;
    box-shadow:0 18px 45px rgba(14,34,46,.12);
}
.photo-card img{
    transition:transform .8s ease;
}
.photo-card:hover img{
    transform:scale(1.045);
}

/* ---------- GLOBAL EXPERIENCE ---------- */
.global-experience{
    position:relative;
    overflow:hidden;
    background:
        radial-gradient(circle at 16% 55%,rgba(202,164,79,.08),transparent 28%),
        #0b2338;
}
.global-experience:after{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    background-image:
        linear-gradient(rgba(255,255,255,.023) 1px,transparent 1px),
        linear-gradient(90deg,rgba(255,255,255,.023) 1px,transparent 1px);
    background-size:74px 74px;
    mask-image:linear-gradient(to bottom,transparent,black 20%,black 80%,transparent);
}
.global-visual,
.global-copy{
    position:relative;
    z-index:2;
}
.global-core{
    box-shadow:0 0 55px rgba(202,164,79,.18);
}
.global-copy h2{
    font-family:Georgia,serif;
    font-size:43px;
    font-weight:400;
}
.global-feature-list article{
    transition:.2s ease;
}
.global-feature-list article:hover{
    transform:translateX(7px);
}

/* ---------- NEW BANKING EXPERIENCE ---------- */
.home-banking-experience{
    background:#f7f5f0;
}
.home-banking-experience-head{
    display:grid;
    grid-template-columns:1.2fr .8fr;
    gap:70px;
    align-items:end;
    margin-bottom:34px;
}
.home-banking-experience-head h2{
    margin:0;
    max-width:760px;
    font-family:Georgia,serif;
    font-size:43px;
    font-weight:400;
    line-height:1.08;
    color:#142e3a;
}
.home-banking-experience-head>p{
    margin:0;
    color:#75838a;
    font-size:13px;
    line-height:1.7;
}
.home-banking-experience-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:14px;
}
.experience-card{
    position:relative;
    min-height:280px;
    padding:24px;
    overflow:hidden;
    border:1px solid #e3ddd3;
    border-radius:14px;
    background:#fff;
    box-shadow:0 12px 34px rgba(14,34,46,.05);
    transition:.26s ease;
}
.experience-card:after{
    content:"";
    position:absolute;
    width:150px;
    height:150px;
    right:-82px;
    bottom:-78px;
    border-radius:50%;
    border:1px solid rgba(148,25,30,.12);
}
.experience-card:hover{
    transform:translateY(-6px);
    border-color:#d5bd84;
    box-shadow:0 20px 40px rgba(14,34,46,.10);
}
.experience-number{
    position:absolute;
    right:18px;
    top:17px;
    color:#b7a995;
    font-family:Georgia,serif;
    font-size:15px;
}
.experience-icon{
    width:48px;
    height:48px;
    display:grid;
    place-items:center;
    border-radius:12px;
    background:#f8eded;
    font-size:22px;
}
.experience-card h3{
    margin:22px 0 9px;
    color:#85161a;
    font-family:Georgia,serif;
    font-size:20px;
    font-weight:400;
}
.experience-card p{
    min-height:92px;
    margin:0;
    color:#76848a;
    font-size:11px;
    line-height:1.65;
}
.experience-card a{
    position:relative;
    z-index:2;
    display:inline-block;
    margin-top:13px;
    color:#85161a;
    font-size:9px;
    font-weight:900;
}

/* ---------- FOUNDER / FEATURED ---------- */
.founder-message{
    border-top:1px solid #ece5da;
}
.founder-heading h2{
    font-family:Georgia,serif;
    font-weight:400;
}
.founder-portrait-card{
    border-radius:14px;
}
.founder-portrait-frame{
    overflow:hidden;
    border-radius:12px;
}
.founder-portrait-frame img{
    transition:transform .8s ease;
}
.founder-portrait-frame:hover img{
    transform:scale(1.035);
}
.service-editorial-showcase{
    border-top:1px solid #e0c16f;
    border-bottom:1px solid #e0c16f;
}
.service-editorial-content h2{
    max-width:850px;
    text-wrap:balance;
}

/* ---------- STORY / VALUES ---------- */
.classic-story,
.classic-serve,
.classic-vision,
.classic-values,
.classic-insights,
.classic-faq{
    position:relative;
}
.classic-story .story-points article,
.classic-values .value-card,
.classic-vision .feature-card,
.classic-insights .feature-card{
    border-radius:13px;
}
.classic-story .story-points article,
.classic-values .value-card{
    transition:.22s ease;
}
.classic-story .story-points article:hover,
.classic-values .value-card:hover{
    transform:translateY(-4px);
    box-shadow:0 16px 36px rgba(14,34,46,.08);
}
.classic-coast{
    min-height:500px;
}
.classic-coast>div{
    max-width:720px;
}
.classic-coast h2{
    font-size:clamp(40px,5vw,68px);
}

/* ---------- ANIMATION ---------- */
@keyframes hpLivePulse{
    0%{box-shadow:0 0 0 0 rgba(67,217,141,.55)}
    70%{box-shadow:0 0 0 9px rgba(67,217,141,0)}
    100%{box-shadow:0 0 0 0 rgba(67,217,141,0)}
}
@keyframes hpOrbitFloat{
    from{transform:translate3d(0,0,0) rotate(0deg)}
    to{transform:translate3d(-18px,18px,0) rotate(8deg)}
}

/* ---------- RESPONSIVE ---------- */
@media(max-width:1120px){
    .hero-world-card{
        width:310px;
        right:3%;
    }
    .hero-content{
        max-width:650px;
    }
    .home-banking-experience-grid{
        grid-template-columns:repeat(2,1fr);
    }
    .home-banking-experience-head{
        grid-template-columns:1fr;
        gap:16px;
    }
}
@media(max-width:900px){
    .hero-classic{
        min-height:760px;
    }
    .hero-content{
        padding-top:75px;
        padding-right:6%;
    }
    .hero-world-card{
        position:relative;
        top:auto;
        right:auto;
        width:auto;
        margin:0 5% 95px;
    }
    .hero-controls{
        position:absolute;
    }
    .home-proof-strip{
        grid-template-columns:1fr;
    }
    .home-proof-strip article{
        border-right:0;
        border-bottom:1px solid #ece6dc;
    }
    .home-proof-strip article:last-child{
        border-bottom:0;
    }
}
@media(max-width:720px){
    .hero-classic{
        min-height:auto;
        padding-bottom:75px;
    }
    .hero-classic:after{
        display:none;
    }
    .hero-content{
        padding:58px 20px 35px;
    }
    .hero-classic h1{
        font-size:46px;
    }
    .hero-description{
        font-size:15px;
    }
    .hero-actions{
        align-items:flex-start;
        flex-direction:column;
        gap:15px;
    }
    .hero-assurance{
        gap:7px;
    }
    .hero-world-card{
        margin:0 16px 25px;
        padding:19px;
    }
    .hero-status-grid{
        grid-template-columns:1fr;
    }
    .hero-status-grid span{
        min-height:48px;
        flex-direction:row;
        align-items:center;
        gap:8px;
    }
    .premium-account-strip{
        align-items:flex-start;
    }
    .account-mini-proof{
        white-space:normal;
    }
    .confidence-ribbon{
        grid-template-columns:1fr 1fr;
    }
    .home-banking-experience-grid{
        grid-template-columns:1fr;
    }
    .home-banking-experience-head h2{
        font-size:34px;
    }
}
@media(max-width:520px){
    .confidence-ribbon{
        grid-template-columns:1fr;
    }
    .confidence-ribbon article{
        min-height:145px;
    }
    .home-proof-strip article{
        padding:22px 18px;
    }
    .hero-classic h1{
        font-size:39px;
    }
    .classic-services .section-heading h2,
    .editorial-copy h2,
    .global-copy h2{
        font-size:34px;
    }
}

@media(prefers-reduced-motion:reduce){
    .hero-classic:after,
    .live-dot{
        animation:none!important;
    }
    .classic-services .service-card,
    .experience-card,
    .photo-card img{
        transition:none!important;
    }
}
