/* ========================================
   AzurApps — Main Stylesheet
   ======================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #f7f9fb;
  color: #000;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

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

/* CONTAINER */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(247, 249, 251, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 28px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 15px;
  font-weight: 600;
  color: #000;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #3F8DFD;
}

.nav-email {
  font-size: 15px;
  font-weight: 500;
  color: #3F8DFD;
}

.nav-email:hover {
  color: #2a6fd6;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: #000;
  border-radius: 1px;
  transition: all 0.3s ease;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 40px 80px;
  overflow: hidden;
  background: #f7f9fb;
}

.hero-bg-pattern {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 1130px;
  pointer-events: none;
}

.hero-bg-svg {
  width: 100%;
  height: auto;
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 8px;
  color: #000;
}

.hero-subtitle {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  background: linear-gradient(100deg, #3F8DFD, #B8B0FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px;
}

.hero-description {
  font-size: 17px;
  color: rgba(0, 0, 0, 0.6);
  line-height: 1.7;
  margin-bottom: 40px;
}

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

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: #3F8DFD;
  color: #fff;
  border-color: #3F8DFD;
}

.btn-primary:hover {
  background: #2a6fd6;
  border-color: #2a6fd6;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(63, 141, 253, 0.3);
}

.btn-outline {
  background: transparent;
  color: #3F8DFD;
  border-color: #3F8DFD;
}

.btn-outline:hover {
  background: #3F8DFD;
  color: #fff;
  transform: translateY(-2px);
}

.btn-white {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 50px;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
}

.btn-white:hover {
  background: #fff;
  color: #3F8DFD;
  transform: translateY(-2px);
}

/* ========================================
   SECTIONS (shared)
   ======================================== */
.section {
  padding: 100px 0;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
}

/* ========================================
   MARKETING SOLUTIONS
   ======================================== */
.solutions {
  background: #f7f9fb;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.solution-card {
  background: #fff;
  border-radius: 24px;
  padding: 32px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.solution-illustration {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: #f7f9fb;
  border-radius: 16px;
  overflow: hidden;
}

.solution-illustration svg,
.solution-illustration img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}

.solution-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.solution-card p {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.6);
  line-height: 1.6;
}

/* ========================================
   STATS BAR
   ======================================== */
.stats-bar {
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-item {
  background: linear-gradient(135deg, #3F8DFD 0%, #6BA3FD 100%);
  border-radius: 24px;
  padding: 36px 28px;
  text-align: left;
}

.stat-number {
  display: block;
  font-size: 42px;
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

/* ========================================
   INDUSTRIES / SERVICES
   ======================================== */
.industries {
  background: #fff;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.industry-card {
  background: #f7f9fb;
  border-radius: 24px;
  padding: 32px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.industry-card--highlight {
  background: linear-gradient(135deg, #3F8DFD 0%, #6BA3FD 50%, #B8B0FF 100%);
  color: #fff;
}

.industry-card--highlight p {
  color: rgba(255, 255, 255, 0.85) !important;
}

.industry-illustration {
  width: 100%;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.industry-illustration svg,
.industry-illustration img {
  width: 85%;
  height: 85%;
  object-fit: contain;
}

.industry-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.industry-card p {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.6);
  line-height: 1.6;
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials {
  background: #f7f9fb;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: #fff;
  border-radius: 24px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 20px;
}

.testimonial-avatar svg,
.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-text {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.7);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 24px;
}

.testimonial-author strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
}

.testimonial-author span {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.5);
}

/* ========================================
   REASONS TO CHOOSE US
   ======================================== */
.reasons {
  background: #fff;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.reason-card {
  background: #f7f9fb;
  border-radius: 24px;
  padding: 36px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reason-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.reason-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #3F8DFD, #B8B0FF);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
}

.reason-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
}

.reason-card p {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.6);
  line-height: 1.7;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
  padding: 60px 0 100px;
  background: #fff;
}

.cta-card {
  background: linear-gradient(135deg, #3F8DFD 0%, #5B7BFF 50%, #B8B0FF 100%);
  border-radius: 32px;
  padding: 80px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 32px;
}

.cta-illustration {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.cta-illustration svg,
.cta-illustration img {
  width: 280px;
  height: auto;
  object-fit: contain;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: #f7f9fb;
  padding: 60px 0 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-heading {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-email {
  display: inline-block;
  font-size: 15px;
  font-weight: 500;
  color: #3F8DFD;
  margin-bottom: 12px;
}

.footer-email:hover {
  color: #2a6fd6;
}

.footer-address {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.5);
  line-height: 1.6;
}

.footer-right {
  text-align: right;
}

.footer-logo {
  display: inline-flex;
  margin-bottom: 24px;
}

.footer-logo-img {
  height: 20px;
  width: auto;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.footer-copyright {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.4);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.5);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #3F8DFD;
}

/* ========================================
   ANIMATIONS (scroll reveal)
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* stagger children */
.reveal-stagger .reveal {
  transition-delay: calc(var(--i, 0) * 0.08s);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
  .container {
    padding: 0 24px;
  }

  .hero h1,
  .hero-subtitle {
    font-size: 38px;
  }

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

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

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

  .testimonials-grid .testimonial-card:last-child {
    grid-column: span 2;
  }

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

  .cta-card {
    padding: 60px 40px;
  }

  .cta-content h2 {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-email {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .nav-container {
    padding: 0 20px;
  }

  /* Mobile menu open state */
  .navbar.menu-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 24px;
    gap: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 20px 20px;
  }

  .navbar.menu-open .nav-email {
    display: block;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    padding: 0 24px 24px;
    background: #fff;
    /* push below nav-links */
  }

  .navbar.menu-open .mobile-menu-btn span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .navbar.menu-open .mobile-menu-btn span:nth-child(2) {
    opacity: 0;
  }
  .navbar.menu-open .mobile-menu-btn span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero {
    padding: 120px 20px 60px;
    min-height: auto;
  }

  .hero h1,
  .hero-subtitle {
    font-size: 30px;
  }

  .hero-description {
    font-size: 15px;
  }

  .hero-description br {
    display: none;
  }

  .hero-bg-pattern {
    width: 120%;
    max-width: 700px;
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 28px;
    margin-bottom: 40px;
  }

  .solutions-grid,
  .testimonials-grid,
  .reasons-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid .testimonial-card:last-child {
    grid-column: span 1;
  }

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

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

  .cta-card {
    flex-direction: column;
    padding: 48px 32px;
    text-align: center;
  }

  .cta-content h2 {
    font-size: 28px;
  }

  .cta-illustration svg,
  .cta-illustration img {
    width: 220px;
    height: auto;
  }

  .footer-content {
    flex-direction: column;
    gap: 40px;
  }

  .footer-right {
    text-align: left;
  }

  .footer-bottom {
    align-items: flex-start;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .hero h1,
  .hero-subtitle {
    font-size: 26px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .stat-number {
    font-size: 32px;
  }

  .stat-item {
    padding: 24px 20px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 15px;
  }
}

/* ============================================
   COOKIE TABLE
   ============================================ */

.cookie-table-wrap {
  overflow-x: auto;
  margin: 28px 0;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.55;
  min-width: 700px;
}

.cookie-table th {
  background: #f0f4ff;
  padding: 12px 14px;
  text-align: left;
  font-weight: 600;
  color: #111827;
  border-bottom: 1px solid #e5e7eb;
  border-right: 1px solid #e5e7eb;
  white-space: nowrap;
}

.cookie-table th:last-child,
.cookie-table td:last-child {
  border-right: none;
}

.cookie-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #e5e7eb;
  border-right: 1px solid #e5e7eb;
  color: #4b5563;
  vertical-align: top;
}

.cookie-table tbody tr:last-child td {
  border-bottom: none;
}

.cookie-table td.provider-cell {
  vertical-align: middle;
  font-weight: 500;
}

.cookie-table .provider-link {
  color: #3F8DFD;
}

.cookie-table td:first-child {
  font-family: 'Courier New', monospace;
  font-size: 12px;
  color: #374151;
  white-space: nowrap;
}

/* ============================================
   LEGAL PAGES
   ============================================ */

.legal-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 120px 40px 80px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3F8DFD;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 40px;
  transition: opacity 0.2s;
}

.legal-back:hover { opacity: 0.7; }

.legal-back svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.legal-wrap h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
}

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

.legal-wrap h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
  margin-top: 36px;
  margin-bottom: 12px;
}

.legal-wrap p {
  font-size: 15px;
  line-height: 1.75;
  color: #4b5563;
  margin-bottom: 16px;
}

.legal-wrap p.caps {
  font-size: 13px;
  line-height: 1.7;
  color: #374151;
}

.legal-wrap ul {
  margin: 12px 0 16px 0;
  padding-left: 20px;
}

.legal-wrap li {
  font-size: 15px;
  line-height: 1.75;
  color: #4b5563;
  margin-bottom: 8px;
}

.legal-contact {
  margin-top: 40px;
  padding: 28px 32px;
  background: #f0f4ff;
  border-radius: 16px;
}

.legal-contact p {
  margin-bottom: 6px;
}

.legal-contact a {
  color: #3F8DFD;
  text-decoration: none;
}

.legal-contact a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .legal-wrap {
    padding: 100px 24px 60px;
  }

  .legal-wrap h1 {
    font-size: 1.5rem;
  }
}

/* ============================================
   404 PAGE
   ============================================ */

.page-404 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  background: #f7f9fb;
}

.page-404 .not-found-img {
  width: 320px;
  max-width: 80vw;
  height: auto;
  margin-bottom: 40px;
}

.page-404 h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 12px;
}

.page-404 p {
  font-size: 16px;
  color: #6b7280;
  margin-bottom: 32px;
}

@media (max-width: 480px) {
  .page-404 .not-found-img {
    width: 240px;
  }

  .page-404 h1 {
    font-size: 1.5rem;
  }
}
