@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700&family=Space+Grotesk:wght@300;400;500;600&display=swap');

:root {
  --color-primary: #6B4CE6;
  --color-secondary: #FF6B9D;
  --color-accent: #4ECDC4;
  --color-dark: #1A1A2E;
  --color-light: #F8F9FA;
  --color-text: #2D3142;
  --color-text-light: #5A6176;
  --color-white: #FFFFFF;
  --color-success: #2EC4B6;
  --color-warning: #FFB703;
  --color-error: #EF476F;
  --color-border: #E8EBF0;
  --color-overlay: rgba(26, 26, 46, 0.85);
  --color-hover: #5841C4;

  --font-primary: 'Syne', sans-serif;
  --font-secondary: 'Space Grotesk', sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-xxl: 4rem;

  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;

  --shadow-sm: 0 2px 8px rgba(107, 76, 230, 0.08);
  --shadow-md: 0 4px 16px rgba(107, 76, 230, 0.12);
  --shadow-lg: 0 8px 32px rgba(107, 76, 230, 0.16);
  --shadow-xl: 0 16px 48px rgba(107, 76, 230, 0.2);

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-secondary);
  color: var(--color-text);
  background-color: var(--color-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-dark);
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: var(--space-md);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: var(--space-md);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: var(--space-sm);
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  margin-bottom: var(--space-sm);
}

h5 {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  margin-bottom: var(--space-sm);
}

h6 {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  margin-bottom: var(--space-sm);
}

p {
  margin-bottom: var(--space-sm);
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  color: var(--color-text-light);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

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

.header-wrapper {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, rgba(107, 76, 230, 0.95), rgba(255, 107, 157, 0.95));
  backdrop-filter: blur(10px);
  transform-origin: top;
  transition: transform var(--transition-normal);
}

.header-wrapper.header-hidden {
  transform: translateY(-100%);
}

.header-main {
  padding: var(--space-sm) 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm);
}

.logo-link {
  font-family: var(--font-primary);
  font-size: clamp(1rem, 3vw, 1.5rem);
  font-weight: 700;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: transform var(--transition-fast);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.logo-link:hover {
  color: var(--color-white);
  transform: scale(1.05);
}

.nav-main {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-list {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

.nav-link {
  color: var(--color-white);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast);
}

.nav-link:hover {
  color: var(--color-white);
  background-color: rgba(255, 255, 255, 0.1);
}

.burger-btn {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.burger-line {
  width: 1.5rem;
  height: 2px;
  background-color: var(--color-white);
  transition: all var(--transition-fast);
  border-radius: 2px;
}

.burger-btn.active .burger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger-btn.active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger-btn.active .burger-line:nth-child(3) {
  transform: rotate(-45deg) translate(3px, -3px);
}

.hero-section {
  padding: var(--space-xxl) 0;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-section h1 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.hero-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: var(--space-lg);
}

.section-standard {
  padding: var(--space-xl) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-light);
  max-width: 700px;
  margin: 0 auto var(--space-lg);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-md);
}

.card-item {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  border: 1px solid var(--color-border);
}

.card-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
  color: var(--color-dark);
}

.card-text {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.img-wrapper {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

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

.price-card {
  background: linear-gradient(135deg, var(--color-white), var(--color-light));
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--color-border);
  transition: all var(--transition-normal);
}

.price-card:hover {
  border-color: var(--color-primary);
  transform: scale(1.03);
}

.price-tag {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: var(--space-sm) 0;
  font-family: var(--font-primary);
}

.price-features {
  text-align: left;
  margin: var(--space-md) 0;
}

.price-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9rem;
}

.price-features li:last-child {
  border-bottom: none;
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--color-dark);
  font-size: 0.9rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-secondary);
  font-size: 0.9rem;
  transition: border-color var(--transition-fast);
  background-color: var(--color-white);
}

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

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

.checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.form-checkbox {
  margin-top: 0.25rem;
  cursor: pointer;
  width: 1.1rem;
  height: 1.1rem;
}

.checkbox-label {
  font-size: 0.85rem;
  color: var(--color-text-light);
  cursor: pointer;
}

.contact-info-wrapper {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--color-primary);
  flex-shrink: 0;
}

.contact-details {
  flex: 1;
}

.contact-label {
  font-size: 0.8rem;
  color: var(--color-text-light);
  display: block;
  margin-bottom: 0.25rem;
}

.contact-value {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-dark);
  word-break: break-word;
}

.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: var(--space-lg);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.footer-main {
  background-color: var(--color-dark);
  color: var(--color-white);
  padding: var(--space-lg) 0 var(--space-sm);
  margin-top: var(--space-xxl);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: var(--space-sm);
}

.footer-links {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.footer-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-white);
}

.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-overlay);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: var(--space-md);
}

.popup-overlay.active {
  display: flex;
}

.popup-content {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-xl);
}

.popup-close {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-text);
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color var(--transition-fast);
}

.popup-close:hover {
  background-color: var(--color-border);
}

.popup-title {
  margin-bottom: var(--space-md);
  padding-right: var(--space-lg);
}

.popup-text {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: var(--space-sm);
}

.error-page-wrapper {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--space-xl) var(--space-md);
}

.error-number {
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--space-md);
}

.thankyou-wrapper {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--space-xl) var(--space-md);
}

.thankyou-icon {
  font-size: 5rem;
  color: var(--color-success);
  margin-bottom: var(--space-md);
}

.policy-section {
  padding: var(--space-xl) 0;
}

.policy-content {
  max-width: 900px;
  margin: 0 auto;
  background-color: var(--color-white);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.policy-content h2 {
  margin-top: var(--space-lg);
  color: var(--color-primary);
}

.policy-content h3 {
  margin-top: var(--space-md);
}

.policy-content p,
.policy-content ul {
  margin-bottom: var(--space-sm);
  font-size: 0.95rem;
}

.policy-content ul {
  list-style: disc;
  padding-left: var(--space-lg);
}

.policy-content li {
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  :root {
    --space-xs: 0.375rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-xxl: 2.5rem;
  }

  .logo-link {
    font-size: clamp(0.9rem, 4vw, 1.2rem);
    letter-spacing: 0.5px;
  }

  .burger-btn {
    display: flex;
  }

  .nav-main {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    padding: var(--space-xl) var(--space-md);
    transition: right var(--transition-normal);
    box-shadow: var(--shadow-xl);
    display: none;
  }

  .nav-main.active {
    right: 0;
    display: block;
  }

  .nav-list {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .nav-link {
    display: block;
    width: 100%;
    padding: 0.75rem;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.85rem;
  }

  .popup-content {
    padding: var(--space-md);
  }

  .map-container {
    height: 300px;
  }
}

@media (max-width: 320px) {
  html {
    font-size: 13px;
  }

  .logo-link {
    font-size: 0.85rem;
    letter-spacing: 0.3px;
  }

  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
}