/* 
 * itech-db.com Landing Page Stylesheet
 * Modern Light Tech Theme
 */

:root {
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-section-alt: #f1f5f9;
  
  --border-light: #e2e8f0;
  --border-accent: rgba(0, 102, 255, 0.2);
  --border-focus: #0066ff;
  
  --primary-blue: #0066ff;
  --cyan-accent: #0284c7;
  --electric-blue: #0052ff;
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;
  
  --gradient-brand: linear-gradient(135deg, #0052ff 0%, #0099ff 100%);
  --gradient-pill: linear-gradient(135deg, rgba(0, 102, 255, 0.08) 0%, rgba(2, 132, 199, 0.08) 100%);
  
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-card: 0 10px 30px -5px rgba(15, 23, 42, 0.06), 0 4px 12px -2px rgba(15, 23, 42, 0.03);
  --shadow-card-hover: 0 20px 40px -10px rgba(0, 82, 255, 0.12), 0 8px 16px -4px rgba(15, 23, 42, 0.04);
  --shadow-input: 0 4px 16px rgba(0, 82, 255, 0.08);

  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Background Atmosphere Glows */
.bg-glow-1 {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.08) 0%, rgba(2, 132, 199, 0.03) 45%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.bg-glow-2 {
  position: absolute;
  top: 700px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
  z-index: 0;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Header */
.header {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  background: rgba(0, 102, 255, 0.06);
  border: 1px solid rgba(0, 102, 255, 0.15);
  color: var(--primary-blue);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary-blue);
  box-shadow: 0 0 8px rgba(0, 102, 255, 0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 0.5; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.2); }
  100% { opacity: 0.5; transform: scale(0.9); }
}

/* Hero Section */
.hero {
  padding: 16px 0 50px 0;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.hero-logo-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 8px;
  margin-bottom: 12px;
}

.hero-logo-img {
  height: 210px;
  width: 100%;
  max-width: 680px;
  object-fit: contain;
  /*filter: drop-shadow(0 12px 28px rgba(0, 82, 255, 0.12)); */
  transition: transform 0.3s ease;
}

.hero-logo-img:hover {
  transform: scale(1.015);
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: var(--gradient-pill);
  border: 1px solid rgba(0, 102, 255, 0.12);
  border-radius: 100px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.hero-pill span {
  color: var(--primary-blue);
  font-weight: 700;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 40px;
}

/* Email Form */
.signup-box {
  max-width: 520px;
  margin: 0 auto 48px auto;
}

.signup-form {
  display: flex;
  gap: 10px;
  background: var(--bg-surface);
  padding: 8px;
  border-radius: 16px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.signup-form:focus-within {
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-input);
}

.signup-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 12px 16px;
  color: var(--text-main);
  font-family: var(--font-family);
  font-size: 1rem;
}

.signup-input::placeholder {
  color: var(--text-dim);
}

.signup-button {
  background: var(--gradient-brand);
  color: #ffffff;
  border: none;
  padding: 14px 28px;
  border-radius: 10px;
  font-family: var(--font-family);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 15px rgba(0, 82, 255, 0.25);
}

.signup-button:hover {
  opacity: 0.94;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 82, 255, 0.35);
}

.signup-button:active {
  transform: translateY(0);
}

.feedback-msg {
  display: none;
  margin-top: 14px;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
}

.feedback-msg.success {
  display: block;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #047857;
}

.feedback-msg.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #b91c1c;
}

/* Stats Row */
.stats-row {
  display: flex;
  justify-content: center;
  gap: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Features Section */
.features-section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px auto;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-main);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-card-hover);
}

.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(0, 102, 255, 0.08);
  border: 1px solid rgba(0, 102, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--primary-blue);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Audience Split Section */
.audience-section {
  padding: 40px 0 80px 0;
}

.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.audience-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.audience-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-brand);
}

.audience-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary-blue);
  margin-bottom: 12px;
}

.audience-title {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-main);
}

.audience-desc {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 1rem;
}

.audience-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.audience-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-main);
  font-weight: 500;
}

.audience-list li::before {
  content: '✓';
  color: var(--primary-blue);
  font-weight: 800;
}

/* CTA Card */
.cta-box {
  background: linear-gradient(135deg, rgba(0, 82, 255, 0.05) 0%, rgba(0, 198, 255, 0.05) 100%);
  border: 1px solid var(--border-accent);
  border-radius: 24px;
  padding: 60px 40px;
  text-align: center;
  margin-bottom: 80px;
  box-shadow: var(--shadow-card);
}

.cta-title {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-main);
}

.cta-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 32px auto;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-light);
  padding: 40px 0;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.9rem;
  background-color: var(--bg-surface);
}

.footer-logo {
  height: 54px;
  width: auto;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 20px 0;
  list-style: none;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.footer-copy {
  color: var(--text-dim);
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.75rem;
  }
  .audience-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .logo-img {
    height: 42px;
  }
  .header {
    flex-direction: column;
    gap: 14px;
  }
  .hero-logo-wrapper {
    display: none;
  }
  .hero {
    padding: 30px 0 40px 0;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .signup-form {
    flex-direction: column;
  }
  .signup-button {
    width: 100%;
  }
  .stats-row {
    flex-direction: column;
    gap: 20px;
  }
  .audience-card {
    padding: 28px;
  }
}
