/* ========== CUSTOM DARK THEME STYLES ========== */

/* ZDive Custom Font */
@font-face {
  font-family: 'ZDiveFont';
  src: url('../fonts/zdivefnt.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

:root {
  --primary-color: #60a5fa;
  --secondary-color: #818cf8;
  --accent-color: #a78bfa;
  --text-dark: #f3f4f6;
  --text-light: #9ca3af;
  --bg-light: #1f2937;
  --bg-dark: #0f172a;
  --card-bg: #1e293b;
  --border-color: #334155;
}

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

body {
  font-family: 'Roboto', sans-serif !important;
  color: var(--text-dark);
  background: var(--bg-dark);
  overflow-x: hidden;
}

/* Font Awesome Icons Fix */
.fas, .fab, .fa, .far, .fal {
  font-family: "Font Awesome 6 Free" !important;
}

/* Navigation */
.navbar {
  background: rgb(23 27 36 / 98%) !important;
  backdrop-filter: blur(15px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  padding: 0.75rem 0;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(71, 85, 105, 0.3);
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color) !important;
}

.navbar-brand img {
  height: 65px;
}

.navbar-nav .nav-link {
  color: var(--text-light) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  padding: 0.75rem 1.25rem !important;
  border-radius: 25px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
}

.navbar-nav .nav-link:hover {
  color: white !important;
  background: rgba(96, 165, 250, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(96, 165, 250, 0.2);
}

.navbar-nav .nav-link:active,
.navbar-nav .nav-link.active {
  color: var(--primary-color) !important;
  background: rgba(96, 165, 250, 0.1);
}

/* Mobile navbar styling */
@media (max-width: 991px) {
  .navbar-nav .nav-link {
    margin: 0.25rem 0;
    text-align: center;
  }
}

/* Hero Section */
#hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #312e81 0%, #581c87 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white;
  background: rgba(0, 0, 0, 0.6);
  padding: 4rem 3rem;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  width: 100%;
}

.hero-content h1 {
  font-size: 3.75rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  animation: fadeInUp 1s ease;
  letter-spacing: -1px;
  color: #ffffff;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
}

.hero-content h2 {
  font-size: 1.625rem;
  font-weight: 400;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  animation: fadeInUp 1s ease 0.2s;
  animation-fill-mode: both;
  letter-spacing: 0.5px;
  color: #ffffff;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

.cta-buttons {
  animation: fadeInUp 1s ease 0.4s;
  animation-fill-mode: both;
}

.btn-primary-custom {
  background: #60a5fa;
  color: #0f172a;
  padding: 14px 35px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  margin: 0 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-primary-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(96, 165, 250, 0.3);
  background: var(--secondary-color);
}

.btn-outline-custom {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.8);
  padding: 14px 35px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  margin: 0 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-outline-custom:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  border-color: #ffffff !important;
}

/* Services Section */
.services {
  padding: 80px 0 60px;
  background: var(--bg-dark);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.section-title p {
  color: var(--text-light);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

.service-card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  border: 1px solid rgba(51, 65, 85, 0.5);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(96, 165, 250, 0.15);
  border-color: rgba(96, 165, 250, 0.5);
  background: rgba(30, 41, 59, 0.8);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 15px rgba(96, 165, 250, 0.3);
}

.service-icon i {
  font-size: 1.75rem;
  color: white;
}

.service-card h3 {
  font-size: 1.375rem;
  margin-bottom: 0.875rem;
  color: var(--text-dark);
  font-weight: 600;
}

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

/* iOS Apps Section */
.ios-apps {
  padding: 100px 0;
  /* background: var(--bg-light); */
}

.app-showcase {
  background: linear-gradient(135deg, #312e81 0%, #581c87 100%);
  border-radius: 20px;
  padding: 3.5rem;
  color: white;
  text-align: center;
  margin-bottom: 2rem;
  border: 1px solid rgba(51, 65, 85, 0.5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.app-showcase h3 {
  font-size: 2.125rem;
  margin-bottom: 1.125rem;
  font-weight: 600;
}

.app-showcase p {
  font-size: 1.25rem;
  opacity: 0.95;
  line-height: 1.6;
}

.app-icon {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.app-icon:hover {
  transform: scale(1.05);
}

.beta-test-button {
  display: inline-block;
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
  color: white;
  padding: 16px 32px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  margin: 1rem 0 0.5rem 0;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(96, 165, 250, 0.3);
}

.beta-test-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(96, 165, 250, 0.4);
  color: white;
  text-decoration: none;
}

.beta-test-button i {
  margin-right: 8px;
}

.coming-soon-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  padding: 10px 24px;
  border-radius: 50px;
  margin-top: 1.25rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

/* ZDive Brand Styling */
.zdive-brand {
  font-family: 'ZDiveFont', sans-serif;
  font-weight: 700;
  letter-spacing: -1px;
}

.zdive-brand .z-letter {
  color: #17c8e3;
}

.zdive-brand .dive-letters {
  color: white;
}

.learn-more-button {
  color: #17c8e3;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.learn-more-button:hover {
  color: white;
  text-decoration: underline;
}

/* About Section */
.about {
  padding: 100px 0;
  background: var(--bg-dark);
}

.about-content {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.about-text h3 {
  font-size: 2.25rem;
  margin-bottom: 1.25rem;
  color: var(--text-dark);
  font-weight: 600;
}

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

.stats {
  display: flex;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.stat-item {
  text-align: center;
  padding: 1rem;
  background: rgba(96, 165, 250, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(96, 165, 250, 0.1);
  transition: all 0.3s ease;
}

.stat-item:hover {
  background: rgba(96, 165, 250, 0.1);
  transform: translateY(-5px);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-shadow: 0 0 20px rgba(96, 165, 250, 0.3);
}

.stat-label {
  color: var(--text-light);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Contact Section */
.contact {
  padding: 100px 0;
  background: var(--bg-light);
}

.email-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 3rem;
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
  color: var(--bg-dark);
  text-decoration: none;
  border-radius: 60px;
  font-size: 1.5rem;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(96, 165, 250, 0.3);
}

.email-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(96, 165, 250, 0.4);
  background: linear-gradient(135deg, #818cf8 0%, #c084fc 100%);
  color: var(--bg-dark);
}

.email-link i {
  font-size: 1.75rem;
}

.email-link span {
  letter-spacing: 0.5px;
}

/* Footer */
footer {
  background: #050a15;
  color: var(--text-dark);
  padding: 4rem 0 1.5rem;
  border-top: 1px solid rgba(51, 65, 85, 0.3);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
}

.social-links a {
  color: var(--text-light);
  font-size: 1.5rem;
  margin: 0 10px;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(51, 65, 85, 0.3);
  color: var(--text-light);
}

.footer-bottom a {
  color: var(--primary-color);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content h2 {
    font-size: 1.25rem;
  }

  .section-title h2 {
    font-size: 2.25rem;
  }

  .services,
  .ios-apps,
  .about,
  .contact {
    padding: 60px 0;
  }

  .about-content {
    flex-direction: column;
  }

  .stats {
    justify-content: center;
    flex-wrap: wrap;
  }

  .stat-item {
    min-width: 140px;
  }

  .service-card {
    padding: 2rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
}