@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* CSS Variables */
:root {
  --font-title: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  
  /* Harmonious Dark Palette */
  --bg-dark: hsl(224, 25%, 6%);
  --bg-card: hsl(223, 20%, 9%);
  --border-light: hsla(220, 20%, 95%, 0.06);
  --border-focus: hsl(156, 72%, 48%);
  
  /* Accents */
  --accent-primary: hsl(156, 72%, 48%); /* Travel Emerald */
  --accent-secondary: hsl(190, 90%, 50%); /* Basic Cyan */
  --accent-glow: hsla(156, 72%, 48%, 0.15);
  --accent-gradient: linear-gradient(135deg, hsl(156, 72%, 48%) 0%, hsl(190, 90%, 50%) 100%);
  
  /* Text colors */
  --text-main: hsl(210, 38%, 95%);
  --text-muted: hsl(211, 20%, 70%);
  --text-inverse: hsl(224, 25%, 6%);
  
  /* Transition curve */
  --ease-elastic: cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-smooth: all 0.3s var(--ease-elastic);
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* Background Ambient Glows */
body::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  border-radius: 50%;
  background: radial-gradient(circle, hsla(156, 72%, 48%, 0.08) 0%, transparent 70%);
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: absolute;
  bottom: 10%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  background: radial-gradient(circle, hsla(190, 90%, 50%, 0.08) 0%, transparent 70%);
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

/* Navigation Header */
header {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo svg {
  width: 1.75rem;
  height: 1.75rem;
  stroke: url(#logo-grad);
}

.badge-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: hsla(156, 72%, 48%, 0.1);
  border: 1px solid hsla(156, 72%, 48%, 0.2);
  color: var(--accent-primary);
  font-family: var(--font-title);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: 50px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-status::before {
  content: '';
  width: 8px;
  height: 8px;
  background-color: var(--accent-primary);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px var(--accent-primary);
  animation: pulse-glow 2s infinite ease-in-out;
}

/* Layout Grid Container */
main {
  position: relative;
  z-index: 5;
  flex: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem 4rem 1.5rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

/* Hero Section (Left Column) */
.hero {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-tagline {
  font-family: var(--font-title);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent-secondary);
  text-transform: uppercase;
}

.hero h1 {
  font-family: var(--font-title);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero h1 span.highlight {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 520px;
}

/* Feature Grid */
.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: hsla(156, 72%, 48%, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px var(--accent-glow);
}

.feature-icon {
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: hsla(190, 90%, 50%, 0.1);
  color: var(--accent-secondary);
}

.feature-card:nth-child(even) .feature-icon {
  background: hsla(156, 72%, 48%, 0.1);
  color: var(--accent-primary);
}

.feature-card h2 {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 600;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Contact/Offer Card (Right Column) */
.offer-section {
  display: flex;
  justify-content: center;
}

.offer-card {
  width: 100%;
  max-width: 460px;
  background: hsla(223, 20%, 9%, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 1;
}

.offer-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.02) 100%);
  z-index: -1;
  pointer-events: none;
}

.offer-header {
  margin-bottom: 2rem;
}

.offer-header h3 {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.offer-header p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Contact Forms */
form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.input-wrapper {
  position: relative;
}

.input-wrapper svg {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.2rem;
  height: 1.2rem;
  color: var(--text-muted);
  pointer-events: none;
  transition: var(--transition-smooth);
}

.form-control {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 0.85rem 1rem 0.85rem 2.75rem;
  color: var(--text-main);
  transition: var(--transition-smooth);
}

textarea.form-control {
  padding-left: 1rem;
  resize: vertical;
  min-height: 100px;
}

.form-control:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 4px var(--accent-glow);
  background: rgba(0, 0, 0, 0.4);
}

.form-control:focus + svg {
  color: var(--accent-primary);
}

.form-control::placeholder {
  color: hsla(211, 20%, 70%, 0.4);
}

/* Interactive Currency Input Customization */
.currency-input {
  position: relative;
}

.currency-input .currency-symbol {
  position: absolute;
  left: 2.75rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--accent-secondary);
  pointer-events: none;
}

.currency-input .form-control {
  padding-left: 3.75rem;
}

/* Button & Actions */
.btn {
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 700;
  padding: 1rem 2rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: var(--accent-gradient);
  color: var(--text-inverse);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(156, 72, 48, 0.2), 0 0 15px var(--accent-glow);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:active {
  transform: translateY(1px);
}

/* Direct Contact Section inside card */
.direct-contact {
  margin-top: 1.75rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1.25rem;
  text-align: center;
}

.direct-contact p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.copy-email-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 0.6rem 1rem;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.copy-email-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-secondary);
  color: var(--accent-secondary);
}

.copy-email-btn svg {
  width: 1rem;
  height: 1rem;
}

/* Success Modal Dialog Styling */
dialog {
  margin: auto;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  background: var(--bg-card);
  color: var(--text-main);
  padding: 2.5rem;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.3s ease, transform 0.3s var(--ease-elastic);
}

dialog[open] {
  opacity: 1;
  transform: scale(1);
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

dialog[open]::backdrop {
  opacity: 1;
}

.dialog-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}

.success-icon {
  width: 4rem;
  height: 4rem;
  background: hsla(156, 72%, 48%, 0.1);
  color: var(--accent-primary);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 2rem;
  animation: scale-up 0.5s var(--ease-elastic) forwards;
}

.dialog-content h2 {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
}

.dialog-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.dialog-content button {
  width: 100%;
}

/* Footer Section */
footer {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1200px;
  margin: auto auto 0 auto;
  padding: 3rem 1.5rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

/* CSS Keyframe Animations */
@keyframes pulse-glow {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 10px var(--accent-primary);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.9);
    box-shadow: 0 0 4px var(--accent-primary);
  }
}

@keyframes scale-up {
  from {
    transform: scale(0.6);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Accessibility Focus Indicator */
:focus-visible {
  outline: 2px solid var(--accent-secondary);
  outline-offset: 4px;
}

/* Responsive Breakpoints */
@media (max-width: 968px) {
  main {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    padding-top: 2rem;
  }
  
  .hero {
    align-items: center;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 2.8rem;
  }
  
  .hero-desc {
    margin: 0 auto;
  }
  
  .features {
    width: 100%;
    max-width: 600px;
    margin: 1.5rem auto 0 auto;
  }
  
  .offer-section {
    width: 100%;
  }
  
  .offer-card {
    max-width: 550px;
    padding: 2rem;
  }
}

@media (max-width: 576px) {
  header {
    padding: 1.5rem 1rem;
  }
  
  main {
    gap: 2.5rem;
    padding: 1rem 1rem 3rem 1rem;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .features {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .offer-card {
    padding: 1.5rem;
  }
  
  footer {
    flex-direction: column;
    gap: 1.25rem;
    padding: 2rem 1rem;
    text-align: center;
  }
  
  .footer-links {
    justify-content: center;
  }
}
