:root {
  --primary-color: #021424;
  --secondary-color: #f6f2e6;
  --accent-color: #4a90e2;
  --text-light: #ffffff;
  --text-dark: #333333;
  --gradient-primary: linear-gradient(135deg, #021424 0%, #0a2a3a 100%);
  --gradient-accent: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
  --shadow-soft: 0 10px 40px rgba(2, 20, 36, 0.1);
  --shadow-strong: 0 20px 60px rgba(2, 20, 36, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Navigation */
.navbar {
  background: rgba(2, 20, 36, 0.95);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  padding: 1rem 0;
}

.navbar.scrolled {
  background: var(--primary-color);
  padding: 0.5rem 0;
}

.navbar-brand img {
  transition: all 0.3s ease;
  /* Adding white filter to make black logo visible on dark background */
  filter: brightness(0) invert(1);
}

.navbar-nav .nav-link {
  color: var(--text-light) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-nav .nav-link:hover {
  color: var(--accent-color) !important;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 50%;
  background: var(--accent-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: var(--gradient-primary);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.geometric-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 25% 25%, rgba(74, 144, 226, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(246, 242, 230, 0.05) 0%, transparent 50%);
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(2deg);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--text-light);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(74, 144, 226, 0.2);
  border: 1px solid rgba(74, 144, 226, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 2rem;
  animation: slideInUp 1s ease 0.2s both;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  animation: slideInUp 1s ease 0.4s both;
}

.hero-title .highlight {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  animation: slideInUp 1s ease 0.6s both;
}

.hero-cta {
  margin-bottom: 3rem;
  animation: slideInUp 1s ease 0.8s both;
}

.btn {
  border-radius: 50px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-accent);
  color: var(--text-light);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-strong);
  color: var(--text-light);
}

.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--text-light);
  background: transparent;
}

.btn-outline-light:hover {
  background: var(--text-light);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 2rem;
  animation: slideInUp 1s ease 1s both;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-color);
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-top: 0.5rem;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 600px;
}

.dome-container {
  position: relative;
  width: 400px;
  height: 400px;
}

.dome-structure {
  position: relative;
  width: 100%;
  height: 100%;
  animation: rotate 30s linear infinite;
}

.dome-frame {
  width: 100%;
  height: 100%;
  border: 3px solid var(--accent-color);
  border-radius: 50%;
  position: relative;
  opacity: 0.8;
}

.dome-frame::before,
.dome-frame::after {
  content: "";
  position: absolute;
  border: 2px solid var(--accent-color);
  border-radius: 50%;
  opacity: 0.6;
}

.dome-frame::before {
  width: 80%;
  height: 80%;
  top: 10%;
  left: 10%;
}

.dome-frame::after {
  width: 60%;
  height: 60%;
  top: 20%;
  left: 20%;
}

.dome-glow {
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: radial-gradient(circle, rgba(74, 144, 226, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse 4s ease-in-out infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-arrow {
  width: 2px;
  height: 30px;
  background: var(--text-light);
  position: relative;
  animation: scrollBounce 2s infinite;
}

.scroll-arrow::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -4px;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--text-light);
  border-bottom: 2px solid var(--text-light);
  transform: rotate(45deg);
}

@keyframes scrollBounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Animations */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sections */
.about-section,
.includes-section,
.pricing-section {
  padding: 6rem 0;
  position: relative;
}

.about-section {
  background: var(--secondary-color);
}

.includes-section {
  background: var(--text-light);
}

.pricing-section {
  background: var(--secondary-color);
}

.section-header {
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.section-title .highlight {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.1rem;
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto;
}

/* Feature Cards */
.feature-card {
  background: var(--text-light);
  padding: 2.5rem 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-strong);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--text-light);
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

/* Includes Section */
.includes-list {
  margin-top: 2rem;
}

.include-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--secondary-color);
  border-radius: 15px;
  transition: all 0.3s ease;
}

.include-item:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-soft);
}

.include-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
  flex-shrink: 0;
  font-size: 1.5rem;
  color: var(--text-light);
}

.include-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.include-content p {
  opacity: 0.8;
  margin: 0;
}

/* Location Card */
.location-card {
  background: var(--primary-color);
  color: var(--text-light);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow-strong);
}

.location-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.location-header i {
  font-size: 1.5rem;
  color: var(--accent-color);
  margin-right: 1rem;
}

.location-header h4 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

.location-note {
  font-style: italic;
  opacity: 0.8;
  margin-bottom: 2rem;
}

.location-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.feature-tag {
  background: rgba(74, 144, 226, 0.2);
  border: 1px solid rgba(74, 144, 226, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Pricing Card */
.pricing-card {
  background: var(--text-light);
  border-radius: 25px;
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-strong);
  position: relative;
  overflow: hidden;
}

.pricing-badge {
  position: absolute;
  top: 2rem;
  right: -1rem;
  background: var(--gradient-accent);
  color: var(--text-light);
  padding: 0.5rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  transform: rotate(15deg);
  font-size: 0.9rem;
}

.pricing-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 1rem;
}

.currency {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
}

.amount {
  font-size: 4rem;
  font-weight: 800;
  color: var(--primary-color);
  margin: 0 0.5rem;
}

.period {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--primary-color);
}

.price-note {
  color: var(--accent-color);
  font-weight: 500;
  margin: 0;
}

.pricing-features {
  margin-bottom: 2rem;
}

.feature {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  font-weight: 500;
}

.feature i {
  color: var(--accent-color);
  margin-right: 1rem;
  font-size: 1.2rem;
}

.capacity-info {
  display: flex;
  justify-content: space-between;
  padding: 1.5rem;
  background: var(--secondary-color);
  border-radius: 15px;
  margin-top: 2rem;
}

.capacity-item {
  text-align: center;
}

.capacity-label {
  display: block;
  font-size: 0.9rem;
  opacity: 0.7;
  margin-bottom: 0.5rem;
}

.capacity-value {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 1.1rem;
}

/* CTA Section */
.cta-section {
  background: var(--gradient-primary);
  color: var(--text-light);
  padding: 6rem 0;
  text-align: center;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.cta-title .highlight {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 3rem;
}

.cta-buttons {
  margin-bottom: 3rem;
}

.urgency-indicator {
  max-width: 400px;
  margin: 0 auto;
}

.urgency-text {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.progress-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--gradient-accent);
  width: 70%;
  border-radius: 4px;
  animation: progressPulse 2s ease-in-out infinite;
}

@keyframes progressPulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

/* Footer */
.footer {
  background: var(--primary-color);
  color: var(--text-light);
  padding: 3rem 0 1rem;
}

.footer-brand img {
  margin-bottom: 1rem;
  /* Adding white filter to footer logo as well */
  filter: brightness(0) invert(1);
}

.footer-description {
  opacity: 0.8;
  margin-bottom: 2rem;
}

.footer-contact h5 {
  margin-bottom: 1.5rem;
  color: var(--accent-color);
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.contact-item i {
  width: 20px;
  margin-right: 1rem;
  color: var(--accent-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  padding-top: 2rem;
  text-align: center;
  opacity: 0.7;
}

/* Modal Enhancements */
.modal-content {
  border-radius: 20px;
  border: none;
  box-shadow: var(--shadow-strong);
}

.modal-header {
  background: var(--gradient-primary);
  color: var(--text-light);
  border-radius: 20px 20px 0 0;
  border-bottom: none;
  padding: 1.5rem 2rem;
}

.modal-title {
  font-weight: 600;
  font-size: 1.25rem;
}

.btn-close {
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.btn-close:hover {
  opacity: 1;
}

.modal-body {
  padding: 2rem;
}

.modal-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding: 1.5rem 2rem;
  border-radius: 0 0 20px 20px;
}

/* Terms and Conditions Styling */
.terms-content {
  max-height: 400px;
  overflow-y: auto;
  padding-right: 1rem;
}

.terms-content h6 {
  color: var(--primary-color);
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.terms-content h6:first-child {
  margin-top: 0;
  font-size: 1.1rem;
  text-align: center;
  color: var(--accent-color);
}

.terms-content p {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: var(--text-dark);
}

.terms-content ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.terms-content li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

/* Custom scrollbar for terms */
.terms-content::-webkit-scrollbar {
  width: 6px;
}

.terms-content::-webkit-scrollbar-track {
  background: var(--secondary-color);
  border-radius: 3px;
}

.terms-content::-webkit-scrollbar-thumb {
  background: var(--accent-color);
  border-radius: 3px;
}

.terms-content::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

/* Payment Modal Styling */
.payment-status-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.spinner-border {
  width: 3rem;
  height: 3rem;
}

/* Payment Loading Animation */
@keyframes paymentPulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

#paymentLoading .spinner-border {
  animation: paymentPulse 2s ease-in-out infinite;
}

/* Success and Error States */
.text-success {
  color: #28a745 !important;
}

.text-danger {
  color: #dc3545 !important;
}

/* Enhanced Button Styles for Modals */
.modal-footer .btn {
  min-width: 120px;
  font-weight: 600;
}

.modal-footer .btn-primary {
  background: var(--gradient-accent);
  border: none;
}

.modal-footer .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.modal-footer .btn-secondary {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.modal-footer .btn-secondary:hover {
  background: var(--primary-color);
  color: var(--text-light);
}

/* Responsive Modal Adjustments */
@media (max-width: 768px) {
  .modal-dialog {
    margin: 1rem;
  }

  .modal-body {
    padding: 1.5rem;
  }

  .modal-footer {
    padding: 1rem 1.5rem;
    flex-direction: column;
    gap: 0.5rem;
  }

  .modal-footer .btn {
    width: 100%;
  }

  .terms-content {
    max-height: 300px;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .stat-item {
    text-align: left;
  }

  .section-title {
    font-size: 2rem;
  }

  .cta-title {
    font-size: 2rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .cta-buttons .btn {
    width: 100%;
    margin: 0 0 1rem 0;
  }

  .dome-container {
    width: 300px;
    height: 300px;
  }

  .capacity-info {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 576px) {
  .hero-section {
    padding: 2rem 0;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .feature-card {
    padding: 2rem 1.5rem;
  }

  .pricing-card {
    padding: 2rem 1.5rem;
  }

  .amount {
    font-size: 3rem;
  }
}
