/* ======================== */
/* CSS Variables and Resets */
/* ======================== */

:root {
  --background: #0a1628;
  --foreground: #f0f8ff;
  --card: #0d1e36;
  --card-foreground: #f0f8ff;
  --primary: #2196F3;
  --primary-foreground: #ffffff;
  --secondary: #0d1e36;
  --secondary-foreground: #f0f8ff;
  --muted: #162a45;
  --muted-foreground: #8ba3c7;
  --accent: #5CEAFF;
  --accent-foreground: #0a1628;
  --destructive: #ef4444;
  --border: rgba(92, 234, 255, 0.15);
  --input: rgba(92, 234, 255, 0.1);
  --radius: 0.75rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
}

/* ======================== */
/* Utility Classes */
/* ======================== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.text-foreground {
  color: var(--foreground);
}

.text-accent {
  color: var(--accent);
}

/* ======================== */
/* Buttons */
/* ======================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius);
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--primary-foreground);
  box-shadow: 0 4px 15px rgba(33, 150, 243, 0.4);
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 35px rgba(33, 150, 243, 0.6);
  animation: bounce 0.6s ease infinite;
}

.btn-outline {
  background: transparent;
  color: var(--foreground);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  background-color: var(--muted);
  border-color: var(--primary);
}

.btn-muted {
  background-color: var(--muted);
  color: var(--foreground);
}

.btn-muted:hover {
  background-color: rgba(22, 42, 69, 0.8);
}

.btn-full {
  width: 100%;
}

.btn-desktop {
  display: none;
}

/* ======================== */
/* Header */
/* ======================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s ease;
  background-color: transparent;
}

.header.scrolled {
  background-color: rgba(10, 22, 40, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.logo {
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-text {
  display: flex;
  gap: 0.25rem;
}

.nav-desktop {
  display: none;
  gap: 0.25rem;
}

.nav-desktop a {
  padding: 0.5rem 1rem;
  color: var(--muted-foreground);
  text-decoration: none;
  border-radius: var(--radius);
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.nav-desktop a:hover {
  color: var(--foreground);
  background-color: rgba(22, 42, 69, 0.5);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  background-color: rgba(13, 30, 54, 0.95);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(12px);
  padding: 1rem;
}

.nav-mobile.active {
  display: flex;
}

.nav-mobile a {
  padding: 0.75rem 1rem;
  color: var(--muted-foreground);
  text-decoration: none;
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.nav-mobile a:hover {
  color: var(--foreground);
  background-color: var(--muted);
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  width: 1.5rem;
  height: 0.2rem;
  background-color: var(--foreground);
  border-radius: 0.1rem;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(0.6rem);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-0.6rem);
}

/* ======================== */
/* Hero Section */
/* ======================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 5rem;
}

.hero-background {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% -20%, rgba(33, 150, 243, 0.3), transparent);
  pointer-events: none;
}

.hero-background::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 80% 80%, rgba(92, 234, 255, 0.15), transparent);
}

.hero-background::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(92, 234, 255, 0.05) 1px, transparent 1px),
              linear-gradient(to bottom, rgba(92, 234, 255, 0.05) 1px, transparent 1px);
  background-size: 4rem 4rem;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 56rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background-color: rgba(22, 42, 69, 0.5);
  border: 1px solid var(--border);
  margin-bottom: 2rem;
  backdrop-filter: blur(4px);
  font-size: 0.875rem;
  color: var(--muted-foreground);
  animation: slideInFromLeft 0.8s ease 0.1s both;
}

.hero-title {
  font-size: clamp(2rem, 8vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-wrap: balance;
  animation: bounceIn 0.9s cubic-bezier(0.68, -0.55, 0.265, 1.55) both;
}

.gradient-text {
  background: linear-gradient(to right, var(--primary), var(--accent), var(--primary));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 4s ease infinite;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(2rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-2rem);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(2rem);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-1rem); }
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 20px rgba(33, 150, 243, 0.3); }
  50% { box-shadow: 0 0 40px rgba(92, 234, 255, 0.5); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes shimmer {
  0% { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.8) translateY(2rem);
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: scale(1) translateY(0);
  }
}

@keyframes slideInFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-3rem);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  0% {
    opacity: 0;
    transform: translateX(3rem);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes rotateIn {
  0% {
    opacity: 0;
    transform: rotate(-10deg) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: rotate(0) scale(1);
  }
}

@keyframes floatUp {
  0% {
    opacity: 0;
    transform: translateY(3rem);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes wobble {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-0.5rem); }
  75% { transform: translateX(0.5rem); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-0.8rem); }
}

@keyframes swingIn {
  0% {
    opacity: 0;
    transform: rotateZ(-10deg) translateX(-2rem);
  }
  100% {
    opacity: 1;
    transform: rotateZ(0) translateX(0);
  }
}

.hero-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 2.5rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
  animation: floatUp 0.9s ease 0.2s both;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 4rem;
  animation: slideInFromRight 0.9s ease 0.3s both;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  padding-top: 4rem;
  border-top: 1px solid var(--border);
}

.stat {
  text-align: center;
}

.stat-value {
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 0.5rem;
}

/* ======================== */
/* Section Headers */
/* ======================== */

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 32rem;
  margin: 0 auto;
}

/* ======================== */
/* Plans Section */
/* ======================== */

.plans {
  position: relative;
  padding: 6rem 0;
  background-color: rgba(33, 150, 243, 0.05);
}

.plans::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 50%, rgba(33, 150, 243, 0.1), transparent);
  pointer-events: none;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 80rem;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.plan-card {
  background-color: rgba(13, 30, 54, 0.5);
  backdrop-filter: blur(4px);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 2);
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  animation: bounceIn 0.7s cubic-bezier(0.68, -0.55, 0.265, 1.55) both;
}

.plan-card:nth-child(1) { animation-delay: 0.1s; }
.plan-card:nth-child(2) { animation-delay: 0.25s; }
.plan-card:nth-child(3) { animation-delay: 0.4s; }

.plan-card:hover {
  transform: translateY(-8px) scale(1.02);
  animation: bounce 0.6s ease infinite;
}

.plan-card:hover {
  border-color: rgba(33, 150, 243, 0.5);
  transform: translateY(-5px);
}

.plan-card.popular {
  border-color: var(--primary);
  box-shadow: 0 25px 50px -12px rgba(33, 150, 243, 0.2);
  transform: scale(1.05);
}

.plan-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--primary-foreground);
  padding: 0.5rem 1rem;
  border-radius: 0 0 0 var(--radius);
  font-size: 0.75rem;
  font-weight: 700;
}

.plan-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.plan-card:hover .plan-icon {
  transform: scale(1.1);
}

.plan-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin: 1rem 0 1.5rem 0;
}

.plan-price .currency {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.plan-price .amount {
  font-size: 2.25rem;
  font-weight: 700;
}

.plan-card.popular .plan-price .amount {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.plan-features {
  list-style: none;
  margin-bottom: 2rem;
  space: 0.75rem;
}

.plan-features li {
  padding: 0.75rem 0;
  font-size: 0.95rem;
  color: var(--muted-foreground);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.plan-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
}

/* ======================== */
/* Templates Section */
/* ======================== */

.templates {
  position: relative;
  padding: 6rem 0;
  background-color: rgba(22, 42, 69, 0.2);
}

.templates::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(92, 234, 255, 0.03) 1px, transparent 1px),
              linear-gradient(to bottom, rgba(92, 234, 255, 0.03) 1px, transparent 1px);
  background-size: 6rem 6rem;
  pointer-events: none;
}

.templates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.template-card {
  background-color: rgba(13, 30, 54, 0.5);
  backdrop-filter: blur(4px);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.5);
  padding: 1.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
  animation: rotateIn 0.6s ease both;
}

.template-card:hover {
  transform: translateY(-6px) rotateZ(2deg);
  animation: wobble 0.5s ease infinite;
  box-shadow: 0 12px 30px rgba(92, 234, 255, 0.3);
}

.template-card:hover {
  border-color: rgba(33, 150, 243, 0.5);
  transform: translateY(-5px);
}

.template-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.template-card:hover .template-icon {
  transform: scale(1.1);
}

.template-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.template-card:hover h3 {
  color: var(--accent);
}

.template-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.btn-view-template {
  width: 100%;
}

/* ======================== */
/* Modal */
/* ======================== */

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 100;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  padding: 1rem;
}

.modal.active {
  display: flex;
  animation: fadeIn 0.4s ease;
}

.modal-content {
  animation: bounceIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.modal-content {
  background-color: var(--card);
  border-radius: calc(var(--radius) * 2);
  border: 1px solid var(--border);
  max-width: 90vw;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

.modal-header h2 {
  font-size: 1.25rem;
  font-weight: 700;
}

.modal-close {
  background: none;
  border: none;
  color: var(--foreground);
  font-size: 2rem;
  cursor: pointer;
  padding: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.modal-close:hover {
  background-color: var(--destructive);
  color: var(--primary-foreground);
}

.modal-body {
  flex: 1;
  overflow: auto;
}

.modal-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: var(--background);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.modal-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(13, 30, 54, 0.9);
  color: var(--foreground);
  border: none;
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-prev {
  left: 0.5rem;
}

.modal-next {
  right: 0.5rem;
}

.modal-nav:hover {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.modal-footer {
  padding: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-footer p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.image-dots {
  display: flex;
  gap: 0.5rem;
}

.image-dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background-color: rgba(138, 163, 199, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.image-dot.active {
  background-color: var(--primary);
}

/* ======================== */
/* Location Section */
/* ======================== */

.location {
  position: relative;
  padding: 6rem 0;
}

.location::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 20% 80%, rgba(33, 150, 243, 0.1), transparent);
  pointer-events: none;
}

.location-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 80rem;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.location-map {
  border-radius: calc(var(--radius) * 1.5);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.location-info {
  background-color: rgba(13, 30, 54, 0.5);
  backdrop-filter: blur(4px);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.5);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.info-icon {
  font-size: 1.75rem;
  min-width: 2.5rem;
  text-align: center;
}

.info-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.info-item p {
  color: var(--muted-foreground);
  font-size: 0.95rem;
}

.info-divider {
  height: 1px;
  background-color: var(--border);
  margin: 1.5rem 0;
}

.location-info > div:last-child {
  margin-bottom: 0;
}

.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

/* ======================== */
/* Contact Section */
/* ======================== */

.contact {
  position: relative;
  padding: 6rem 0;
  background-color: rgba(22, 42, 69, 0.2);
}

.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 100%, rgba(33, 150, 243, 0.15), transparent);
  pointer-events: none;
}

.contact-form {
  max-width: 28rem;
  margin: 0 auto;
  background-color: rgba(13, 30, 54, 0.5);
  backdrop-filter: blur(4px);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.5);
  padding: 2rem;
  position: relative;
  z-index: 1;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: rgba(22, 42, 69, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--foreground);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background-color: rgba(22, 42, 69, 0.7);
  box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
  animation: glow 2s ease infinite;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted-foreground);
}

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

/* ======================== */
/* Footer */
/* ======================== */

.footer {
  background-color: rgba(13, 30, 54, 0.5);
  backdrop-filter: blur(4px);
  border-top: 1px solid var(--border);
  padding: 3rem 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 80rem;
  margin: 0 auto;
}

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

.footer-brand .logo {
  display: inline-flex;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.footer-nav a {
  color: var(--muted-foreground);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--foreground);
}

.footer-social {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

.footer-social a {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.25rem;
}

.footer-social a:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(33, 150, 243, 0.3);
}

/* ======================== */
/* Scroll Animation */
/* ======================== */

.scroll-animate {
  opacity: 0;
  transform: translateY(3rem);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
  animation: floatUp 0.6s ease;
}

.scroll-animate:nth-child(even) {
  animation: slideInFromLeft 0.6s ease;
}

.scroll-animate:nth-child(odd) {
  animation: slideInFromRight 0.6s ease;
}

/* ======================== */
/* Special Animations */
/* ======================== */

.stats-item {
  animation: bounceIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) both !important;
}

.stats-item:nth-child(1) { animation-delay: 0.1s !important; }
.stats-item:nth-child(2) { animation-delay: 0.2s !important; }
.stats-item:nth-child(3) { animation-delay: 0.3s !important; }

.section-header {
  animation: swingIn 0.7s ease-out both;
}

.hero-image {
  animation: float 3s ease-in-out infinite;
}

/* ======================== */
/* Responsive Design */
/* ======================== */

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

  .nav-desktop {
    display: none;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .plan-card.popular {
    transform: scale(1);
  }

  .location-content {
    grid-template-columns: 1fr;
  }

  .location-map {
    order: 2;
  }

  .location-info {
    order: 1;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: center;
  }

  .footer-brand {
    text-align: center;
  }

  .footer-nav {
    justify-content: center;
  }

  .footer-social {
    justify-content: center;
  }

  .contact-buttons {
    flex-direction: column;
  }
}

@media (min-width: 768px) {
  .btn-desktop {
    display: inline-flex;
  }

  .nav-desktop {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .nav-mobile {
    display: none !important;
  }

  .contact-buttons {
    flex-direction: row;
  }

  .contact-buttons .btn {
    flex: 1;
  }
}

@media (min-width: 1200px) {
  .templates-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
