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

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

:root {
  --accent: #4f46e5;
  --accent-dark: #3730a3;
  --accent-light: #e0e7ff;
  --text: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border: #e2e8f0;
  --bg: #f8fafc;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; color: var(--text); line-height: 1.6; background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }

/* Demo Banner */
.demo-banner {
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
  color: white;
  text-align: center;
  padding: 10px 20px;
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.demo-banner a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.4);
  padding: 3px 12px;
  border-radius: 100px;
  font-size: 0.77rem;
  transition: background 0.2s;
}
.demo-banner a:hover { background: rgba(255,255,255,0.15); }

/* Nav */
.t-nav {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.t-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.t-logo { font-size: 1.3rem; font-weight: 900; color: var(--text); text-decoration: none; letter-spacing: -0.5px; }
.t-logo span { color: var(--accent); }
.t-nav-links { display: flex; gap: 6px; list-style: none; align-items: center; }
.t-nav-links a { text-decoration: none; color: var(--text-muted); font-weight: 500; font-size: 0.875rem; padding: 7px 13px; border-radius: 8px; transition: all 0.2s; }
.t-nav-links a:hover { color: var(--text); background: var(--bg); }

/* Shared layout */
.t-container { max-width: 1100px; margin: 0 auto; padding: 0 28px; }
.t-section { padding: 80px 0; }
.t-section-alt { background: var(--bg); }

.t-section-header { text-align: center; margin-bottom: 56px; }
.t-tag { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.t-section-header h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 900; letter-spacing: -1.5px; margin-bottom: 12px; }
.t-section-header p { color: var(--text-muted); font-size: 0.975rem; max-width: 480px; margin: 0 auto; line-height: 1.7; }

/* Buttons */
.t-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 24px; border-radius: 10px; font-weight: 600; font-size: 0.9rem;
  text-decoration: none; cursor: pointer; border: none; transition: all 0.2s;
  font-family: inherit; white-space: nowrap;
}
.t-btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--accent) 40%, transparent);
}
.t-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 24px color-mix(in srgb, var(--accent) 45%, transparent); }
.t-btn-outline { background: white; color: var(--accent); border: 1.5px solid var(--accent-light); box-shadow: var(--shadow); }
.t-btn-outline:hover { background: var(--accent-light); transform: translateY(-1px); }
.t-btn-lg { padding: 15px 32px; font-size: 1rem; border-radius: 12px; }

/* Footer */
.t-footer { background: #0f172a; padding: 40px 0; }
.t-footer-inner { max-width: 1100px; margin: 0 auto; padding: 0 28px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.t-footer .t-logo { color: white; }
.t-footer .t-logo span { color: #818cf8; }
.t-footer p { color: #475569; font-size: 0.82rem; }
.t-footer-links { display: flex; gap: 20px; }
.t-footer-links a { color: #475569; text-decoration: none; font-size: 0.82rem; transition: color 0.2s; }
.t-footer-links a:hover { color: #94a3b8; }

/* Cards */
.t-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all 0.25s; }
.t-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

/* Form */
.t-form-group { margin-bottom: 18px; }
.t-form-group label { display: block; font-size: 0.83rem; font-weight: 600; margin-bottom: 6px; }
.t-form-group input, .t-form-group select, .t-form-group textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: 10px;
  font-size: 0.925rem; font-family: inherit; color: var(--text); background: var(--bg);
  transition: all 0.2s; outline: none;
}
.t-form-group input:focus, .t-form-group select:focus, .t-form-group textarea:focus {
  border-color: var(--accent); background: white; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 12%, transparent);
}
.t-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Hero base */
.t-hero { padding: 80px 0 60px; position: relative; overflow: hidden; }
.t-hero-inner { max-width: 1100px; margin: 0 auto; padding: 0 28px; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: none; }
.rd1 { transition-delay: 0.1s; } .rd2 { transition-delay: 0.2s; } .rd3 { transition-delay: 0.3s; } .rd4 { transition-delay: 0.4s; }

@media (max-width: 640px) {
  .t-nav-links { display: none; }
  .t-form-row { grid-template-columns: 1fr; }
  .t-section { padding: 56px 0; }
}
