/* ============================================
   JETI AI — Static Site Styles
   Mobile-first responsive design
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --color-primary: #0066FF;
  --color-primary-dark: #0052CC;
  --color-dark: #111827;
  --color-text: #374151;
  --color-text-light: #6B7280;
  --color-white: #FFFFFF;
  --color-bg-light: #F9FAFB;
  --color-bg-dark: #0F172A;
  --color-border: #E5E7EB;
  --color-accent: #10B981;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-width: 1200px;
  --section-padding: 4rem 1.5rem;
  --transition: 0.3s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  color: var(--color-text);
  line-height: 1.6;
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-primary-dark);
}

/* --- Utility --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

/* --- Top Bar --- */
.top-bar {
  background: var(--color-bg-dark);
  color: var(--color-white);
  padding: 0.5rem 1.5rem;
  font-size: 0.875rem;
}

.top-bar .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.top-bar a {
  color: var(--color-white);
  font-weight: 500;
}

.top-bar a:hover {
  opacity: 0.8;
}

/* --- Header / Nav --- */
.header {
  background: var(--color-white);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 40px;
  width: auto;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-dark);
  letter-spacing: -0.02em;
}

.logo-text span {
  color: var(--color-primary);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* --- Hero Section --- */
.hero {
  padding: 5rem 1.5rem 4rem;
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fd 50%, #f9fafb 100%);
}

.hero .container {
  text-align: center;
  max-width: 800px;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-dark);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero h1 span {
  color: var(--color-primary);
}

.hero .subtitle {
  font-size: 1.125rem;
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.hero .btn {
  margin: 0.5rem;
}

/* --- Video Section --- */
.video-section {
  padding: var(--section-padding);
  background: var(--color-white);
}

.video-wrapper {
  max-width: 800px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.video-wrapper .responsive-video {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
}

.video-wrapper .responsive-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* --- Features --- */
.feature-section {
  padding: var(--section-padding);
}

.feature-section:nth-child(even) {
  background: var(--color-bg-light);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-content h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.feature-content p {
  font-size: 1.05rem;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 102, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}

/* --- Feature Cards Grid --- */
.features-grid-section {
  padding: var(--section-padding);
  background: var(--color-white);
}

.features-grid-section .container {
  text-align: center;
}

.features-grid-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 3rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 2rem;
  text-align: left;
  transition: all var(--transition);
}

.feature-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 4px 16px rgba(0, 102, 255, 0.08);
  transform: translateY(-2px);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 0.75rem;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* --- CTA Banner --- */
.cta-banner {
  padding: 4rem 1.5rem;
  background: var(--color-bg-dark);
  text-align: center;
}

.cta-banner h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn-primary {
  background: var(--color-white);
  color: var(--color-bg-dark);
}

.cta-banner .btn-primary:hover {
  background: #f0f0f0;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* --- Contact Form Section --- */
.contact-section {
  padding: var(--section-padding);
  background: var(--color-bg-light);
}

.contact-section .container {
  max-width: 600px;
  text-align: center;
}

.contact-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 0.75rem;
}

.contact-section .lead {
  color: var(--color-text-light);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.contact-form {
  text-align: left;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 0.375rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: var(--font-main);
  color: var(--color-dark);
  transition: border-color var(--transition);
  background: var(--color-white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9CA3AF;
}

.form-submit {
  width: 100%;
  padding: 1rem;
  margin-top: 0.5rem;
}

.form-success {
  display: none;
  padding: 2rem;
  background: #ECFDF5;
  border-radius: 8px;
  color: #065F46;
  font-weight: 600;
  text-align: center;
}

.form-success.show {
  display: block;
}

/* --- Footer --- */
.footer {
  background: var(--color-bg-dark);
  color: #9CA3AF;
  padding: 2rem 1.5rem;
}

.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.footer-links a {
  color: #9CA3AF;
  font-size: 0.875rem;
  transition: color var(--transition);
}

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

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: background var(--transition);
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.2);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: #9CA3AF;
}

.footer-copyright {
  font-size: 0.8rem;
}

/* --- Legal Pages (Terms, Privacy) --- */
.legal-page {
  padding: var(--section-padding);
}

.legal-page .container {
  max-width: 800px;
}

.legal-page h1 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 2rem;
}

.legal-page h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal-page p {
  margin-bottom: 1rem;
  line-height: 1.7;
  color: var(--color-text);
}

.legal-page ul, .legal-page ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.legal-page li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* Tablet (768px+) */
@media (min-width: 768px) {
  .hero h1 {
    font-size: 3.25rem;
  }

  .hero .subtitle {
    font-size: 1.25rem;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature-grid.reverse .feature-content {
    order: 2;
  }

  .cards-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer .container {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
  .hero {
    padding: 6rem 1.5rem 5rem;
  }

  .hero h1 {
    font-size: 3.75rem;
  }

  .cards-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .cta-banner h2 {
    font-size: 2.5rem;
  }
}
