
/* ══ PAGE HERO ══ */
.page-hero{background:linear-gradient(135deg,#060f2e 0%,#0B2D72 55%,#0f3380 100%);padding:40px 0 0;overflow:hidden;position:relative;}
.page-hero::before{content:'';position:absolute;top:-80px;right:-80px;width:600px;height:600px;border-radius:50%;background:radial-gradient(circle,rgba(232,160,32,.1) 0%,transparent 60%);pointer-events:none;}
.page-hero .hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center;}
.hero-left{position:relative;z-index:2;}
.page-hero h1{font-family:'Sora',sans-serif;font-size:40px;font-weight:800;line-height:1.1;color:white;margin:16px 0 0;}
.page-hero h1 em{font-style:normal;color:var(--gold);}
.page-hero .hero-desc{font-size:16px;color:rgba(255,255,255,.72);margin:18px 0 28px;line-height:1.8;max-width:480px;}
.page-hero .hero-actions{display:flex;gap:14px;flex-wrap:wrap;}
.page-hero .hero-trust{display:flex;align-items:center;gap:24px;margin-top:28px;padding-top:24px;border-top:1px solid rgba(255,255,255,.12);}
.page-hero .trust-item{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:rgba(255,255,255,.65);}
.page-hero .trust-icon{width:26px;height:26px;background:rgba(255,255,255,.1);border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:13px;}
.hero-dot-inline{width:8px;height:8px;border-radius:50%;background:var(--gold);animation:pulse 2s infinite;display:inline-block;margin-right:8px;vertical-align:middle;}

/* ══ PANEL MOCKUP (Hero Right) ══ */
.hero-right{position:relative;z-index:2;display:flex;justify-content:center;}
.panel-mockup{width:320px;background:rgba(255,255,255,.08);backdrop-filter:blur(16px);border:1px solid rgba(255,255,255,.18);border-radius:24px;padding:24px;display:flex;flex-direction:column;gap:14px;}
.panel-header{display:flex;align-items:center;gap:12px;padding-bottom:14px;border-bottom:1px solid rgba(255,255,255,.1);}
.panel-avatar{width:42px;height:42px;border-radius:12px;background:var(--gold);display:flex;align-items:center;justify-content:center;font-family:'Sora',sans-serif;font-weight:800;font-size:18px;color:white;flex-shrink:0;}
.panel-id{font-family:'Sora',sans-serif;font-size:13px;font-weight:800;color:white;}
.panel-id span{display:block;font-size:11px;font-weight:500;color:rgba(255,255,255,.5);margin-top:1px;}
.panel-badge{margin-left:auto;background:rgba(34,197,94,.2);color:#86efac;font-size:11px;font-weight:700;padding:4px 10px;border-radius:50px;}
.panel-stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;}
.pstat{background:rgba(255,255,255,.08);border-radius:14px;padding:14px 14px 12px;border:1px solid rgba(255,255,255,.08);}
.pstat-num{font-family:'Sora',sans-serif;font-size:26px;font-weight:800;color:white;}
.pstat-label{font-size:10px;color:rgba(255,255,255,.5);font-weight:600;margin-top:3px;line-height:1.4;}
.pstat.gold .pstat-num{color:var(--gold);}
.panel-scan-row{background:rgba(255,255,255,.06);border-radius:14px;padding:14px 16px;display:flex;align-items:center;gap:12px;border:1px solid rgba(255,255,255,.08);}
.scan-icon{width:38px;height:38px;background:var(--gold);border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:18px;flex-shrink:0;}
.scan-text strong{display:block;font-size:13px;font-weight:700;color:white;}
.scan-text span{font-size:11px;color:rgba(255,255,255,.5);}
.scan-status{margin-left:auto;background:rgba(34,197,94,.15);border-radius:8px;padding:4px 10px;}
.scan-status span{font-size:11px;font-weight:700;color:#86efac;}

/* ══ BREADCRUMB BAR ══ */
.page-hero-bottom{background:var(--gold);padding:12px 0;margin-top:60px;}
.breadcrumb-bar{display:flex;align-items:center;gap:8px;font-size:13px;color:rgba(0,0,0,.55);font-weight:500;}
.breadcrumb-bar a{color:rgba(0,0,0,.55);text-decoration:none;}
.breadcrumb-bar a:hover{color:#000;}
.breadcrumb-bar .current{color:rgba(0,0,0,.85);font-weight:700;}

/* ══ FLOW SECTION (How Franchise Works) ══ */
.flow-section{padding:90px 0;background:var(--bg);}
.flow-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin-top:50px;position:relative;}
.flow-steps::before{content:'';position:absolute;top:50px;left:calc(16.6% + 8px);right:calc(16.6% + 8px);height:2px;background:linear-gradient(90deg,var(--blue-light),var(--blue),var(--blue-light));z-index:0;}
.flow-card{background:white;border-radius:24px;margin:0 12px;padding:40px 28px 32px;text-align:center;position:relative;z-index:1;border:1.5px solid var(--border);transition:all .3s;}
.flow-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-lg);border-color:var(--blue);}
.flow-num{position:absolute;top:-18px;left:50%;transform:translateX(-50%);width:36px;height:36px;background:var(--gold);color:white;border-radius:50%;font-family:'Sora',sans-serif;font-size:15px;font-weight:800;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 16px rgba(232,160,32,.45);}
.flow-icon{width:72px;height:72px;background:var(--bg);border-radius:20px;margin:0 auto 18px;display:flex;align-items:center;justify-content:center;font-size:28px;}
.flow-card h3{font-family:'Sora',sans-serif;font-size:17px;font-weight:800;margin-bottom:10px;color:var(--text);}
.flow-card p{font-size:13px;color:var(--muted);line-height:1.7;}

/* ══ PANEL FEATURES SECTION ══ */
.panel-section{padding:90px 0;background:white;}
.panel-layout{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center;margin-top:50px;}
.pf-list{display:flex;flex-direction:column;gap:14px;}
.pf-card{background:var(--bg);border-radius:18px;padding:20px 22px;display:flex;align-items:flex-start;gap:16px;border:1.5px solid transparent;transition:all .3s;}
.pf-card:hover{border-color:var(--blue);background:white;box-shadow:var(--shadow);}
.pf-card-icon{width:46px;height:46px;border-radius:12px;background:var(--blue-light);display:flex;align-items:center;justify-content:center;font-size:20px;flex-shrink:0;}
.pf-card h4{font-family:'Sora',sans-serif;font-size:15px;font-weight:800;margin-bottom:4px;color:var(--text);}
.pf-card p{font-size:13px;color:var(--muted);line-height:1.6;}
.panel-visual{background:linear-gradient(145deg,#060f2e,#0B2D72);border-radius:24px;padding:28px;}
.pv-title{font-family:'Sora',sans-serif;font-size:12px;font-weight:800;color:rgba(255,255,255,.45);text-transform:uppercase;letter-spacing:.5px;margin-bottom:18px;}
.pv-stat-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:14px;}
.pv-stat{background:rgba(255,255,255,.07);border-radius:14px;padding:16px 14px;border:1px solid rgba(255,255,255,.07);}
.pv-stat-num{font-family:'Sora',sans-serif;font-size:28px;font-weight:800;color:white;}
.pv-stat-label{font-size:11px;color:rgba(255,255,255,.45);margin-top:4px;font-weight:600;}
.pv-stat.gold .pv-stat-num{color:var(--gold);}
.pv-stock-bar{background:rgba(255,255,255,.07);border-radius:14px;padding:16px;border:1px solid rgba(255,255,255,.07);margin-bottom:14px;}
.pvb-label{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;}
.pvb-label span{font-size:12px;font-weight:600;color:rgba(255,255,255,.6);}
.pvb-label strong{font-size:12px;font-weight:800;color:var(--gold);}
.pvb-track{height:8px;background:rgba(255,255,255,.1);border-radius:8px;overflow:hidden;}
.pvb-fill{height:100%;border-radius:8px;background:linear-gradient(90deg,var(--blue-mid),var(--gold));}
.pv-scan-list{display:flex;flex-direction:column;gap:8px;}
.pv-scan-item{background:rgba(255,255,255,.06);border-radius:12px;padding:12px 14px;display:flex;align-items:center;gap:10px;}
.pv-scan-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0;}
.dot-sold{background:#86efac;}
.dot-stock{background:var(--gold);}
.pv-scan-label{font-size:12px;color:rgba(255,255,255,.7);flex:1;}
.pv-scan-time{font-size:11px;color:rgba(255,255,255,.35);}

/* ══ SALE FLOW SECTION (Vertical Steps) ══ */
.flow2-section{padding:90px 0;background:var(--bg);}
.flow2-steps{display:flex;flex-direction:column;gap:0;max-width:700px;margin:50px auto 0;position:relative;}
.flow2-steps::before{content:'';position:absolute;left:27px;top:54px;bottom:54px;width:2px;background:linear-gradient(180deg,var(--border),var(--blue),var(--border));z-index:0;}
.flow2-item{display:flex;gap:22px;align-items:flex-start;position:relative;z-index:1;}
.flow2-dot{width:56px;height:56px;border-radius:50%;background:white;border:2px solid var(--border);display:flex;align-items:center;justify-content:center;font-size:22px;flex-shrink:0;box-shadow:0 2px 12px rgba(11,45,114,.07);transition:all .3s;}
.flow2-item:hover .flow2-dot{border-color:var(--blue);background:var(--blue-light);}
.flow2-body{background:white;border-radius:18px;padding:20px 22px;flex:1;border:1.5px solid var(--border);transition:all .3s;margin-bottom:14px;}
.flow2-item:hover .flow2-body{border-color:var(--blue);box-shadow:var(--shadow);}
.flow2-body h4{font-family:'Sora',sans-serif;font-size:15px;font-weight:800;margin-bottom:6px;color:var(--text);}
.flow2-body p{font-size:13px;color:var(--muted);line-height:1.7;}
.chip{display:inline-flex;align-items:center;font-size:11px;font-weight:700;padding:4px 12px;border-radius:50px;margin-top:10px;}
.chip-blue{background:var(--blue-light);color:var(--blue);}
.chip-gold{background:var(--gold-light);color:var(--gold-dark);}
.chip-green{background:#dcfce7;color:#15803d;}

/* ══ FAQ SECTION ══ */
.faq-section{padding:90px 0;background:white;}
.faq-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:50px;}
.faq-item{background:var(--bg);border-radius:18px;border:1.5px solid var(--border);overflow:hidden;transition:.3s;}
.faq-item.open{border-color:var(--blue);}
.faq-q{width:100%;background:none;border:none;text-align:left;padding:20px 22px;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:12px;}
.faq-q-text{font-family:'Sora',sans-serif;font-size:14px;font-weight:700;color:var(--text);line-height:1.4;}
.faq-arrow{font-size:20px;color:var(--muted);transition:.3s;flex-shrink:0;}
.faq-item.open .faq-arrow{transform:rotate(180deg);color:var(--blue);}
.faq-a{max-height:0;overflow:hidden;transition:.35s ease;padding:0 22px;font-size:13px;color:var(--muted);line-height:1.75;}
.faq-item.open .faq-a{max-height:200px;padding:0 22px 20px;}

/* ══ APPLICATION FORM SECTION ══ */
.apply-section{padding:90px 0;background:linear-gradient(135deg,var(--blue-deep) 0%,var(--blue) 100%);position:relative;overflow:hidden;}
.apply-section::before{content:'';position:absolute;top:-100px;right:-100px;width:500px;height:500px;border-radius:50%;background:radial-gradient(circle,rgba(232,160,32,.1) 0%,transparent 60%);}
.apply-layout{display:grid;grid-template-columns:1fr 1.1fr;gap:70px;align-items:start;position:relative;z-index:2;}
.apply-left h2{font-family:'Sora',sans-serif;font-size:32px;font-weight:800;color:white;line-height:1.15;margin:14px 0 14px;}
.apply-left p{font-size:15px;color:rgba(255,255,255,.7);line-height:1.8;margin-bottom:28px;}
.apply-perks{display:flex;flex-direction:column;gap:14px;}
.aperk{display:flex;align-items:flex-start;gap:14px;}
.aperk-icon{width:40px;height:40px;border-radius:12px;background:rgba(255,255,255,.1);display:flex;align-items:center;justify-content:center;font-size:18px;flex-shrink:0;}
.aperk-text strong{display:block;font-size:14px;font-weight:700;color:white;margin-bottom:2px;}
.aperk-text span{font-size:13px;color:rgba(255,255,255,.55);}
.apply-form-box{background:white;border-radius:24px;padding:36px 32px;}
.apply-form-box h3{font-family:'Sora',sans-serif;font-size:20px;font-weight:800;color:var(--text);margin-bottom:4px;}
.form-subtitle{font-size:13px;color:var(--muted);margin-bottom:22px;}
.form-group{display:flex;flex-direction:column;gap:6px;margin-bottom:14px;}
.form-group label{font-size:13px;font-weight:600;color:var(--text);}
.form-group input,.form-group select{padding:13px 16px;border:1.5px solid var(--border);border-radius:12px;font-size:14px;font-family:'DM Sans',sans-serif;color:var(--text);background:var(--bg);transition:.2s;width:100%;-webkit-appearance:none;appearance:none;}
.form-group select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235a6e8c' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;padding-right:40px;}
.form-group input:focus,.form-group select:focus{outline:none;border-color:var(--blue);background:white;box-shadow:0 0 0 3px rgba(11,45,114,.08);}
.form-group input::placeholder{color:#aab5c8;}
.form-row-2{display:grid;grid-template-columns:1fr 1fr;gap:14px;}
.form-submit-btn{width:100%;padding:15px;border-radius:14px;font-size:16px;font-weight:700;background:var(--gold);color:white;border:none;cursor:pointer;font-family:'DM Sans',sans-serif;transition:all .25s;margin-top:6px;display:flex;align-items:center;justify-content:center;gap:8px;}
.form-submit-btn:hover{background:var(--gold-dark);transform:translateY(-2px);box-shadow:0 12px 28px rgba(232,160,32,.4);}
.form-note{font-size:12px;color:var(--muted);text-align:center;margin-top:10px;line-height:1.6;}
#apply-success{display:none;text-align:center;padding:28px 10px;}
#apply-success .si{font-size:52px;margin-bottom:14px;}
#apply-success h4{font-family:'Sora',sans-serif;font-size:20px;font-weight:800;color:var(--text);margin-bottom:8px;}
#apply-success p{font-size:14px;color:var(--muted);line-height:1.7;}

/* ══ ANIMATIONS ══ */
@keyframes pulse{0%,100%{opacity:1;transform:scale(1);}50%{opacity:.5;transform:scale(1.4);}}
@keyframes fadeUp{from{opacity:0;transform:translateY(24px);}to{opacity:1;transform:translateY(0);}}
@keyframes float{0%,100%{transform:translateY(0);}50%{transform:translateY(-8px);}}

.page-hero h1{animation:fadeUp .7s ease both;}
.page-hero .hero-desc{animation:fadeUp .7s .15s ease both;}
.page-hero .hero-actions{animation:fadeUp .7s .3s ease both;}
.page-hero .hero-trust{animation:fadeUp .7s .45s ease both;}
.hero-right{animation:float 4s ease-in-out infinite;}

/* ══ RESPONSIVE: TABLET (max-width: 1024px) ══ */
@media(max-width:1024px){
  .page-hero .hero-grid{grid-template-columns:1fr;}
  .hero-right{display:none;}
  .flow-steps{grid-template-columns:1fr;gap:40px;}
  .flow-steps::before{display:none;}
  .flow-card{margin:0;}
  .faq-grid{grid-template-columns:1fr;}
  .panel-layout{grid-template-columns:1fr;}
  .apply-layout{grid-template-columns:1fr;}
}

/* ══ RESPONSIVE: MOBILE (max-width: 768px) ══ */
@media(max-width:768px){
  .page-hero{padding:52px 0 0;}
  .page-hero h1{font-size:28px;}
  .page-hero .hero-desc{font-size:14px;}
  .page-hero .hero-actions{flex-direction:column;}
  .page-hero .hero-actions .btn{justify-content:center;}
  .page-hero .hero-trust{flex-wrap:wrap;}
  .flow-section,.flow2-section,.panel-section,.faq-section,.apply-section{padding:60px 0;}
  .form-row-2{grid-template-columns:1fr;}
  .apply-layout{gap:36px;}
  .apply-form-box{padding:24px 20px;}
  .apply-left h2{font-size:24px;}
  .panel-mockup{width:280px;font-size:12px;}
}

/* ══ RESPONSIVE: SMALL MOBILE (max-width: 480px) ══ */
@media(max-width:480px){
  .page-hero h1{font-size:24px;}
  .panel-mockup{width:240px;}
}
.apply-success-ajax{
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    text-align: center;
}
