/* ============================================
   Gopi — Personal brand landing site
   Modern, AI-flavored, hand-finished
   ============================================ */

:root {
  /* Core palette — light mode, Techydesk blue family */
  --bg: #f7f9fc;
  --bg-elev: #ffffff;
  --ink: #0e0f12;
  --ink-soft: #2c2f37;
  --muted: #6b7280;
  --border: #e4e9f0;
  --border-soft: #eef2f7;

  /* Brand accent: Techydesk logo azure → deeper blue */
  --accent: #0084fc;
  --accent-2: #0061c7;
  --accent-soft: #e7f1ff;
  --accent-glow: rgba(0, 132, 252, 0.22);

  /* Warmth + secondary */
  --gold: #f59e0b;

  /* Type */
  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-2); }
img { max-width: 100%; display: block; }

/* ============================================
   Nav
   ============================================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 249, 252, 0.85);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  padding: 16px 5%;
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--border-soft);
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.brand-logo {
  height: 60px;
  width: auto;
  display: block;
}
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a {
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }
.nav-cta {
  background: var(--ink);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600 !important;
  font-size: 14px !important;
}
.nav-cta:hover { background: var(--accent); }
.menu-toggle {
  display: none; background: none; border: none;
  color: var(--ink); font-size: 24px; cursor: pointer;
}

/* ============================================
   Reusable
   ============================================ */
.container { max-width: 1180px; margin: 0 auto; padding: 0 5%; }
.section { padding: 110px 0; position: relative; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--accent-glow);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px var(--accent-glow); }
  50% { box-shadow: 0 0 0 8px rgba(0, 132, 252, 0.08); }
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(40px, 6.5vw, 76px); font-weight: 800; line-height: 1.02; }
h2 { font-size: clamp(32px, 4.5vw, 48px); font-weight: 700; line-height: 1.1; margin-bottom: 18px; }
h3 { font-size: 22px; font-weight: 600; margin-bottom: 10px; }

.lead, .lede {
  font-size: 19px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 660px;
}
.lede { margin: 22px 0 32px; }

.grad {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head { max-width: 720px; margin-bottom: 50px; }
.section-head .lead { margin-top: 12px; }

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 26px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 6px 22px rgba(14, 15, 18, 0.18);
}
.btn-primary:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 30px var(--accent-glow);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: #fff;
}
.btn-block { width: 100%; }

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  padding: 90px 5% 110px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 1200px 600px at 50% -100px, rgba(124, 58, 237, 0.12), transparent 70%),
    radial-gradient(ellipse 800px 500px at 80% 30%, rgba(0, 132, 252, 0.10), transparent 60%),
    radial-gradient(ellipse 600px 400px at 10% 70%, rgba(245, 158, 11, 0.06), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: 920px;
  margin: 0 auto;
  text-align: left;
}
.hero h1 { margin-bottom: 0; }
.hero .lede { font-size: 20px; max-width: 640px; }
.cta-row {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 28px;
  background: var(--bg-elev);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(14, 15, 18, 0.04);
}
.hero-stats > div { display: flex; flex-direction: column; gap: 4px; }
.hero-stats strong {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.hero-stats span { color: var(--muted); font-size: 13px; }

/* ============================================
   Pricing
   ============================================ */
.section-pricing { padding-top: 80px; }
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}
.tier {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 30px;
  display: flex; flex-direction: column;
  position: relative;
  transition: all 0.25s;
}
.tier:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(14, 15, 18, 0.06); }
.tier-featured {
  border-color: var(--accent);
  border-width: 2px;
  box-shadow: 0 12px 36px var(--accent-glow);
}
.tier-featured:hover { transform: translateY(-5px); }
.tier-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  padding: 5px 16px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 4px 14px var(--accent-glow);
}
.tier-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 14px;
}
.tier-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.tier-price .amount {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
}
.tier-price .unit { color: var(--muted); font-size: 14px; }
.tier-monthly { color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.tier-monthly strong { color: var(--ink); font-weight: 700; }
.tier-features {
  list-style: none; padding: 0;
  flex: 1;
  margin-bottom: 24px;
}
.tier-features li {
  padding: 11px 0 11px 28px;
  position: relative;
  font-size: 15px;
  border-bottom: 1px solid var(--border-soft);
}
.tier-features li:last-child { border-bottom: none; }
.tier-features li::before {
  content: '✓';
  position: absolute; left: 0; top: 11px;
  width: 18px; height: 18px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  font-weight: 800;
  top: 13px;
}
.tier-fit {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  font-style: italic;
}
.pricing-foot {
  text-align: center;
  font-size: 15px;
  color: var(--muted);
  max-width: 740px;
  margin: 30px auto 0;
}
.pricing-foot strong { color: var(--ink); }

/* ============================================
   How it works
   ============================================ */
.section-how { background: var(--bg-elev); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step {
  padding: 28px;
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  position: relative;
}
.step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 14px;
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--muted); line-height: 1.6; }

/* ============================================
   About
   ============================================ */
.section-about { background: var(--bg-elev); }
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 70px;
  align-items: start;
}
.about-left p { font-size: 16.5px; color: var(--ink-soft); margin-bottom: 18px; line-height: 1.75; }
.about-left .lead { font-size: 19px; margin-bottom: 24px; }
.about-left strong { color: var(--ink); }
.value-card {
  padding: 36px 32px;
  background: linear-gradient(180deg, var(--accent-soft), var(--bg-elev));
  border: 1px solid var(--border);
  border-radius: 20px;
  position: sticky; top: 100px;
}
.value-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--accent);
  margin-bottom: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.check-list { list-style: none; padding: 0; }
.check-list li {
  padding: 11px 0 11px 28px;
  position: relative;
  font-size: 14.5px;
  color: var(--ink-soft);
  border-bottom: 1px solid rgba(0, 132, 252, 0.08);
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: '◆';
  position: absolute; left: 0; top: 11px;
  color: var(--accent);
  font-size: 10px;
}

/* ============================================
   Contact
   ============================================ */
.section-contact {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elev) 100%);
}
.contact-card {
  background: var(--ink);
  color: #fff;
  border-radius: 28px;
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: ''; position: absolute; top: -150px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 60%);
  opacity: 0.4;
  pointer-events: none;
}
.contact-text { position: relative; z-index: 1; min-width: 0; }
.contact-text .eyebrow { color: #a5b4fc; }
.contact-text .eyebrow .dot { background: #a5b4fc; box-shadow: 0 0 0 4px rgba(165,180,252,0.2); }
.contact-text h2 { color: #fff; margin-bottom: 16px; }
.contact-text .lead { color: #cdd1da; font-size: 17px; margin-bottom: 28px; }
.contact-channels { display: flex; flex-direction: column; gap: 14px; }
.channel {
  display: flex; flex-direction: column;
  padding: 16px 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  text-decoration: none;
  color: #fff;
  transition: all 0.2s;
}
.channel:hover { background: rgba(255,255,255,0.1); border-color: var(--accent); color: #fff; }
.channel-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #a5b4fc;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.channel-value {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
}

.contact-form {
  position: relative; z-index: 1;
  min-width: 0;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 32px;
}
.form-row { margin-bottom: 16px; }
.form-row label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #a5b4fc;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.form-row input, .form-row textarea {
  width: 100%;
  padding: 13px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  color: #fff;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255,255,255,0.08);
}
.form-row input::placeholder, .form-row textarea::placeholder { color: #6b7280; }
.form-row textarea { min-height: 90px; resize: vertical; }
.contact-form .btn-primary {
  background: var(--accent);
  color: #fff;
  margin-top: 4px;
}
.contact-form .btn-primary:hover { background: var(--accent-2); }
/* Honeypot — kept in the DOM for bots, hidden from people and screen readers. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}
.cf-turnstile { margin-bottom: 16px; }
.form-status {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.5;
  display: none;
}
.form-status.error { display: block; color: #fca5a5; }
.form-status.success { display: block; color: #86efac; }

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--ink);
  color: #cdd1da;
  padding: 70px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
}
.footer-logo {
  height: 28px;
  width: auto;
  display: block;
  opacity: 0.95;
}
.footer p { color: #9aa0ad; font-size: 14px; line-height: 1.7; }
.footer h4 {
  font-family: var(--font-mono);
  color: #a5b4fc;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-weight: 600;
}
.footer a { color: #cdd1da; font-size: 14px; }
.footer a:hover { color: #a5b4fc; }
.footer-bottom {
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: #6b7280;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 920px) {
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--bg-elev);
    padding: 20px 5%;
    border-top: 1px solid var(--border);
    align-items: stretch;
  }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }
  .brand-logo { height: 40px; }

  .tier-grid, .steps { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; gap: 14px; padding: 22px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .value-card { position: static; }
  .contact-card { grid-template-columns: 1fr; padding: 32px 20px; gap: 32px; }
  .contact-form { padding: 24px 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .section { padding: 80px 0; }
  .hero { padding: 60px 5% 80px; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { width: 100%; }
}

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  h1 { font-size: 38px; }
  h2 { font-size: 28px; }
  .contact-card { padding: 28px 16px; gap: 28px; }
  .contact-form { padding: 22px 16px; }
  /* Turnstile renders a fixed 300px iframe — let it scale down on narrow phones. */
  .cf-turnstile { max-width: 100%; overflow: hidden; }
}
