/* ====================================================================
   Noti Inbox Tools — Landing Page Stylesheet
   Design tokens synced with extension sidepanel.css
   ==================================================================== */

/* ==================== VARIABLES ==================== */
:root {
  --blue: #0061ff;
  --blue2: #00c2ff;
  --blue-soft: rgba(0, 97, 255, .06);
  --blue-mid: rgba(0, 97, 255, .12);
  --green: #10b981;
  --text: #0c1222;
  --text2: #3e4c63;
  --text3: #8898ae;
  --bg: #f0f4fa;
  --bg-card: #ffffff;
  --border: #e4e9f1;
  --radius: 16px;
  --shadow-sm: 0 1px 3px rgba(0, 20, 60, .04);
  --shadow-md: 0 4px 12px rgba(0, 20, 60, .07);
  --shadow-lg: 0 12px 32px rgba(0, 20, 60, .08);
  --gradient-hero: linear-gradient(135deg, #0051d4 0%, #0073ff 40%, #00aaff 80%, #00d4ff 100%);
  --gradient-blue: linear-gradient(135deg, var(--blue), var(--blue2));
}

/* ==================== RESET ==================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text); background: var(--bg); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ==================== LAYOUT ==================== */
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ==================== SHARED: SECTION HEADER ==================== */
.section-label {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px; border-radius: 50px;
  background: var(--blue-soft); color: var(--blue);
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
  margin-bottom: 12px;
}
.section-label svg { width: 14px; height: 14px; }
.section-title {
  font-size: 32px; font-weight: 900; color: var(--text);
  letter-spacing: -.5px; margin-bottom: 12px;
}
.section-desc {
  font-size: 15px; color: var(--text3); max-width: 560px; margin-bottom: 48px;
}

/* ==================== SHARED: BUTTONS ==================== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 12px;
  font-family: inherit; font-size: 15px; font-weight: 800;
  cursor: pointer; border: none; transition: all .2s;
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-white {
  background: #fff; color: var(--blue);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .12);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0, 0, 0, .16); }
.btn-glass {
  background: rgba(255, 255, 255, .12); backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, .25); color: #fff; font-weight: 700;
}
.btn-glass:hover { background: rgba(255, 255, 255, .2); }
.btn-primary {
  background: var(--gradient-blue); color: #fff;
  box-shadow: 0 3px 12px rgba(0, 97, 255, .25);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0, 97, 255, .35); }

/* ==================== NAV ==================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between; height: 64px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 32px; }
.nav-logo span { font-size: 16px; font-weight: 800; color: var(--text); letter-spacing: -.3px; }
.nav-cta {
  padding: 10px 22px; border-radius: 10px; font-size: 13px; font-weight: 700;
  background: var(--gradient-blue); color: #fff;
  box-shadow: 0 3px 12px rgba(0, 97, 255, .25); transition: all .2s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0, 97, 255, .35); }

/* ==================== HERO ==================== */
.hero {
  position: relative; overflow: hidden; padding: 140px 0 80px;
  background: var(--gradient-hero);
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 80% 20%, rgba(255, 255, 255, .15), transparent 50%),
    radial-gradient(ellipse 60% 80% at 20% 80%, rgba(0, 210, 255, .15), transparent 50%);
}
.hero-inner { position: relative; z-index: 1; display: flex; align-items: center; gap: 60px; }
.hero-text { flex: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 16px; border-radius: 50px;
  background: rgba(255, 255, 255, .14); backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .18);
  font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, .9);
  margin-bottom: 20px;
}
.hero-badge-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #6ee7b7;
  box-shadow: 0 0 8px rgba(110, 231, 183, .6);
}
.hero h1 {
  font-size: 44px; font-weight: 900; color: #fff; line-height: 1.1;
  letter-spacing: -1px; margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}
.hero h1 span { color: #b4e4ff; }
.hero-desc {
  font-size: 17px; color: rgba(255, 255, 255, .82); line-height: 1.65;
  max-width: 520px; margin-bottom: 32px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual {
  flex-shrink: 0; width: 340px; border-radius: 20px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .2), 0 0 0 1px rgba(255, 255, 255, .1);
  background: var(--bg-card);
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
}

/* ==================== FEATURES ==================== */
.features { padding: 80px 0; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px;
  box-shadow: var(--shadow-sm); transition: all .25s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--gradient-blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; box-shadow: 0 4px 12px rgba(0, 97, 255, .2);
}
.feature-icon svg { width: 24px; height: 24px; color: #fff; }
.feature-card h3 { font-size: 15px; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.feature-card p { font-size: 13px; color: var(--text2); line-height: 1.55; }

/* ==================== HOW IT WORKS ==================== */
.how { padding: 80px 0; background: var(--bg-card); }
.steps { display: flex; gap: 24px; counter-reset: step; }
.step {
  flex: 1; position: relative; padding: 24px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); counter-increment: step;
}
.step::before {
  content: counter(step); position: absolute; top: -14px; left: 20px;
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--gradient-blue); color: #fff;
  font-size: 13px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 8px rgba(0, 97, 255, .2);
}
.step svg { width: 20px; height: 20px; color: var(--blue); }
.step h4 { font-size: 14px; font-weight: 800; color: var(--text); margin: 8px 0 6px; }
.step p { font-size: 12px; color: var(--text2); line-height: 1.5; }

/* ==================== SAFETY ==================== */
.safety { padding: 80px 0; }
.safety-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.safety-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 20px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: 14px; transition: all .15s;
}
.safety-item:hover { border-color: var(--blue-mid); background: var(--blue-soft); }
.safety-item svg { width: 22px; height: 22px; color: var(--blue); flex-shrink: 0; margin-top: 2px; }
.safety-item p { font-size: 13px; color: var(--text2); line-height: 1.55; }
.safety-item strong { color: var(--text); }

/* ==================== CTA ==================== */
.cta {
  padding: 80px 0; text-align: center; position: relative; overflow: hidden;
  background: var(--gradient-hero);
}
.cta-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 80% at 80% 30%, rgba(255, 255, 255, .12), transparent 50%),
    radial-gradient(ellipse 50% 60% at 20% 70%, rgba(0, 210, 255, .15), transparent 50%);
}
.cta-inner { position: relative; z-index: 1; }
.cta h2 { font-size: 36px; font-weight: 900; color: #fff; margin-bottom: 12px; letter-spacing: -.5px; }
.cta p {
  font-size: 16px; color: rgba(255, 255, 255, .8); margin-bottom: 32px;
  max-width: 500px; margin-left: auto; margin-right: auto;
}
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ==================== FOOTER ==================== */
.footer {
  padding: 32px 0; text-align: center;
  border-top: 1px solid var(--border); background: var(--bg-card);
}
.footer-logo {
  display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 8px;
}
.footer-logo img { height: 28px; }
.footer-logo span { font-size: 14px; font-weight: 800; color: var(--text); }
.footer p { font-size: 12px; color: var(--text3); }
.footer a { color: var(--blue); font-weight: 600; }

/* ==================== ANIMATIONS ==================== */
@keyframes float {
  0%, 100% { transform: perspective(1000px) rotateY(-5deg) rotateX(2deg) translateY(0); }
  50% { transform: perspective(1000px) rotateY(-5deg) rotateX(2deg) translateY(-8px); }
}
.hero-visual { animation: float 4s ease-in-out infinite; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.feature-card {
  opacity: 0; transform: translateY(20px); transition: all .5s ease;
}
.feature-card.visible { opacity: 1; transform: translateY(0); }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
  .hero { padding: 120px 0 60px; }
  .hero h1 { font-size: 28px; }
  .hero-inner { flex-direction: column; gap: 40px; text-align: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-btns { justify-content: center; }
  .hero-visual { width: 280px; transform: none; animation: none; }
  .features-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; }
  .safety-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 24px; }
  .cta h2 { font-size: 26px; }
  .btn { padding: 12px 22px; font-size: 14px; }
}
