/* style.css - modern responsive styles for kjuder.dev */
:root{
  --bg:#0f1724;
  --card:#0b1220;
  --muted:#9aa4b2;
  --accent:#4f46e5;
  --accent-2:#06b6d4;
  --glass: rgba(255,255,255,0.04);
  --radius:12px;
  --max-width:1100px;
  --gap:1.25rem;
  --txt:#e6eef8;
}
html[data-theme="light"] {
  --bg: #f7fafc;
  --card: #ffffff;
  --muted: #6b7280;
  --accent: #2563EB;
  --accent-2: #06b6d4;
  --glass: rgba(2,6,23,0.03);
  --txt: #0b1220;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  background:linear-gradient(180deg,var(--bg) 0%, var(--bg) 60%);
  color:var(--txt);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  transition:background .25s ease, color .25s ease;
}
.container{max-width:var(--max-width);margin:0 auto;padding:2rem}
.header-inner{display:flex;align-items:center;justify-content:space-between}
.brand{color:var(--txt);font-weight:700;text-decoration:none}
.theme-toggle{background:transparent;border:1px solid rgba(255,255,255,0.04);color:var(--txt);padding:.4rem .6rem;border-radius:8px;cursor:pointer;margin-left:.5rem}
.theme-toggle:hover{transform:translateY(-1px)}
.main-nav ul{list-style:none;margin:0;padding:0;display:flex;gap:1rem}
.main-nav a{color:var(--muted);text-decoration:none;font-weight:600}
.nav-toggle{display:none;background:none;border:0;color:var(--txt);font-size:1.4rem}

/* Hero */
.hero{padding:4rem 0;background-image:linear-gradient(90deg, rgba(15,23,36,0.9), rgba(7,18,38,0.6));}
.hero-inner{display:grid;grid-template-columns:1fr 420px;gap:2rem;align-items:center}
.hero-text h1{font-size:2.25rem;line-height:1.05;margin:0 0 .5rem}
.lead{color:var(--muted);margin-bottom:1rem}
.hero-photo-wrap{position:relative;max-width:420px;margin-left:auto}
.hero-photo{width:100%;height:320px;object-fit:cover;border-radius:18px;box-shadow:0 18px 40px rgba(2,6,23,0.6);transform:translateY(0);transition:transform .6s cubic-bezier(.2,.9,.2,1)}
.hero-photo:hover{transform:translateY(-6px) scale(1.01)}
.profile-image{
  width:300px;height:300px;border-radius:100%;object-fit:cover;border:6px solid rgba(7,18,38,0.9);box-shadow:0 14px 40px rgba(2,6,23,0.6);background:linear-gradient(135deg,var(--accent),var(--accent-2));}

/* Header modern look */
.site-header{position:sticky;top:0;z-index:40;background:rgba(7,12,20,0.35);backdrop-filter:blur(6px);border-bottom:1px solid rgba(255,255,255,0.02)}
.header-inner{padding:0.6rem 0}

/* header background for light theme */
html[data-theme="light"] .site-header{background:rgba(255,255,255,0.6);border-bottom:1px solid rgba(15,23,36,0.04)}

/* Card icons */
.card{position:relative;overflow:hidden}
.card .icon{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:10px;background:linear-gradient(135deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));color:var(--accent-2);margin-bottom:.6rem}
.card h3{margin:0 0 .4rem}

/* Tech badges with small icon */
.tech-list .tech{display:inline-flex;align-items:center;gap:.5rem;background:linear-gradient(90deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));padding:.5rem .75rem;border-radius:999px;color:var(--muted);font-weight:700}
.tech-list .tech svg{width:14px;height:14px;opacity:.9}

@media (max-width:900px){
  .profile-image{width:300px;height:300px}
  .hero-photo{height:220px}
}
.cta-row .btn{margin-right:.75rem}

/* Sections */
.section{padding:3rem 0}
.section h2{margin:0 0 1rem}
.muted{color:var(--muted)}
.grid{display:grid;gap:1rem}
.cards{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.card{background:var(--card);padding:1.25rem;border-radius:12px}
.testimonial{padding:1.25rem;background:linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.00));}
.testimonials-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1rem}
.team-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem;align-items:start}
.team-member{text-align:center;padding:1rem}
.team-member .avatar{width:120px;height:120px;border-radius:50%;object-fit:cover;margin:0 auto 0.6rem;box-shadow:0 10px 30px rgba(2,6,23,0.45)}
.pricing-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem}
.pricing-grid .card{display:flex;flex-direction:column;align-items:flex-start}
.price{font-size:1.25rem;font-weight:700;margin:0.25rem 0;color:var(--accent-2)}
.newsletter-form{margin-top:1rem}

/* small icons in headings */
.section h2::before{content:'';display:inline-block;width:10px;height:10px;margin-right:.6rem;vertical-align:middle;background:linear-gradient(90deg,var(--accent),var(--accent-2));border-radius:2px}
.bullets{margin-top:1rem;padding-left:1.25rem}
.tech-list{display:flex;flex-wrap:wrap;gap:.5rem}
.tech-list span{background:var(--glass);padding:.4rem .7rem;border-radius:999px;color:var(--muted);font-weight:600}
.objectives .grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}
.clients .client-logos{display:flex;gap:1rem;flex-wrap:wrap}
.logo{background:linear-gradient(135deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));padding:.6rem 1rem;border-radius:8px;color:var(--muted)}

/* FAQ */
details summary{cursor:pointer;padding:.6rem 0;font-weight:600}

/* Contact */
.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}
.form-grid label{display:block}
.form-grid input,.form-grid textarea{width:100%;padding:.6rem;border-radius:8px;border:1px solid rgba(255,255,255,0.06);background:transparent;color:var(--txt)}
.form-grid label.full{grid-column:1 / -1}
.form-actions{margin-top:1rem}
.btn{display:inline-block;padding:.6rem 1rem;border-radius:8px;border:1px solid transparent;cursor:pointer;text-decoration:none}
.btn.primary{background:linear-gradient(90deg,var(--accent),var(--accent-2));color:white}
.btn.ghost{background:transparent;border:1px solid rgba(255,255,255,0.06);color:var(--txt)}
.notice{padding:.6rem 1rem;border-radius:8px;margin-bottom:1rem}
.notice.success{background:rgba(16,185,129,0.12);color:#a7f3d0}
.notice.error{background:rgba(239,68,68,0.08);color:#fecaca}

.site-footer{border-top:1px solid rgba(255,255,255,0.03);padding:1.2rem 0;margin-top:2rem}
.footer-inner{display:flex;justify-content:space-between;align-items:center}

/* Responsive */
@media (max-width:900px){
  .hero-inner{grid-template-columns:1fr;}
  .form-grid{grid-template-columns:1fr}
  .main-nav{display:none}
  .nav-toggle{display:block}
}

/* small animations */
[data-reveal]{opacity:0;transform:translateY(10px);transition:opacity .6s ease, transform .6s cubic-bezier(.2,.9,.2,1)}
[data-reveal].is-visible{opacity:1;transform:none}

/* accessibility focus */
a:focus,button:focus,input:focus,textarea:focus{outline:3px solid rgba(99,102,241,0.22);outline-offset:2px}

/* Toast / notification */
.site-toast{position:fixed;right:20px;top:20px;z-index:9999;min-width:260px;max-width:420px}
.site-toast .toast-card{background:linear-gradient(90deg,#071226,#0b1220);color:var(--txt);padding:14px 16px;border-radius:12px;box-shadow:0 12px 36px rgba(2,6,23,0.6);border:1px solid rgba(255,255,255,0.03);display:flex;gap:12px;align-items:flex-start}
.site-toast .toast-card.success{border-left:4px solid #10b981}
.site-toast .toast-card.error{border-left:4px solid #ef4444}
.site-toast .toast-close{margin-left:auto;background:transparent;border:0;color:var(--muted);cursor:pointer}

