/* ============================================
   CONTRACT GUARDIAN - PUBLIC PAGES STYLESHEET
   For: index, about, blog, contact, security, privacy, terms
   CONSOLIDATED - All styles merged from style.css + responsive.css
   ============================================ */

/* ============================================
   1. BASE & RESET
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
  color: #1a1a1a;
  line-height: 1.6;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: 80px;
}

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

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

/* ============================================
   2. NAVBAR
   ============================================ */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 6%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

/* SCROLLED STATE */
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(20px) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1) !important;
  padding: 12px 6% !important;
}

.navbar.scrolled .logo {
  font-size: 18px !important;
}

.navbar.scrolled .logo img {
  height: 50px !important;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  text-decoration: none;
  transition: all 0.3s ease;
}

.logo img {
  height: 60px;
  width: auto;
  transition: height 0.3s ease;
}

.nav-right {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-right a {
  text-decoration: none;
  color: #6b7280;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-right a:hover,
.nav-right a.active {
  color: #1a1a1a;
}

/* ============================================
   3. BUTTONS
   ============================================ */
.btn-primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white !important;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
  background: transparent;
  color: #10b981;
  border: 2px solid #10b981;
  padding: 10px 26px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

.btn-secondary:hover {
  background: #10b981;
  color: white !important;
}

.btn-white {
  background: white;
  color: #2563eb;
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.cta-button {
  display: inline-block;
  background: white;
  color: #2563eb;
  padding: 18px 40px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white;
  padding: 16px;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

/* Hero-specific buttons */
.btn-hero {
  padding: 18px 40px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-hero-primary {
  background: white;
  color: #2563eb;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   4. HERO SECTION
   ============================================ */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #3b82f6 100%);
  color: white;
  padding: 140px 6% 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 85vh;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
  opacity: 0.4;
}

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

.hero-badge {
  display: inline-block;
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.hero h1 {
  font-size: 64px;
  font-weight: 900;
  margin-bottom: 24px;
  line-height: 1.1;
  background: linear-gradient(135deg, #fff, #93c5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p,
.hero .subtitle {
  font-size: 24px;
  margin-bottom: 40px;
  opacity: 0.95;
  line-height: 1.4;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

/* Trust Indicators */
.trust-bar {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.trust-number {
  font-size: 36px;
  font-weight: 800;
  color: #10b981;
}

.trust-label {
  font-size: 14px;
  opacity: 0.8;
}

/* ============================================
   5. SECTIONS
   ============================================ */
.section {
  padding: 90px 6%;
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section h2,
.section-title h2 {
  font-size: 42px;
  font-weight: 900;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
}

.section p {
  font-size: 18px;
  color: #4b5563;
  line-height: 1.8;
  margin-bottom: 20px;
}

.section-title p {
  font-size: 20px;
  color: #6b7280;
}

/* Technology Stack Banner */
.tech-banner {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  padding: 60px 6%;
  text-align: center;
}

.tech-banner h3 {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #0369a1;
  margin-bottom: 30px;
  font-weight: 700;
}

.tech-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  align-items: center;
}

.tech-item {
  background: white;
  padding: 20px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  font-weight: 600;
  color: #1e40af;
  transition: all 0.3s;
}

.tech-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* ============================================
   6. GRIDS & CARDS
   ============================================ */
.grid,
.blog-grid,
.contact-grid,
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.values-grid {
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.card,
.blog-card,
.contact-card,
.security-card,
.value-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 40px;
  border-radius: 16px;
  color: white;
  box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
  transition: all 0.3s;
}

.card:hover,
.blog-card:hover,
.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 50px rgba(102, 126, 234, 0.4);
}

.security-card {
  background: white;
  color: #1a1a1a;
  border: 2px solid transparent;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-radius: 20px;
}

.security-card:hover {
  transform: translateY(-6px);
  border-color: #3b82f6;
}

.value-card {
  background: #f8fafc;
  color: #1a1a1a;
  border-left: 4px solid #3b82f6;
  box-shadow: none;
}

.blog-card {
  background: white;
  color: #1a1a1a;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  cursor: pointer;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.card h3,
.blog-card h3,
.contact-card h3,
.security-card h3,
.value-card h3 {
  font-size: 28px;
  margin-bottom: 15px;
  font-weight: 700;
}

.security-card h3 {
  font-size: 26px;
  font-weight: 800;
}

.value-card h3 {
  font-size: 24px;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.card p,
.blog-card p,
.contact-card p,
.security-card p,
.value-card p {
  opacity: 0.95;
  font-size: 17px;
  line-height: 1.7;
}

.value-card p,
.security-card p {
  color: #6b7280;
  opacity: 1;
}

.blog-card p {
  color: #6b7280;
}

/* Card specific elements */
.contact-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.security-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 16px;
  color: white;
  font-size: 32px;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.contact-card a {
  color: white;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  padding: 10px 24px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  transition: all 0.3s;
}

.contact-card a:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Blog-specific */
.blog-header {
  margin-bottom: 15px;
}

.blog-category {
  display: inline-block;
  background: #e0e7ff;
  color: #3730a3;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.blog-meta {
  color: #9ca3af;
  font-size: 14px;
  margin-bottom: 12px;
}

.blog-body {
  margin-top: 15px;
}

.read-more {
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  margin-top: 15px;
  transition: all 0.3s;
}

.read-more:hover {
  transform: translateX(4px);
}

.blog-tag {
  display: inline-block;
  background: #e0e7ff;
  color: #3730a3;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  margin-top: 15px;
}

/* ============================================
   7. FEATURED & HIGHLIGHT SECTIONS
   ============================================ */
.featured,
.highlight {
  background: linear-gradient(135deg, #667eea, #764ba2);
  padding: 60px;
  border-radius: 20px;
  color: white;
  margin: 70px 0;
  box-shadow: 0 20px 60px rgba(102, 126, 234, 0.4);
}

.badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.featured h2,
.highlight h2 {
  font-size: 38px;
  margin-bottom: 20px;
  font-weight: 800;
}

.featured p,
.highlight p {
  font-size: 18px;
  opacity: 0.95;
  line-height: 1.8;
  margin-bottom: 30px;
}

/* ============================================
   8. COMPARISON TABLE
   ============================================ */
.comparison-section {
  background: #f8fafc;
  padding: 90px 6%;
}

.comparison-table-wrapper {
  overflow-x: auto;
  margin-top: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.comparison-table {
  width: 100%;
  background: white;
  border-collapse: collapse;
  border-radius: 16px;
  overflow: hidden;
}

.comparison-table thead {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white;
}

.comparison-table th {
  padding: 20px 30px;
  text-align: left;
  font-weight: 700;
  font-size: 16px;
}

.comparison-table tbody tr {
  border-bottom: 1px solid #e5e7eb;
  transition: background 0.3s;
}

.comparison-table tbody tr:hover {
  background: #f9fafb;
}

.comparison-table td {
  padding: 20px 30px;
  font-size: 15px;
  color: #374151;
}

.comparison-table td:first-child {
  font-weight: 600;
  color: #1a1a1a;
}

/* ============================================
   9. PRICING SECTION
   ============================================ */
.pricing-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
  padding: 90px 6%;
}

.billing-toggle-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 50px;
}

.billing-label {
  font-size: 16px;
  font-weight: 600;
  color: #374151;
}

.billing-toggle {
  position: relative;
  width: 60px;
  height: 30px;
  background: #e5e7eb;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s;
}

.billing-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  background: white;
  border-radius: 50%;
  transition: all 0.3s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.billing-toggle input:checked ~ .toggle-slider {
  transform: translateX(30px);
}

.billing-toggle input:checked ~ .billing-toggle {
  background: #10b981;
}

.save-badge {
  background: #10b981;
  color: white;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  margin-left: 8px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-card {
  background: white;
  padding: 50px 40px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
  border: 3px solid #2563eb;
  transform: scale(1.05);
}

.pricing-card.featured::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: #2563eb;
  color: white;
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}

.pricing-card h3 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #1a1a1a;
}

.pricing-card .price {
  font-size: 48px;
  font-weight: 900;
  color: #2563eb;
  margin-bottom: 10px;
}

.pricing-card .price span {
  font-size: 20px;
  color: #6b7280;
  font-weight: 500;
}

.pricing-card .price-period {
  color: #9ca3af;
  font-size: 16px;
  margin-bottom: 30px;
  display: block;
}

.pricing-card ul {
  list-style: none;
  margin: 30px 0;
}

.pricing-card li {
  padding: 12px 0;
  color: #374151;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.pricing-card li::before {
  content: '✓';
  color: #10b981;
  font-weight: 900;
  font-size: 18px;
}

.btn-pricing {
  width: 100%;
  padding: 16px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s;
  display: block;
  border: none;
  cursor: pointer;
}

.btn-pricing-primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-pricing-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-pricing-secondary {
  background: transparent;
  color: #2563eb;
  border: 2px solid #2563eb;
}

.btn-pricing-secondary:hover {
  background: #2563eb;
  color: white;
}

/* Monthly/Annual Price Toggle */
.monthly-price,
.annual-price {
  display: inline;
}

.annual-price {
  display: none;
}

.annual-note {
  display: none;
  font-size: 14px;
  color: #10b981;
  margin-top: 8px;
  font-weight: 600;
}

/* ============================================
   10. CTA SECTION
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #3b82f6 100%);
  color: white;
  padding: 100px 6%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
  opacity: 0.3;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff, #93c5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-section p {
  font-size: 20px;
  opacity: 0.9;
  margin-bottom: 40px;
  line-height: 1.6;
}

/* ============================================
   11. NEWSLETTER
   ============================================ */
.newsletter {
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  padding: 60px;
  border-radius: 20px;
  text-align: center;
  margin: 60px 0;
}

.newsletter h3 {
  font-size: 32px;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.newsletter p {
  color: #6b7280;
  margin-bottom: 30px;
  font-size: 17px;
}

.newsletter-form {
  display: flex;
  gap: 15px;
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 16px 20px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 16px;
  font-family: inherit;
}

.newsletter-form input:focus {
  outline: none;
  border-color: #3b82f6;
}

.newsletter-form button {
  padding: 16px 35px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s;
}

.newsletter-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

/* ============================================
   12. FORMS (Contact Page)
   ============================================ */
.form-wrapper {
  background: white;
  max-width: 700px;
  margin: 60px auto;
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.form-wrapper h2 {
  font-size: 32px;
  margin-bottom: 12px;
  text-align: center;
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.form-wrapper > p {
  text-align: center;
  color: #6b7280;
  margin-bottom: 40px;
}

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

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #1a1a1a;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3b82f6;
}

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

/* ============================================
   13. FOOTER
   ============================================ */
footer {
  background: #111827;
  color: #9ca3af;
  padding: 60px 6% 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.footer-col h4 {
  color: white;
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 700;
}

.footer-col a {
  color: #9ca3af;
  text-decoration: none;
  display: block;
  margin-bottom: 12px;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: #60a5fa;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 30px;
  text-align: center;
  font-size: 14px;
}

.footer-bottom div {
  margin-top: 15px;
  color: #6b7280;
}

.footer-bottom span {
  margin: 0 15px;
}

/* ============================================
   14. LEGAL PAGES (Privacy, Terms)
   ============================================ */
.legal-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 6%;
  line-height: 1.8;
}

.legal-content h2 {
  font-size: 32px;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #1a1a1a;
}

.legal-content h3 {
  font-size: 24px;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #374151;
}

.legal-content p {
  margin-bottom: 20px;
  color: #4b5563;
}

.legal-content ul,
.legal-content ol {
  margin-left: 30px;
  margin-bottom: 20px;
  color: #4b5563;
}

.legal-content li {
  margin-bottom: 10px;
}

.legal-content a {
  color: #3b82f6;
  text-decoration: underline;
}

.legal-content a:hover {
  color: #2563eb;
}

/* ============================================
   15. MOBILE MENU & RESPONSIVENESS
   ============================================ */

/* Mobile Menu Button - Hidden on Desktop */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #1a1a1a;
  padding: 5px;
  margin-left: auto;
}

/* ============================================
   16. TABLET & MEDIUM SCREENS (769px - 1200px)
   ============================================ */
@media (min-width: 769px) and (max-width: 1200px) {
  .section {
    padding: 70px 5%;
  }

  .hero {
    padding: 120px 5% 100px;
  }

  .hero h1 {
    font-size: 52px;
  }

  .pricing-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

/* ============================================
   17. TABLET & MOBILE (max-width: 768px)
   ============================================ */
@media (max-width: 768px) {
  
  /* === NAVBAR === */
  .navbar {
    justify-content: space-between !important;
    position: fixed;
    padding: 15px 5%;
  }

  .nav-right {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #f3f4f6;
    gap: 15px;
    z-index: 1001;
  }

  .nav-right.active {
    display: flex !important;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .logo {
    font-size: 18px;
  }

  .logo img {
    height: 45px;
  }

  /* Scrolled navbar adjustments */
  .navbar.scrolled {
    padding: 12px 5% !important;
  }

  .navbar.scrolled .logo img {
    height: 40px !important;
  }

  /* === HERO === */
  .hero {
    padding: 100px 5% 80px !important;
    min-height: 70vh !important;
  }

  .hero h1 {
    font-size: 36px !important;
    line-height: 1.2 !important;
  }

  .hero p,
  .hero .subtitle {
    font-size: 16px !important;
    max-width: 90% !important;
    margin: 0 auto 30px !important;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
  }

  .btn-hero {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 14px 30px;
    font-size: 16px;
  }

  .trust-bar {
    gap: 30px;
    padding: 15px;
  }

  .trust-number {
    font-size: 28px;
  }

  .trust-label {
    font-size: 13px;
  }

  /* === SECTIONS === */
  .section {
    padding: 60px 5% !important;
  }

  .section h2,
  .section-title h2 {
    font-size: 32px;
  }

  .section p,
  .section-title p {
    font-size: 16px;
  }

  /* === TECH BANNER === */
  .tech-banner {
    padding: 40px 5%;
  }

  .tech-grid {
    gap: 20px;
  }

  .tech-item {
    padding: 15px 20px;
    font-size: 14px;
  }

  /* === GRIDS - Stack on mobile === */
  .grid,
  .blog-grid,
  .values-grid,
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  /* === CARDS === */
  .card,
  .contact-card,
  .security-card,
  .value-card,
  .blog-card {
    padding: 30px !important;
  }

  .card h3,
  .blog-card h3,
  .contact-card h3,
  .security-card h3,
  .value-card h3 {
    font-size: 22px;
  }

  /* === FEATURED/HIGHLIGHT === */
  .featured,
  .highlight {
    padding: 40px !important;
    margin: 50px 0;
  }

  .featured h2,
  .highlight h2 {
    font-size: 28px;
  }

  .featured p,
  .highlight p {
    font-size: 16px;
  }

  /* === COMPARISON TABLE === */
  .comparison-table-wrapper {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    margin: 0 -20px !important;
    padding: 0 20px !important;
  }

  .comparison-table {
    min-width: 700px !important;
    font-size: 13px !important;
  }

  .comparison-table th {
    padding: 12px 8px !important;
    font-size: 13px !important;
  }

  .comparison-table td {
    padding: 10px 8px !important;
    font-size: 12px !important;
  }

  /* === PRICING === */
  .pricing-grid {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  .pricing-card {
    padding: 35px !important;
  }

  .pricing-card.featured {
    transform: scale(1) !important;
  }

  .pricing-card h3 {
    font-size: 24px !important;
  }

  .pricing-card .price {
    font-size: 40px !important;
  }

  .billing-toggle-wrapper {
    flex-direction: column !important;
    gap: 15px !important;
  }

  /* === CTA SECTION === */
  .cta-section {
    padding: 70px 5% !important;
  }

  .cta-section h2 {
    font-size: 32px !important;
  }

  .cta-section p {
    font-size: 16px !important;
  }

  .cta-button {
    padding: 14px 30px !important;
    font-size: 16px !important;
    display: block;
    margin: 20px auto 0;
  }

  /* === NEWSLETTER === */
  .newsletter {
    padding: 40px !important;
  }

  .newsletter h3 {
    font-size: 26px;
  }

  .newsletter-form {
    flex-direction: column !important;
  }

  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
  }

  /* === FORMS === */
  .form-wrapper {
    padding: 35px !important;
  }

  .form-row {
    grid-template-columns: 1fr !important;
  }

  .form-wrapper h2 {
    font-size: 26px;
  }

  /* === FOOTER === */
  .footer-grid {
    grid-template-columns: 1fr !important;
    text-align: center !important;
    gap: 30px;
  }

  .footer-bottom div {
    display: grid !important;
    gap: 10px !important;
  }

  .footer-bottom span {
    margin: 0 !important;
    display: block;
  }

  /* === LEGAL CONTENT === */
  .legal-content {
    padding: 40px 5%;
  }

  .legal-content h2 {
    font-size: 26px;
  }

  .legal-content h3 {
    font-size: 20px;
  }
}

/* ============================================
   18. SMALL MOBILE (max-width: 480px)
   ============================================ */
@media (max-width: 480px) {
  
  .hero h1 {
    font-size: 28px !important;
  }

  .hero p,
  .hero .subtitle {
    font-size: 14px !important;
  }

  .section h2,
  .section-title h2 {
    font-size: 26px;
  }

  .card,
  .contact-card,
  .security-card,
  .value-card,
  .blog-card {
    padding: 25px !important;
  }

  .featured,
  .highlight {
    padding: 30px !important;
  }

  .featured h2,
  .highlight h2 {
    font-size: 24px;
  }

  .form-wrapper {
    padding: 25px !important;
  }

  .logo {
    font-size: 16px;
  }

  .logo img {
    height: 40px;
  }

  .comparison-table {
    min-width: 600px !important;
    font-size: 12px !important;
  }

  .pricing-card {
    padding: 30px !important;
  }
}

/* ============================================
   19. PRINT STYLES
   ============================================ */
@media print {
  
  .navbar,
  .footer,
  .cta-section,
  .mobile-menu-toggle,
  button {
    display: none !important;
  }

  .section {
    padding: 20px 0 !important;
  }

  body {
    background: white;
    padding-top: 0;
  }

  .card,
  .pricing-card {
    break-inside: avoid;
  }
}