:root{
  --sidebar-bg: #0a1a33;
  --sidebar-hover: #12315c;
  --accent: #0066ff;
  --accent-2: #004dcc;
  --muted: #6b7280;
  --card: #ffffff;
  --panel-shadow: 0 6px 20px rgba(11,19,40,0.06);
  --radius: 12px;
  --glass: rgba(255,255,255,0.6);
}

*{box-sizing:border-box}
html,body{height:100%;margin:0;font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial;background:#f7fafc;color:#0b1220}

/* layout */
.app {
  display:flex;
  min-height:100vh;
}

/* sidebar */
.sidebar{
  width:80px;
  background:var(--sidebar-bg);
  color:#fff;
  display:flex;
  flex-direction:column;
  padding:20px 10px;
  transition:width .22s ease;
  gap:12px;
}
.sidebar.expanded{width:240px}

.logo-wrap{
  display:flex;
  justify-content:center;
  align-items:center;
  margin:6px 0 14px;
}

/* LOGO DEFAULT SIZE — collapsed sidebar */
.logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    transition: 0.3s ease;
}

/* EXPANDED SIDEBAR LOGO SIZE */
.sidebar.expanded .logo {
    width: 120px;
    height: 120px;
}
/* nav items */
.nav{
  display:flex;flex-direction:column;gap:8px;margin-top:6px;
}
.nav a{
  display:flex;align-items:center;gap:12px;padding:10px;border-radius:10px;color:#dbeafe;text-decoration:none;background:transparent;font-weight:600;
}
.nav a .icon{font-size:20px;width:30px;text-align:center}
.nav a .label{opacity:0;transition:opacity .18s ease}
.sidebar.expanded .nav a .label{opacity:1}
.nav a:hover{background:var(--sidebar-hover)}
.sidebar-footer{margin-top:auto;display:flex;flex-direction:column;gap:8px;align-items:center}
.small-muted{font-size:12px;color:rgba(255,255,255,0.85);text-align:center;padding:6px 8px}

/* main area */
.main{
  flex-grow:1;
  background:#fff;
  padding:28px;
  overflow:auto;
}

/* header */
.header{
  display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px;
}
.h-title{font-size:20px;margin:0}
.h-sub{color:var(--muted);font-size:13px}

/* cards / panels */
.grid{display:grid;grid-template-columns:420px 1fr;gap:18px}
@media (max-width:1000px){ .grid{grid-template-columns:1fr} .sidebar{position:fixed;bottom:0;left:0;width:100%;height:auto;display:flex;flex-direction:row;padding:10px} .main{padding:18px;margin-bottom:70px} .sidebar.expanded{width:100%} .logo{width:40px;height:40px} .nav a{padding:8px} }

.card{background:var(--card);border-radius:var(--radius);padding:16px;box-shadow:var(--panel-shadow);display:flex;flex-direction:column;gap:10px}
.card h2{margin:0;font-size:1.05rem}
.label{font-weight:700;color:var(--muted);font-size:13px;margin-top:6px}

/* inputs */
input,textarea,select{
  width:100%;padding:10px;border-radius:10px;border:1px solid #e6eef7;background:transparent;font-size:14px;
}
textarea{min-height:120px;resize:vertical}

/* buttons */
.row{display:flex;gap:8px;flex-wrap:wrap}
.btn{background:var(--accent);color:#fff;padding:10px 14px;border-radius:8px;border:0;cursor:pointer;font-weight:700}
.btn.ghost{background:transparent;border:1px solid rgba(11,19,40,0.05);color:var(--muted)}
.btn.outline{background:transparent;border:1px solid rgba(11,19,40,0.08);color:var(--muted)}
.btn.secondary{background:var(--accent-2)}

/* output */
.output{background:linear-gradient(180deg,#fbfdff,#f6f9fc);border-radius:10px;padding:14px;border:1px solid rgba(11,19,40,0.04);min-height:180px;overflow:auto}
.output h3{margin:6px 0}
.output p{margin:0 0 10px 0;line-height:1.45}
.output ul{margin:8px 0 12px 20px}
.output li{margin-bottom:6px}

/* loading */
.loading{display:flex;flex-direction:column;align-items:center;gap:8px;color:var(--muted)}
.spinner{width:44px;height:44px;border-radius:50%;border:6px solid rgba(6,11,20,0.06);border-top-color:var(--accent);animation:spin .9s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}

/* small helpers */
.hint{font-size:13px;color:var(--muted)}
.note{font-size:13px;color:#0b1220;background:#f5f8ff;padding:10px;border-radius:8px;border:1px solid rgba(6,11,20,0.03)}
.footer-row{display:flex;justify-content:space-between;align-items:center;margin-top:8px}

/* ---- GETTING STARTED PAGE ---- */

/* Full-page gradient (darker + full coverage) */
.start-page {
  min-height: 100vh;
  width: 100%;
  background: linear-gradient(180deg, #061024 0%, #0a1a33 40%, #0d1f3d 100%);
  background-attachment: fixed;
  padding: 40px 20px;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeIn 0.8s ease;
  text-align: center;
}

/* Fade-in animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Logo */
.start-logo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}
.start-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Main header */
.start-title {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 14px;
}

/* Description */
.start-desc {
  max-width: 750px;
  line-height: 1.65;
  font-size: 18px;
  opacity: 0.95;
  margin-bottom: 40px;
}

/* ---- Overlapping circles (CENTERED) ---- */

.circle-wrapper {
  position: relative;
  width: 380px;        /* ensures perfect centering */
  height: 220px;
  margin-bottom: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
}

.circle {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0px 14px 35px rgba(0,0,0,0.35);
  overflow: hidden;
  position: absolute;
}

.circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Left circle */
.circle.left {
  left: 0;
  top: 15px;
}

/* Right circle */
.circle.right {
  right: 0;
  top: 0;
}

/* About Me Box */
.about-box {
  max-width: 780px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  padding: 24px 28px;
  margin-top: 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.35);
  text-align: left;
}

.about-box h2 {
  margin-top: 0;
  font-size: 26px;
  font-weight: 700;
}

.about-box p {
  line-height: 1.65;
  font-size: 17px;
  opacity: 0.95;
}

/* Get Started Button (Bigger Version) */
.get-started-btn {
  margin-top: 45px;
  background: #ffffff;
  color: #0a1a33;
  padding: 20px 40px;       /* increased for a bigger button */
  border-radius: 14px;      /* slightly rounder */
  font-size: 22px;          /* bigger text */
  font-weight: 800;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  transition: transform 0.25s ease;
}

.get-started-btn:hover {
  transform: translateY(-6px);
}

/* Social icons */
.socials {
  display: flex;
  gap: 16px;
  margin-top: 35px;
}

.socials a {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a1a33;
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
  transition: transform .25s ease;
}

.socials a svg {
  width: 22px;
  height: 22px;
}

.socials a:hover {
  transform: translateY(-4px);
}

/* Copyright */
.copy {
  margin-top: 18px;
  opacity: 0.75;
  font-size: 14px;
}

.locked {
  opacity: 0.5;
  pointer-events: none;
}

.center-box {
  max-width: 400px;
  margin: auto;
  margin-top: 80px;
}

.large-input {
  width: 100%;
  padding: 14px;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.result-text {
  margin-top: 12px;
  font-size: 1rem;
}
