/* MedGPT Landing - styles.css */
:root{
  --bg:#e9fbf2;
  --ink:#0b2a27;
  --muted:#3e6e69;
  --brand:#14b8a6; /* teal-500 */
  --brand-ink:#052925;
  --card:#ffffff;
  --ring: rgba(20,184,166,.35);
  --radius: 20px;
  --shadow: 0 10px 30px rgba(0,0,0,.07);
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: ui-sans-serif, -apple-system, Segoe UI, Roboto, Helvetica, Arial, Apple Color Emoji, Segoe UI Emoji;
  line-height:1.5;
  color:var(--ink);
  background: radial-gradient(1200px 700px at 10% -10%, #f3fffc, transparent),
              radial-gradient(1200px 700px at 110% 10%, #e7fff9, transparent),
              var(--bg);
}
.container{max-width:1100px;margin:0 auto;padding:24px}
.header{
  display:flex;align-items:center;justify-content:space-between;
  gap:16px;padding:8px 0;margin-bottom:8px;
}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:inherit}
.brand img{width:36px;height:36px;border-radius:10px;box-shadow:var(--shadow)}
.brand span{font-weight:700;font-size:1.1rem;letter-spacing:.2px}

nav a{margin:0 10px;text-decoration:none;color:var(--muted);font-weight:600}
nav a:hover{color:var(--ink)}

.hero{
  display:grid;grid-template-columns:1.1fr .9fr;gap:34px;align-items:center;
  padding:36px 0 18px;
}
.hero .title{font-size: clamp(32px, 4vw, 56px);line-height:1.08;margin:0 0 12px}
.hero p{color:var(--muted);font-size: clamp(16px, 2vw, 18px);margin:0 0 18px}

.btn{
  display:inline-flex;align-items:center;gap:10px;
  background: linear-gradient(180deg, #2dd4bf, #14b8a6);
  color:white;border:none;border-radius:999px;padding:14px 20px;font-weight:800;
  text-decoration:none;box-shadow: 0 12px 25px var(--ring); transition: transform .06s ease, box-shadow .2s ease;
}
.btn:hover{transform:translateY(-1px);box-shadow:0 16px 28px var(--ring)}
.btn.small{padding:10px 14px;font-weight:700}

.kicker{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}
.badge{
  display:inline-flex;align-items:center;gap:8px;background:rgba(20,184,166,.1);
  border:1px solid rgba(20,184,166,.25); color:var(--brand-ink);
  padding:8px 12px;border-radius:999px;font-weight:700;font-size:13px;
}

.phone{
  background:var(--card);border-radius:28px;box-shadow:var(--shadow);
  padding:14px;transform:rotate(-2deg);border:1px solid #e9f5f3;
}
.phone img{width:100%;height:auto;border-radius:20px;display:block}

.section{padding:52px 0}
.grid{
  display:grid;gap:16px;
  grid-template-columns:repeat(12,minmax(0,1fr));
}
.card{
  grid-column: span 12;
  background:var(--card);border-radius:var(--radius);padding:20px;border:1px solid #eaf5f3;box-shadow:var(--shadow);
}
.card h3{margin:0 0 6px;font-size:18px}
.card p{margin:0;color:var(--muted)}

.features .card{grid-column:span 6}
@media (max-width:880px){.hero{grid-template-columns:1fr}.features .card{grid-column:span 12}}

.gallery{
  display:grid;gap:16px;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end
}
.gallery figure{margin:0;background:var(--card);padding:12px;border-radius:18px;border:1px solid #eaf5f3;box-shadow:var(--shadow)}
.gallery img{width:100%;height:auto;border-radius:12px;display:block}
.gallery figcaption{font-size:12px;color:var(--muted);padding-top:6px}

.how{
  display:grid;gap:14px;grid-template-columns:repeat(3,minmax(0,1fr));
}
.step{background:var(--card);border:1px solid #eaf5f3;border-radius:16px;padding:16px;box-shadow:var(--shadow)}
.step h4{margin:0 0 6px}
.step p{margin:0;color:var(--muted)}

.disclaimer{
  background:rgba(255,255,255,.6);
  border:1px dashed #b2d8d3;padding:18px;border-radius:16px;color:#0b3b36
}

.footer{padding:30px 0 40px;color:#426a65;font-size:14px}
.footer a{color:inherit}


/* App Store badge */
.appstore-badge img{
  display:inline-block;
  width:200px; /* tweak as needed */
  height:auto;
  vertical-align:middle;
  filter: drop-shadow(0 8px 16px var(--ring));
  transition: transform .08s ease, filter .2s ease;
}
.appstore-badge:hover img{transform:translateY(-1px); filter: drop-shadow(0 12px 20px var(--ring));}


/* App Store badge */
.store-badge img{display:inline-block;height:54px;width:auto;vertical-align:middle;filter: drop-shadow(0 10px 20px var(--ring));}
.store-badge:hover img{transform: translateY(-1px); transition: transform .08s ease}


/* Secondary app icon placement */
.app-card{
  display:inline-flex;align-items:center;gap:12px;margin-top:10px;
  background:var(--card);border:1px solid #eaf5f3;border-radius:16px;
  padding:10px 12px;box-shadow:var(--shadow)
}
.app-card img{width:56px;height:56px;border-radius:12px;display:block}
.app-card .app-name{font-weight:800;line-height:1}
.app-card .app-sub{font-size:12px;color:var(--muted);line-height:1.2;margin-top:2px}


/* Safe-area padding so brand/icon isn't glued to the edge on mobile */
@supports (padding: max(0px)) {
  .container{
    padding-left: max(16px, calc(24px + env(safe-area-inset-left)));
    padding-right: max(16px, calc(24px + env(safe-area-inset-right)));
  }
}

/* Navigation: wrap cleanly, avoid word breaking, align rows */
.header nav{display:flex;flex-wrap:wrap;column-gap:14px;row-gap:8px}
.header nav a{margin:0;text-decoration:none;color:var(--muted);font-weight:700;white-space:nowrap}
@media (max-width:640px){
  .header nav a{padding:4px 0}
}


/* Hero logo — larger & centered */
.hero-logo{
  display:flex;
  justify-content:center;
  align-items:center;
  width:100%;
  margin-bottom:72px;
}
.hero-logo img{
  width:196px;
  height:196px;
  border-radius:30px;
  box-shadow:var(--shadow);
  border:1px solid #eaf5f3;
}
@media (max-width:880px){
  .hero-logo img{width:104px;height:104px}
}
