:root {
  --primary-color: #6A2C70;
  --secondary-color: #4B1A52;
  --accent-color: #B05DBF;
  --light-color: #F8F0FA;
  --dark-color: #1E0A21;
  --gradient-primary: linear-gradient(135deg, #6A2C70 0%, #B05DBF 100%);
  --hover-color: #4B1A52;
  --background-color: #FBF6FC;
  --text-color: #2A1230;
  --border-color: rgba(106, 44, 112, 0.16);
  --divider-color: rgba(106, 44, 112, 0.12);
  --shadow-color: rgba(30, 10, 33, 0.10);
  --highlight-color: #F2D57F;
  --main-font: 'Montserrat', sans-serif;
  --alt-font: 'Inter', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; width: 100%; }

body {
  font-family: var(--alt-font);
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.75;
  margin: 0; padding: 0;
  width: 100%; min-width: 320px;
}

img { max-width: 100%; height: auto; }

.container {
  width: 100%; max-width: 1200px;
  margin: 0 auto; padding: 0 1rem;
}

h1, h2, h3 {
  font-family: var(--main-font);
  font-weight: 700; color: var(--primary-color);
  margin: 0 0 1rem 0;
}

h1 { font-size: clamp(1.9rem, 5vw, 3.4rem); line-height: 1.2; }
h2 { font-size: clamp(1.4rem, 4vw, 2.3rem); line-height: 1.3; }
h3 { font-size: clamp(1.05rem, 3vw, 1.28rem); line-height: 1.4; }

p { margin: 0 0 1rem 0; font-size: clamp(1rem, 2vw, 1.1rem); line-height: 1.8; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; cursor: pointer;
  padding: 10px; background: rgba(255,255,255,0.96);
  border-radius: 4px; border: 1px solid var(--border-color);
}
.hamburger .line {
  width: 22px; height: 2px;
  background: var(--primary-color);
  margin: 2px 0; transition: 0.3s; border-radius: 1px;
}
#menu-toggle { display: none; }
#menu-toggle:checked ~ .mobile-nav { max-height: 400px; opacity: 1; }

.mobile-nav {
  position: absolute; top: 100%; left: 0; right: 0;
  background: rgba(255,255,255,0.98);
  max-height: 0; overflow: hidden; opacity: 0;
  transition: all 0.3s ease;
  border-bottom: 1px solid var(--border-color); z-index: 1000;
}
.mobile-nav ul { padding: 2rem; margin: 0; list-style: none; }
.mobile-nav li { margin: 1rem 0; }
.mobile-nav a {
  display: block; padding: 0.8rem 0;
  color: var(--text-color); text-decoration: none;
  font-size: 1rem; font-weight: 500;
  border-bottom: 1px solid transparent; transition: all 0.3s ease;
}
.mobile-nav a:hover { color: var(--primary-color); border-bottom-color: var(--primary-color); }

/* Header */
header {
  background: rgba(251, 246, 252, 0.97);
  padding: 1.2rem 0; position: relative;
  z-index: 1000; box-shadow: 0 2px 16px var(--shadow-color);
}
header .container { display: flex; align-items: center; justify-content: space-between; }
.logo img { height: 3rem; width: auto; }

.navigation ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 2rem; }
.navigation a {
  text-decoration: none; color: var(--text-color);
  font-weight: 600; font-size: 0.95rem; transition: color 0.3s ease;
}
.navigation a:hover { color: var(--primary-color); }

/* Feature cards — two-column tile grid with colored top border */
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  width: 100%;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-top: 4px solid var(--accent-color);
  border-radius: 12px;
  padding: 2rem 1.8rem 1.6rem;
  box-shadow: 0 3px 14px var(--shadow-color);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(106, 44, 112, 0.18);
  border-top-color: var(--primary-color);
}
.feature-icon {
  width: 54px; height: 54px;
  background: rgba(176, 93, 191, 0.12);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary-color);
  transition: all 0.3s ease;
  margin: 0;
}
.feature-card:hover .feature-icon {
  background: var(--gradient-primary); color: white;
}
.feature-card h3 { margin: 0; }
.feature-card p { margin: 0; font-size: 0.97rem; color: var(--text-color); }
.card-text { width: 100%; }

/* Testimonials */
.testimonial {
  background: #fff; border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 3px 14px var(--shadow-color);
  border-left: 4px solid var(--accent-color);
  width: 100%; transition: all 0.3s ease;
}
.testimonial:hover { transform: translateY(-3px); box-shadow: 0 7px 24px rgba(106,44,112,0.16); }

/* FAQ */
.faq-item {
  background: #fff; border: 1px solid var(--border-color);
  border-radius: 10px; margin: 1rem 0;
  padding: 1.8rem 2rem; width: 100%;
  box-shadow: 0 2px 10px var(--shadow-color); transition: all 0.3s ease;
  position: relative;
}
.faq-item::before {
  content: '';
  position: absolute; top: 0; left: 0; bottom: 0;
  width: 4px;
  background: var(--gradient-primary);
  border-radius: 10px 0 0 10px;
}
.faq-item:hover { box-shadow: 0 4px 18px rgba(106,44,112,0.14); }

/* Form */
input, textarea {
  font-family: var(--alt-font);
  border: 2px solid var(--border-color); border-radius: 8px;
  padding: 0.9rem 1.1rem; background: #fff;
  color: var(--text-color); font-size: 1rem;
  width: 100%; transition: all 0.3s ease;
}
input:focus, textarea:focus {
  outline: none; border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(106, 44, 112, 0.12);
}

/* Buttons */
.btn, button[type="submit"] {
  background: var(--gradient-primary);
  color: white; border: none;
  padding: 1rem 2rem; border-radius: 8px;
  font-weight: 700; font-family: var(--alt-font);
  cursor: pointer; font-size: 1rem;
  text-decoration: none; display: inline-block;
  text-align: center;
  box-shadow: 0 3px 14px rgba(106, 44, 112, 0.28);
  transition: all 0.3s ease;
}
.btn:hover, button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(106, 44, 112, 0.40);
}

/* Contact */
.contact-wrapper { width: 80%; margin: 0 auto; }

/* Pattern — crosshatch grid */
.pattern-bg {
  background-image:
    linear-gradient(rgba(106, 44, 112, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(106, 44, 112, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* Random block — hourly timeline */
.timeline-block {
  padding: 5rem 0;
  background-color: #1E0A21;
  color: #F8F0FA;
}
.timeline-block h2 { color: #fff; }
.timeline-block > .container > .text-center p { color: rgba(248,240,250,0.80); }

.timeline {
  position: relative;
  margin-top: 3rem;
  padding-left: 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: rgba(176, 93, 191, 0.35);
  transform: translateX(-50%);
}
.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2.4rem;
  position: relative;
}
.timeline-item:nth-child(odd) {
  flex-direction: row;
  padding-right: calc(50% + 2rem);
}
.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
  padding-left: calc(50% + 2rem);
}
.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--main-font);
  font-weight: 700; font-size: 0.82rem;
  color: white;
  flex-shrink: 0;
  border: 3px solid #1E0A21;
  z-index: 1;
}
.timeline-content {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(176, 93, 191, 0.20);
  border-radius: 12px;
  padding: 1.4rem 1.6rem;
  flex: 1;
}
.timeline-content h3 {
  color: var(--highlight-color);
  font-size: 1rem; margin-bottom: 0.4rem;
}
.timeline-content p {
  color: rgba(248,240,250,0.85);
  font-size: 0.93rem; margin: 0; line-height: 1.6;
}

@media (max-width: 768px) {
  .features-grid { grid-template-columns: 1fr; }
  .hamburger { display: flex; }
  .navigation { display: none; }
  .mobile-nav { display: block; }
  .contact-wrapper { width: 100%; }
  .grid-2col { grid-template-columns: 1fr !important; }
  .timeline::before { left: 20px; }
  .timeline-item,
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    flex-direction: column;
    padding-left: 56px;
    padding-right: 0;
  }
  .timeline-dot {
    left: 20px;
  }
}
@media (max-width: 480px) {
  .container { padding: 0 0.75rem; }
}

a:focus, button:focus, input:focus, textarea:focus {
  outline: 2px solid var(--accent-color); outline-offset: 2px;
}