/* ============ tynec.net — static stylesheet ============ */

:root {
  --primary: #1c9ff2;
  --primary-dark: #0d7fd0;
  --secondary: #5ecbfe;
  --navy: #0A1E3D;
  --navy-2: #1a3a5c;

  --background: #f8fafc;
  --foreground: #1e2733;
  --muted: #eef2f6;
  --muted-foreground: #5b6672;
  --card: #ffffff;
  --card-border: #e7ebef;
  --border: #dde3e9;

  --radius: 0.85rem;
  --shadow-sm: 0 1px 3px rgba(16, 24, 40, 0.08);
  --shadow-md: 0 8px 24px rgba(16, 24, 40, 0.10);
  --shadow-lg: 0 20px 40px rgba(16, 24, 40, 0.16);

  --max-width: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
img, svg { display: block; }
button { font-family: inherit; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

.icon { flex-shrink: 0; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  border-radius: 0.6rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  white-space: nowrap;
}
.btn-lg { font-size: 1.125rem; padding: 0.9rem 2rem; }
.btn-block { width: 100%; }
.btn-gradient {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-gradient:hover { opacity: 0.92; }
.btn-white {
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow-lg);
}
.btn-white:hover { background: rgba(255,255,255,0.9); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--border);
  color: var(--foreground);
}
.btn-outline:hover { background: var(--muted); }
.btn-outline-white {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.12); }

/* ============ Navbar ============ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}
.logo { display: flex; align-items: center; gap: 0.5rem; }
.logo-badge {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
  padding: 0.25rem 0.75rem;
  border-radius: 0.5rem;
}
.logo-suffix { font-size: 1.125rem; font-weight: 600; }

.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}
.nav-link {
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(30,39,51,0.7);
  transition: all 0.15s ease;
}
.nav-link:hover { background: var(--muted); color: var(--foreground); }
.nav-link.active { background: rgba(28,159,242,0.1); color: var(--primary); }

.nav-external { display: none; align-items: center; gap: 0.5rem; }
.nav-external a {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(30,39,51,0.7);
}
.nav-external a:hover { color: var(--foreground); }

.mobile-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
  color: var(--foreground);
}
.mobile-menu-btn:hover { background: var(--muted); }

.mobile-menu { display: none; padding-bottom: 1rem; }
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(30,39,51,0.7);
  margin-top: 0.25rem;
}
.mobile-menu a:hover { background: var(--muted); color: var(--foreground); }
.mobile-menu a.active { background: rgba(28,159,242,0.1); color: var(--primary); }
.mobile-menu-divider {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

@media (min-width: 1024px) {
  .nav-links, .nav-external { display: flex; }
  .mobile-menu-btn { display: none; }
}

/* ============ Sections ============ */
.section { padding: 5rem 0; }
.section-tight { padding: 3.5rem 0; }
.hero { position: relative; overflow: hidden; }
.hero-dark {
  background: linear-gradient(135deg, var(--navy), var(--primary) 55%, var(--secondary));
  color: #fff;
  min-height: 78vh;
  display: flex;
  align-items: center;
}
.hero-light {
  background: linear-gradient(135deg, rgba(28,159,242,0.10), rgba(94,203,254,0.05), var(--background));
  border-bottom: 1px solid var(--border);
}
.hero-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 6rem;
  background: linear-gradient(to top, var(--background), transparent);
}

.section-header { text-align: center; margin-bottom: 4rem; }
.eyebrow-icon {
  display: inline-flex;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: 0.75rem;
  border-radius: 0.85rem;
}

h1 { font-size: 2.75rem; font-weight: 700; line-height: 1.15; }
h2 { font-size: 2.25rem; font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
@media (min-width: 640px) {
  h1 { font-size: 3.5rem; }
  h2 { font-size: 2.75rem; }
}
@media (min-width: 1024px) {
  h1 { font-size: 4rem; }
}

.text-xl { font-size: 1.25rem; }
.text-lead { font-size: 1.25rem; color: var(--muted-foreground); line-height: 1.6; }
.hero-dark .text-lead { color: rgba(255,255,255,0.9); }
.muted { color: var(--muted-foreground); }
.max-w-prose { max-width: 48rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-2xl { max-width: 42rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ============ Grid helpers ============ */
.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid-2col-sm { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.grid-tight { gap: 1rem; }

/* ============ Cards ============ */
.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all 0.25s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-pad-lg { padding: 2rem; }
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.6rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  margin-bottom: 1rem;
}

/* ============ Pricing ============ */
.plan-card {
  position: relative;
  border-radius: 1.1rem;
  padding: 2rem;
  background: var(--card);
  border: 1px solid var(--card-border);
  transition: box-shadow 0.2s ease;
}
.plan-card:hover { box-shadow: var(--shadow-lg); }
.plan-card.popular {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: var(--shadow-lg);
}
@media (min-width: 768px) { .plan-card.popular { transform: scale(1.05); } }
.plan-badge {
  position: absolute;
  top: -1rem; left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.25rem 1rem;
  border-radius: 999px;
}
.plan-price { font-size: 2.75rem; font-weight: 700; }
.plan-list { display: flex; flex-direction: column; gap: 0.75rem; margin: 1.5rem 0; }
.plan-list li { display: flex; align-items: center; gap: 0.5rem; }

/* ============ Forms ============ */
.field { margin-bottom: 1.5rem; }
.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  color: var(--foreground);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(28,159,242,0.15);
}
.field textarea { min-height: 140px; resize: vertical; }
.form-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 2rem;
}
.info-box {
  background: linear-gradient(135deg, rgba(28,159,242,0.05), rgba(94,203,254,0.05));
  border: 1px solid rgba(28,159,242,0.2);
  border-radius: var(--radius);
  padding: 1.5rem;
}

/* ============ Footer ============ */
.footer {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #fff;
}
.footer .grid { gap: 2rem; }
.footer h3 { font-size: 1.125rem; margin-bottom: 1rem; }
.footer ul li { margin-bottom: 0.6rem; }
.footer a { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.footer a:hover { color: #fff; }
.footer-contact-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; color: rgba(255,255,255,0.7); }
.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
}

/* ============ Misc components ============ */
.badge-pill {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(28,159,242,0.1);
  color: var(--primary);
  font-size: 0.85rem;
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.6rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.step-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-weight: 700;
  flex-shrink: 0;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 0 1.5rem;
  margin-bottom: 1rem;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.5rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .chev { transition: transform 0.2s ease; flex-shrink: 0; }
.faq-item[open] .chev { transform: rotate(180deg); }
.faq-answer { padding-bottom: 1.5rem; color: var(--muted-foreground); line-height: 1.6; }
.faq-item[open] { box-shadow: var(--shadow-md); }

.cta-dark {
  background: linear-gradient(135deg, var(--primary), var(--primary), var(--secondary));
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-buttons { display: flex; flex-direction: column; gap: 1rem; justify-content: center; }
@media (min-width: 640px) { .cta-buttons { flex-direction: row; } }

.confirmation-box {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: left;
}
.confirmation-box p { margin-bottom: 0.5rem; }

/* toast */
.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--foreground);
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: 0.6rem;
  box-shadow: var(--shadow-lg);
  z-index: 100;
  max-width: 22rem;
  opacity: 0;
  transform: translateY(1rem);
  transition: all 0.25s ease;
  pointer-events: none;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast strong { display: block; margin-bottom: 0.25rem; }
.toast span { font-size: 0.9rem; color: rgba(255,255,255,0.8); }

/* utility */
.text-center { text-align: center; }
.mt-2 { margin-top: 0.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-2 { gap: 0.5rem; }
.hidden { display: none; }
