/* Global CSS Reset & Variables */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,600;0,700;1,500&display=swap');

:root {
  --primary: #025caa;
  --primary-hover: #024c8b;
  --secondary: #3694D1;
  --accent: #00A884;
  --bg-light: #EEF4FF;
  --bg-white: #FFFFFF;
  --text-dark: #0F172A;
  --text-muted: #64748B;
  --border: #E2E8F0;
  --card-shadow: 0 10px 30px rgba(2, 92, 170, 0.04);
  --btn-shadow: 0 4px 14px rgba(2, 92, 170, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Outfit', sans-serif;
}

body {
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Header & Navbar */
header {
  background-color: rgba(238, 244, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: 1px border var(--border);
}

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

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

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--primary);
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s ease;
}

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

.btn-nav {
  background-color: var(--primary);
  color: #FFF !important;
  padding: 10px 20px;
  border-radius: 20px;
  font-weight: 600;
  box-shadow: var(--btn-shadow);
  transition: all 0.2s ease;
}

.btn-nav:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
}

/* Hero Section */
.hero {
  padding: 140px 24px 80px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  min-height: 80vh;
}

.hero-content {
  flex: 1.2;
}

.hero-tag {
  background-color: rgba(2, 92, 170, 0.08);
  color: var(--primary);
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  color: var(--primary);
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 520px;
}

.download-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.badge-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: #0F172A;
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid #1E293B;
  min-width: 160px;
}

.badge-btn:hover {
  background-color: #000000;
  transform: translateY(-2px);
}

.badge-btn svg {
  width: 24px;
  height: 24px;
  fill: #FFF;
}

.badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.badge-sub {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.7;
}

.badge-main {
  font-size: 15px;
  font-weight: 600;
}

.hero-visual {
  flex: 0.8;
  display: flex;
  justify-content: center;
  position: relative;
}

.phone-mockup-wrapper {
  position: relative;
  width: 280px;
  height: 560px;
  border-radius: 40px;
  border: 8px solid #0F172A;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(2, 92, 170, 0.25);
  background-color: #0B141A;
}

.phone-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-camera {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 18px;
  border-radius: 9px;
  background-color: #0F172A;
  z-index: 10;
}

/* Features Grid */
.features-section {
  background-color: var(--bg-white);
  padding: 100px 24px;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  color: var(--primary);
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 16px;
}

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

.feature-card {
  background-color: var(--bg-light);
  padding: 40px 30px;
  border-radius: 24px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow);
  border-color: rgba(2, 92, 170, 0.15);
}

.feature-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background-color: rgba(2, 92, 170, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--primary);
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* How It Works */
.how-it-works {
  padding: 100px 24px;
}

.steps-container {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  margin-top: 40px;
  position: relative;
}

.step-card {
  flex: 1;
  text-align: center;
  background-color: var(--bg-white);
  padding: 40px 24px;
  border-radius: 24px;
  box-shadow: var(--card-shadow);
  position: relative;
  z-index: 2;
  border: 1px solid var(--border);
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 22px;
  background-color: var(--primary);
  color: #FFF;
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

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

.step-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Contact Us */
.contact-section {
  background-color: var(--bg-white);
  padding: 100px 24px;
}

.contact-layout {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  margin-top: 40px;
}

.contact-info {
  flex: 0.8;
}

.contact-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--text-muted);
  margin-bottom: 30px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: rgba(2, 92, 170, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.detail-text h4 {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
}

.detail-text p {
  font-size: 16px;
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 0;
}

.contact-form-card {
  flex: 1.2;
  background-color: var(--bg-light);
  padding: 40px;
  border-radius: 24px;
  border: 1px solid var(--border);
}

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

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background-color: var(--bg-white);
  font-size: 15px;
  color: var(--text-dark);
  transition: border-color 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
}

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

.btn-submit {
  width: 100%;
  background-color: var(--primary);
  color: #FFF;
  border: none;
  padding: 14px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  box-shadow: var(--btn-shadow);
  transition: background-color 0.2s;
}

.btn-submit:hover {
  background-color: var(--primary-hover);
}

.form-success-msg {
  display: none;
  background-color: rgba(0, 168, 132, 0.08);
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 16px;
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
  margin-top: 16px;
}

/* Footer & Policies */
footer {
  background-color: #0F172A;
  color: #94A3B8;
  padding: 60px 24px 30px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #1E293B;
  flex-wrap: wrap;
}

.footer-brand h3 {
  font-family: 'Playfair Display', serif;
  color: #FFF;
  font-size: 24px;
  margin-bottom: 12px;
}

.footer-brand p {
  max-width: 320px;
  font-size: 14px;
}

.footer-links-grid {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-col h4 {
  color: #FFF;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  text-decoration: none;
  color: #94A3B8;
  font-size: 14px;
  transition: color 0.2s;
  cursor: pointer;
}

.footer-col ul li a:hover {
  color: #FFF;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 16px;
}

/* Policy Modals overlay style */
.policy-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 200;
  justify-content: center;
  align-items: center;
  padding: 24px;
}

.policy-modal-card {
  background-color: var(--bg-white);
  width: 100%;
  max-width: 760px;
  max-height: 85vh;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  animation: modalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.policy-modal-header {
  padding: 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.policy-modal-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: var(--primary);
}

.policy-close-btn {
  background: none;
  border: none;
  font-size: 28px;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
}

.policy-close-btn:hover {
  color: var(--text-dark);
}

.policy-modal-body {
  padding: 24px;
  overflow-y: auto;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.policy-modal-body h4 {
  font-size: 16px;
  color: var(--text-dark);
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 8px;
}

.policy-modal-body p {
  margin-bottom: 16px;
}

.policy-modal-body ul {
  margin-left: 20px;
  margin-bottom: 16px;
}

.policy-modal-body ul li {
  margin-bottom: 8px;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 120px;
  }
  
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .download-badges {
    justify-content: center;
  }

  .contact-layout {
    flex-direction: column;
    gap: 40px;
  }

  .contact-info, .contact-form-card {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; /* Can implement mobile burger menu if required, keeping simple for single page landing */
  }

  .hero-title {
    font-size: 40px;
  }

  .steps-container {
    flex-direction: column;
  }

  .footer-top {
    flex-direction: column;
    gap: 30px;
  }

  .footer-links-grid {
    gap: 40px;
    width: 100%;
    justify-content: space-between;
  }
}
