/*
Theme Name: TELGO POS Landing
Theme URI: https://t.me/telgoPos_bot
Author: Mehedi Hasan
Author URI: https://t.me/mehedi_bdpos
Description: Professional simple landing for TELGO POS — Telegram-based POS software.
Version: 1.2.0
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: telgo-pos-theme
*/

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #f5f6f8;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e8eaef;
  --blue: #2b8aef;
  --blue-dark: #1a73d4;
  --blue-soft: rgba(43, 138, 239, 0.09);
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 4px 16px rgba(15, 23, 42, 0.04);
}

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
ul { list-style: none; }

.wrap {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left));
  padding-right: max(16px, env(safe-area-inset-right));
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.02em;
  min-width: 0;
}

.site-brand:hover { color: var(--text); }

.site-brand img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  flex-shrink: 0;
}

.site-brand span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 14px;
  border-radius: 9px;
  background: var(--blue);
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none !important;
  transition: background 0.15s ease;
}

.header-cta:hover {
  background: var(--blue-dark);
  color: #fff !important;
}

.hero {
  padding: 40px 0 32px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-soft);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(22px, 5.5vw, 28px);
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 0 auto 12px;
  max-width: 16ch;
}

.hero .lead {
  font-size: clamp(14px, 3.4vw, 15px);
  color: var(--muted);
  max-width: 34ch;
  margin: 0 auto 24px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 44px;
  padding: 0 20px;
  border-radius: 11px;
  border: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none !important;
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.btn svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--blue);
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(43, 138, 239, 0.28);
}

.btn-primary:hover {
  background: var(--blue-dark);
  color: #fff !important;
}

.btn-ghost {
  background: var(--surface);
  color: var(--text) !important;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.btn-ghost:hover {
  background: #fafbfc;
  color: var(--text) !important;
}

.features {
  padding: 0 0 28px;
}

.features h2 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin-bottom: 14px;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 14px;
  box-shadow: var(--shadow);
  min-width: 0;
}

.feature-card .icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--blue-soft);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.feature-card .icon svg {
  width: 18px;
  height: 18px;
}

.feature-card h3 {
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.25;
}

.feature-card p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.4;
  margin: 0;
}

@media (max-width: 360px) {
  .feature-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; }
}

.cta-section {
  padding: 0 0 36px;
}

.cta-band {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
}

.cta-band h2 {
  font-size: clamp(17px, 4vw, 19px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 6px;
}

.cta-band p {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 18px;
}

.cta-band .btn-primary {
  width: 100%;
  max-width: 280px;
}

.site-footer {
  padding: 20px 0 max(28px, env(safe-area-inset-bottom));
  text-align: center;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  justify-content: center;
  margin-bottom: 8px;
}

.footer-links a {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.footer-links a:hover { color: var(--blue); }

.footer-copy {
  margin: 0;
  font-size: 12px;
  color: #94a3b8;
}

.content-area {
  padding: 32px 0 48px;
}

.content-area h1 {
  font-size: clamp(22px, 5vw, 26px);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.content-area p {
  margin-bottom: 12px;
  color: #334155;
}

@media (min-width: 768px) {
  .wrap { max-width: 600px; }
  .hero { padding: 56px 0 40px; }
  .feature-grid { gap: 12px; }
  .feature-card { padding: 18px 16px; }
}
