/* ===========================
   APSite — app.css
   All frontend styles
   =========================== */

:root {
  --navy: #0B0E2D;
  --navy-800: #111540;
  --navy-700: #1A1F52;
  --navy-600: #242A6B;
  --indigo: #3D47CC;
  --indigo-light: #5B66E8;
  --violet: #7C3AED;
  --violet-light: #9D68F5;
  --accent: #F472B6;
  --accent-orange: #FB923C;
  --cream: #FAFAF8;
  --white: #FFFFFF;
  --gray-50: #F8F9FF;
  --gray-100: #EEF0FF;
  --gray-200: #D4D8F5;
  --gray-400: #8892C4;
  --gray-600: #4A5299;
  --text-primary: #0B0E2D;
  --text-secondary: #4A5299;
  --text-muted: #8892C4;
  --border: rgba(61,71,204,0.12);
  --border-strong: rgba(61,71,204,0.25);
  --gradient-hero: linear-gradient(135deg, #0B0E2D 0%, #1A1F52 50%, #242A6B 100%);
  --gradient-card: linear-gradient(135deg, #1A1F52, #242A6B);
  --gradient-accent: linear-gradient(135deg, #3D47CC, #7C3AED);
  --gradient-warm: linear-gradient(135deg, #FB923C, #F472B6);
  --shadow-sm: 0 2px 8px rgba(11,14,45,0.06);
  --shadow-md: 0 8px 32px rgba(11,14,45,0.10);
  --shadow-lg: 0 20px 60px rgba(11,14,45,0.14);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--cream); color: var(--text-primary); line-height: 1.6; overflow-x: hidden; }

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4 { font-family: var(--font-display); line-height: 1.15; }
h1 { font-size: clamp(2.4rem,5vw,4.2rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem,3.5vw,2.8rem); font-weight: 700; letter-spacing: -0.015em; }
h3 { font-size: clamp(1.2rem,2vw,1.5rem); font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { font-size: 1.05rem; line-height: 1.75; color: var(--text-secondary); }

.gradient-text { background: var(--gradient-accent); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--indigo); background: var(--gray-100);
  padding: 6px 14px; border-radius: 99px;
  border: 1px solid var(--border); margin-bottom: 16px;
}
.section-label::before { content:''; width:6px; height:6px; border-radius:50%; background:var(--indigo); display:inline-block; }

.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { max-width: 560px; margin: 0 auto; }

/* ── LAYOUT ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 100px 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
@media(max-width:900px){ .grid-2{grid-template-columns:1fr;} .grid-3{grid-template-columns:1fr 1fr;} .grid-4{grid-template-columns:1fr 1fr;} .section{padding:70px 0;} }
@media(max-width:600px){ .grid-3,.grid-4{grid-template-columns:1fr;} .section{padding:50px 0;} }

/* ── BUTTONS ── */
.btn { display:inline-flex; align-items:center; gap:8px; font-family:var(--font-body); font-size:0.95rem; font-weight:600; padding:14px 28px; border-radius:99px; border:none; cursor:pointer; transition:all 0.25s ease; text-decoration:none; white-space:nowrap; }
.btn-primary { background:var(--gradient-accent); color:#fff; box-shadow:0 4px 20px rgba(61,71,204,0.3); }
.btn-primary:hover { transform:translateY(-2px); box-shadow:0 8px 30px rgba(61,71,204,0.4); }
.btn-outline { background:transparent; color:var(--indigo); border:1.5px solid var(--border-strong); }
.btn-outline:hover { background:var(--gray-100); transform:translateY(-2px); }
.btn-white { background:#fff; color:var(--navy); box-shadow:var(--shadow-md); }
.btn-white:hover { transform:translateY(-2px); box-shadow:var(--shadow-lg); }
.btn-lg { padding:17px 36px; font-size:1.05rem; }
.w-full { width:100%; }

/* ── CARDS ── */
.card { background:#fff; border-radius:var(--radius); border:1px solid var(--border); padding:32px; transition:transform 0.3s,box-shadow 0.3s; }
.card:hover { transform:translateY(-4px); box-shadow:var(--shadow-lg); }
.card-dark { background:var(--gradient-card); border-radius:var(--radius); border:1px solid rgba(255,255,255,0.08); padding:32px; }
.badge { display:inline-flex; align-items:center; gap:6px; font-size:0.78rem; font-weight:600; padding:4px 12px; border-radius:99px; }
.badge-purple { background:rgba(124,58,237,0.1); color:var(--violet); }
.badge-blue   { background:rgba(61,71,204,0.1);  color:var(--indigo); }
.badge-green  { background:rgba(16,185,129,0.1);  color:#059669; }
.badge-orange { background:rgba(251,146,60,0.1);  color:#ea580c; }

/* ── ICON BOX ── */
.icon-box { width:52px; height:52px; border-radius:14px; display:flex; align-items:center; justify-content:center; font-size:1.5rem; margin-bottom:20px; }
.icon-box-indigo { background:var(--gray-100); }

/* ── CHECK ITEMS ── */
.check-item { display:flex; align-items:flex-start; gap:10px; font-size:0.95rem; color:var(--text-secondary); margin-bottom:10px; }
.check-item::before { content:'✓'; font-weight:700; color:var(--indigo); background:var(--gray-100); border-radius:50%; width:22px; height:22px; min-width:22px; display:flex; align-items:center; justify-content:center; font-size:0.72rem; margin-top:2px; }

/* ── NAV ── */
nav { position:fixed; top:0; left:0; right:0; z-index:100; backdrop-filter:blur(20px); -webkit-backdrop-filter:blur(20px); background:rgba(250,250,248,0.85); border-bottom:1px solid var(--border); transition:all 0.3s ease; }
.nav-inner { display:flex; align-items:center; justify-content:space-between; max-width:1200px; margin:0 auto; padding:0 24px; height:68px; }
.nav-logo { display:flex; align-items:center; text-decoration:none; }
.nav-logo-img { height:40px; width:auto; display:block; transition:opacity 0.2s; }
.nav-logo-img:hover { opacity:0.8; }
.footer-brand-logo { display:block; }
.footer-logo-img { height:72px; width:auto; display:block; margin-bottom:16px; opacity:0.92; transition:opacity 0.2s; }
.footer-logo-img:hover { opacity:1; }
.nav-links { display:flex; align-items:center; gap:32px; list-style:none; }
.nav-links a { font-size:0.9rem; font-weight:500; color:var(--text-secondary); text-decoration:none; transition:color 0.2s; }
.nav-links a:hover,.nav-links a.active { color:var(--indigo); }
.nav-cta { margin-left:16px; }
.nav-mobile-toggle { display:none; background:none; border:none; cursor:pointer; padding:8px; }
.nav-mobile-toggle span { display:block; width:24px; height:2px; background:var(--navy); margin:5px 0; border-radius:2px; transition:all 0.3s; }

.mobile-menu { display:none; flex-direction:column; gap:4px; padding:12px 24px 16px; background:#fff; border-top:1px solid var(--border); }
.mobile-menu a { font-size:0.95rem; font-weight:500; color:var(--text-secondary); text-decoration:none; padding:10px 0; border-bottom:1px solid var(--border); }
.mobile-menu.open { display:flex; }

@media(max-width:800px){
  .nav-links,.nav-cta { display:none; }
  .nav-mobile-toggle { display:block; }
}

/* ── HERO ── */
#home { background:var(--gradient-hero); padding:160px 0 100px; position:relative; overflow:hidden; }
.hero-bg-grid { position:absolute; inset:0; background-image:linear-gradient(rgba(61,71,204,0.07) 1px,transparent 1px),linear-gradient(90deg,rgba(61,71,204,0.07) 1px,transparent 1px); background-size:60px 60px; pointer-events:none; }
.hero-glow   { position:absolute; width:600px; height:600px; border-radius:50%; background:radial-gradient(circle,rgba(124,58,237,0.18) 0%,transparent 70%); top:-100px; right:-100px; pointer-events:none; }
.hero-glow-2 { position:absolute; width:400px; height:400px; border-radius:50%; background:radial-gradient(circle,rgba(61,71,204,0.15) 0%,transparent 70%); bottom:-50px; left:100px; pointer-events:none; }
.hero-content { position:relative; z-index:1; max-width:760px; }
.hero-badge { display:inline-flex; align-items:center; gap:8px; background:rgba(255,255,255,0.08); border:1px solid rgba(255,255,255,0.15); border-radius:99px; padding:8px 18px; font-size:0.82rem; font-weight:500; color:rgba(255,255,255,0.85); margin-bottom:28px; }
.hero-badge span { background:var(--gradient-warm); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; font-weight:700; }
#home h1 { color:#fff; margin-bottom:20px; }
#home h1 em { font-style:normal; background:linear-gradient(135deg,#818CF8,#A78BFA,#F472B6); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.hero-sub { font-size:1.15rem; color:rgba(255,255,255,0.65); max-width:560px; margin-bottom:40px; line-height:1.7; }
.hero-actions { display:flex; gap:14px; flex-wrap:wrap; margin-bottom:56px; }
.hero-stats { display:flex; gap:40px; flex-wrap:wrap; padding-top:40px; border-top:1px solid rgba(255,255,255,0.1); }
.hero-stat-num { font-family:var(--font-display); font-size:2rem; font-weight:800; color:#fff; line-height:1; }
.hero-stat-label { font-size:0.85rem; color:rgba(255,255,255,0.5); margin-top:4px; }

/* ── TRUST STRIP ── */
.trust-strip { background:#fff; padding:28px 0; border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.trust-inner { display:flex; align-items:center; justify-content:center; gap:48px; flex-wrap:wrap; max-width:1200px; margin:0 auto; padding:0 24px; }
.trust-label { font-size:0.82rem; color:var(--text-muted); font-weight:500; text-transform:uppercase; letter-spacing:0.08em; }
.trust-item { display:flex; align-items:center; gap:8px; font-size:0.9rem; font-weight:600; color:var(--text-secondary); opacity:0.7; }
.trust-item-icon { font-size:1.2rem; }

/* ── BENEFIT CARDS ── */
.benefit-card { padding:28px; border-radius:var(--radius); border:1px solid var(--border); transition:all 0.3s ease; position:relative; overflow:hidden; }
.benefit-card::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; background:var(--gradient-accent); transform:scaleX(0); transform-origin:left; transition:transform 0.35s ease; }
.benefit-card:hover::before { transform:scaleX(1); }
.benefit-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-lg); }

/* ── PRICING ── */
.pricing-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; align-items:start; }
.pricing-card { border-radius:var(--radius-lg); border:1.5px solid var(--border); padding:36px 32px; background:#fff; position:relative; transition:all 0.3s ease; }
.pricing-card:hover { box-shadow:var(--shadow-lg); transform:translateY(-4px); }
.pricing-card.featured { background:var(--gradient-hero); border-color:transparent; transform:scale(1.03); box-shadow:0 30px 80px rgba(11,14,45,0.25); }
.pricing-card.featured:hover { transform:scale(1.03) translateY(-4px); }
.pricing-badge { position:absolute; top:-14px; left:50%; transform:translateX(-50%); background:var(--gradient-warm); color:#fff; font-size:0.75rem; font-weight:700; padding:6px 18px; border-radius:99px; white-space:nowrap; }
.pricing-name { font-family:var(--font-display); font-size:1rem; font-weight:700; margin-bottom:8px; }
.pricing-price { font-family:var(--font-display); font-size:2.8rem; font-weight:800; line-height:1; margin-bottom:4px; }
.pricing-price sub { font-size:1rem; font-weight:600; vertical-align:baseline; }
.pricing-delivery { font-size:0.82rem; margin-bottom:28px; opacity:0.7; }
.pricing-divider { border:none; border-top:1px solid var(--border); margin:24px 0; }
.pricing-item { display:flex; align-items:flex-start; gap:10px; font-size:0.9rem; margin-bottom:10px; color:var(--text-secondary); }
.pricing-item.dark { color:rgba(255,255,255,0.75); }
.pricing-check { color:#10B981; font-weight:700; min-width:18px; }
.pricing-check.dark-check { color:#6EE7B7; }
@media(max-width:900px){ .pricing-grid{grid-template-columns:1fr;} .pricing-card.featured{transform:none;} }

/* ── PORTFOLIO ── */
.portfolio-card { border-radius:var(--radius-lg); overflow:hidden; border:1px solid var(--border); background:#fff; transition:all 0.35s ease; }
.portfolio-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-lg); }
.portfolio-img-inner { width:100%; padding-bottom:56.25%; background:linear-gradient(135deg,#1A1F52 0%,#242A6B 50%,#3D47CC 100%); position:relative; overflow:hidden; }
.portfolio-img-overlay { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; flex-direction:column; gap:8px; }
.portfolio-img-label { font-family:var(--font-display); font-size:1.4rem; font-weight:800; color:rgba(255,255,255,0.9); letter-spacing:-0.02em; }
.portfolio-img-sub { font-size:0.8rem; color:rgba(255,255,255,0.5); }
.portfolio-body { padding:28px; }
.portfolio-tech { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:16px; }
.tech-pill { font-size:0.72rem; font-weight:600; background:var(--gray-100); color:var(--indigo); padding:4px 12px; border-radius:99px; border:1px solid var(--border); }

/* ── FREE FEATURES ── */
#freebies { background:var(--navy); position:relative; overflow:hidden; }
.freebie-card { background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.08); border-radius:var(--radius); padding:28px 24px; text-align:center; transition:all 0.3s ease; }
.freebie-card:hover { background:rgba(255,255,255,0.09); transform:translateY(-4px); border-color:rgba(124,58,237,0.4); }
.freebie-icon { font-size:2rem; margin-bottom:12px; display:block; }
.freebie-title { font-family:var(--font-display); font-size:1rem; font-weight:700; color:#fff; margin-bottom:6px; }
.freebie-desc { font-size:0.85rem; color:rgba(255,255,255,0.5); line-height:1.5; }
.freebie-value { display:inline-block; margin-top:10px; background:var(--gradient-warm); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; font-size:0.8rem; font-weight:700; }

/* ── PROCESS ── */
.process-steps { display:grid; grid-template-columns:repeat(5,1fr); gap:0; position:relative; }
.process-steps::before { content:''; position:absolute; top:32px; left:10%; right:10%; height:2px; background:var(--border); z-index:0; }
.process-step { text-align:center; position:relative; z-index:1; padding:0 8px; }
.process-num { width:64px; height:64px; border-radius:50%; background:var(--gradient-accent); font-family:var(--font-display); font-size:1.2rem; font-weight:800; color:#fff; display:flex; align-items:center; justify-content:center; margin:0 auto 16px; box-shadow:0 6px 24px rgba(61,71,204,0.3); }
.process-step-title { font-family:var(--font-display); font-size:0.95rem; font-weight:700; color:var(--text-primary); margin-bottom:6px; }
.process-step-desc { font-size:0.82rem; color:var(--text-muted); line-height:1.5; }
@media(max-width:800px){ .process-steps{grid-template-columns:1fr 1fr;gap:28px;} .process-steps::before{display:none;} }
@media(max-width:500px){ .process-steps{grid-template-columns:1fr;} }

/* ── TESTIMONIALS ── */
.testimonial-card { background:#fff; border-radius:var(--radius); border:1px solid var(--border); padding:32px; transition:all 0.3s ease; }
.testimonial-card:hover { box-shadow:var(--shadow-lg); transform:translateY(-4px); }
.testimonial-stars { color:#F59E0B; font-size:1rem; margin-bottom:16px; letter-spacing:2px; }
.testimonial-text { font-size:0.95rem; color:var(--text-secondary); line-height:1.7; margin-bottom:20px; font-style:italic; }
.testimonial-author { display:flex; align-items:center; gap:12px; }
.author-avatar { width:44px; height:44px; border-radius:50%; background:var(--gradient-accent); display:flex; align-items:center; justify-content:center; font-family:var(--font-display); font-size:1rem; font-weight:800; color:#fff; min-width:44px; }
.author-name { font-weight:600; font-size:0.9rem; color:var(--text-primary); }
.author-role { font-size:0.8rem; color:var(--text-muted); }

/* ── PAGE HERO ── */
.page-hero { background:var(--gradient-hero); padding:140px 0 80px; position:relative; overflow:hidden; }
.page-hero-content { position:relative; z-index:1; }
.page-hero h1 { color:#fff; margin-bottom:16px; }
.page-hero h1 em { font-style:normal; background:linear-gradient(135deg,#818CF8,#F472B6); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.page-hero p { color:rgba(255,255,255,0.65); max-width:540px; }

/* ── ABOUT ── */
.why-visual { background:var(--gradient-hero); border-radius:var(--radius-lg); padding:48px 40px; position:relative; overflow:hidden; }
.why-visual-glow { position:absolute; top:-60px; right:-60px; width:300px; height:300px; border-radius:50%; background:radial-gradient(circle,rgba(124,58,237,0.25) 0%,transparent 70%); pointer-events:none; }
.stack-item { display:flex; align-items:center; gap:14px; background:rgba(255,255,255,0.07); border:1px solid rgba(255,255,255,0.1); border-radius:var(--radius-sm); padding:16px 20px; margin-bottom:12px; }
.stack-icon { width:40px; height:40px; border-radius:10px; display:flex; align-items:center; justify-content:center; font-size:1.2rem; background:rgba(255,255,255,0.1); min-width:40px; }
.stack-name { font-weight:600; font-size:0.95rem; color:#fff; }
.stack-desc { font-size:0.8rem; color:rgba(255,255,255,0.5); }
.founder-card { background:#fff; border-radius:var(--radius-lg); border:1px solid var(--border); overflow:hidden; transition:all 0.3s ease; }
.founder-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-lg); }
.founder-avatar { width:100%; height:200px; background:var(--gradient-accent); display:flex; align-items:center; justify-content:center; font-family:var(--font-display); font-size:4rem; font-weight:800; color:#fff; letter-spacing:-0.02em; }
.founder-body { padding:28px; }
.founder-name { font-family:var(--font-display); font-size:1.4rem; font-weight:800; margin-bottom:4px; }
.founder-role { font-size:0.85rem; color:var(--indigo); font-weight:600; margin-bottom:12px; }
.founder-bio { font-size:0.9rem; color:var(--text-secondary); line-height:1.7; }

/* ── MAINTENANCE ── */
.maintenance-card { background:var(--gradient-hero); border-radius:var(--radius-lg); padding:48px; color:#fff; position:relative; overflow:hidden; }
.maint-price { font-family:var(--font-display); font-size:3rem; font-weight:800; color:#fff; }
.maint-period { font-size:1rem; color:rgba(255,255,255,0.5); }
.maint-divider { border:none; border-top:1px solid rgba(255,255,255,0.1); margin:28px 0; }

/* ── CTA SECTION ── */
#cta { background:var(--gradient-accent); padding:100px 0; text-align:center; position:relative; overflow:hidden; }
#cta::before { content:''; position:absolute; inset:0; background-image:linear-gradient(rgba(255,255,255,0.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,0.05) 1px,transparent 1px); background-size:40px 40px; pointer-events:none; }
#cta h2 { color:#fff; margin-bottom:16px; }
#cta p { color:rgba(255,255,255,0.75); margin-bottom:36px; max-width:500px; margin-left:auto; margin-right:auto; }

/* ── CONTACT ── */
.contact-grid { display:grid; grid-template-columns:1fr 1.3fr; gap:64px; align-items:start; }
.contact-info-item { display:flex; align-items:flex-start; gap:14px; margin-bottom:24px; }
.contact-icon-box { width:44px; height:44px; border-radius:12px; background:var(--gray-100); border:1px solid var(--border); display:flex; align-items:center; justify-content:center; font-size:1.1rem; min-width:44px; }
.contact-info-label { font-size:0.8rem; color:var(--text-muted); margin-bottom:2px; }
.contact-info-value { font-weight:600; color:var(--text-primary); }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.form-group { margin-bottom:20px; }
.form-group label { display:block; font-size:0.85rem; font-weight:600; color:var(--text-primary); margin-bottom:8px; }
.form-group input,.form-group select,.form-group textarea { width:100%; padding:14px 18px; border:1.5px solid var(--border); border-radius:var(--radius-sm); font-family:var(--font-body); font-size:0.95rem; color:var(--text-primary); background:var(--cream); outline:none; transition:border-color 0.2s,box-shadow 0.2s; }
.form-group input:focus,.form-group select:focus,.form-group textarea:focus { border-color:var(--indigo-light); box-shadow:0 0 0 4px rgba(61,71,204,0.08); background:#fff; }
.form-group textarea { resize:vertical; min-height:120px; }
.form-group input.input-error,.form-group textarea.input-error { border-color:#ef4444; }
.field-error { font-size:0.78rem; color:#ef4444; margin-top:4px; display:block; }
@media(max-width:900px){ .contact-grid{grid-template-columns:1fr;gap:40px;} .form-row{grid-template-columns:1fr;} }

/* ── FOOTER ── */
footer { background:var(--navy); padding:80px 0 0; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:48px; margin-bottom:64px; }
/* footer brand logo — image used, see .footer-logo-img above */
.footer-desc { font-size:0.9rem; color:rgba(255,255,255,0.45); line-height:1.7; margin-bottom:24px; }
.footer-col-title { font-family:var(--font-display); font-size:0.85rem; font-weight:700; color:rgba(255,255,255,0.9); letter-spacing:0.05em; text-transform:uppercase; margin-bottom:20px; }
.footer-links { list-style:none; }
.footer-links li { margin-bottom:10px; }
.footer-links a { font-size:0.88rem; color:rgba(255,255,255,0.45); text-decoration:none; transition:color 0.2s; }
.footer-links a:hover { color:rgba(255,255,255,0.85); }
.footer-bottom { border-top:1px solid rgba(255,255,255,0.08); padding:28px 0; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; }
.footer-bottom-text { font-size:0.82rem; color:rgba(255,255,255,0.35); }
.footer-bottom-love { font-size:0.82rem; color:rgba(255,255,255,0.35); }
.footer-bottom-love span { color:var(--accent); }
@media(max-width:900px){ .footer-grid{grid-template-columns:1fr 1fr;} }
@media(max-width:600px){ .footer-grid{grid-template-columns:1fr;} }

/* ── FLASH MESSAGES ── */
.flash { display:flex; align-items:center; gap:12px; padding:14px 20px; font-size:0.88rem; font-weight:500; position:relative; z-index:90; }
.flash button { margin-left:auto; background:none; border:none; font-size:1.1rem; cursor:pointer; opacity:0.6; }
.flash-success { background:#d1fae5; border-bottom:2px solid #6ee7b7; color:#065f46; }
.flash-error   { background:#fef2f2; border-bottom:2px solid #fca5a5; color:#b91c1c; }

/* ── WHATSAPP FLOAT ── */
.whatsapp-float { position:fixed; bottom:28px; right:28px; width:56px; height:56px; border-radius:50%; background:#25D366; color:#fff; display:flex; align-items:center; justify-content:center; font-size:1.6rem; text-decoration:none; box-shadow:0 6px 24px rgba(37,211,102,0.4); z-index:200; transition:all 0.3s ease; }
.whatsapp-float:hover { transform:scale(1.1); box-shadow:0 10px 30px rgba(37,211,102,0.5); }

/* ── UTILITY ── */
.text-center { text-align:center; }
.mb-0{margin-bottom:0;} .mb-8{margin-bottom:8px;} .mb-16{margin-bottom:16px;}
.mb-24{margin-bottom:24px;} .mb-32{margin-bottom:32px;} .mb-48{margin-bottom:48px;} .mb-64{margin-bottom:64px;}
.mt-8{margin-top:8px;} .mt-16{margin-top:16px;} .mt-32{margin-top:32px;} .mt-48{margin-top:48px;}

/* ── ANIMATIONS ── */
@keyframes fadeUp { from{opacity:0;transform:translateY(24px);}to{opacity:1;transform:translateY(0);} }
.animate-fadeup { animation:fadeUp 0.6s ease both; }
.animate-fadeup-delay   { animation:fadeUp 0.6s ease 0.15s both; }
.animate-fadeup-delay-2 { animation:fadeUp 0.6s ease 0.30s both; }

/* ── SCROLL REVEAL ── */
.reveal { opacity:0; transform:translateY(20px); transition:opacity 0.5s ease,transform 0.5s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }

::-webkit-scrollbar { width:6px; }
::-webkit-scrollbar-track { background:var(--cream); }
::-webkit-scrollbar-thumb { background:var(--gray-200); border-radius:3px; }
::-webkit-scrollbar-thumb:hover { background:var(--gray-400); }

/* ── Form submit: loading/disabled state ── */
.btn:disabled,
button[type="submit"]:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  pointer-events: none;
  transform: none !important;
  box-shadow: none !important;
}
.btn-loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
  cursor: not-allowed;
}
.btn-loading::after {
  content: '';
  position: absolute;
  width: 16px; height: 16px;
  top: 50%; left: 50%;
  margin: -8px 0 0 -8px;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: btnSpin 0.65s linear infinite;
}
/* For dark-text buttons (btn-outline, btn-white) */
.btn-loading-dark::after {
  border-color: rgba(11,14,45,0.25);
  border-top-color: #0B0E2D;
}
@keyframes btnSpin {
  to { transform: rotate(360deg); }
}

/* ══════════════════════════════
   TOAST NOTIFICATIONS — top right
   ══════════════════════════════ */
.toast-container {
  position: fixed;
  top: 84px;        /* below navbar */
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 300px;
  max-width: 420px;
  padding: 16px 18px;
  border-radius: 14px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.5;
  pointer-events: all;
  box-shadow: 0 8px 32px rgba(11,14,45,0.15);
  animation: toastIn 0.35s cubic-bezier(0.34,1.56,0.64,1) both;
  position: relative;
  overflow: hidden;
}
.toast.toast-hide {
  animation: toastOut 0.3s ease forwards;
}
.toast-success {
  background: #fff;
  border: 1px solid #6ee7b7;
  color: #065f46;
  border-left: 4px solid #10b981;
}
.toast-error {
  background: #fff;
  border: 1px solid #fca5a5;
  color: #b91c1c;
  border-left: 4px solid #ef4444;
}
.toast-icon { font-size: 1.1rem; margin-top: 1px; flex-shrink: 0; }
.toast-body { flex: 1; }
.toast-title { font-weight: 700; font-size: 0.88rem; margin-bottom: 2px; }
.toast-msg { font-size: 0.85rem; opacity: 0.85; }
.toast-close {
  background: none; border: none; cursor: pointer;
  font-size: 1rem; opacity: 0.4; padding: 0 0 0 8px;
  color: inherit; flex-shrink: 0; line-height: 1;
}
.toast-close:hover { opacity: 0.8; }
/* Progress bar */
.toast-progress {
  position: absolute;
  bottom: 0; left: 0;
  height: 3px;
  background: currentColor;
  opacity: 0.25;
  animation: toastProgress var(--toast-duration, 5s) linear forwards;
}
@keyframes toastIn {
  from { opacity: 0; transform: translateX(60px) scale(0.9); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes toastOut {
  from { opacity: 1; transform: translateX(0); max-height: 120px; margin-bottom: 0; }
  to   { opacity: 0; transform: translateX(60px); max-height: 0; margin-bottom: -10px; }
}
@keyframes toastProgress {
  from { width: 100%; }
  to   { width: 0%; }
}
@media (max-width: 500px) {
  .toast-container { right: 12px; left: 12px; }
  .toast { min-width: 0; max-width: 100%; }
}
