/* ========================================
   SHERIF APPS — Developer Portal
   Light Theme CSS System
   ======================================== */

/* --- Design Tokens --- */
:root {
    --navy:        #0B1D3A;
    --navy-mid:    #132748;
    --cyan:        #00B4D8;
    --cyan-hover:  #0096B4;
    --cyan-light:  rgba(0, 180, 216, 0.08);
    --cyan-border: rgba(0, 180, 216, 0.25);
    --bg:          #F4F7FC;
    --bg-white:    #FFFFFF;
    --bg-section:  #EEF3FA;
    --text-head:   #0B1D3A;
    --text-body:   #3D5280;
    --text-muted:  #7A90B5;
    --border:      #D8E3F0;
    --shadow-sm:   0 2px 8px rgba(11,29,58,0.07);
    --shadow-md:   0 8px 28px rgba(11,29,58,0.10);
    --shadow-lg:   0 20px 60px rgba(11,29,58,0.14);
    --radius-sm:   10px;
    --radius-md:   16px;
    --radius-lg:   24px;
    --font:        'Cairo', sans-serif;
    --transition:  all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    background-color: var(--bg);
    color: var(--text-body);
    line-height: 1.7;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { width: 92%; max-width: 1160px; margin: 0 auto; }
.hidden { display: none !important; }

/* ========================================
   HEADER
   ======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 5%;
    max-width: 1160px;
    margin: 0 auto;
    gap: 1rem;
}
.header-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy);
}
.header-logo-img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: contain;
}
.header-logo-text .accent { color: var(--cyan); }
.header-nav { display: flex; align-items: center; gap: 0.25rem; }
.nav-link {
    padding: 0.45rem 0.9rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy);
    transition: var(--transition);
}
.nav-link:hover { background: var(--cyan-light); color: var(--cyan); }

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1.4rem;
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-primary {
    background: var(--cyan);
    color: #fff;
    border-color: var(--cyan);
    box-shadow: 0 4px 18px rgba(0,180,216,0.30);
}
.btn-primary:hover {
    background: var(--cyan-hover);
    border-color: var(--cyan-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,180,216,0.40);
}
.btn-primary:active { transform: translateY(0); }
.btn-outline {
    background: transparent;
    color: var(--navy);
    border-color: var(--border);
}
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); background: var(--cyan-light); }
.btn-ghost {
    background: transparent;
    color: var(--text-body);
    border-color: transparent;
}
.btn-ghost:hover { color: var(--navy); }
.btn-lg { padding: 0.85rem 2rem; font-size: 1.05rem; border-radius: var(--radius-md); }
.btn-block { width: 100%; }

/* ========================================
   HERO SECTION — Split Layout
   ======================================== */
.hero-section {
    position: relative;
    background: var(--bg-white);
    padding: 2rem 0 4rem;
    overflow: hidden;
}
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
}
.hero-glow-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(0,180,216,0.10) 0%, transparent 70%);
    top: -200px; left: 40%; transform: translateX(-50%);
}
.hero-glow-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(11,29,58,0.05) 0%, transparent 70%);
    bottom: -150px; left: 5%;
}

/* Two-column grid: right=text, left=visual (RTL) */
.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
    min-height: 460px; /* Reduced from 520px to make layout more compact */
}

/* ── Text Side (RIGHT in RTL) ── */
.hero-content { text-align: start; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--cyan-hover);
    margin-bottom: 1.6rem;
}
.badge-dot {
    width: 7px; height: 7px;
    background: var(--cyan);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.7); }
}
.hero-title {
    font-size: clamp(2.2rem, 4.4vw, 3.8rem);
    font-weight: 900;
    line-height: 1.28;
    color: var(--navy);
    margin-bottom: 1.4rem;
    letter-spacing: -0.5px;
}
.hero-accent { color: var(--cyan); }
.hero-subtitle {
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    color: var(--text-body);
    max-width: 580px; /* Expands to contain writing more beautifully */
    margin-bottom: 0;
    line-height: 1.85;
}

/* ── Centered Bottom Row (Actions & Stats) ── */
.hero-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 2.5rem; /* Reduced from 3.5rem */
    padding-top: 2rem;   /* Reduced from 2.5rem */
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 5;
}
.hero-bottom .hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.2rem;
}
.hero-bottom .notice-banner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: #FFF3CD;
    border: 1px solid #FBBF24;
    border-radius: var(--radius-sm);
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
    color: #92400E;
    font-weight: 600;
    margin-bottom: 2rem;
}

/* Centered Stats underneath actions */
.hero-stats-centered {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}
.stat-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 3rem;
}
.stat-num {
    font-size: 2rem;
    font-weight: 900;
    color: var(--navy);
    line-height: 1.1;
}
.stat-label { font-size: 0.78rem; color: var(--text-muted); font-weight: 600; margin-top: 0.15rem; }
.stat-divider { width: 1px; height: 36px; background: var(--border); margin: 0; }

/* ── Visual Side (LEFT in RTL) ── */
.hero-visual {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Main floating card */
.hv-card {
    background: var(--bg-white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.4rem 1.6rem;
    width: 300px;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
    direction: ltr;
}
.hv-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}
.hv-app-icon {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--navy) 0%, #1a4a8a 100%);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: var(--cyan);
    flex-shrink: 0;
}
.hv-app-meta { flex: 1; }
.hv-app-name { display: block; font-weight: 800; color: var(--navy); font-size: 0.9rem; }
.hv-app-dev  { display: block; font-size: 0.75rem; color: var(--text-muted); }
.hv-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: #ECFDF5;
    color: #059669;
    border: 1px solid #6EE7B7;
    border-radius: 20px;
    padding: 0.2rem 0.6rem;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
}
.hv-stores-list { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.2rem; }
.hv-store-row {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.5rem 0.7rem;
    background: var(--bg);
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--navy);
    transition: var(--transition);
}
.hv-store-row:hover { background: var(--cyan-light); }
.hv-dl-count {
    margin-inline-start: auto;
    font-size: 0.72rem;
    color: var(--cyan-hover);
    font-weight: 700;
}
.hv-card-footer { display: flex; align-items: center; gap: 0.7rem; }
.hv-progress-bar {
    flex: 1; height: 5px;
    background: var(--border);
    border-radius: 10px;
    overflow: hidden;
}
.hv-progress-fill {
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, var(--cyan), #00d4aa);
    border-radius: 10px;
    animation: progress-in 1.5s ease 0.5s both;
}
@keyframes progress-in {
    from { width: 0%; }
    to   { width: 100%; }
}
.hv-progress-label { font-size: 0.72rem; font-weight: 700; color: #059669; white-space: nowrap; }

/* Floating stat badges */
.hv-float-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    background: var(--bg-white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.6rem 1rem;
    box-shadow: var(--shadow-md);
    z-index: 3;
    direction: ltr;
}
.hv-float-badge svg { color: var(--cyan); flex-shrink: 0; }
.hv-badge-num { display: block; font-size: 1rem; font-weight: 900; color: var(--navy); line-height: 1; }
.hv-badge-lbl { display: block; font-size: 0.7rem; color: var(--text-muted); font-weight: 600; }
.hv-badge-top    { top: 12%; inset-inline-start: -10%; }
.hv-badge-bottom { bottom: 14%; inset-inline-end: -8%; }

/* Decorative circles */
.hv-deco {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}
.hv-deco-1 {
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(0,180,216,0.09) 0%, transparent 70%);
    top: -5%; inset-inline-end: -5%;
}
.hv-deco-2 {
    width: 120px; height: 120px;
    border: 2px dashed rgba(0,180,216,0.2);
    bottom: 8%; inset-inline-start: 0%;
    animation: spin-slow 20s linear infinite;
}
.hv-deco-3 {
    width: 60px; height: 60px;
    background: var(--cyan-light);
    border: 2px solid var(--cyan-border);
    top: 30%; inset-inline-end: -5%;
    animation: pulse-dot 3s ease-in-out infinite;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }

/* Float animations */
.hv-float-1 { animation: hv-float 5s ease-in-out infinite; }
.hv-float-2 { animation: hv-float 4s ease-in-out infinite 0.8s; }
.hv-float-3 { animation: hv-float 6s ease-in-out infinite 1.5s; }
@keyframes hv-float {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-10px); }
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features-section {
    background: var(--bg-section);
    padding: 3rem 0;
}
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-tag {
    display: inline-block;
    background: var(--cyan-light);
    border: 1px solid var(--cyan-border);
    color: var(--cyan-hover);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.3rem 0.9rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}
.section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 900;
    color: var(--navy);
    line-height: 1.3;
    margin-bottom: 0.8rem;
}
.section-desc {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}
.feature-card {
    padding: 2rem 1.8rem;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}
.feature-card::after {
    content: '';
    position: absolute;
    top: 0; inset-inline-start: 0; width: 100%; height: 100%;
    background: var(--bg-white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    z-index: -1;
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}
.feature-card::before {
    content: '';
    position: absolute;
    top: -15px; 
    inset-inline-start: -15px;
    width: calc(100% - 10px);
    height: calc(100% - 10px);
    background-color: rgba(0, 180, 216, 0.08);
    border-radius: var(--radius-md);
    z-index: -2;
    transition: var(--transition);
}
.feature-card:hover {
    transform: translateY(-4px);
}
.feature-card:hover::after {
    border-color: var(--cyan-border);
    box-shadow: 10px 15px 35px rgba(0, 0, 0, 0.06);
}
.feature-card:hover::before {
    top: -10px;
    inset-inline-start: -10px;
}
.feature-icon {
    position: relative; z-index: 1;
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
    display: block;
    line-height: 1;
}
.feature-title {
    position: relative; z-index: 1;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.7rem;
    text-align: center;
}
.feature-desc {
    position: relative; z-index: 1;
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.7;
}
/* Skeleton loading shimmer */
.skeleton-card { animation: shimmer-fade 0.6s ease forwards; }
@keyframes shimmer-fade {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
.feature-card:nth-child(1) { animation-delay: 0.05s; }
.feature-card:nth-child(2) { animation-delay: 0.15s; }
.feature-card:nth-child(3) { animation-delay: 0.25s; }
.feature-card:nth-child(4) { animation-delay: 0.35s; }


/* ========================================
   HOW TO UPLOAD SECTION (Uiverse.io Card)
   ======================================== */
.how-to-upload-section {
    background: var(--bg-section);
    padding: 3rem 0;
}
.card {
  width: 100%;
  height: 100%;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  margin: auto;
  background-color: var(--bg-white);
  text-align: center;
  border-top-left-radius: 3rem;
  border-bottom-left-radius: 1.5rem;
  border-bottom-right-radius: 1.5rem;
  border: 1.5px solid var(--border);
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.card::before {
  content: "";
  position: absolute;
  height: 30px;
  width: 90px;
  background-color: var(--cyan);
  top: -1.5px;
  inset-inline-end: -1.5px;
  -webkit-clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
  border-top-right-radius: 12px;
}

.card__body {
  padding: 2.5rem 1.25rem 3.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.card__title {
  font-weight: 800;
  color: var(--navy);
  font-size: 1.15rem;
  margin-block: 0 0.75rem;
}

.card__paragraph {
  color: var(--text-body);
  font-size: 0.88rem;
  line-height: 1.6;
}

.card__ribbon {
  margin-top: auto;
  display: grid;
  place-items: center;
  height: 42px;
  background-color: var(--cyan);
  position: relative;
  width: 100%;
  inset-inline-start: 0;
  border-radius: 0 0 1.5rem 1.5rem;
}

.card__ribbon-label {
  display: block;
  width: 60px;
  aspect-ratio: 1/1;
  background-color: var(--bg-white);
  position: relative;
  transform: translateY(-50%);
  border-radius: 50%;
  border: 4px solid var(--cyan);
  display: grid;
  place-items: center;
  font-weight: 900;
  line-height: 1;
  font-size: 1.2rem;
  color: var(--navy);
}

.card__ribbon-label::before,
.card__ribbon-label::after {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  bottom: 50%;
}

.card__ribbon-label::before {
  right: calc(100% + 2px);
  border-bottom-right-radius: 20px;
  box-shadow: 4px 4px 0 var(--cyan);
}

.card__ribbon-label::after {
  left: calc(100% + 2px);
  border-bottom-left-radius: 20px;
  box-shadow: -4px 4px 0 var(--cyan);
}

/* ========================================
   SECURITY ALERT BANNER
   ======================================== */
.security-alert-banner {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: rgba(0, 180, 216, 0.08);
    border: 1px solid rgba(0, 180, 216, 0.3);
    border-inline-end: 4px solid var(--cyan);
    padding: 1.5rem 2rem;
    border-radius: var(--radius-lg);
    margin-top: 3.5rem;
}
.security-alert-banner .alert-icon {
    color: var(--cyan);
    flex-shrink: 0;
    margin-top: 0.2rem;
}
.security-alert-banner h4 {
    color: var(--navy);
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}
.security-alert-banner p {
    color: var(--text-body);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* ========================================
   TRUST SECTION
   ======================================== */
.trust-section {
    background: var(--bg-white);
    padding: 3rem 0;
}
.stores-container {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 3.5rem;
}
.store-item-card {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    height: auto;
    flex-direction: row;
    gap: 12px;
    border: 1px solid #e5e7eb;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}
.store-item-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--cyan-border);
}
.store-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
    object-fit: contain;
}
.store-item-card h3 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
    color: var(--navy);
    font-weight: 700;
    margin: 0;
    direction: ltr;
    text-align: left;
}
.trust-cta-row {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}
.trust-cta-text {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--navy);
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    background: var(--navy);
    padding: 3rem 0 2rem;
}
.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}
.footer-brand { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; }
.footer-logo {
    width: 44px; height: 44px;
    border-radius: 10px;
    object-fit: contain;
    filter: brightness(0.9);
}
.footer-tagline { color: rgba(255,255,255,0.45); font-size: 0.85rem; }
.footer-links { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; justify-content: center; }
.footer-link {
    color: var(--cyan);
    font-size: 0.88rem;
    font-weight: 600;
    transition: var(--transition);
    padding: 0.2rem 0.1rem;
}
.footer-link:hover { color: #fff; text-decoration: underline; }
.footer-sep { color: rgba(255,255,255,0.25); }
.footer-copy { color: rgba(255,255,255,0.30); font-size: 0.82rem; }

/* ========================================
   AUTH MODAL
   ======================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11, 29, 58, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: overlay-in 0.25s ease;
}
.modal-overlay.hidden { display: none !important; }
@keyframes overlay-in {
    from { opacity: 0; }
    to { opacity: 1; }
}
.modal-panel {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    width: 100%;
    max-width: 420px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    position: relative;
    animation: panel-in 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes panel-in {
    from { opacity: 0; transform: scale(0.93) translateY(16px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-close {
    position: absolute;
    top: 1rem;
    inset-inline-start: 1rem;
    background: var(--bg-section);
    border: 1.5px solid var(--border);
    border-radius: 50%;
    width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    color: var(--text-body);
    transition: var(--transition);
}
.modal-close:hover { background: #FDECEA; border-color: #EF4444; color: #EF4444; }
.modal-brand {
    text-align: center;
    margin-bottom: 2rem;
}
.modal-logo {
    width: 64px; height: 64px;
    border-radius: 14px;
    object-fit: contain;
    margin: 0 auto 0.8rem;
    box-shadow: var(--shadow-sm);
}
.modal-brand-name {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 0.2rem;
}
.modal-brand-sub { font-size: 0.82rem; color: var(--cyan); font-weight: 600; }

/* --- Form Elements --- */
.input-group { margin-bottom: 1.2rem; }
.input-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--navy);
}
.input-group input {
    width: 100%;
    padding: 0.8rem 1rem;
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--navy);
    font-family: var(--font);
    font-size: 0.95rem;
    transition: var(--transition);
}
.input-group input:focus {
    outline: none;
    border-color: var(--cyan);
    background: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.15);
}
.input-group input::placeholder { color: var(--text-muted); }
.input-hint { display: block; margin-top: 0.35rem; font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; }
.form-actions { margin-bottom: 1rem; }
.text-link {
    color: var(--cyan-hover);
    font-size: 0.88rem;
    font-weight: 600;
    transition: var(--transition);
}
.text-link:hover { color: var(--navy); text-decoration: underline; }
.modal-divider {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 1.2rem 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}
.modal-divider::before, .modal-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}
/* Back header in sub-forms */
.form-back-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}
.back-btn {
    display: flex; align-items: center; gap: 0.3rem;
    background: none; border: none; cursor: pointer;
    color: var(--text-muted); font-size: 0.9rem; font-family: var(--font);
    padding: 0.25rem 0;
    transition: var(--transition);
}
.back-btn:hover { color: var(--navy); }
.form-inner-title { font-size: 1.1rem; font-weight: 800; color: var(--navy); }
.form-inner-desc { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 1.2rem; line-height: 1.6; }

/* Success banner */
.success-banner {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    background: #ECFDF5;
    border: 1.5px solid #10B981;
    border-radius: var(--radius-sm);
    padding: 0.8rem 1rem;
    color: #065F46;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Status messages */
.status-message {
    margin-top: 0.8rem;
    padding: 0.7rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 600;
    text-align: center;
}
.status-message.error { background: #FEF2F2; color: #DC2626; border: 1px solid #FCA5A5; }
.status-message.success { background: #ECFDF5; color: #065F46; border: 1px solid #6EE7B7; }

/* Loader */
.loader {
    width: 17px; height: 17px;
    border: 2px solid rgba(255,255,255,0.5);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ========================================
   DASHBOARD STYLES (preserved)
   ======================================== */
.dashboard-layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(16px);
    padding: 1rem 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1);
}
.user-info { display: flex; align-items: center; gap: 1rem; }
.btn-logout { background: rgba(239,68,68,0.1); color: #ef4444; padding: 0.5rem 1rem; }
.btn-logout:hover { background: rgba(239,68,68,0.2); }
.main-content { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.form-section, .preview-section {
    background: rgba(30,41,59,0.7);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    padding: 2rem;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
        min-height: unset;
        gap: 2.5rem;
    }
    .hero-content { text-align: center; }
    .hero-subtitle { max-width: 100%; margin-inline: auto; }
    .hero-bottom { margin-top: 2.5rem; padding-top: 2rem; }
    .hero-visual {
        min-height: 380px;
        order: -1; /* Show visual first on smaller screens */
    }
    .hv-badge-top    { top: 5%; left: 2%; }
    .hv-badge-bottom { bottom: 5%; right: 2%; }
}
@media (max-width: 768px) {
    .header-nav { display: none; }
    .hero-title { font-size: 2rem; }
    .hero-bottom .hero-actions { flex-direction: column; width: 100%; max-width: 320px; margin-inline: auto; }
    .hero-bottom .hero-actions .btn { width: 100%; }
    .features-grid { grid-template-columns: 1fr; }
    .modal-panel { padding: 2rem 1.3rem; }
    .main-content { grid-template-columns: 1fr; }
    .hero-visual { min-height: 320px; }
    .hv-card { width: 260px; }
}
@media (max-width: 480px) {
    .hero-section { padding: 3.5rem 0 2rem; }
    .features-section, .trust-section { padding: 3.5rem 0; }
    .stat-divider { display: none; }
    .hero-stats-centered { gap: 1.5rem; }
    .stat-chip { padding: 0 1rem; }
    .hv-float-badge { display: none; }
    .hv-deco-2, .hv-deco-3 { display: none; }
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq-section {
    padding: 5rem 0;
}
.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}
.faq-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.faq-card:hover {
    border-color: var(--cyan-border);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}
.faq-category {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    font-weight: 600;
}
.faq-question {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-head);
    margin-bottom: 1rem;
    line-height: 1.4;
}
.faq-answer {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}
.faq-link {
    font-size: 1rem;
    font-weight: 600;
    color: var(--cyan);
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}
.faq-card:hover .faq-link {
    color: var(--cyan-hover);
}
@media (max-width: 992px) {
    .faq-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .faq-grid { grid-template-columns: 1fr; }
}

/* ========================================
   QUICK LINKS SECTION
   ======================================== */
.quick-links-section {
    background: var(--bg-section);
    padding: 4rem 0;
    border-top: 1px solid var(--border);
}
.ql-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}
.ql-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}
.ql-icon {
    flex-shrink: 0;
    color: var(--text-head);
    background: var(--bg-white);
    padding: 15px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}
.ql-content h3 {
    font-size: 1.15rem;
    color: var(--text-head);
    margin-bottom: 0.8rem;
    font-weight: 700;
}
.ql-content p {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 1rem;
}
@media (max-width: 992px) {
    .ql-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .ql-grid { grid-template-columns: 1fr; gap: 2rem; }
}
