
/* frontend/static/css/index.css */

/* frontend/static/css/index.css */

/* ============================================================
   AZIEZA
   PUBLIC LANDING PAGE
   frontend/static/css/index.css
============================================================ */

/* RESET */
*,*::before,*::after{box-sizing:border-box;}

html{scroll-behavior:smooth;}

body{
    margin:0;
    min-width:320px;
    background:#fff;
    color:#171717;
    font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    line-height:1.5;
    overflow-x:hidden;
}

body,button,input,textarea,select{font:inherit;}

img{display:block;max-width:100%;}

a{color:inherit;text-decoration:none;}

button{border:0;}

/* VARIABLES */
:root{
    --bg:#fff;
    --surface:#fafafa;
    --surface-soft:#fff7f8;
    --text:#171717;
    --muted:#707070;
    --muted-light:#969696;
    --border:#ebebeb;
    --border-strong:#dedede;
    --accent:#e11d48;
    --accent-dark:#be123c;
    --accent-soft:#fff0f3;
    --success:#22c55e;
    --max-width:1200px;
    --radius-sm:12px;
    --radius:20px;
    --radius-lg:30px;
    --shadow-sm:0 8px 30px rgba(0,0,0,.06);
    --shadow:0 25px 80px rgba(0,0,0,.10);
}

/* ACCESSIBILITY */
.skip-link{
    position:fixed;
    top:10px;
    left:10px;
    z-index:9999;
    padding:10px 15px;
    border-radius:10px;
    background:var(--text);
    color:#fff;
    transform:translateY(-150%);
}

.skip-link:focus{transform:translateY(0);}

/* SHARED CONTAINER */
.section-container{
    width:min(var(--max-width),calc(100% - 40px));
    margin-inline:auto;
}

/* HEADER */
.site-header{
    position:sticky;
    top:0;
    z-index:200;
    width:100%;
    border-bottom:1px solid transparent;
    background:rgba(255,255,255,.88);
    backdrop-filter:blur(18px);
    transition:border-color .2s ease,box-shadow .2s ease;
}

.site-header.is-scrolled{
    border-color:rgba(0,0,0,.07);
    box-shadow:0 8px 30px rgba(0,0,0,.04);
}

.header-inner{
    width:min(var(--max-width),calc(100% - 40px));
    height:72px;
    margin-inline:auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.brand{
    display:inline-flex;
    align-items:center;
    gap:10px;
    flex-shrink:0;
}

.brand-logo{
    width:38px;
    height:38px;
    object-fit:contain;
}

.brand-name{
    font-size:22px;
    font-weight:850;
    letter-spacing:-.04em;
}

.desktop-nav{
    display:flex;
    align-items:center;
    gap:26px;
    font-size:14px;
    font-weight:650;
}

.desktop-nav>a:not(.nav-button){
    color:#555;
    transition:color .2s ease;
}

.desktop-nav>a:not(.nav-button):hover{color:var(--text);}

.nav-signin{margin-left:8px;}

.nav-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:11px 16px;
    border-radius:12px;
    background:var(--accent);
    color:#fff;
    transition:transform .2s ease,background .2s ease;
}

.nav-button:hover{
    background:var(--accent-dark);
    transform:translateY(-1px);
}

.nav-button svg{
    width:16px;
    height:16px;
}

.mobile-menu-button{
    display:none;
    width:42px;
    height:42px;
    align-items:center;
    justify-content:center;
    border-radius:10px;
    background:transparent;
    color:var(--text);
    cursor:pointer;
}

.mobile-menu-button svg{
    width:22px;
    height:22px;
    color:currentColor;
    stroke:currentColor;
}
/* MOBILE MENU */
.mobile-menu{display:none;}

.mobile-menu.is-open{
    display:block;
    position:fixed;
    top:72px;
    left:0;
    right:0;
    z-index:190;
    padding:14px 0 22px;
    border-bottom:1px solid var(--border);
    background:rgba(255,255,255,.98);
    backdrop-filter:blur(18px);
    box-shadow:0 18px 40px rgba(0,0,0,.08);
}

.mobile-menu-inner{
    width:min(var(--max-width),calc(100% - 40px));
    margin-inline:auto;
    display:grid;
    gap:3px;
}

.mobile-menu a{
    padding:13px 4px;
    color:var(--text);
    font-size:15px;
    font-weight:650;
}

.mobile-menu .mobile-join{
    margin-top:8px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:14px;
    border-radius:12px;
    background:var(--accent);
    color:#fff;
}

.mobile-join svg{
    width:17px;
    height:17px;
}

/* HERO */
.hero{
    position:relative;
    overflow:hidden;
}

.hero-background{
    position:absolute;
    inset:0;
    pointer-events:none;
    background:
        radial-gradient(circle at 72% 38%,rgba(225,29,72,.09),transparent 30%),
        radial-gradient(circle at 10% 90%,rgba(225,29,72,.04),transparent 28%);
}

.hero-grid{
    position:relative;
    z-index:1;
    width:min(var(--max-width),calc(100% - 40px));
    min-height:680px;
    margin-inline:auto;
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(420px,.9fr);
    align-items:center;
    gap:65px;
    padding:70px 0 90px;
}

.hero-content{max-width:670px;}

.hero-badge{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:8px 13px;
    border:1px solid #f2d5dc;
    border-radius:999px;
    background:rgba(255,255,255,.72);
    color:var(--accent-dark);
    font-size:12px;
    font-weight:750;
}

.badge-dot{
    width:7px;
    height:7px;
    border-radius:50%;
    background:var(--accent);
}

.hero h1{
    margin:23px 0 22px;
    max-width:720px;
    font-size:clamp(48px,6vw,80px);
    line-height:.98;
    letter-spacing:-.065em;
}

.hero h1 span{
    display:block;
    color:var(--accent);
}

.hero-text{
    max-width:610px;
    margin:0;
    color:var(--muted);
    font-size:18px;
    line-height:1.75;
}

.hero-actions{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:32px;
}

.primary-button,
.secondary-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    min-height:50px;
    padding:13px 20px;
    border-radius:13px;
    font-size:14px;
    font-weight:750;
    transition:transform .2s ease,background .2s ease,border-color .2s ease,box-shadow .2s ease;
}

.primary-button{
    background:var(--accent);
    color:#fff;
    box-shadow:0 12px 25px rgba(225,29,72,.18);
}

.primary-button:hover{
    background:var(--accent-dark);
    transform:translateY(-2px);
}

.secondary-button{
    border:1px solid var(--border);
    background:#fff;
    color:var(--text);
}

.secondary-button:hover{
    border-color:var(--border-strong);
    background:var(--surface);
}

.primary-button svg,
.secondary-button svg{
    width:17px;
    height:17px;
}

.hero-trust{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:13px;
    margin-top:23px;
    color:#7c7c7c;
    font-size:12px;
}

.trust-item{
    display:inline-flex;
    align-items:center;
    gap:6px;
}

.trust-item svg{
    width:15px;
    height:15px;
    color:var(--accent);
}

.trust-divider{
    width:4px;
    height:4px;
    border-radius:50%;
    background:#d2d2d2;
}

/* HERO VISUAL */
.hero-visual{
    position:relative;
    min-height:520px;
    display:grid;
    place-items:center;
}

.hero-glow{
    position:absolute;
    border-radius:50%;
    filter:blur(70px);
    pointer-events:none;
}

.glow-one{
    width:330px;
    height:330px;
    background:rgba(255,170,190,.58);
}

.glow-two{
    width:180px;
    height:180px;
    top:10%;
    right:10%;
    background:rgba(225,29,72,.15);
}

.profile-card{
    position:relative;
    z-index:5;
    overflow:hidden;
    border:1px solid rgba(0,0,0,.08);
    background:#fff;
    box-shadow:var(--shadow);
}

.profile-card-main{
    width:min(330px,72%);
    border-radius:28px;
    transform:rotate(3deg);
}

.profile-image{
    position:relative;
    display:grid;
    place-items:center;
    background:linear-gradient(145deg,#f9d1da,#f1a8ba,#d56f8a);
}

.profile-image-main{aspect-ratio:.86;}

.profile-image svg{
    width:80px;
    height:80px;
    color:rgba(255,255,255,.82);
}

.online-status{
    position:absolute;
    right:20px;
    bottom:20px;
    width:14px;
    height:14px;
    border:3px solid #fff;
    border-radius:50%;
    background:var(--success);
}

.profile-content{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:18px;
}

.profile-name{
    display:block;
    font-size:17px;
    font-weight:800;
}

.profile-meta{
    display:block;
    margin-top:3px;
    color:#8a8a8a;
    font-size:12px;
}

.profile-heart{
    width:42px;
    height:42px;
    display:grid;
    place-items:center;
    flex-shrink:0;
    border-radius:50%;
    background:var(--accent-soft);
    color:var(--accent);
}

.profile-heart svg{
    width:19px;
    height:19px;
}

.floating-card{
    position:absolute;
    z-index:8;
    display:flex;
    align-items:center;
    gap:10px;
    padding:12px 15px;
    border:1px solid rgba(0,0,0,.07);
    border-radius:16px;
    background:rgba(255,255,255,.94);
    box-shadow:var(--shadow-sm);
}

.floating-card strong,
.floating-card span{display:block;}

.floating-card strong{font-size:13px;}

.floating-card span{
    margin-top:1px;
    color:#888;
    font-size:11px;
}

.floating-icon{
    width:36px;
    height:36px;
    display:grid;
    place-items:center;
    border-radius:12px;
    background:var(--accent-soft);
    color:var(--accent);
}

.floating-icon svg{
    width:18px;
    height:18px;
}

.floating-card-one{
    top:16%;
    left:0;
}

.floating-card-two{
    right:0;
    bottom:17%;
}

.floating-mini{
    position:absolute;
    z-index:7;
    width:48px;
    height:48px;
    display:grid;
    place-items:center;
    border:1px solid rgba(0,0,0,.06);
    border-radius:15px;
    background:#fff;
    box-shadow:var(--shadow-sm);
    color:var(--accent);
}

.floating-mini svg{
    width:20px;
    height:20px;
}

.mini-one{
    top:6%;
    right:12%;
}

.mini-two{
    bottom:7%;
    left:14%;
}

.connection-line{
    position:absolute;
    width:180px;
    height:1px;
    background:linear-gradient(90deg,transparent,rgba(225,29,72,.3),transparent);
}

.line-one{
    top:28%;
    left:8%;
    transform:rotate(28deg);
}

.line-two{
    right:8%;
    bottom:29%;
    transform:rotate(-25deg);
}

/* SECTION HEADINGS */
.section-heading{
    max-width:720px;
    margin:0 auto 55px;
    text-align:center;
}

.section-heading-left{
    max-width:none;
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(280px,430px);
    align-items:end;
    gap:40px;
    text-align:left;
}

.section-heading-left>p{
    margin:0;
    padding-bottom:3px;
}

.eyebrow{
    color:var(--accent);
    font-size:11px;
    font-weight:850;
    letter-spacing:.16em;
}

.section-heading h2,
.connection-content h2,
.safety-content h2,
.final-cta-card h2{
    margin:10px 0 14px;
    font-size:clamp(34px,4vw,52px);
    line-height:1.05;
    letter-spacing:-.05em;
}

.section-heading p,
.connection-content>p,
.safety-content>p,
.final-cta-card p{
    color:var(--muted);
    line-height:1.7;
}

/* DISCOVER */
.discover-section{
    padding:110px 0;
    border-top:1px solid var(--border);
}

.discover-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:18px;
}

.discover-card{
    min-height:270px;
    padding:30px;
    border:1px solid var(--border);
    border-radius:var(--radius);
    background:#fff;
    transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;
}

.discover-card:hover{
    transform:translateY(-4px);
    border-color:#e4e4e4;
    box-shadow:var(--shadow-sm);
}

.discover-card-large{grid-column:span 2;}

.discover-card-icon{
    width:48px;
    height:48px;
    display:grid;
    place-items:center;
    border-radius:14px;
    background:var(--accent-soft);
    color:var(--accent);
}

.discover-card-icon svg{
    width:22px;
    height:22px;
}

.discover-card h3{
    margin:23px 0 9px;
    font-size:20px;
    letter-spacing:-.02em;
}

.discover-card p{
    max-width:600px;
    margin:0;
    color:var(--muted);
    font-size:14px;
    line-height:1.7;
}

.tag-list{
    display:flex;
    flex-wrap:wrap;
    gap:7px;
    margin-top:22px;
}

.tag-list span{
    padding:7px 10px;
    border-radius:999px;
    background:var(--surface);
    color:#666;
    font-size:11px;
    font-weight:700;
}

/* CONNECTIONS */
.connections-section{
    padding:105px 0;
    background:var(--surface);
}

.connection-layout{
    display:grid;
    grid-template-columns:minmax(280px,.9fr) minmax(0,1.1fr);
    align-items:center;
    gap:80px;
}

.connection-content{max-width:530px;}

.connection-content>p{margin:0 0 24px;}

.text-link{
    display:inline-flex;
    align-items:center;
    gap:8px;
    color:var(--accent);
    font-size:14px;
    font-weight:800;
}

.text-link svg{
    width:17px;
    height:17px;
    transition:transform .2s ease;
}

.text-link:hover svg{transform:translateX(3px);}

.connection-options{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
}

.connection-option{
    min-height:68px;
    display:flex;
    align-items:center;
    gap:11px;
    padding:14px 16px;
    border:1px solid var(--border);
    border-radius:15px;
    background:#fff;
    font-size:13px;
    font-weight:750;
    transition:transform .2s ease,border-color .2s ease;
}

.connection-option:hover{
    transform:translateY(-2px);
    border-color:#e1cbd2;
}

.connection-option svg{
    width:19px;
    height:19px;
    flex-shrink:0;
    color:var(--accent);
}

/* STEPS */
.steps-section{padding:110px 0;}

.steps-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:18px;
}

.step-card{
    position:relative;
    min-height:290px;
    padding:30px;
    border:1px solid var(--border);
    border-radius:var(--radius);
    background:#fff;
}

.step-number{
    position:absolute;
    top:25px;
    right:28px;
    color:#c7c7c7;
    font-size:13px;
    font-weight:850;
}

.step-icon{
    width:48px;
    height:48px;
    display:grid;
    place-items:center;
    border-radius:14px;
    background:var(--accent-soft);
    color:var(--accent);
}

.step-icon svg{
    width:22px;
    height:22px;
}

.step-card h3{
    margin:28px 0 9px;
    font-size:20px;
}

.step-card p{
    margin:0;
    color:var(--muted);
    font-size:14px;
    line-height:1.7;
}

/* SAFETY */
.safety-section{padding:0 0 110px;}

.safety-card{
    display:grid;
    grid-template-columns:140px minmax(0,1fr);
    gap:40px;
    padding:55px 60px;
    border-radius:var(--radius-lg);
    background:#fff5f7;
    overflow:hidden;
}

.safety-icon{
    width:92px;
    height:92px;
    display:grid;
    place-items:center;
    border-radius:25px;
    background:#fff;
    color:var(--accent);
    box-shadow:var(--shadow-sm);
}

.safety-icon svg{
    width:42px;
    height:42px;
}

.safety-content{max-width:760px;}

.safety-content>p{
    max-width:700px;
    margin:0;
}

.safety-points{
    display:flex;
    flex-wrap:wrap;
    gap:13px 28px;
    margin-top:25px;
}

.safety-points>div{
    display:inline-flex;
    align-items:center;
    gap:8px;
    color:#555;
    font-size:13px;
    font-weight:700;
}

.safety-points svg{
    width:17px;
    height:17px;
    color:var(--accent);
}

/* FINAL CTA */
.final-cta{padding:0 0 100px;}

.final-cta-card{
    position:relative;
    overflow:hidden;
    padding:90px 30px;
    border-radius:var(--radius-lg);
    background:linear-gradient(135deg,#fff5f7,#fffafa);
    text-align:center;
}

.cta-glow{
    position:absolute;
    width:400px;
    height:400px;
    left:50%;
    bottom:-330px;
    transform:translateX(-50%);
    border-radius:50%;
    background:rgba(225,29,72,.15);
    filter:blur(70px);
}

.final-cta-content{
    position:relative;
    z-index:1;
    max-width:700px;
    margin-inline:auto;
}

.final-cta-card p{
    margin:0 auto;
    max-width:560px;
}

.final-cta-actions{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:12px;
    margin-top:28px;
}

/* FOOTER */
.site-footer{border-top:1px solid var(--border);}

.footer-top{
    display:grid;
    grid-template-columns:minmax(220px,1.5fr) repeat(3,minmax(120px,1fr));
    gap:40px;
    padding:65px 0;
}

.footer-brand-column{max-width:300px;}

.footer-brand-column p{
    margin:16px 0 0;
    color:var(--muted);
    font-size:13px;
    line-height:1.7;
}

.footer-column{
    display:grid;
    align-content:start;
    gap:10px;
}

.footer-heading{
    margin-bottom:4px;
    color:var(--text);
    font-size:12px;
    font-weight:850;
    letter-spacing:.03em;
}

.footer-column a{
    color:#777;
    font-size:13px;
}

.footer-column a:hover{color:var(--accent);}

.footer-bottom{
    min-height:70px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    border-top:1px solid var(--border);
    color:#8a8a8a;
    font-size:12px;
}

/* REVEAL ANIMATIONS */
.reveal-item{
    opacity:0;
    transform:translateY(16px);
    transition:opacity .55s ease,transform .55s ease;
}

.reveal-item.is-visible{
    opacity:1;
    transform:translateY(0);
}
/* ============================================================
   TABLET
   ============================================================ */

@media (max-width:950px){

    .desktop-nav{
        display:none;
    }

    .mobile-menu-button{
        display:grid;
    }

    .hero-grid{
        grid-template-columns:minmax(0,1fr);
        gap:40px;
        padding-top:65px;
        text-align:center;
    }

    .hero-content{
        margin-inline:auto;
    }

    .hero-actions{
        justify-content:center;
    }

    .hero-trust{
        justify-content:center;
    }

    .hero-visual{
        min-height:450px;
    }

    .section-heading-left{
        grid-template-columns:minmax(0,1fr);
        gap:15px;
        text-align:center;
    }

    .connection-layout{
        grid-template-columns:minmax(0,1fr);
        gap:45px;
    }

    .connection-content{
        max-width:700px;
        text-align:center;
        margin-inline:auto;
    }

    .safety-card{
        grid-template-columns:minmax(0,1fr);
        text-align:center;
    }

    .safety-icon{
        margin-inline:auto;
    }

    .safety-points{
        justify-content:center;
    }

    .footer-top{
        grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
        gap:32px;
    }

}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width:700px){

    .header-inner{
        width:min(100% - 28px,var(--max-width));
        height:64px;
    }

    .brand-logo{
        width:34px;
        height:34px;
    }

    .brand-name{
        font-size:20px;
    }

    .mobile-menu.is-open{
        top:64px;
    }

    .mobile-menu-inner{
        width:min(100% - 28px,var(--max-width));
    }

    .hero-grid{
        width:min(100% - 28px,var(--max-width));
        min-height:auto;
        padding:50px 0 70px;
    }

    .hero h1{
        font-size:clamp(42px,12vw,62px);
    }

    .hero-text{
        font-size:16px;
    }

    .hero-actions{
        flex-direction:column;
        align-items:stretch;
    }

    .hero-actions a{
        width:100%;
    }

    .hero-trust{
        gap:10px;
    }

    .trust-divider{
        display:none;
    }

    .hero-visual{
        min-height:390px;
    }

    .profile-card-main{
        width:min(280px,72%);
    }

    .floating-card{
        padding:10px 12px;
    }

    .floating-card-one{
        left:-5px;
    }

    .floating-card-two{
        right:-5px;
    }

    .section-container{
        width:min(100% - 28px,var(--max-width));
    }

    .discover-section,
    .steps-section{
        padding:75px 0;
    }

    .connections-section{
        padding:75px 0;
    }

    .section-heading{
        margin-bottom:38px;
    }

    .discover-grid{
        grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    }

    .discover-card-large{
        grid-column:auto;
    }

    .connection-options{
        grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    }

    .steps-grid{
        grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    }

    .safety-section{
        padding-bottom:75px;
    }

    .safety-card{
        padding:42px 22px;
        gap:25px;
    }

    .safety-points{
        flex-direction:row;
        flex-wrap:wrap;
        align-items:center;
        justify-content:center;
    }

    .final-cta{
        padding-bottom:75px;
    }

    .final-cta-card{
        padding:65px 20px;
    }

    .final-cta-actions{
        flex-direction:column;
        align-items:stretch;
    }

    .final-cta-actions a{
        width:100%;
    }

    .footer-top{
        grid-template-columns:repeat(auto-fit,minmax(140px,1fr));
        gap:28px;
        padding:50px 0;
    }

    .footer-bottom{
        min-height:auto;
        padding:20px 0;
        flex-wrap:wrap;
        align-items:center;
        justify-content:space-between;
        gap:10px;
    }

}


/* REDUCED MOTION */
@media (prefers-reduced-motion:reduce){
    html{scroll-behavior:auto;}

    *,
    *::before,
    *::after{
        animation-duration:.01ms!important;
        animation-iteration-count:1!important;
        transition-duration:.01ms!important;
        scroll-behavior:auto!important;
    }

    .reveal-item{
        opacity:1;
        transform:none;
    }
}