/* =========================================================
   StudioVNS Home Redesign v3.10.64
   UI-only layer. Existing auth, album demo JS and workspace
   functionality are intentionally untouched.
   ========================================================= */

:root{
    --home-bg:#f8f6f2;
    --home-surface:#fff;
    --home-surface-soft:#fffaf7;
    --home-text:#0c1e42;
    --home-muted:#667085;
    --home-line:rgba(29,41,57,.09);
    --home-pink:#ff4f78;
    --home-orange:#ff9d4c;
    --home-green:#17bf88;
    --home-blue:#2f80ed;
    --home-shadow:0 22px 60px rgba(44,35,30,.08);
    --home-section-gap:74px;
}

html[data-theme="light"] body:not(.pd-dashboard-page):not(.studio-auth-page):not(.pd-public-album),
body:not(.pd-dashboard-page):not(.studio-auth-page):not(.pd-public-album){
    background:var(--home-bg);
    color:var(--home-text);
}

body:not(.pd-dashboard-page):not(.studio-auth-page):not(.pd-public-album) .page-wrapper{
    overflow:hidden;
}

/* ---------- Header ---------- */
body:not(.pd-dashboard-page):not(.studio-auth-page):not(.pd-public-album) .header{
    background:rgba(255,255,255,.94);
    border-bottom:1px solid rgba(19,35,68,.07);
    box-shadow:0 6px 24px rgba(20,29,45,.045);
}

body:not(.pd-dashboard-page):not(.studio-auth-page):not(.pd-public-album) .header-wrap{
    min-height:76px;
}

body:not(.pd-dashboard-page):not(.studio-auth-page):not(.pd-public-album) .logo .logo-image{
    width:210px;
    height:60px;
    object-fit:contain;
    border-radius:0;
}

body:not(.pd-dashboard-page):not(.studio-auth-page):not(.pd-public-album) .menu{
    gap:34px;
}

body:not(.pd-dashboard-page):not(.studio-auth-page):not(.pd-public-album) .menu a,
body:not(.pd-dashboard-page):not(.studio-auth-page):not(.pd-public-album) .login-btn{
    color:#4f5360;
    font-size:14px;
}

body:not(.pd-dashboard-page):not(.studio-auth-page):not(.pd-public-album) .menu a:hover,
body:not(.pd-dashboard-page):not(.studio-auth-page):not(.pd-public-album) .login-btn:hover{
    color:#111827;
}

body:not(.pd-dashboard-page):not(.studio-auth-page):not(.pd-public-album) .pd-global-theme-toggle{
    border-color:rgba(22,34,57,.13);
    background:#fff;
    color:#363c48;
}

body:not(.pd-dashboard-page):not(.studio-auth-page):not(.pd-public-album) .trial-btn{
    min-height:48px;
    border-radius:14px;
    padding:0 24px;
    background:linear-gradient(100deg,#f04467 0%,#f45e64 48%,#f3a532 100%);
    box-shadow:0 13px 28px rgba(234,67,94,.17);
}


/* ---------- Homepage brand logo: light-safe text, independent from dark PNG ---------- */
body:not(.pd-dashboard-page):not(.studio-auth-page):not(.pd-public-album) .home-brand-logo{
    display:inline-flex;
    align-items:center;
    gap:13px;
    min-width:250px;
    text-decoration:none;
}
body:not(.pd-dashboard-page):not(.studio-auth-page):not(.pd-public-album) .home-brand-logo__mark{
    width:62px;
    height:62px;
    flex:0 0 62px;
    display:block;
}
body:not(.pd-dashboard-page):not(.studio-auth-page):not(.pd-public-album) .home-brand-logo__mark svg{
    display:block;
    width:100%;
    height:100%;
    filter:drop-shadow(0 8px 16px rgba(70,94,210,.18));
}
body:not(.pd-dashboard-page):not(.studio-auth-page):not(.pd-public-album) .home-brand-logo__copy{
    display:flex;
    flex-direction:column;
    line-height:1;
    white-space:nowrap;
}
body:not(.pd-dashboard-page):not(.studio-auth-page):not(.pd-public-album) .home-brand-logo__copy strong{
    display:flex;
    align-items:baseline;
    margin:0;
    font-size:34px;
    font-weight:800;
    letter-spacing:-1.6px;
}
body:not(.pd-dashboard-page):not(.studio-auth-page):not(.pd-public-album) .home-brand-logo__copy strong span{
    color:#17233b;
}
body:not(.pd-dashboard-page):not(.studio-auth-page):not(.pd-public-album) .home-brand-logo__copy strong b{
    color:#58aee7;
    font:inherit;
}
body:not(.pd-dashboard-page):not(.studio-auth-page):not(.pd-public-album) .home-brand-logo__copy small{
    margin-top:6px;
    color:#8797bd;
    font-size:10px;
    font-weight:700;
    letter-spacing:3.1px;
}
html[data-theme="dark"] body:not(.pd-dashboard-page):not(.studio-auth-page):not(.pd-public-album) .home-brand-logo__copy strong span{
    color:#f7f8fb;
}
html[data-theme="dark"] body:not(.pd-dashboard-page):not(.studio-auth-page):not(.pd-public-album) .home-brand-logo__copy small{
    color:#9ba8c4;
}

@media (max-width:900px){
    body:not(.pd-dashboard-page):not(.studio-auth-page):not(.pd-public-album) .home-brand-logo{min-width:auto;gap:10px;}
    body:not(.pd-dashboard-page):not(.studio-auth-page):not(.pd-public-album) .home-brand-logo__mark{width:50px;height:50px;flex-basis:50px;}
    body:not(.pd-dashboard-page):not(.studio-auth-page):not(.pd-public-album) .home-brand-logo__copy strong{font-size:27px;letter-spacing:-1.2px;}
    body:not(.pd-dashboard-page):not(.studio-auth-page):not(.pd-public-album) .home-brand-logo__copy small{font-size:8px;letter-spacing:2.4px;margin-top:5px;}
}
@media (max-width:560px){
    body:not(.pd-dashboard-page):not(.studio-auth-page):not(.pd-public-album) .home-brand-logo{gap:8px;}
    body:not(.pd-dashboard-page):not(.studio-auth-page):not(.pd-public-album) .home-brand-logo__mark{width:42px;height:42px;flex-basis:42px;}
    body:not(.pd-dashboard-page):not(.studio-auth-page):not(.pd-public-album) .home-brand-logo__copy strong{font-size:22px;letter-spacing:-1px;}
    body:not(.pd-dashboard-page):not(.studio-auth-page):not(.pd-public-album) .home-brand-logo__copy small{font-size:6.8px;letter-spacing:1.9px;margin-top:4px;}
}

/* ---------- Hero ---------- */
body .pd-home-hero{
    min-height:510px;
    display:flex;
    align-items:center;
    padding:132px 0 46px;
    background:
        linear-gradient(90deg,#faf9f7 0%,rgba(250,249,247,.98) 38%,rgba(250,249,247,.72) 54%,rgba(250,249,247,.08) 76%),
        url("../images/home/hero-wedding.jpg") center 42%/cover no-repeat;
    color:var(--home-text);
}

body .pd-home-hero::after{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.14));
}

body .pd-home-hero .container{
    position:relative;
    z-index:2;
    display:block;
    max-width:1280px;
}

.pd-home-hero__content{
    max-width:620px;
    text-align:left;
}

.pd-home-eyebrow{
    display:block;
    margin-bottom:12px;
    color:#a85a47;
    font-size:12px;
    font-weight:800;
    letter-spacing:.16em;
}

body .pd-home-hero h1{
    max-width:620px;
    margin:0 0 14px;
    color:#0c1e42;
    font-size:clamp(42px,4.2vw,64px);
    line-height:1.02;
    letter-spacing:-2.4px;
    text-align:left;
}

body .pd-home-hero p{
    max-width:590px;
    margin:0 0 24px;
    color:#526078;
    font-size:16px;
    line-height:1.6;
    text-align:left;
}

.pd-home-hero__actions{
    display:flex;
    align-items:center;
    gap:14px;
    flex-wrap:wrap;
}

body .pd-home-hero .btn-gradient,
body .pd-home-hero .btn-outline{
    min-width:176px;
    min-height:48px;
    border-radius:12px;
    padding:0 22px;
    font-size:14px;
    font-weight:800;
}

body .pd-home-hero .btn-outline{
    border:1px solid rgba(14,31,66,.10);
    background:rgba(255,255,255,.92);
    color:#15213a;
    box-shadow:0 9px 24px rgba(32,40,60,.07);
}

.pd-home-hero__benefits{
    display:flex;
    align-items:center;
    gap:28px;
    margin-top:24px;
    color:#4a5870;
    font-size:12px;
    line-height:1.35;
}

.pd-home-hero__benefits span{
    display:flex;
    align-items:center;
    gap:9px;
    max-width:148px;
}

.pd-home-hero__benefits i{
    color:var(--home-pink);
    font-size:20px;
}

/* ---------- Stats ---------- */
body .quick-stats{
    z-index:20;
    margin-top:-24px;
    padding:0;
    background:transparent !important;
}

body .quick-stats .container{max-width:1080px;}

body .quick-stats-box{
    display:grid !important;
    grid-template-columns:repeat(4,1fr);
    gap:0;
    padding:14px 18px;
    border:1px solid rgba(22,34,57,.07) !important;
    border-radius:20px;
    background:rgba(255,255,255,.98) !important;
    box-shadow:0 18px 45px rgba(57,45,36,.10) !important;
}

body .quick-stat-item{
    min-height:76px;
    display:flex;
    flex-direction:row;
    align-items:center;
    justify-content:center;
    gap:14px;
    padding:8px 20px;
    text-align:left;
}

body .quick-stat-item:not(:last-child)::after{
    top:16px;
    height:44px;
    background:rgba(21,33,53,.09);
}

.quick-stat-icon{
    width:46px;
    height:46px;
    flex:0 0 46px;
    display:grid;
    place-items:center;
    border-radius:50%;
    font-size:20px;
}
.quick-stat-icon--purple{background:#f0e8ff;color:#8f53e8;}
.quick-stat-icon--green{background:#e0f8ed;color:#16b979;}
.quick-stat-icon--orange{background:#fff0e3;color:#ff7d34;}
.quick-stat-icon--pink{background:#ffe8f0;color:#ef4772;}

body .quick-stat-value{
    margin:0 0 3px;
    color:#0c1e42 !important;
    font-size:24px;
}
body .quick-stat-item span:not(.quick-stat-icon){
    display:block;
    color:#6f7787;
    font-size:10px;
    line-height:1.4;
}

/* ---------- Global home headings / spacing ---------- */
body .gallery-showcase,
body .process,
body .features,
body .reviews,
body .faq,
body .home-cta,
body .pd-mobile-showcase,
body .footer{
    background:var(--home-bg) !important;
}

body .gallery-showcase{padding:64px 0 0;}
body .process{padding:76px 0 0;}
body .features{padding:76px 0 0;}
body .pd-mobile-showcase{padding:76px 0 0;}
body .reviews{padding:84px 0 0;}
body .faq{padding:84px 0 0;}
body .home-cta{padding:72px 0 0;}

body .home-section-heading,
body .gallery-heading{
    max-width:850px;
    margin:0 auto 30px;
    text-align:center;
}

body .home-section-heading h2,
body .gallery-heading h2{
    margin:0 0 8px;
    color:#0c1e42 !important;
    font-size:clamp(28px,2.5vw,38px);
    line-height:1.15;
    letter-spacing:-1.1px;
}

body .home-section-heading p,
body .gallery-heading p{
    color:#778196 !important;
    font-size:13px;
    line-height:1.65;
}

/* ---------- Gallery ---------- */
body .gallery-showcase::before{display:none;}
body .gallery-kicker{display:none;}
body .gallery-heading{margin-bottom:36px;}
body .gallery-heading h2{font-size:36px;}
body .gallery-heading p{max-width:760px;}

body .demo-album-panel{
    padding:22px 24px 24px;
    border:1px solid rgba(22,34,57,.08) !important;
    border-radius:18px;
    background:#fff !important;
    box-shadow:var(--home-shadow) !important;
}

body .demo-album-meta h3{color:#102044 !important;font-size:16px;}
body .demo-album-meta p{color:#758096 !important;}
body .demo-divider{margin:18px 0 18px;background:rgba(22,34,57,.08);}

body .gallery-action-btn,
body .gallery-register-btn{
    min-height:38px;
    padding:0 14px;
    border:1px solid rgba(22,34,57,.10) !important;
    border-radius:10px;
    background:#fff !important;
    color:#15213a !important;
    box-shadow:0 6px 16px rgba(35,45,70,.05);
}

body .demo-photo-track{gap:10px;}
body .demo-photo-card{
    flex:0 0 calc((min(1232px, calc(100vw - 88px)) - 30px) / 4);
    width:calc((min(1232px, calc(100vw - 88px)) - 30px) / 4);
    border-radius:12px;
}
body .demo-photo-media{height:290px;}
body .demo-photo-footer{min-height:64px;padding:11px 12px;}
body .demo-photo-footer strong{font-size:10px;}
body .demo-photo-footer small{font-size:9px;}
body .copy-code-btn{font-size:9px;}

/* ---------- Studio tools ---------- */
body .pd-studio-tools .process-heading{margin-bottom:34px;}
.pd-tool-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:14px;
}

.pd-tool-card{
    min-width:0;
    padding:16px;
    border:1px solid var(--home-line);
    border-radius:16px;
    background:#fff;
    box-shadow:0 13px 32px rgba(43,52,73,.055);
}

.pd-tool-card__head{display:flex;align-items:flex-start;gap:11px;margin-bottom:14px;}
.pd-tool-icon{
    width:36px;height:36px;flex:0 0 36px;display:grid;place-items:center;
    border-radius:10px;background:linear-gradient(135deg,#ff536f,#ff8053);color:#fff;font-size:16px;
}
.pd-tool-card h3{margin:0 0 3px;color:#102044;font-size:15px;font-weight:800;line-height:1.2;}
.pd-tool-card p{margin:0;color:#7b8496;font-size:10px;line-height:1.4;}

.pd-tool-filter-tabs,.pd-system-tabs{display:flex;gap:5px;margin-bottom:10px;}
.pd-tool-filter-tabs span,.pd-system-tabs span{flex:1;padding:5px 4px;border:1px solid #eef0f4;border-radius:7px;color:#7c8494;font-size:8px;font-weight:700;text-align:center;white-space:nowrap;}
.pd-tool-filter-tabs .is-active,.pd-system-tabs .is-active{border-color:#ff7190;background:#fff1f5;color:#e94f72;}
.pd-tool-thumb-grid,.pd-system-albums{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;}
.pd-tool-thumb-grid span,.pd-system-albums i{position:relative;aspect-ratio:1.15;border-radius:7px;background-image:var(--bg);background-size:cover;background-position:center;overflow:hidden;}
.pd-tool-thumb-grid i{position:absolute;right:4px;top:4px;color:#fff;font-size:10px;text-shadow:0 1px 4px rgba(0,0,0,.4);}
.pd-tool-card__footer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:11px;}
.pd-tool-card__footer small{color:#687286;font-size:9px;}
.pd-tool-card__footer strong{padding:6px 10px;border-radius:7px;background:linear-gradient(90deg,#ff526f,#ff6d91);color:#fff;font-size:9px;}

.pd-mini-calendar{padding:8px;border:1px solid #eef0f4;border-radius:10px;}
.pd-mini-calendar__head{display:flex;align-items:center;justify-content:space-between;margin-bottom:7px;}
.pd-mini-calendar__head>span{width:22px;height:22px;display:grid;place-items:center;border-radius:6px;background:#f7f8fa;color:#596273;}
.pd-mini-calendar__head strong{color:#172544;font-size:10px;}
.pd-mini-calendar__week,.pd-mini-calendar__days{display:grid;grid-template-columns:repeat(7,1fr);gap:2px;text-align:center;}
.pd-mini-calendar__week{margin-bottom:5px;color:#9aa2af;font-size:7px;}
.pd-mini-calendar__days{color:#667085;font-size:8px;}
.pd-mini-calendar__days span{padding:3px;border-radius:50%;}
.pd-mini-calendar__days .is-active{background:#2f80ed;color:#fff;}
.pd-calendar-events{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:8px;}
.pd-calendar-events span{padding:8px;border-radius:8px;color:#374151;font-size:9px;line-height:1.25;}
.pd-calendar-events b{display:block;color:#15213a;font-size:9px;}.pd-calendar-events small{font-size:8px;}
.pd-calendar-events .blue{background:#e9f6ff}.pd-calendar-events .violet{background:#f1efff}.pd-calendar-events .green{background:#ebf9ef}.pd-calendar-events .peach{background:#fff3e8}

.pd-quote-card{padding:10px;border:1px solid #eef0f4;border-radius:10px;}
.pd-quote-card>strong{display:block;margin-bottom:9px;color:#172544;font-size:10px;}
.pd-quote-card ul{margin:0;padding:0;}.pd-quote-card li{display:flex;justify-content:space-between;gap:8px;margin:0 0 7px;color:#657086;font-size:8px;}.pd-quote-card li span{min-width:0}.pd-quote-card li b{white-space:nowrap;color:#627086;font-size:8px;font-weight:600}.pd-quote-card li i{color:#19be83}.pd-quote-card li.muted i{color:#b5bbc5}.pd-quote-total{display:flex;justify-content:space-between;padding-top:9px;border-top:1px solid #eef0f4;color:#172544;font-size:10px}.pd-quote-total strong{color:#f04f70}

.pd-kpi-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px}.pd-kpi-grid span{padding:9px;border:1px solid #eef0f4;border-radius:9px}.pd-kpi-grid b{display:block;color:#102044;font-size:16px;line-height:1}.pd-kpi-grid small{display:block;margin-top:3px;color:#81899a;font-size:8px}.pd-kpi-grid em{display:block;margin-top:3px;color:#13b47b;font-size:8px;font-style:normal;font-weight:800}.pd-mini-chart{margin-top:10px}.pd-mini-chart>strong{display:block;color:#172544;font-size:9px}.pd-mini-chart>div{height:54px;display:flex;align-items:flex-end;gap:7px;padding:8px 4px 0}.pd-mini-chart i{flex:1;border-radius:4px 4px 0 0;background:linear-gradient(180deg,#ff8b7e,#ff536f)}.pd-mini-chart>small{display:flex;justify-content:space-around;color:#9aa2af;font-size:7px}

/* ---------- Unified system ---------- */
body .pd-unified-system .feature-heading{margin-bottom:34px;}
.pd-system-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;}
.pd-system-card{min-width:0;padding:16px;border:1px solid var(--home-line);border-radius:16px;background:#fff;box-shadow:0 13px 32px rgba(43,52,73,.05);}
.pd-system-card__title{display:flex;align-items:flex-start;gap:10px;margin-bottom:14px}.pd-system-card__title>span{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;border-radius:10px;background:#fff0e6;color:#ff7a41}.pd-system-card__title h3{margin:0 0 3px;color:#102044;font-size:14px;font-weight:800}.pd-system-card__title p{margin:0;color:#7d8698;font-size:9px;line-height:1.35}
.pd-customer-list{margin:0;padding:0}.pd-customer-list li{display:flex;align-items:center;gap:9px;padding:6px 0;border-bottom:1px solid #f0f2f4}.pd-customer-list li:last-child{border-bottom:0}.avatar{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;color:#fff;font-size:9px}.avatar.orange{background:#ffae55}.avatar.blue{background:#71a6ff}.avatar.purple{background:#9b7bf2}.avatar.navy{background:#2872e5}.pd-customer-list b,.pd-customer-list small{display:block}.pd-customer-list b{color:#172544;font-size:9px}.pd-customer-list small{color:#8790a1;font-size:8px}
.pd-system-albums i{aspect-ratio:1.45}.pd-system-link{display:flex;justify-content:flex-end;align-items:center;gap:5px;margin-top:10px;color:#f04f70;font-size:9px;font-weight:800}.pd-system-link:hover{color:#d9385c}
.pd-order-steps{margin:0;padding:0}.pd-order-steps li{position:relative;display:flex;gap:9px;padding:0 0 12px}.pd-order-steps li:last-child{padding-bottom:0}.pd-order-steps li>i{width:20px;height:20px;flex:0 0 20px;display:grid;place-items:center;border-radius:50%;background:#c8ced8;color:#fff;font-size:12px}.pd-order-steps li.done>i{background:#17bf88}.pd-order-steps li.active>i{background:#f14f75}.pd-order-steps b,.pd-order-steps small{display:block}.pd-order-steps b{color:#172544;font-size:9px}.pd-order-steps small{color:#8790a1;font-size:8px}
.pd-report-select{width:max-content;margin-left:auto;padding:4px 7px;border:1px solid #eef0f4;border-radius:7px;color:#596273;font-size:8px}.pd-report-chart{height:105px;display:flex;align-items:flex-end;gap:9px;padding:18px 8px 6px}.pd-report-chart i{flex:1;min-height:8px;border-radius:4px 4px 0 0;background:linear-gradient(180deg,#ff5ba1,#ff934d)}.pd-report-foot{display:flex;justify-content:space-between;gap:10px;padding-top:9px;border-top:1px solid #eef0f4}.pd-report-foot small,.pd-report-foot b{display:block}.pd-report-foot small{color:#8891a2;font-size:8px}.pd-report-foot b{color:#172544;font-size:16px}.pd-report-foot b.green{color:#13b47b}

/* ---------- Mobile experience ---------- */
.pd-mobile-showcase__panel{min-height:240px;display:grid;grid-template-columns:330px 1fr 220px;align-items:center;gap:32px;padding:24px 40px;border:1px solid rgba(243,125,100,.11);border-radius:20px;background:linear-gradient(100deg,#fff4ef 0%,#fff9f7 52%,#fff1ec 100%);overflow:hidden;box-shadow:0 12px 34px rgba(93,65,49,.05)}
.pd-phone-pair{position:relative;height:210px}.pd-phone{position:absolute;width:116px;height:220px;padding:8px;border:5px solid #1d232d;border-radius:25px;background:#fff;box-shadow:0 15px 32px rgba(22,28,40,.18)}.pd-phone--front{left:65px;top:0;transform:rotate(-5deg)}.pd-phone--back{left:165px;top:9px;transform:rotate(7deg)}.pd-phone__bar{width:44px;height:8px;margin:-3px auto 7px;border-radius:999px;background:#1d232d}.pd-phone__screen{font-size:7px;color:#182238}.pd-phone__screen small,.pd-phone__screen strong{display:block}.pd-phone__screen strong{font-size:9px;margin:3px 0 6px}.pd-phone__hero{display:block;height:87px;border-radius:8px;background:url('https://images.pexels.com/photos/6182541/pexels-photo-6182541.jpeg?auto=compress&cs=tinysrgb&w=400') center/cover}.pd-phone__thumbs,.pd-phone__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:3px;margin-top:5px}.pd-phone__thumbs i,.pd-phone__grid i{height:28px;border-radius:4px;background:linear-gradient(135deg,#dbe6ef,#f8d6ca)}
.pd-mobile-showcase__content>span{display:block;margin-bottom:5px;color:#f05272;font-size:10px;font-weight:900;letter-spacing:.08em}.pd-mobile-showcase__content h2{margin:0 0 8px;color:#0c1e42;font-size:30px;line-height:1.12;letter-spacing:-.8px}.pd-mobile-showcase__content p{margin:0 0 15px;color:#6f788b;font-size:12px}.pd-mobile-showcase__actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.pd-mobile-showcase .cta-primary{min-height:42px;padding:0 16px;border-radius:10px;font-size:11px}.pd-mobile-demo-link{display:inline-flex;align-items:center;gap:6px;min-height:42px;padding:0 15px;border:1px solid rgba(22,34,57,.08);border-radius:10px;background:#fff;color:#172544;font-size:10px;font-weight:800}.pd-mobile-demo-link i{color:#f05272}.pd-mobile-showcase__note{color:#c57f70;font-family:'Lora',serif;font-size:21px;font-style:italic;line-height:1.45;text-align:center;transform:rotate(-4deg)}

/* ---------- Reviews / FAQ retained ---------- */
body .review-heading,body .faq-heading{margin-bottom:34px}.review-grid{gap:14px}.review-card,.faq-item{border-radius:16px !important;background:#fff !important;border-color:var(--home-line) !important;box-shadow:0 12px 32px rgba(43,52,73,.05) !important}.review-card blockquote{color:#384256 !important}.review-author strong,.faq-item summary{color:#102044 !important}.review-author span,.faq-answer p{color:#7a8395 !important}

/* ---------- CTA ---------- */
body .home-cta{padding-bottom:0;}
body .cta-panel{display:flex;align-items:center;justify-content:space-between;gap:28px;min-height:114px;padding:24px 36px;border:1px solid rgba(22,34,57,.07) !important;border-radius:16px;background:#fff !important;box-shadow:0 10px 26px rgba(43,52,73,.045) !important;text-align:left}
body .cta-content{text-align:left}.cta-content>span{display:block;margin-bottom:3px;color:#f05272;font-size:9px;font-weight:900;letter-spacing:.08em}.cta-content h2{margin:0 0 4px;color:#0c1e42 !important;font-size:28px;line-height:1.15}.cta-content p{margin:0;color:#758094 !important;font-size:11px}.cta-actions{margin:0}.cta-primary{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:0 20px;border-radius:11px;background:linear-gradient(100deg,#f0496d,#f45a66 48%,#f5a435);color:#fff;font-size:11px;font-weight:800;box-shadow:0 10px 24px rgba(237,72,100,.15)}.cta-primary:hover{color:#fff;transform:translateY(-1px)}

/* ---------- Footer: 20px breathing room ---------- */
body .footer{margin-top:20px;padding:28px 0 32px;border-top:1px solid rgba(22,34,57,.07) !important;background:#fff !important}
.pd-home-footer-grid{display:grid;grid-template-columns:1.5fr .75fr .9fr .8fr .9fr;gap:28px;align-items:start}.pd-home-footer-brand img{width:190px;height:55px;object-fit:contain;object-position:left center}.pd-home-footer-col{display:flex;flex-direction:column;gap:4px;color:#7c8595;font-size:9px}.pd-home-footer-col strong{margin-bottom:3px;color:#182541;font-size:10px}.pd-home-footer-col a:hover{color:#f04f70}.pd-home-footer-copy{display:flex;flex-direction:column;gap:5px;align-items:flex-end;color:#8a92a0;font-size:9px}.pd-home-footer-copy span:last-child{font-size:8px}

/* ---------- Dark theme keeps toggle functional ---------- */
html[data-theme="dark"] body:not(.pd-dashboard-page):not(.studio-auth-page):not(.pd-public-album){--home-bg:#0c0d0f;--home-surface:#15171a;--home-text:#f5f6f8;--home-muted:#a8afbc;--home-line:rgba(255,255,255,.08);background:var(--home-bg);color:var(--home-text)}
html[data-theme="dark"] body .pd-home-hero{background:linear-gradient(90deg,#101214 0%,rgba(16,18,20,.97) 38%,rgba(16,18,20,.70) 57%,rgba(16,18,20,.16) 77%),url("../images/home/hero-wedding.jpg") center 42%/cover no-repeat}
html[data-theme="dark"] body .pd-home-hero h1,html[data-theme="dark"] .home-section-heading h2,html[data-theme="dark"] .gallery-heading h2,html[data-theme="dark"] .pd-tool-card h3,html[data-theme="dark"] .pd-system-card__title h3,html[data-theme="dark"] .pd-mobile-showcase__content h2,html[data-theme="dark"] .cta-content h2{color:#f6f7f8 !important}
html[data-theme="dark"] body .pd-home-hero p,html[data-theme="dark"] .pd-home-hero__benefits{color:#c1c6cf}
html[data-theme="dark"] body .quick-stats-box,html[data-theme="dark"] body .demo-album-panel,html[data-theme="dark"] .pd-tool-card,html[data-theme="dark"] .pd-system-card,html[data-theme="dark"] body .review-card,html[data-theme="dark"] body .faq-item,html[data-theme="dark"] body .cta-panel{background:#15171a !important;border-color:rgba(255,255,255,.08) !important}
html[data-theme="dark"] body .quick-stat-value{color:#f6f7f8 !important}
html[data-theme="dark"] body .header,html[data-theme="dark"] body .footer{background:#111315 !important;border-color:rgba(255,255,255,.08) !important}
html[data-theme="dark"] .pd-home-footer-col strong{color:#f4f5f7}
html[data-theme="dark"] .pd-mobile-showcase__panel{background:linear-gradient(100deg,#211719,#191719 52%,#241818);border-color:rgba(255,255,255,.06)}

/* ---------- Responsive ---------- */
@media(max-width:1199px){
    body .pd-home-hero{min-height:500px}.pd-tool-grid,.pd-system-grid{grid-template-columns:repeat(2,1fr)}.pd-mobile-showcase__panel{grid-template-columns:290px 1fr}.pd-mobile-showcase__note{display:none}.pd-home-footer-grid{grid-template-columns:1.4fr repeat(3,1fr)}.pd-home-footer-copy{grid-column:1/-1;flex-direction:row;justify-content:space-between;align-items:center}.demo-photo-card{flex-basis:calc((100vw - 100px)/3)!important;width:calc((100vw - 100px)/3)!important}
}

@media(max-width:991px){
    body .pd-home-hero{padding-top:112px;background:linear-gradient(90deg,#faf9f7 0%,rgba(250,249,247,.93) 58%,rgba(250,249,247,.38) 100%),url("../images/home/hero-wedding.jpg") center/cover no-repeat}.pd-home-hero__content{max-width:560px}.quick-stats-box{grid-template-columns:repeat(2,1fr)!important}.quick-stat-item:nth-child(2)::after{display:none}.quick-stat-item:nth-child(-n+2){border-bottom:1px solid rgba(22,34,57,.07)}.pd-mobile-showcase__panel{grid-template-columns:1fr;padding:26px}.pd-phone-pair{display:none}.pd-home-footer-grid{grid-template-columns:1.2fr repeat(3,1fr)}
}

@media(max-width:767px){
    :root{--home-section-gap:58px}.header-wrap{min-height:72px!important}.logo .logo-image{width:165px!important;height:50px!important}.header-right{gap:8px!important}.pd-global-theme-toggle{width:40px;height:40px}.trial-btn{min-height:42px!important;padding:0 14px!important;font-size:12px!important}.pd-home-hero{min-height:auto!important;padding:104px 18px 44px!important;background:linear-gradient(180deg,rgba(250,249,247,.12),#faf9f7 72%),url("../images/home/hero-wedding.jpg") center top/cover no-repeat!important}.pd-home-hero__content{padding-top:150px}.pd-home-eyebrow{font-size:10px}.pd-home-hero h1{font-size:36px!important;letter-spacing:-1.3px!important}.pd-home-hero p{font-size:14px!important}.pd-home-hero__actions{display:grid;grid-template-columns:1fr 1fr}.pd-home-hero .btn-gradient,.pd-home-hero .btn-outline{min-width:0!important;padding:0 10px!important;font-size:12px!important}.pd-home-hero__benefits{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:20px}.pd-home-hero__benefits span:last-child{grid-column:1/-1}.quick-stats{margin-top:0!important;padding:16px 12px 0!important}.quick-stats-box{grid-template-columns:1fr 1fr!important;padding:8px!important}.quick-stat-item{min-height:88px!important;gap:9px!important;padding:8px!important}.quick-stat-icon{width:38px;height:38px;flex-basis:38px;font-size:17px}.quick-stat-value{font-size:20px!important}.gallery-showcase,.process,.features,.pd-mobile-showcase,.reviews,.faq,.home-cta{padding-top:58px!important}.gallery-heading,.home-section-heading{margin-bottom:26px!important}.gallery-heading h2,.home-section-heading h2{font-size:28px!important}.demo-album-panel{padding:16px!important}.demo-album-head{align-items:flex-start!important;flex-direction:column!important;gap:14px!important}.demo-album-actions{width:100%!important}.gallery-action-btn{flex:1!important}.demo-divider{margin:14px 0!important}.demo-photo-track{gap:8px!important}.demo-photo-card{flex-basis:calc((100vw - 58px)/2)!important;width:calc((100vw - 58px)/2)!important}.demo-photo-media{height:230px!important}.pd-tool-grid,.pd-system-grid{grid-template-columns:1fr}.pd-tool-card,.pd-system-card{padding:15px}.pd-mobile-showcase__content h2{font-size:26px}.pd-mobile-showcase__actions{display:grid;grid-template-columns:1fr}.pd-mobile-demo-link,.pd-mobile-showcase .cta-primary{width:100%;justify-content:center}.cta-panel{align-items:flex-start!important;flex-direction:column!important;padding:22px!important}.cta-content h2{font-size:24px!important}.cta-actions,.cta-primary{width:100%}.pd-home-footer-grid{grid-template-columns:1fr 1fr;gap:22px}.pd-home-footer-brand{grid-column:1/-1}.pd-home-footer-copy{grid-column:1/-1}.pd-home-footer-brand img{width:175px}
}

@media(max-width:480px){
    .pd-home-hero__actions{grid-template-columns:1fr}.pd-home-hero__benefits{grid-template-columns:1fr}.pd-home-hero__benefits span:last-child{grid-column:auto}.quick-stats-box{grid-template-columns:1fr!important}.quick-stat-item{justify-content:flex-start!important}.quick-stat-item::after{display:none!important}.quick-stat-item{border-bottom:1px solid rgba(22,34,57,.07)!important}.quick-stat-item:last-child{border-bottom:0!important}.demo-photo-card{flex-basis:calc(100vw - 56px)!important;width:calc(100vw - 56px)!important}.pd-home-footer-grid{grid-template-columns:1fr}.pd-home-footer-brand,.pd-home-footer-copy{grid-column:auto}.pd-home-footer-copy{align-items:flex-start;flex-direction:column}
}


/* =========================================================
   StudioVNS Home Fix v3.10.65
   Consolidated QA: local hero visual, larger product previews,
   footer readability/theme logo, dark-mode contrast, mobile UI.
   ========================================================= */

/* --- 1. Hero: deterministic local visual and balanced desktop composition --- */
body .pd-home-hero{
    position:relative;
    min-height:560px;
    padding:132px 0 62px;
    background:
        linear-gradient(90deg,rgba(250,248,245,1) 0%,rgba(250,248,245,.99) 38%,rgba(250,248,245,.82) 51%,rgba(250,248,245,.18) 70%,rgba(250,248,245,0) 100%),
        url("../images/home/hero-wedding.jpg") center/cover no-repeat !important;
}
body .pd-home-hero::after{
    background:linear-gradient(180deg,rgba(255,255,255,.02),rgba(255,255,255,.09));
}
body .pd-home-hero__content{max-width:650px;}
body .pd-home-hero h1{max-width:650px;font-size:clamp(46px,4vw,64px);line-height:1.04;}
body .pd-home-hero p{max-width:610px;}

/* --- 2. Product/UI previews: make them feel like real screens, not thumbnails --- */
body .demo-photo-media{height:340px;}
body .demo-photo-footer{min-height:70px;padding:12px 14px;}
body .demo-photo-footer strong{font-size:11px;}
body .demo-photo-footer small,body .copy-code-btn{font-size:10px;}

body .pd-tool-card{
    min-height:410px;
    padding:20px;
    border-radius:18px;
}
body .pd-tool-card__head{gap:13px;margin-bottom:18px;}
body .pd-tool-icon{width:42px;height:42px;flex-basis:42px;font-size:18px;}
body .pd-tool-card h3{font-size:17px;}
body .pd-tool-card p{font-size:11px;line-height:1.5;}
body .pd-tool-filter-tabs,body .pd-system-tabs{gap:7px;margin-bottom:13px;}
body .pd-tool-filter-tabs span,body .pd-system-tabs span{padding:7px 5px;font-size:9px;}
body .pd-tool-thumb-grid,body .pd-system-albums{gap:7px;}
body .pd-tool-thumb-grid span{aspect-ratio:1.12;}
body .pd-tool-card__footer{margin-top:14px;}
body .pd-tool-card__footer small,body .pd-tool-card__footer strong{font-size:10px;}
body .pd-mini-calendar{padding:11px;}
body .pd-mini-calendar__head strong{font-size:11px;}
body .pd-mini-calendar__week{font-size:8px;}
body .pd-mini-calendar__days{font-size:9px;}
body .pd-calendar-events{gap:8px;margin-top:10px;}
body .pd-calendar-events span{padding:10px;font-size:10px;}
body .pd-calendar-events b{font-size:10px;}
body .pd-calendar-events small{font-size:9px;}
body .pd-quote-card{padding:13px;}
body .pd-quote-card>strong{font-size:11px;}
body .pd-quote-card li,body .pd-quote-card li b{font-size:9px;}
body .pd-quote-total{font-size:11px;}
body .pd-kpi-grid{gap:8px;}
body .pd-kpi-grid span{padding:11px;}
body .pd-kpi-grid b{font-size:18px;}
body .pd-kpi-grid small,body .pd-kpi-grid em{font-size:9px;}
body .pd-mini-chart>strong{font-size:10px;}
body .pd-mini-chart>div{height:72px;}

body .pd-system-card{
    min-height:410px;
    padding:20px;
    border-radius:18px;
}
body .pd-system-card__title{gap:12px;margin-bottom:17px;}
body .pd-system-card__title>span{width:40px;height:40px;flex-basis:40px;}
body .pd-system-card__title h3{font-size:16px;}
body .pd-system-card__title p{font-size:10px;line-height:1.5;}
body .pd-customer-list li{gap:10px;padding:8px 0;}
body .avatar{width:31px;height:31px;font-size:10px;}
body .pd-customer-list b{font-size:10px;}
body .pd-customer-list small{font-size:9px;}
body .pd-system-albums i{aspect-ratio:1.35;}
body .pd-system-link{margin-top:12px;font-size:10px;}
body .pd-order-steps li{padding-bottom:15px;}
body .pd-order-steps li>i{width:23px;height:23px;flex-basis:23px;}
body .pd-order-steps b{font-size:10px;}
body .pd-order-steps small{font-size:9px;}
body .pd-report-select{padding:5px 9px;font-size:9px;}
body .pd-report-chart{height:132px;padding-top:22px;}
body .pd-report-foot small{font-size:9px;}
body .pd-report-foot b{font-size:18px;}

/* --- 3. Footer: larger text and a theme-aware brand mark --- */
body .footer{margin-top:20px;padding:34px 0 38px;}
.pd-home-footer-grid{grid-template-columns:1.45fr .8fr .95fr .85fr .9fr;gap:34px;}
.pd-home-footer-brand{display:flex;align-items:center;gap:12px;min-width:0;text-decoration:none;}
.pd-home-footer-logo-mark{width:48px;height:48px;flex:0 0 48px;display:grid;place-items:center;border-radius:13px;background:linear-gradient(135deg,#1677ff,#5b4be9);color:#fff;font-size:24px;box-shadow:0 9px 22px rgba(42,95,218,.18);}
.pd-home-footer-logo-copy{display:flex;min-width:0;flex-direction:column;line-height:1;}
.pd-home-footer-logo-copy b{color:#111827;font-size:25px;font-weight:900;letter-spacing:-1px;white-space:nowrap;}
.pd-home-footer-logo-copy b span{color:#3182f6;}
.pd-home-footer-logo-copy small{margin-top:6px;color:#697386;font-size:8px;font-weight:700;letter-spacing:2.4px;white-space:nowrap;}
.pd-home-footer-col{gap:7px;color:#667085;font-size:12px;line-height:1.4;}
.pd-home-footer-col strong{margin-bottom:4px;color:#182541;font-size:13px;}
.pd-home-footer-copy{gap:7px;color:#7b8494;font-size:11px;line-height:1.45;}
.pd-home-footer-copy span:last-child{font-size:10px;}

/* --- 4. Dark theme QA for every custom homepage component --- */
html[data-theme="dark"] body:not(.pd-dashboard-page):not(.studio-auth-page):not(.pd-public-album){
    --home-bg:#0d1014;
    --home-surface:#15191f;
    --home-surface-soft:#171b22;
    --home-text:#f5f7fa;
    --home-muted:#aab3c1;
    --home-line:rgba(255,255,255,.10);
}
html[data-theme="dark"] body .pd-home-hero{
    background:
        linear-gradient(90deg,#0f1216 0%,rgba(15,18,22,.98) 39%,rgba(15,18,22,.82) 53%,rgba(15,18,22,.28) 73%,rgba(15,18,22,.10) 100%),
        url("../images/home/hero-wedding.jpg") center/cover no-repeat !important;
}
html[data-theme="dark"] body .pd-home-eyebrow{color:#ff9f88;}
html[data-theme="dark"] body .pd-home-hero h1,
html[data-theme="dark"] body .gallery-heading h2,
html[data-theme="dark"] body .home-section-heading h2,
html[data-theme="dark"] .pd-tool-card h3,
html[data-theme="dark"] .pd-system-card__title h3,
html[data-theme="dark"] .pd-mobile-showcase__content h2,
html[data-theme="dark"] .cta-content h2{color:#f7f8fb !important;}
html[data-theme="dark"] body .pd-home-hero p,
html[data-theme="dark"] body .pd-home-hero__benefits,
html[data-theme="dark"] body .gallery-heading p,
html[data-theme="dark"] body .home-section-heading p,
html[data-theme="dark"] .pd-tool-card p,
html[data-theme="dark"] .pd-system-card__title p,
html[data-theme="dark"] .pd-mobile-showcase__content p,
html[data-theme="dark"] .cta-content p{color:#b8c0cc !important;font-weight:500;}
html[data-theme="dark"] body .quick-stats-box,
html[data-theme="dark"] body .demo-album-panel,
html[data-theme="dark"] .pd-tool-card,
html[data-theme="dark"] .pd-system-card,
html[data-theme="dark"] body .review-card,
html[data-theme="dark"] body .faq-item,
html[data-theme="dark"] body .cta-panel{background:#15191f !important;border-color:#2a313b !important;box-shadow:0 18px 45px rgba(0,0,0,.22) !important;}
html[data-theme="dark"] body .demo-album-meta h3,
html[data-theme="dark"] .pd-mini-calendar__head strong,
html[data-theme="dark"] .pd-calendar-events b,
html[data-theme="dark"] .pd-quote-card>strong,
html[data-theme="dark"] .pd-quote-total,
html[data-theme="dark"] .pd-kpi-grid b,
html[data-theme="dark"] .pd-mini-chart>strong,
html[data-theme="dark"] .pd-customer-list b,
html[data-theme="dark"] .pd-order-steps b,
html[data-theme="dark"] .pd-report-foot b{color:#eef2f7 !important;}
html[data-theme="dark"] body .demo-album-meta p,
html[data-theme="dark"] .pd-tool-filter-tabs span,
html[data-theme="dark"] .pd-system-tabs span,
html[data-theme="dark"] .pd-tool-card__footer small,
html[data-theme="dark"] .pd-mini-calendar__week,
html[data-theme="dark"] .pd-mini-calendar__days,
html[data-theme="dark"] .pd-calendar-events span,
html[data-theme="dark"] .pd-quote-card li,
html[data-theme="dark"] .pd-quote-card li b,
html[data-theme="dark"] .pd-kpi-grid small,
html[data-theme="dark"] .pd-customer-list small,
html[data-theme="dark"] .pd-order-steps small,
html[data-theme="dark"] .pd-report-foot small{color:#a8b1bf !important;}
html[data-theme="dark"] .pd-mini-calendar,
html[data-theme="dark"] .pd-quote-card,
html[data-theme="dark"] .pd-kpi-grid span,
html[data-theme="dark"] .pd-report-select,
html[data-theme="dark"] .pd-tool-filter-tabs span,
html[data-theme="dark"] .pd-system-tabs span{background:#1a1f26;border-color:#2b333e !important;}
html[data-theme="dark"] .pd-mini-calendar__head>span{background:#232a33;color:#d7dde6;}
html[data-theme="dark"] .pd-calendar-events .blue{background:#172a38;color:#c9dff0;}
html[data-theme="dark"] .pd-calendar-events .violet{background:#23213a;color:#d6d1f4;}
html[data-theme="dark"] .pd-calendar-events .green{background:#173027;color:#c9ead9;}
html[data-theme="dark"] .pd-calendar-events .peach{background:#35251d;color:#f0d4c6;}
html[data-theme="dark"] .pd-mobile-showcase__panel{background:linear-gradient(100deg,#20181a,#18191d 52%,#211719);border-color:#2b3038;}
html[data-theme="dark"] .pd-mobile-demo-link{background:#1a1f26;border-color:#2b333e;color:#f1f4f8;}
html[data-theme="dark"] body .footer{background:#11151a !important;border-color:#262d36 !important;}
html[data-theme="dark"] .pd-home-footer-logo-copy b{color:#fff;}
html[data-theme="dark"] .pd-home-footer-logo-copy b span{color:#5ca3ff;}
html[data-theme="dark"] .pd-home-footer-logo-copy small{color:#9ba6b5;}
html[data-theme="dark"] .pd-home-footer-col{color:#aeb7c4;}
html[data-theme="dark"] .pd-home-footer-col strong{color:#fff;}
html[data-theme="dark"] .pd-home-footer-copy{color:#9ca6b3;}

/* --- 5. Responsive QA: phone-first header/hero/cards --- */
@media(max-width:991px){
    body .pd-home-hero{
        min-height:auto;
        padding-top:96px;
        background:
            linear-gradient(90deg,rgba(250,248,245,.98) 0%,rgba(250,248,245,.91) 54%,rgba(250,248,245,.30) 100%),
            url("../images/home/hero-wedding.jpg") 64% center/cover no-repeat !important;
    }
    html[data-theme="dark"] body .pd-home-hero{
        background:
            linear-gradient(90deg,#0f1216 0%,rgba(15,18,22,.94) 58%,rgba(15,18,22,.36) 100%),
            url("../images/home/hero-wedding.jpg") 64% center/cover no-repeat !important;
    }
}

@media(max-width:767px){
    body:not(.pd-dashboard-page):not(.studio-auth-page):not(.pd-public-album) .header-wrap{min-height:66px !important;gap:7px !important;}
    body:not(.pd-dashboard-page):not(.studio-auth-page):not(.pd-public-album) .header .container{padding-left:12px;padding-right:12px;}
    body:not(.pd-dashboard-page):not(.studio-auth-page):not(.pd-public-album) .logo .logo-image{width:132px !important;height:44px !important;border-radius:8px !important;}
    body:not(.pd-dashboard-page):not(.studio-auth-page):not(.pd-public-album) .header-right{gap:6px !important;margin-left:auto !important;}
    body:not(.pd-dashboard-page):not(.studio-auth-page):not(.pd-public-album) .pd-global-theme-toggle{width:36px;height:36px;flex-basis:36px;border-radius:10px;}
    body:not(.pd-dashboard-page):not(.studio-auth-page):not(.pd-public-album) .trial-btn{min-height:38px !important;max-width:116px;padding:0 10px !important;border-radius:11px;font-size:11px !important;gap:5px !important;}
    body:not(.pd-dashboard-page):not(.studio-auth-page):not(.pd-public-album) .trial-btn i{font-size:12px;}

    body .pd-home-hero{
        min-height:auto !important;
        padding:72px 16px 38px !important;
        background:
            linear-gradient(180deg,rgba(250,248,245,.04) 0%,rgba(250,248,245,.12) 28%,#faf8f5 48%,#faf8f5 100%),
            url("../images/home/hero-wedding.jpg") 68% 0 / auto 300px no-repeat !important;
    }
    html[data-theme="dark"] body .pd-home-hero{
        background:
            linear-gradient(180deg,rgba(15,18,22,.03) 0%,rgba(15,18,22,.16) 27%,#0f1216 48%,#0f1216 100%),
            url("../images/home/hero-wedding.jpg") 68% 0 / auto 300px no-repeat !important;
    }
    body .pd-home-hero__content{max-width:none;padding-top:245px;text-align:left;}
    body .pd-home-eyebrow{margin-bottom:9px;font-size:9px;letter-spacing:.12em;}
    body .pd-home-hero h1{max-width:100%;margin-bottom:12px;font-size:34px !important;line-height:1.06;letter-spacing:-1.2px !important;}
    body .pd-home-hero p{max-width:100%;margin-bottom:18px;font-size:13px !important;line-height:1.55;}
    body .pd-home-hero__actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;}
    body .pd-home-hero .btn-gradient,body .pd-home-hero .btn-outline{min-height:44px;min-width:0 !important;padding:0 10px !important;font-size:11px !important;border-radius:11px;}
    body .pd-home-hero__benefits{grid-template-columns:1fr 1fr;gap:10px 12px;margin-top:17px;font-size:10px;}
    body .pd-home-hero__benefits span{max-width:none;gap:7px;}
    body .pd-home-hero__benefits i{font-size:16px;}

    body .quick-stats{margin-top:0 !important;padding:14px 12px 0 !important;}
    body .quick-stats-box{grid-template-columns:1fr 1fr !important;gap:0;padding:7px !important;border-radius:16px;}
    body .quick-stat-item{min-height:78px !important;padding:8px 10px !important;}
    body .quick-stat-icon{width:36px;height:36px;flex-basis:36px;font-size:16px;}
    body .quick-stat-value{font-size:18px !important;}
    body .quick-stat-item span:not(.quick-stat-icon){font-size:9px;}

    body .gallery-showcase,body .process,body .features,body .pd-mobile-showcase,body .reviews,body .faq,body .home-cta{padding-top:64px !important;}
    body .gallery-heading,body .home-section-heading{margin-bottom:30px !important;padding-left:10px;padding-right:10px;}
    body .gallery-heading h2,body .home-section-heading h2{font-size:27px !important;line-height:1.18;}
    body .gallery-heading p,body .home-section-heading p{font-size:12px !important;}

    body .demo-photo-media{height:270px !important;}
    body .pd-tool-grid,body .pd-system-grid{grid-template-columns:1fr;gap:16px;}
    body .pd-tool-card,body .pd-system-card{min-height:0;padding:18px;}
    body .pd-mobile-showcase__panel{padding:22px 18px;}
    body .pd-mobile-showcase__content h2{font-size:25px;line-height:1.15;}
    body .pd-mobile-showcase__content p{font-size:12px;line-height:1.55;}
    body .footer{margin-top:20px;padding:30px 0 34px;}
    .pd-home-footer-grid{grid-template-columns:1fr 1fr;gap:24px 18px;}
    .pd-home-footer-brand{grid-column:1/-1;}
    .pd-home-footer-copy{grid-column:1/-1;align-items:flex-start;}
    .pd-home-footer-col{font-size:12px;}
    .pd-home-footer-col strong{font-size:13px;}
}

@media(max-width:480px){
    body:not(.pd-dashboard-page):not(.studio-auth-page):not(.pd-public-album) .logo .logo-image{width:122px !important;height:42px !important;}
    body:not(.pd-dashboard-page):not(.studio-auth-page):not(.pd-public-album) .trial-btn{max-width:104px;padding:0 8px !important;font-size:10px !important;}
    body:not(.pd-dashboard-page):not(.studio-auth-page):not(.pd-public-album) .trial-btn i{display:none;}
    body .pd-home-hero__content{padding-top:230px;}
    body .pd-home-hero h1{font-size:32px !important;}
    body .pd-home-hero__actions{grid-template-columns:1fr;}
    body .pd-home-hero__benefits{grid-template-columns:1fr;}
    body .quick-stats-box{grid-template-columns:1fr 1fr !important;}
    body .quick-stat-item{border-bottom:0 !important;}
    body .quick-stat-item:nth-child(-n+2){border-bottom:1px solid rgba(22,34,57,.07) !important;}
    body .demo-photo-card{flex-basis:calc(100vw - 56px) !important;width:calc(100vw - 56px) !important;}
    body .demo-photo-media{height:300px !important;}
    .pd-home-footer-grid{grid-template-columns:1fr;}
    .pd-home-footer-brand,.pd-home-footer-copy{grid-column:auto;}
    .pd-home-footer-logo-copy b{font-size:23px;}
}

@media(max-width:360px){
    body:not(.pd-dashboard-page):not(.studio-auth-page):not(.pd-public-album) .logo .logo-image{width:112px !important;}
    body:not(.pd-dashboard-page):not(.studio-auth-page):not(.pd-public-album) .trial-btn{max-width:94px;font-size:9px !important;}
    body:not(.pd-dashboard-page):not(.studio-auth-page):not(.pd-public-album) .pd-global-theme-toggle{width:34px;height:34px;flex-basis:34px;}
    body .pd-home-hero h1{font-size:30px !important;}
}


/* --- v3.10.68: Mobile experience AI visual + social-sale polish --- */
body .pd-mobile-showcase__panel{
    min-height:310px;
    grid-template-columns:minmax(360px,430px) minmax(0,1fr) 180px;
    gap:30px;
    padding:26px 34px;
}
body .pd-mobile-showcase__visual{
    position:relative;
    min-width:0;
    align-self:stretch;
    display:flex;
    align-items:center;
    justify-content:center;
}
body .pd-mobile-showcase__visual img{
    display:block;
    width:100%;
    max-width:430px;
    height:auto;
    border-radius:20px;
    filter:drop-shadow(0 18px 28px rgba(28,37,55,.12));
}
body .pd-mobile-showcase__features{
    display:flex;
    flex-wrap:wrap;
    gap:7px;
    margin:0 0 15px;
}
body .pd-mobile-showcase__features span{
    display:inline-flex;
    align-items:center;
    gap:6px;
    min-height:28px;
    padding:5px 9px;
    border:1px solid rgba(22,34,57,.07);
    border-radius:999px;
    background:rgba(255,255,255,.82);
    color:#526077;
    font-size:9px;
    font-weight:700;
    white-space:nowrap;
}
body .pd-mobile-showcase__features i{color:#f05272;font-size:10px;}
body .pd-mobile-showcase__features b{color:#5968ee;font-size:10px;}

html[data-theme="dark"] body .pd-mobile-showcase__features span{
    background:#1b1e23;
    border-color:rgba(255,255,255,.08);
    color:#c5cad3;
}

@media (max-width:1180px){
    body .pd-mobile-showcase__panel{grid-template-columns:320px minmax(0,1fr);gap:24px;}
    body .pd-mobile-showcase__note{display:none;}
    body .pd-mobile-showcase__visual img{max-width:340px;}
}

@media (max-width:900px){
    body .pd-mobile-showcase__panel{grid-template-columns:1fr;padding:26px;}
    body .pd-mobile-showcase__visual{display:flex !important;max-width:520px;margin:0 auto 2px;}
    body .pd-mobile-showcase__visual img{max-width:420px;}
    body .pd-mobile-showcase__content{text-align:center;}
    body .pd-mobile-showcase__features{justify-content:center;}
    body .pd-mobile-showcase__actions{justify-content:center;}
}

@media (max-width:600px){
    body .pd-mobile-showcase__panel{padding:18px 14px 22px;border-radius:18px;}
    body .pd-mobile-showcase__visual{margin:0 auto 4px;}
    body .pd-mobile-showcase__visual img{width:min(100%,360px);border-radius:16px;}
    body .pd-mobile-showcase__content h2{font-size:25px !important;}
    body .pd-mobile-showcase__features{gap:6px;margin-bottom:14px;}
    body .pd-mobile-showcase__features span{font-size:8.5px;padding:5px 8px;}
}

/* ======================================================================
   v3.10.69 — Responsive viewport fit for homepage header + hero + stats
   Keeps the approved visual design while preventing oversized / orphaned
   headline wrapping on wide and mid-size screens.
   ====================================================================== */

/* Fluid desktop canvas: do not let Bootstrap's fixed steps make the hero
   look either too compressed or too spread out between common monitors. */
@media (min-width:1200px){
    body:not(.pd-dashboard-page):not(.studio-auth-page):not(.pd-public-album) .header .container,
    body .pd-home-hero .container{
        width:calc(100% - 64px);
        max-width:1440px;
    }

    body:not(.pd-dashboard-page):not(.studio-auth-page):not(.pd-public-album) .header-wrap{
        gap:clamp(18px,1.45vw,30px);
    }
    body:not(.pd-dashboard-page):not(.studio-auth-page):not(.pd-public-album) .menu{
        gap:clamp(22px,2vw,38px);
    }
    body:not(.pd-dashboard-page):not(.studio-auth-page):not(.pd-public-album) .menu a,
    body:not(.pd-dashboard-page):not(.studio-auth-page):not(.pd-public-album) .login-btn{
        font-size:clamp(13px,.82vw,15px);
    }
    body:not(.pd-dashboard-page):not(.studio-auth-page):not(.pd-public-album) .header-right{
        gap:clamp(14px,1.3vw,24px);
        margin-left:clamp(10px,1.5vw,26px);
    }
    body:not(.pd-dashboard-page):not(.studio-auth-page):not(.pd-public-album) .trial-btn{
        min-height:clamp(46px,2.8vw,50px);
        padding-inline:clamp(18px,1.4vw,24px);
        font-size:clamp(13px,.82vw,15px);
    }

    body .pd-home-hero{
        min-height:clamp(520px,34vw,610px);
        padding-top:clamp(120px,7vw,138px);
        padding-bottom:clamp(48px,3.6vw,64px);
        background:
            linear-gradient(90deg,#faf9f7 0%,rgba(250,249,247,.99) 36%,rgba(250,249,247,.80) 52%,rgba(250,249,247,.16) 72%),
            url("../images/home/hero-wedding.jpg") 58% 40% / cover no-repeat !important;
    }
    body .pd-home-hero__content{
        width:min(54vw,760px);
        max-width:760px;
        padding-top:0;
    }
    body .pd-home-hero h1{
        max-width:760px;
        font-size:clamp(48px,3.18vw,60px) !important;
        line-height:1.035;
        letter-spacing:-.038em !important;
        text-wrap:balance;
    }
    body .pd-home-hero h1 span{
        display:block;
        white-space:nowrap;
    }
    body .pd-home-hero p{
        max-width:640px;
        font-size:clamp(14px,.92vw,16px) !important;
        line-height:1.56;
    }
    body .pd-home-hero__benefits{
        gap:clamp(18px,1.7vw,28px);
        font-size:clamp(10.5px,.72vw,12px);
    }
    body .quick-stats .container{
        width:calc(100% - 64px);
        max-width:1120px;
    }
}

/* Compact desktop / landscape tablet: preserve the same two-line headline
   instead of leaving “đại” alone on a third line. */
@media (min-width:992px) and (max-width:1199px){
    body:not(.pd-dashboard-page):not(.studio-auth-page):not(.pd-public-album) .header .container,
    body .pd-home-hero .container{
        width:calc(100% - 40px);
        max-width:none;
    }
    body:not(.pd-dashboard-page):not(.studio-auth-page):not(.pd-public-album) .home-brand-logo__mark{
        width:52px;
        height:52px;
        flex-basis:52px;
    }
    body:not(.pd-dashboard-page):not(.studio-auth-page):not(.pd-public-album) .home-brand-logo__copy strong{
        font-size:27px;
    }
    body:not(.pd-dashboard-page):not(.studio-auth-page):not(.pd-public-album) .home-brand-logo__copy small{
        font-size:7px;
        letter-spacing:2.1px;
    }
    body:not(.pd-dashboard-page):not(.studio-auth-page):not(.pd-public-album) .menu{
        gap:16px;
    }
    body:not(.pd-dashboard-page):not(.studio-auth-page):not(.pd-public-album) .menu a,
    body:not(.pd-dashboard-page):not(.studio-auth-page):not(.pd-public-album) .login-btn{
        font-size:12px;
    }
    body:not(.pd-dashboard-page):not(.studio-auth-page):not(.pd-public-album) .header-right{
        gap:12px;
        margin-left:8px;
    }
    body:not(.pd-dashboard-page):not(.studio-auth-page):not(.pd-public-album) .trial-btn{
        min-height:44px;
        padding:0 15px;
        font-size:12px;
    }

    body .pd-home-hero{
        min-height:520px;
        padding:116px 0 52px;
        background:
            linear-gradient(90deg,#faf9f7 0%,rgba(250,249,247,.99) 42%,rgba(250,249,247,.78) 59%,rgba(250,249,247,.12) 78%),
            url("../images/home/hero-wedding.jpg") 62% 40% / cover no-repeat !important;
    }
    body .pd-home-hero__content{
        width:64vw;
        max-width:660px;
        padding-top:0;
    }
    body .pd-home-hero h1{
        max-width:660px;
        font-size:clamp(43px,4.35vw,50px) !important;
        line-height:1.04;
        letter-spacing:-.035em !important;
    }
    body .pd-home-hero h1 span{
        display:block;
        white-space:nowrap;
    }
    body .pd-home-hero p{max-width:580px;font-size:14px !important;}
    body .quick-stats .container{width:calc(100% - 48px);max-width:1020px;}
}

/* Move to the existing compact header before it becomes crowded. */
@media (min-width:992px) and (max-width:1080px){
    body:not(.pd-dashboard-page):not(.studio-auth-page):not(.pd-public-album) .menu{display:none;}
    body:not(.pd-dashboard-page):not(.studio-auth-page):not(.pd-public-album) .header-right{margin-left:auto;}
}

/* Tablet: balanced image/text proportions, no fixed desktop headline rules. */
@media (min-width:768px) and (max-width:991px){
    body .pd-home-hero{
        min-height:500px !important;
        padding:106px 24px 48px !important;
        background:
            linear-gradient(90deg,#faf9f7 0%,rgba(250,249,247,.96) 50%,rgba(250,249,247,.50) 74%,rgba(250,249,247,.18) 100%),
            url("../images/home/hero-wedding.jpg") 66% center / cover no-repeat !important;
    }
    body .pd-home-hero .container{max-width:100%;padding:0;}
    body .pd-home-hero__content{width:64%;max-width:590px;padding-top:0;}
    body .pd-home-hero h1{
        max-width:590px;
        font-size:clamp(38px,5.2vw,46px) !important;
        line-height:1.05;
        letter-spacing:-.032em !important;
    }
    body .pd-home-hero h1 span{display:block;white-space:normal;}
    body .pd-home-hero p{max-width:520px;font-size:13.5px !important;}
}

/* Phones retain the already-approved stacked composition, but size from the
   viewport rather than hard jumps so 360 / 390 / 430 / 600 stay coherent. */
@media (max-width:767px){
    body .pd-home-hero{
        padding-left:clamp(14px,4vw,20px) !important;
        padding-right:clamp(14px,4vw,20px) !important;
    }
    body .pd-home-hero__content{width:100%;max-width:none;}
    body .pd-home-hero h1{
        font-size:clamp(30px,8.5vw,36px) !important;
        line-height:1.06;
        letter-spacing:-.032em !important;
        text-wrap:balance;
    }
    body .pd-home-hero h1 span{display:block;white-space:normal;}
}

@media (max-width:390px){
    body .pd-home-hero h1{font-size:clamp(29px,8.2vw,32px) !important;}
    body .pd-home-hero__benefits{font-size:9.5px;}
}

/* ======================================================================
   2026-09-17 — Desktop hero viewport fit
   On wide screens the approved header + hero + floating stats block should
   visually occupy one first viewport instead of the hero being capped near
   ~610px on tall monitors. Mobile/tablet composition remains unchanged.
   ====================================================================== */
@media (min-width:1200px){
    body .pd-home-hero{
        /* quick-stats is ~104px tall and overlaps hero by 24px, therefore
           hero = viewport - ~80px keeps the entire first composition in view. */
        min-height:max(610px, calc(100svh - 80px));
    }
}

/* Fallback for browsers that do not expose the small-viewport unit. */
@supports not (height:100svh){
    @media (min-width:1200px){
        body .pd-home-hero{
            min-height:max(610px, calc(100vh - 80px));
        }
    }
}
