/* ============================================
   NETAG Landing Page Styles
   Design language: Professional B2B digital marketing
   RTL Hebrew support
   ============================================ */

:root {
  --primary: #1a365d;
  --primary-light: #2b4c7e;
  --primary-dark: #0f2341;
  --accent: #f59e0b;
  --accent-hover: #d97706;
  --accent-light: #fef3c7;
  --text: #334155;
  --text-light: #64748b;
  --text-dark: #0f172a;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-dark: #0f172a;
  --border: #e2e8f0;
  --success: #10b981;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
  --font: 'Heebo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font);
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  direction: rtl;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
}

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

a {
  text-decoration: none;
  color: inherit;
}

/* ---- UTILITIES ---- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 24px;
  color: var(--primary);
}

.section-title.centered {
  text-align: center;
}

.section-title.light {
  color: #ffffff;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font);
  text-decoration: none;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  line-height: 1.5;
}

.btn-primary {
  background: var(--accent);
  color: var(--primary);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.1rem;
}

.btn-header-cta {
  background: var(--accent);
  color: var(--primary);
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 8px;
}

.btn-header-cta:hover {
  background: var(--accent-hover);
}

/* ---- HEADER ---- */
.main-header {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow var(--transition);
}

.main-header.scrolled {
  box-shadow: var(--shadow-md);
}

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

.logo {
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 1px;
  line-height: 1.2;
}

.logo-sub {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 400;
}

/* ---- HERO ---- */
.hero {
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1a365d 100%);
  color: #ffffff;
  padding: 100px 0 80px;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(245, 158, 11, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(245, 158, 11, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 24px;
  line-height: 1.4;
}

.hero-highlight {
  color: var(--accent);
  display: block;
  font-size: 2.4rem;
}

.hero-subtitle {
  font-size: 1.15rem;
  font-weight: 300;
  opacity: 0.92;
  max-width: 700px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

.hero-cta-group {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---- INTRO SECTION ---- */
.intro-section {
  background: var(--bg);
  padding: 70px 0;
}

.intro-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.intro-text {
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.9;
  margin-bottom: 20px;
}

.intro-cta {
  margin-top: 32px;
}

/* ---- SERVICES SECTION ---- */
.services-section {
  background: var(--bg-alt);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.service-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: var(--accent-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent-hover);
}

.service-card h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 12px;
  font-weight: 700;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.75;
  flex-grow: 1;
  margin-bottom: 16px;
}

.service-cta {
  color: var(--accent-hover);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.service-cta:hover {
  color: var(--primary);
}

.services-bottom-cta {
  text-align: center;
  margin-top: 48px;
}

/* ---- BENEFITS SECTION ---- */
.benefits-section {
  background: var(--bg);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.benefit-card {
  padding: 28px 24px;
  border-radius: var(--radius);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.benefit-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #ffffff;
}

.benefit-card h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 8px;
}

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

.benefits-bottom-cta {
  text-align: center;
  margin-top: 48px;
}

/* ---- ABOUT / TEAM SECTION ---- */
.about-section {
  background: var(--bg-alt);
}

.about-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 48px;
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.8;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.team-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  text-align: center;
}

.team-avatar {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: #ffffff;
}

.team-card h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.team-card p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.75;
}

/* ---- CTA BANNER ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #ffffff;
  text-align: center;
  padding: 60px 0;
}

.cta-banner h2 {
  color: #ffffff;
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 28px;
}

/* ---- CONTACT SECTION ---- */
.contact-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
}

.contact-subtitle {
  text-align: center;
  color: #cbd5e1;
  margin-bottom: 36px;
  font-size: 1.05rem;
}

.contact-form {
  background: #ffffff;
  padding: 36px;
  border-radius: var(--radius-lg);
  max-width: 700px;
  margin: 0 auto;
  color: var(--text);
  box-shadow: var(--shadow-xl);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: var(--font);
  color: var(--text);
  background: #ffffff;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #94a3b8;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #ef4444;
}

.btn-submit {
  width: 100%;
  margin-top: 8px;
  font-size: 1.15rem;
  padding: 16px;
}

.form-disclaimer {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 16px;
}

/* Success message */
.success-message {
  display: none;
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
  padding: 48px 24px;
  animation: fadeInUp 0.5s ease;
}

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

.success-icon {
  color: var(--success);
  margin-bottom: 16px;
}

.success-message h3 {
  color: #ffffff;
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.success-message p {
  color: #cbd5e1;
  font-size: 1.05rem;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Honeypot */
.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---- FOOTER ---- */
.main-footer {
  background: #080e1a;
  color: #94a3b8;
  text-align: center;
  padding: 32px 0;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.footer-tagline {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 12px;
}

.footer-copy {
  font-size: 0.85rem;
  color: #475569;
}

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

/* Mobile */
@media (max-width: 640px) {
  .section {
    padding: 50px 0;
  }

  .container {
    padding: 0 16px;
  }

  /* Header */
  .header-inner {
    gap: 12px;
  }

  .logo-text {
    font-size: 1.3rem;
  }

  .btn-header-cta {
    padding: 8px 14px;
    font-size: 0.8rem;
  }

  /* Hero */
  .hero {
    padding: 70px 0 60px;
  }

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

  .hero-highlight {
    font-size: 1.8rem;
  }

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

  .hero-cta-group {
    flex-direction: column;
    align-items: center;
  }

  .hero-cta-group .btn {
    width: 100%;
    max-width: 320px;
  }

  /* Section Titles */
  .section-title {
    font-size: 1.6rem;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 24px 20px;
  }

  /* Benefits */
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  /* Team */
  .team-grid {
    grid-template-columns: 1fr;
  }

  /* CTA Banner */
  .cta-banner {
    padding: 48px 0;
  }

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

  /* Contact Form */
  .contact-form {
    padding: 24px 16px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
  }
}

/* Tablet */
@media (min-width: 641px) and (max-width: 1024px) {
  .hero {
    padding: 90px 0 70px;
  }

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

  .hero-highlight {
    font-size: 2.2rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-form {
    padding: 32px 28px;
  }
}

/* Desktop */
@media (min-width: 1025px) {
  .hero {
    padding: 110px 0 90px;
  }

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

  .hero-highlight {
    font-size: 2.6rem;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ---- SCROLL ANIMATIONS ---- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
