/* FieldForge — Global Stylesheet */
/* Brand: Navy #0B1F2A | Orange #FF5A1F | Font: Inter */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --navy:       #0B1F2A;
  --navy-mid:   #122333;
  --navy-light: #1a3347;
  --orange:     #FF5A1F;
  --orange-hover: #e84d15;
  --steel:      #4A90B8;
  --text:       #e2e8f0;
  --text-muted: #94a3b8;
  --text-dim:   #64748b;
  --border:     #1e3a52;
  --card-bg:    #122333;
  --white:      #ffffff;
  --green:      #22c55e;
  --radius:     10px;
  --radius-sm:  6px;
  --shadow:     0 4px 24px rgba(0,0,0,0.3);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--navy);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── TYPOGRAPHY ── */
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900; line-height: 1.1; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; line-height: 1.2; }
h3 { font-size: 1.1rem; font-weight: 700; }
h4 { font-size: 0.95rem; font-weight: 700; }
p  { color: var(--text-muted); }

.accent { color: var(--orange); }

/* ── LAYOUT ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }
.section-sm { padding: 48px 0; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 0.95rem; cursor: pointer;
  border: none; transition: all 0.18s ease; text-decoration: none;
  white-space: nowrap;
}
.btn-primary { background: var(--orange); color: white; }
.btn-primary:hover { background: var(--orange-hover); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(255,90,31,0.35); }
.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* ── NAVBAR ── */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11,31,42,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.navbar-logo {
  display: flex; align-items: center;
}
.navbar-logo img { height: 40px; width: auto; display: block; }
.navbar-logo span { color: var(--orange); }
.navbar-links {
  display: flex; gap: 32px;
}
.navbar-links a {
  font-size: 0.875rem; font-weight: 600; color: var(--text-muted);
  transition: color 0.15s;
}
.navbar-links a:hover, .navbar-links a.active { color: var(--white); }
.navbar-cta { display: flex; gap: 12px; align-items: center; }

/* Mobile nav */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px; transition: all 0.2s;
}
.mobile-menu {
  display: none; position: fixed; inset: 64px 0 0 0;
  background: var(--navy); z-index: 99;
  flex-direction: column; padding: 32px 24px; gap: 24px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 1.2rem; font-weight: 700; color: var(--text); padding: 8px 0; border-bottom: 1px solid var(--border); }

/* ── HERO ── */
.hero {
  background: var(--navy);
  padding: 96px 0 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,90,31,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,90,31,0.1); border: 1px solid rgba(255,90,31,0.25);
  color: var(--orange); font-size: 0.8rem; font-weight: 700;
  padding: 6px 14px; border-radius: 100px; margin-bottom: 20px;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.hero h1 { margin-bottom: 20px; }
.hero p  { font-size: 1.05rem; margin-bottom: 32px; max-width: 480px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.trust-badges {
  display: flex; gap: 20px; margin-top: 28px; flex-wrap: wrap;
}
.trust-badge {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.8rem; color: var(--text-dim);
}
.trust-badge::before { content: ''; }
.trusted-row {
  display: flex; align-items: center; gap: 10px;
  margin-top: 24px; margin-bottom: 4px;
}
.trusted-icons { font-size: 1.3rem; letter-spacing: 4px; }
.trusted-label { font-size: 0.85rem; color: var(--text-dim); font-weight: 600; }

/* ── GETTING STARTED BANNER ── */
.getting-started {
  background: var(--orange);
  padding: 56px 0 0;
}
.getting-started > .container > h2 {
  color: white; margin-bottom: 10px;
  font-size: 2.2rem; font-weight: 900;
  text-transform: uppercase; line-height: 1.1;
}
.getting-started > .container > p {
  color: rgba(255,255,255,0.85); margin-bottom: 28px; font-size: 1rem;
}
.gs-steps {
  display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px;
}
.gs-step {
  background: rgba(0,0,0,0.15); border-radius: 14px;
  padding: 20px; display: flex; align-items: center; gap: 18px;
}
.gs-icon {
  width: 62px; height: 62px; border-radius: 50%;
  background: rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; flex-shrink: 0;
}
.gs-step-label {
  font-size: 0.65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: rgba(255,255,255,0.6); margin-bottom: 3px;
}
.gs-step h4 { color: white; font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.gs-step p  { color: rgba(255,255,255,0.8); font-size: 0.85rem; margin: 0; }
.gs-cta-bar {
  background: #fdf0e6; border-radius: 16px 16px 0 0;
  padding: 24px 20px; text-align: center;
}
.gs-cta-bar p { color: #666; font-size: 0.875rem; margin-bottom: 14px; }
.gs-cta-bar p strong { color: #333; }
.btn-dark-cta {
  background: #c44a0e; color: white; font-weight: 800;
  font-size: 0.875rem; letter-spacing: 0.5px;
  display: block; text-align: center;
  padding: 15px 24px; border-radius: 10px; width: 100%;
}
.btn-dark-cta:hover { background: #a83b09; transform: translateY(-1px); }
.btn-white { background: white; color: var(--orange); font-weight: 800; }
.btn-white:hover { background: #f0f0f0; transform: translateY(-1px); }

/* ── PHONE MOCKUP ── */
.phone-wrap { display: flex; justify-content: center; align-items: center; }
.phone {
  width: 260px;
  background: #0a0a0a; border-radius: 36px;
  border: 8px solid #1a1a1a; box-shadow: 0 24px 64px rgba(0,0,0,0.5);
  overflow: hidden; position: relative;
}
.phone-notch {
  width: 90px; height: 22px; background: #0a0a0a;
  border-radius: 0 0 14px 14px; margin: 0 auto;
  position: relative; z-index: 2;
}
.phone-screen {
  background: #0f1923; padding: 12px;
  min-height: 380px;
}
.tg-header {
  display: flex; align-items: center; gap: 8px;
  padding-bottom: 10px; border-bottom: 1px solid #1e293b; margin-bottom: 10px;
}
.tg-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--orange); display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; color: white;
}
.tg-name { font-size: 11px; font-weight: 700; color: var(--text); }
.tg-status { font-size: 9px; color: var(--text-dim); }
.chat-bubble {
  max-width: 85%; margin-bottom: 8px;
  padding: 8px 10px; border-radius: 10px 10px 10px 2px;
  font-size: 10px; color: var(--text); background: #1e293b;
  position: relative;
}
.chat-bubble.sent {
  margin-left: auto;
  background: rgba(255,90,31,0.2); border-radius: 10px 10px 2px 10px;
  color: #ffd0b5;
}
.chat-time { font-size: 8px; color: var(--text-dim); margin-top: 2px; text-align: right; }
.waveform { color: var(--orange); letter-spacing: -2px; font-size: 12px; }

/* Animation frames */
.frame { display: none; }
.frame.active { display: block; }

/* ── SECTIONS ── */
.section-label {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--orange);
  margin-bottom: 12px;
}
.section-title { margin-bottom: 16px; }
.section-sub { max-width: 560px; margin: 0 auto; text-align: center; }

/* ── CARDS ── */
.card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: var(--orange); transform: translateY(-2px); }
.card-icon { font-size: 2rem; margin-bottom: 14px; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 0.875rem; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

/* ── STEPS ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step { text-align: center; }
.step-num {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,90,31,0.15); border: 2px solid var(--orange);
  color: var(--orange); font-weight: 900; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: 0.875rem; }
.step-connector {
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim); font-size: 1.5rem; padding-top: 16px;
}

/* ── PRICING ── */
.pricing-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; align-items: start;
}
.plan-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px;
  display: flex; flex-direction: column;
}
.plan-card.featured {
  border-color: var(--orange);
  background: linear-gradient(135deg, #1a3347 0%, #122333 100%);
  position: relative;
}
.plan-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--orange); color: white;
  font-size: 0.7rem; font-weight: 800; padding: 4px 12px;
  border-radius: 100px; letter-spacing: 0.05em; text-transform: uppercase;
  white-space: nowrap;
}
.plan-name { font-size: 0.875rem; font-weight: 700; color: var(--text-muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.05em; }
.plan-price { font-size: 2.4rem; font-weight: 900; color: var(--white); line-height: 1; }
.plan-price sup { font-size: 1.2rem; vertical-align: super; }
.plan-price span { font-size: 0.875rem; color: var(--text-dim); font-weight: 400; }
.plan-tagline { font-size: 0.8rem; color: var(--text-dim); margin: 8px 0 20px; }
.plan-features { flex: 1; margin-bottom: 24px; }
.plan-feature {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 0.85rem; color: var(--text-muted); padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.plan-feature:last-child { border-bottom: none; }
.plan-feature .check { color: var(--green); flex-shrink: 0; }
.plan-feature .cross { color: var(--text-dim); flex-shrink: 0; }
.plan-cta { display: block; text-align: center; }

/* ── FAQ ACCORDION ── */
.faq-search {
  width: 100%; padding: 14px 18px;
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text);
  font-family: inherit; font-size: 0.95rem; margin-bottom: 32px;
  outline: none; transition: border-color 0.2s;
}
.faq-search:focus { border-color: var(--orange); }
.faq-search::placeholder { color: var(--text-dim); }

.faq-category { margin-bottom: 40px; }
.faq-category-title {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--orange);
  margin-bottom: 12px; padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%; background: none; border: none; text-align: left;
  padding: 16px 0; cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; gap: 16px; color: var(--text); font-family: inherit;
  font-size: 0.95rem; font-weight: 600;
}
.faq-question:hover { color: var(--orange); }
.faq-chevron { color: var(--text-dim); font-size: 1.2rem; transition: transform 0.2s; flex-shrink: 0; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  display: none; padding: 0 0 16px; font-size: 0.9rem; color: var(--text-muted);
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }
.faq-item.hidden { display: none; }

code {
  background: rgba(255,90,31,0.12); color: var(--orange);
  padding: 2px 8px; border-radius: 4px; font-size: 0.9em;
  font-family: 'Courier New', monospace;
}

/* ── COMMAND TABLE ── */
.cmd-table { width: 100%; border-collapse: collapse; }
.cmd-table th {
  background: var(--navy-light); padding: 10px 14px;
  font-size: 0.8rem; color: var(--text-muted); text-align: left;
  border-bottom: 1px solid var(--border); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.cmd-table td {
  padding: 12px 14px; font-size: 0.875rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--text-muted); vertical-align: middle;
}
.cmd-table tr:last-child td { border-bottom: none; }
.cmd-table tr:hover td { background: rgba(255,255,255,0.02); }
.tag {
  font-size: 0.7rem; font-weight: 700; padding: 3px 8px;
  border-radius: 100px; white-space: nowrap;
}
.tag-all    { background: rgba(34,197,94,0.15);  color: #4ade80; }
.tag-owner  { background: rgba(96,165,250,0.15); color: #60a5fa; }
.tag-plan   { background: rgba(255,90,31,0.12);  color: var(--orange); font-size: 0.65rem; }

/* ── SUPPORT ── */
.support-tip {
  background: rgba(255,90,31,0.08);
  border-left: 3px solid var(--orange);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px; margin-bottom: 40px;
  font-size: 0.9rem; color: var(--text-muted);
}
.support-tip strong { color: var(--text); }
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--text-muted); margin-bottom: 6px; }
.form-input, .form-textarea {
  width: 100%; padding: 12px 14px;
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text);
  font-family: inherit; font-size: 0.9rem; outline: none;
  transition: border-color 0.2s;
}
.form-input:focus, .form-textarea:focus { border-color: var(--orange); }
.form-textarea { resize: vertical; min-height: 100px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.support-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 40px; }
.support-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px 20px;
  cursor: pointer; text-align: center; transition: all 0.2s;
}
.support-card:hover, .support-card.active { border-color: var(--orange); }
.support-card.active { background: rgba(255,90,31,0.08); }
.support-card-icon { font-size: 1.8rem; margin-bottom: 10px; }
.support-card h4 { font-size: 0.9rem; margin-bottom: 4px; }
.support-card p  { font-size: 0.78rem; color: var(--text-dim); }
.form-panel { display: none; background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.form-panel.active { display: block; }

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, #0B1F2A 0%, #122333 100%);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  text-align: center; padding: 80px 0;
}
.cta-banner h2 { margin-bottom: 16px; }
.cta-banner p  { max-width: 480px; margin: 0 auto 32px; }

/* ── FOOTER ── */
.footer {
  background: #070f16; border-top: 1px solid var(--border);
  padding: 40px 0;
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 20px;
}
.footer-logo { display: flex; align-items: center; }
.footer-logo img { height: 44px; width: auto; display: block; opacity: 0.9; }
.footer-logo span { color: var(--orange); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 0.85rem; color: var(--text-dim); transition: color 0.15s; }
.footer-links a:hover { color: var(--text); }
.footer-legal { font-size: 0.78rem; color: var(--text-dim); }

/* ── DARK SECTION ── */
.section-dark { background: var(--navy-mid); }
.section-darker { background: #080f15; }

/* ── DIVIDER ── */
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .phone-wrap { display: none; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .getting-started > .container > h2 { font-size: 1.7rem; }
  .support-cards { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .navbar-links, .navbar-cta .btn-ghost { display: none; }
  .hamburger { display: flex; }
  .pricing-grid { grid-template-columns: 1fr; }
  .support-cards { grid-template-columns: 1fr 1fr; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .section { padding: 56px 0; }
  .footer-inner { flex-direction: column; text-align: center; }
}
