:root {
  --coral: #FF6F61;
  --purple: #6B5B95;
  --green: #88B04B;
  --pink: #F7CAC9;
  --blue: #92A8D1;
  --white: #FFFFFF;
  --light: #FFF9F7;
  --dark: #2C2C2C;
  --gray: #F0F0F0;
  
  --font-display: 'Fredoka', sans-serif;
  --font-body: 'Karla', sans-serif;
  
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 2rem;
  --radius-full: 50%;
  
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
  
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--dark);
  background: var(--light);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

h1 {
  font-size: 2.2rem;
}

h2 {
  font-size: 1.8rem;
}

h3 {
  font-size: 1.4rem;
}

h4 {
  font-size: 1.1rem;
}

p {
  margin-bottom: var(--space-sm);
}

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

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

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

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

.btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-base);
  text-align: center;
}

.btn-primary {
  background: var(--coral);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--purple);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
  background: var(--purple);
  color: var(--white);
  transform: translateY(-2px);
}

header {
  position: relative;
  background: var(--white);
  padding: var(--space-sm) 0;
  box-shadow: var(--shadow-sm);
  z-index: 1000;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--coral);
  transition: var(--transition-base);
}

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

.logo img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
}

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

.nav-links {
  display: flex;
  list-style: none;
  gap: var(--space-md);
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark);
  padding: 0.5rem 0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--coral);
  transition: var(--transition-base);
}

.nav-links a:hover::after {
  width: 100%;
}

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

.burger span {
  width: 25px;
  height: 3px;
  background: var(--coral);
  border-radius: var(--radius-sm);
  transition: var(--transition-base);
}

.burger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

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

.burger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.hero {
  position: relative;
  padding: var(--space-xl) 0;
  background: linear-gradient(135deg, var(--pink) 0%, var(--blue) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
}

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

.hero h1 {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: var(--space-md);
  animation: fadeInUp 0.8s ease;
}

.hero p {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: var(--space-md);
  animation: fadeInUp 1s ease;
}

.hero-cta {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1.2s ease;
}

.fragment-collage {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  animation: fadeIn 1.4s ease;
}

.fragment {
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
}

.fragment:hover {
  transform: scale(1.05) rotate(2deg);
  box-shadow: var(--shadow-lg);
}

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

section {
  padding: var(--space-lg) 0;
}

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

.section-header h2 {
  color: var(--purple);
  margin-bottom: var(--space-sm);
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  align-items: center;
}

.column-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
}

.column-img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

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

.feature-card {
  background: var(--white);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

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

.feature-card h3 {
  color: var(--purple);
  margin-bottom: var(--space-xs);
}

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

.price-card {
  background: var(--white);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
  text-align: center;
  border: 3px solid transparent;
}

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

.price-card.featured {
  border-color: var(--green);
  background: linear-gradient(135deg, var(--pink) 0%, var(--blue) 100%);
  color: var(--white);
}

.price-card.featured h3,
.price-card.featured .price {
  color: var(--white);
}

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

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

.price-features li {
  padding: var(--space-xs) 0;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.price-features li::before {
  content: '✓';
  color: var(--green);
  font-weight: bold;
  font-size: 1.2rem;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

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

.form-group label {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  margin-bottom: var(--space-xs);
  color: var(--purple);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.7rem;
  border: 2px solid var(--gray);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

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

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

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 0.3rem;
}

.checkbox-group label {
  flex: 1;
  font-size: 0.85rem;
  margin-bottom: 0;
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: var(--space-md);
}

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

footer {
  background: var(--purple);
  color: var(--white);
  padding: var(--space-md) 0;
  margin-top: var(--space-xl);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-menu {
  display: flex;
  list-style: none;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.footer-menu a {
  color: var(--white);
  font-size: 0.85rem;
}

.footer-menu a:hover {
  color: var(--pink);
}

.copyright {
  font-size: 0.85rem;
  opacity: 0.9;
}

.privacy-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  padding: var(--space-md);
  box-shadow: 0 -4px 16px rgba(0,0,0,0.1);
  z-index: 9999;
  transform: translateY(100%);
  transition: var(--transition-base);
}

.privacy-popup.show {
  transform: translateY(0);
}

.privacy-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}

.privacy-text {
  flex: 1;
  font-size: 0.9rem;
}

.privacy-text a {
  text-decoration: underline;
}

.privacy-actions {
  display: flex;
  gap: var(--space-sm);
}

.thank-you-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--pink) 0%, var(--blue) 100%);
  text-align: center;
  padding: var(--space-md);
}

.thank-you-content {
  background: var(--white);
  padding: 1rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 600px;
}

.thank-you-content h1 {
  color: var(--coral);
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
}

.thank-you-icon {
  font-size: 4rem;
  color: var(--green);
  margin-bottom: var(--space-md);
}

.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--coral) 0%, var(--purple) 100%);
  text-align: center;
  padding: var(--space-md);
}

.error-content {
  background: var(--white);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 600px;
}

.error-content h1 {
  font-size: 5rem;
  color: var(--coral);
  margin-bottom: var(--space-sm);
}

.error-content h2 {
  color: var(--purple);
  margin-bottom: var(--space-md);
}

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

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

@media (max-width: 768px) {
  :root {
    --space-lg: 2rem;
    --space-xl: 3rem;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: var(--space-md);
    box-shadow: var(--shadow-md);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .burger {
    display: flex;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .fragment-collage {
    grid-template-columns: 1fr;
  }
  
  .two-column {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-menu {
    justify-content: center;
  }
  
  .privacy-content {
    flex-direction: column;
    text-align: center;
  }
  
  .privacy-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .privacy-actions .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 0.9rem;
  }
  
  .container {
    padding: 0 var(--space-sm);
  }
  
  section {
    padding: var(--space-md) 0;
  }
  
  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }
  
  .features {
    grid-template-columns: 1fr;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 350px) {
  :root {
    --space-sm: 0.75rem;
    --space-md: 1.5rem;
  }
  
  h1 {
    font-size: 1.5rem;
  }
  
  h2 {
    font-size: 1.3rem;
  }
  
  .logo {
    font-size: 1.1rem;
  }
  
  .hero h1 {
    font-size: 1.6rem;
  }
}
