/* ============================================================
   CLASSKIRA REDESIGN — Master CSS
   Brand system, components, pages, animations, responsive
   ============================================================ */

/* ---------- 1. GOOGLE FONT ---------- */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&display=swap');

/* ---------- 2. CSS VARIABLES ---------- */
:root {
  --teal:     #0DA896;
  --pink:     #D44F7E;
  --amber:    #E8921A;
  --blue:     #2079CF;
  --teal-lt:  #E1F9F6;
  --pink-lt:  #FCEDF3;
  --amber-lt: #FEF3E2;
  --blue-lt:  #E8F1FB;
  --bg:       #F7F7F5;
  --card:     #FFFFFF;
  --dark:     #111110;
  --text:     #1A1A18;
  --muted:    #6B6B65;
  --border:   rgba(0,0,0,0.08);
  --teal-dark:#0A9484;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.12);
  --radius:   16px;
  --radius-sm:12px;
  --radius-pill:999px;
}

/* ---------- 3. RESET & BASE ---------- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  font-family:'Nunito',sans-serif;
  font-size:16px;
  font-weight:400;
  color:var(--text);
  background:var(--bg);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{max-width:100%;height:auto;display:block}
a{text-decoration:none;color:inherit;transition:color .2s}
ul,ol{list-style:none}
button{cursor:pointer;font-family:inherit;border:none;background:none}
input,select,textarea{font-family:inherit}

/* ---------- 4. UTILITY CLASSES ---------- */
.ck-container{width:100%;max-width:1200px;margin:0 auto;padding:0 24px}
.ck-section{padding:96px 0}
.ck-reveal{opacity:0;transform:translateY(24px);transition:opacity .6s ease,transform .6s ease}
.ck-reveal.visible{opacity:1;transform:translateY(0)}
.ck-reveal:nth-child(2){transition-delay:.1s}
.ck-reveal:nth-child(3){transition-delay:.2s}
.ck-reveal:nth-child(4){transition-delay:.3s}
.ck-reveal:nth-child(5){transition-delay:.4s}
.ck-reveal:nth-child(6){transition-delay:.5s}
.ck-reveal:nth-child(7){transition-delay:.6s}
.ck-reveal:nth-child(8){transition-delay:.7s}

/* ---------- 5. BUTTONS ---------- */
.ck-btn{
  display:inline-flex;align-items:center;justify-content:center;
  font-family:'Nunito',sans-serif;font-weight:800;font-size:15px;
  padding:14px 32px;border-radius:var(--radius-sm);
  transition:all .25s ease;gap:8px;white-space:nowrap;
}
.ck-btn-primary{
  background:var(--teal);color:#fff;
  box-shadow:0 4px 14px rgba(13,168,150,.25);
}
.ck-btn-primary:hover{background:var(--teal-dark);transform:translateY(-2px);box-shadow:0 6px 20px rgba(13,168,150,.35);color:#fff}
.ck-btn-ghost{
  background:transparent;color:var(--teal);
  border:2px solid var(--teal);
}
.ck-btn-ghost:hover{background:var(--teal);color:#fff}
.ck-btn-white{
  background:#fff;color:var(--teal);font-weight:800;
  box-shadow:0 4px 14px rgba(0,0,0,.1);
}
.ck-btn-white:hover{background:#f0fdfb;transform:translateY(-2px)}
.ck-btn-lg{padding:18px 40px;font-size:17px;border-radius:var(--radius)}
.ck-btn-pill{border-radius:var(--radius-pill)}

/* ---------- 6. STICKY NAVBAR ---------- */
.ck-nav{
  position:fixed;top:0;left:0;right:0;z-index:1000;
  background:rgba(255,255,255,.72);
  backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
  border-bottom:1px solid transparent;
  transition:box-shadow .3s,border-color .3s;
  padding:0 24px;
}
.ck-nav.scrolled{
  box-shadow:0 2px 20px rgba(0,0,0,.06);
  border-bottom-color:var(--border);
}
.ck-nav-inner{
  max-width:1200px;margin:0 auto;
  display:flex;align-items:center;justify-content:space-between;
  height:72px;
}
.ck-nav-links{display:flex;align-items:center;gap:32px}
.ck-nav-links a{
  font-weight:700;font-size:15px;color:var(--muted);
  transition:color .2s;position:relative;
}
.ck-nav-links a:hover{color:var(--teal)}
.ck-nav-actions{display:flex;align-items:center;gap:12px}
.ck-hamburger{display:none;font-size:24px;color:var(--text);padding:8px;cursor:pointer}

/* Mobile drawer */
.ck-mobile-menu{
  display:none;position:fixed;top:72px;left:0;right:0;
  background:#fff;padding:24px;
  box-shadow:var(--shadow-lg);z-index:999;
  flex-direction:column;gap:16px;
  transform:translateY(-10px);opacity:0;
  transition:transform .3s,opacity .3s;pointer-events:none;
}
.ck-mobile-menu.open{display:flex;transform:translateY(0);opacity:1;pointer-events:all}
.ck-mobile-menu a{font-weight:700;font-size:16px;padding:12px 0;color:var(--text)}
.ck-mobile-menu a:hover{color:var(--teal)}

/* ---------- 7. HERO SECTION ---------- */
.ck-hero{
  min-height:100vh;
  background:linear-gradient(135deg,#F0FDFA 0%,#F7F7F5 45%,#EEF4FF 100%);
  display:flex;align-items:center;
  padding-top:72px;position:relative;overflow:hidden;
}
.ck-hero::before{
  content:'';position:absolute;top:-120px;right:-80px;
  width:520px;height:520px;border-radius:50%;
  background:radial-gradient(circle,rgba(13,168,150,.08) 0%,transparent 70%);
  pointer-events:none;
}
.ck-hero::after{
  content:'';position:absolute;bottom:-100px;left:-60px;
  width:400px;height:400px;border-radius:50%;
  background:radial-gradient(circle,rgba(32,121,207,.06) 0%,transparent 70%);
  pointer-events:none;
}
.ck-hero-inner{
  display:grid;grid-template-columns:1.5fr 1fr;gap:64px;
  align-items:center;width:100%;max-width:1200px;margin:0 auto;padding:0 24px;
}
.ck-hero-pill{
  display:inline-flex;align-items:center;gap:8px;
  background:var(--teal);color:#fff;
  font-size:13px;font-weight:700;
  padding:8px 18px;border-radius:var(--radius-pill);
  margin-bottom:24px;
}
.ck-hero h1{
  font-size:64px;font-weight:900;line-height:1.08;
  color:var(--text);margin-bottom:20px;letter-spacing:-1px;
}
.ck-hero h1 .ck-accent{color:var(--teal)}
.ck-hero-sub{font-size:20px;font-weight:600;color:var(--muted);margin-bottom:36px;line-height:1.5;max-width:540px}
.ck-hero-ctas{display:flex;gap:16px;flex-wrap:wrap;margin-bottom:32px}
.ck-trust-row{display:flex;align-items:center;gap:12px;font-size:14px;color:var(--muted);font-weight:600}
.ck-trust-avatars{display:flex}
.ck-trust-avatars span{
  width:32px;height:32px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  font-size:12px;font-weight:800;color:#fff;
  margin-left:-8px;border:2px solid #fff;
}
.ck-trust-avatars span:first-child{margin-left:0}

/* Dashboard mockup card */
.ck-mockup{
  background:var(--card);border-radius:20px;
  box-shadow:0 24px 60px rgba(0,0,0,.1);
  padding:28px;animation:ckFloat 4s ease-in-out infinite;
  position:relative;
}
@keyframes ckFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-12px)}}
.ck-mockup-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}
.ck-mockup-stat{
  background:var(--teal-lt);border-radius:14px;padding:20px;
  display:flex;align-items:center;gap:14px;margin-bottom:16px;
}
.ck-mockup-stat-icon{
  width:44px;height:44px;border-radius:12px;
  background:var(--teal);color:#fff;
  display:flex;align-items:center;justify-content:center;
  font-size:18px;font-weight:900;
}
.ck-mockup-stat-num{font-size:28px;font-weight:900;color:var(--text)}
.ck-mockup-stat-label{font-size:13px;font-weight:600;color:var(--muted)}
.ck-mockup-ring{
  display:flex;align-items:center;gap:20px;
  background:var(--pink-lt);border-radius:14px;padding:20px;margin-bottom:16px;
}
.ck-ring-svg{width:64px;height:64px;transform:rotate(-90deg)}
.ck-ring-bg{fill:none;stroke:var(--border);stroke-width:6}
.ck-ring-fg{fill:none;stroke:var(--pink);stroke-width:6;stroke-linecap:round;stroke-dasharray:164;stroke-dashoffset:26}
.ck-mockup-notif{
  background:var(--amber-lt);border-radius:14px;padding:16px 20px;
  display:flex;align-items:center;gap:12px;
}
.ck-mockup-notif-dot{width:10px;height:10px;border-radius:50%;background:var(--amber)}
.ck-mockup-notif-text{font-size:13px;font-weight:700;color:var(--text)}
.ck-mockup-notif-time{font-size:12px;color:var(--muted);margin-left:auto;font-weight:600}

/* ---------- 8. STATS BAR ---------- */
.ck-stats{
  background:var(--card);border-top:1px solid var(--border);border-bottom:1px solid var(--border);
  padding:48px 0;
}
.ck-stats-inner{
  max-width:1200px;margin:0 auto;padding:0 24px;
  display:grid;grid-template-columns:repeat(4,1fr);gap:24px;text-align:center;
}
.ck-stat-num{font-size:40px;font-weight:900;color:var(--teal)}
.ck-stat-label{font-size:14px;color:var(--muted);font-weight:600;margin-top:4px}
.ck-stat-divider{position:relative}
.ck-stat-divider::after{
  content:'';position:absolute;right:0;top:10%;height:80%;
  width:1px;background:var(--border);
}
.ck-stat-divider:last-child::after{display:none}

/* ---------- 9. FEATURES SECTION ---------- */
.ck-features{background:var(--bg);padding:96px 0}
.ck-section-header{text-align:center;margin-bottom:64px}
.ck-section-header h2{font-size:40px;font-weight:900;color:var(--text);margin-bottom:12px}
.ck-section-header p{font-size:18px;color:var(--muted);font-weight:600;max-width:500px;margin:0 auto}
.ck-features-grid{
  display:grid;grid-template-columns:repeat(4,1fr);gap:24px;
  max-width:1200px;margin:0 auto;padding:0 24px;
}
.ck-feature-card{
  background:var(--card);border-radius:var(--radius);padding:32px 24px;
  box-shadow:var(--shadow-sm);transition:transform .3s,box-shadow .3s;cursor:default;
}
.ck-feature-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-md)}
.ck-feature-icon{
  width:56px;height:56px;border-radius:14px;
  display:flex;align-items:center;justify-content:center;
  margin-bottom:20px;
}
.ck-feature-icon svg{width:28px;height:28px}
.ck-feature-card h3{font-size:17px;font-weight:800;color:var(--text);margin-bottom:8px}
.ck-feature-card p{font-size:14px;color:var(--muted);font-weight:600;line-height:1.5}
.ck-icon-teal{background:var(--teal-lt);color:var(--teal)}
.ck-icon-pink{background:var(--pink-lt);color:var(--pink)}
.ck-icon-amber{background:var(--amber-lt);color:var(--amber)}
.ck-icon-blue{background:var(--blue-lt);color:var(--blue)}

/* ---------- 10. USER ROLES SECTION ---------- */
.ck-roles{background:var(--dark);padding:96px 0}
.ck-roles .ck-section-header h2{color:#fff}
.ck-roles .ck-section-header p{color:rgba(255,255,255,.5)}
.ck-roles-pills{
  display:flex;flex-wrap:wrap;justify-content:center;gap:14px;
  max-width:900px;margin:0 auto 40px;padding:0 24px;
}
.ck-role-pill{
  padding:12px 28px;border-radius:var(--radius-pill);
  font-weight:700;font-size:15px;
  border:1.5px solid;background:transparent;
  transition:all .25s;cursor:default;
}
.ck-role-pill:hover{color:#fff !important}
.ck-role-pill.rp-teal{color:var(--teal);border-color:var(--teal)}.ck-role-pill.rp-teal:hover{background:var(--teal)}
.ck-role-pill.rp-pink{color:var(--pink);border-color:var(--pink)}.ck-role-pill.rp-pink:hover{background:var(--pink)}
.ck-role-pill.rp-amber{color:var(--amber);border-color:var(--amber)}.ck-role-pill.rp-amber:hover{background:var(--amber)}
.ck-role-pill.rp-blue{color:var(--blue);border-color:var(--blue)}.ck-role-pill.rp-blue:hover{background:var(--blue)}
.ck-roles-sub{text-align:center;color:rgba(255,255,255,.45);font-size:16px;font-weight:600;padding:0 24px}

/* ---------- 11. TECH / TRUST SECTION ---------- */
.ck-tech{background:var(--teal-lt);padding:96px 0}
.ck-tech-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:24px;
  max-width:1200px;margin:0 auto;padding:0 24px;
}
.ck-tech-card{
  background:var(--card);border-radius:var(--radius);padding:32px;
  border-left:4px solid var(--teal);box-shadow:var(--shadow-sm);
}
.ck-tech-card h3{font-size:18px;font-weight:800;color:var(--text);margin-bottom:8px}
.ck-tech-card p{font-size:14px;color:var(--muted);font-weight:600;line-height:1.5}

/* ---------- 12. CTA BAND ---------- */
.ck-cta-band{
  background:linear-gradient(135deg,#0DA896,#0A9484);
  padding:80px 0;text-align:center;
}
.ck-cta-band h2{font-size:40px;font-weight:900;color:#fff;margin-bottom:12px}
.ck-cta-band p{color:rgba(255,255,255,.7);font-size:18px;font-weight:600;margin-bottom:36px}

/* ---------- 13. FOOTER ---------- */
.ck-footer{background:var(--dark);padding:64px 0 0;color:rgba(255,255,255,.5)}
.ck-footer-inner{
  display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:40px;
  max-width:1200px;margin:0 auto;padding:0 24px 48px;
}
.ck-footer-brand p{font-size:14px;line-height:1.7;margin-top:16px}
.ck-footer-col h4{color:#fff;font-size:15px;font-weight:800;margin-bottom:20px}
.ck-footer-col a{display:block;font-size:14px;font-weight:600;padding:4px 0;color:rgba(255,255,255,.5);transition:color .2s}
.ck-footer-col a:hover{color:rgba(255,255,255,.85)}
.ck-footer-bottom{
  border-top:1px solid rgba(255,255,255,.08);
  max-width:1200px;margin:0 auto;padding:24px;
  display:flex;align-items:center;justify-content:space-between;
}
.ck-footer-bottom p{font-size:13px}
.ck-footer-social{display:flex;gap:16px}
.ck-footer-social a{
  width:36px;height:36px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,.06);color:rgba(255,255,255,.5);
  transition:all .2s;font-size:14px;
}
.ck-footer-social a:hover{background:var(--teal);color:#fff}

/* ---------- 14. LOGIN PAGE ---------- */
.ck-login{
  display:flex;min-height:100vh;
  font-family:'Nunito',sans-serif;
}
.ck-login-brand{
  width:55%;background:var(--dark);
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  padding:48px;position:relative;overflow:hidden;
}
.ck-login-brand::before{
  content:'';position:absolute;top:-80px;left:-80px;
  width:300px;height:300px;border-radius:50%;
  background:radial-gradient(circle,rgba(13,168,150,.15) 0%,transparent 70%);
}
.ck-login-brand::after{
  content:'';position:absolute;bottom:-60px;right:-60px;
  width:250px;height:250px;border-radius:50%;
  background:radial-gradient(circle,rgba(212,79,126,.1) 0%,transparent 70%);
}
.ck-login-brand-shape1{
  position:absolute;top:15%;right:10%;width:120px;height:120px;
  border-radius:50%;border:2px solid rgba(232,146,26,.15);
}
.ck-login-brand-shape2{
  position:absolute;bottom:20%;left:8%;width:80px;height:80px;
  border-radius:12px;border:2px solid rgba(32,121,207,.12);
  transform:rotate(45deg);
}
.ck-login-tagline{
  color:rgba(255,255,255,.7);font-size:22px;font-weight:700;
  margin-top:20px;text-align:center;
}
.ck-login-trust{
  display:flex;flex-direction:column;gap:14px;
  margin-top:48px;position:relative;z-index:1;
}
.ck-login-trust-item{
  display:flex;align-items:center;gap:10px;
  color:rgba(255,255,255,.55);font-size:14px;font-weight:600;
}
.ck-login-trust-item svg{color:var(--teal);flex-shrink:0;width:18px;height:18px}

/* Login form panel */
.ck-login-form{
  width:45%;background:var(--bg);
  display:flex;align-items:center;justify-content:center;
  padding:48px;
}
.ck-login-form-inner{width:100%;max-width:420px}
.ck-login-form h2{font-size:28px;font-weight:900;color:var(--text);margin-bottom:6px}
.ck-login-form .ck-subtitle{font-size:14px;color:var(--muted);font-weight:600;margin-bottom:32px}

/* Role selector */
.ck-role-tabs{
  display:flex;flex-wrap:nowrap;gap:8px;margin-bottom:28px;
  overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:6px;
  scrollbar-width:none;-ms-overflow-style:none;
}
.ck-role-tabs::-webkit-scrollbar{display:none}
.ck-role-tab{
  padding:8px 16px;border-radius:var(--radius-pill);
  font-size:12px;font-weight:700;
  background:var(--card);color:var(--muted);
  border:1.5px solid var(--border);
  transition:all .2s;white-space:nowrap;cursor:pointer;
}
.ck-role-tab.active,.ck-role-tab:hover{
  background:var(--teal);color:#fff;border-color:var(--teal);
}

/* Input fields */
.ck-input-wrap{position:relative;margin-bottom:20px}
.ck-input{
  width:100%;padding:14px 16px 14px 44px;
  border:1.5px solid var(--border);border-radius:var(--radius-sm);
  font-family:'Nunito',sans-serif;font-size:15px;font-weight:600;
  color:var(--text);background:var(--card);
  transition:border-color .2s,box-shadow .2s;outline:none;
}
.ck-input:focus{
  border-color:var(--teal);
  box-shadow:0 0 0 4px rgba(13,168,150,.12);
  background:#fff;
}
.ck-input-icon{
  position:absolute;left:14px;top:50%;transform:translateY(-50%);
  color:var(--muted);width:18px;height:18px;pointer-events:none;
}
.ck-password-toggle{
  position:absolute;right:14px;top:50%;transform:translateY(-50%);
  color:var(--muted);cursor:pointer;background:none;border:none;padding:4px;
}
.ck-password-toggle:hover{color:var(--teal)}
.ck-password-toggle svg{width:18px;height:18px}

/* Remember / forgot row */
.ck-form-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}
.ck-checkbox{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:600;color:var(--muted)}
.ck-checkbox input{accent-color:var(--teal);width:16px;height:16px}
.ck-forgot{font-size:14px;font-weight:700;color:var(--teal)}
.ck-forgot:hover{color:var(--teal-dark)}

/* Submit */
.ck-submit{
  width:100%;padding:16px;border-radius:var(--radius-sm);
  background:var(--teal);color:#fff;
  font-size:16px;font-weight:800;border:none;
  transition:all .25s;display:flex;align-items:center;justify-content:center;gap:8px;
}
.ck-submit:hover{background:var(--teal-dark);transform:scale(1.01)}
.ck-submit.loading{pointer-events:none;opacity:.8}
.ck-spinner{
  width:20px;height:20px;border:3px solid rgba(255,255,255,.3);
  border-top-color:#fff;border-radius:50%;
  animation:ckSpin .6s linear infinite;display:none;
}
.ck-submit.loading .ck-spinner{display:block}
.ck-submit.loading .ck-submit-text{display:none}
@keyframes ckSpin{to{transform:rotate(360deg)}}
.ck-login-footer{text-align:center;margin-top:24px;font-size:14px;color:var(--muted);font-weight:600}
.ck-login-footer a{color:var(--teal);font-weight:700}
.ck-login-footer a:hover{color:var(--teal-dark)}

/* Error messages */
.ck-error{color:#e53e3e;font-size:13px;font-weight:600;margin-top:4px}

/* ---------- 15. REGISTRATION MODAL ---------- */
#registerModal {
  display: none;           /* HIDDEN by default */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-card {
  background: #ffffff !important;
  border-radius: 28px;
  padding: 48px;
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 40px 100px rgba(0,0,0,0.3);
  animation: modalIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid rgba(255,255,255,0.2);
}

/* Custom scrollbar for modal-card */
.modal-card::-webkit-scrollbar {
  width: 8px;
}
.modal-card::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}
.modal-card::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}
.modal-card::-webkit-scrollbar-thumb:hover {
  background: var(--teal);
}

@keyframes modalIn {
  from { opacity:0; transform: translateY(20px) scale(0.97); }
  to   { opacity:1; transform: translateY(0) scale(1); }
}
.ck-modal-close{
  position:absolute;top:20px;right:20px;
  width:36px;height:36px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  background:var(--bg);color:var(--muted);
  transition:all .2s;font-size:18px;cursor:pointer;border:none;
}
.ck-modal-close:hover{background:var(--teal);color:#fff}
.ck-modal-badge{
  display:inline-flex;align-items:center;gap:6px;
  background:var(--teal-lt);color:var(--teal);
  font-size:13px;font-weight:700;padding:6px 14px;
  border-radius:var(--radius-pill);margin-bottom:16px;
}
.modal-card h2{font-size:32px;font-weight:900;color:var(--text);margin-bottom:8px;letter-spacing:-0.5px}
.modal-card .ck-subtitle{font-size:15px;color:var(--muted);font-weight:600;margin-bottom:32px;line-height:1.5}

/* Progress bar */
.ck-progress{height:6px;background:var(--border);border-radius:3px;margin-bottom:32px;overflow:hidden}
.ck-progress-bar{height:100%;background:var(--teal);border-radius:3px;transition:width .4s ease}

/* Modal steps */
.modal-step{display:none;transition:transform .3s ease,opacity .3s ease}
.modal-step.active{display:block}
.ck-modal-label{font-size:13px;font-weight:700;color:var(--muted);margin-bottom:6px;display:block}
.ck-modal-input{
  width:100%;padding:12px 16px;
  border:1.5px solid var(--border);border-radius:var(--radius-sm);
  font-family:'Nunito',sans-serif;font-size:14px;font-weight:600;
  color:var(--text);background:var(--bg);
  transition:border-color .2s,box-shadow .2s;outline:none;
  margin-bottom:16px;
}
.ck-modal-input:focus{border-color:var(--teal);box-shadow:0 0 0 4px rgba(13,168,150,.12);background:#fff}
select.ck-modal-input{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236B6B65' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 01.753 1.659l-4.796 5.48a1 1 0 01-1.506 0z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center}
textarea.ck-modal-input{resize:vertical;min-height:80px}
.ck-modal-actions{display:flex;gap:12px;margin-top:24px}
.ck-modal-actions .ck-btn{flex:1}

/* Summary card */
.ck-summary-card{
  background:var(--teal-lt);border-radius:var(--radius);padding:20px 24px;
  margin-bottom:24px;
}
.ck-summary-card strong{color:var(--teal);font-weight:800}
.ck-summary-card p{font-size:14px;color:var(--text);font-weight:600;margin:4px 0}

/* Success state */
.ck-success{text-align:center;padding:32px 0}
.ck-success-check{
  width:80px;height:80px;margin:0 auto 24px;
  border-radius:50%;background:var(--teal-lt);
  display:flex;align-items:center;justify-content:center;
}
.ck-success-check svg{width:40px;height:40px;color:var(--teal)}
.ck-success-check svg path{
  stroke-dasharray:50;stroke-dashoffset:50;
  animation:ckDraw .6s ease forwards .2s;
}
@keyframes ckDraw{to{stroke-dashoffset:0}}
.ck-success h3{font-size:24px;font-weight:900;color:var(--text);margin-bottom:8px}
.ck-success p{font-size:14px;color:var(--muted);font-weight:600;margin-bottom:24px}

/* ---------- 16. RESPONSIVE ---------- */
@media(max-width:1024px){
  .ck-hero-inner{grid-template-columns:1fr;gap:40px}
  .ck-hero h1{font-size:48px}
  .ck-mockup{max-width:400px;margin:0 auto}
  .ck-features-grid{grid-template-columns:repeat(2,1fr)}
  .ck-tech-grid{grid-template-columns:repeat(2,1fr)}
  .ck-footer-inner{grid-template-columns:repeat(2,1fr)}
  .ck-login-brand{width:40%;padding:32px}
  .ck-login-form{width:60%}
}
@media(max-width:768px){
  .ck-nav-links{display:none}
  .ck-nav-actions .ck-btn{display:none}
  .ck-hamburger{display:block}
  .ck-hero{padding-top:80px}
  .ck-hero h1{font-size:36px}
  .ck-hero-sub{font-size:16px}
  .ck-mockup{display:none}
  .ck-stats-inner{grid-template-columns:repeat(2,1fr)}
  .ck-stat-divider:nth-child(2)::after{display:none}
  .ck-features-grid{grid-template-columns:1fr}
  .ck-tech-grid{grid-template-columns:1fr}
  .ck-roles-pills{gap:10px}
  .ck-role-pill{padding:10px 20px;font-size:13px}
  .ck-section-header h2{font-size:28px}
  .ck-footer-inner{grid-template-columns:1fr}
  .ck-footer-bottom{flex-direction:column;gap:16px;text-align:center}
  .ck-login-brand{display:none}
  .ck-login-form{width:100%}
  .ck-modal{padding:28px;border-radius:20px 20px 0 0;max-height:95vh;align-self:flex-end}
  .ck-section{padding:64px 0}
  .ck-role-tabs{flex-wrap:nowrap;overflow-x:auto}
}
@media(max-width:375px){
  .ck-hero h1{font-size:30px}
  .ck-hero-ctas{flex-direction:column}
  .ck-hero-ctas .ck-btn{width:100%}
}
