@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  --primary: #4F2CC4;
  --primary-hover: #3C1FA3;
  --primary-light: #F4F1FE;
  --accent: #E5D5FC;
  --text-dark: #1E123F;
  --text-muted: #534D66;
  --bg-light: #FAF9FE;
  --bg-white: #FFFFFF;
  --border: #E8E5F4;
  --gradient-bg: linear-gradient(135deg, #4F2CC4 0%, #7B56EA 100%);
  --gradient-soft: linear-gradient(180deg, #F4F1FE 0%, #FFFFFF 100%);
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-serif: 'Playfair Display', serif;
  --font-text: 'Plus Jakarta Sans', sans-serif;
  --shadow-sm: 0 4px 6px -1px rgba(79, 44, 196, 0.05), 0 2px 4px -1px rgba(79, 44, 196, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(79, 44, 196, 0.08), 0 4px 6px -2px rgba(79, 44, 196, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(79, 44, 196, 0.1), 0 10px 10px -5px rgba(79, 44, 196, 0.04);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

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

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

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

button, input, select, textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* HEADER */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

header.shrink {
  padding: 10px 0;
  box-shadow: var(--shadow-sm);
}

.header-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.5px;
  color: var(--primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-cta {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--primary);
  color: var(--bg-white) !important;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 14px rgba(79, 44, 196, 0.25);
}

.nav-cta:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  border: none;
  background: none;
  padding: 8px;
  z-index: 1001;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-dark);
  transition: var(--transition);
}

/* HERO */
.hero {
  padding-top: 160px;
  padding-bottom: 100px;
  background: var(--gradient-soft);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-badge {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3.5rem;
  max-width: 900px;
  margin: 0 auto 24px auto;
  letter-spacing: -1.5px;
  line-height: 1.15;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 40px auto;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 60px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--bg-white);
  box-shadow: 0 6px 20px rgba(79, 44, 196, 0.3);
}

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

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

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

.hero-media {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-media img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 520px;
  object-fit: cover;
}

.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  list-style: none;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-stats li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-stats li::before {
  content: "•";
  color: var(--primary);
  font-weight: 800;
}

/* SECTION GENERAL */
.section {
  padding: 120px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-badge {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.5rem;
  letter-spacing: -1px;
  max-width: 700px;
  margin: 0 auto 20px auto;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* WHY US SECTIONS */
.why-section {
  background-color: var(--bg-white);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-text h3 {
  font-size: 2.25rem;
  letter-spacing: -1px;
  margin-bottom: 24px;
}

.why-text p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* BENEFITS CARD GRID */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.benefit-card {
  background: var(--bg-white);
  padding: 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--primary);
}

.benefit-card h4 {
  font-size: 1.15rem;
  margin-bottom: 16px;
}

.benefit-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* TESTIMONIAL BANNER FULL PURPLE */
.testimonial-banner {
  background: var(--gradient-bg);
  color: var(--bg-white);
  padding: 100px 0;
  text-align: center;
  position: relative;
}

.testimonial-quote {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-style: italic;
  max-width: 850px;
  margin: 0 auto 32px auto;
  line-height: 1.45;
}

.testimonial-author {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* CTA SECTION MID */
.cta-mid {
  background: #251368;
  color: var(--bg-white);
  padding: 100px 0;
  text-align: center;
}

.cta-mid h3 {
  color: #fff;
  font-size: 2.5rem;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.cta-mid p {
  font-size: 1.1rem;
  color: #DACDFE;
  max-width: 600px;
  margin: 0 auto 32px auto;
}

.cta-mid .btn-primary {
  background-color: var(--bg-white);
  color: var(--primary);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.cta-mid .btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
}

/* STATS SECTION */
.stats-section {
  background-color: var(--bg-light);
  padding: 80px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-card {
  background: var(--bg-white);
  padding: 40px 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.stat-num {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1;
}

.stat-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.stat-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* SERVICE CARDS GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.service-img-wrapper {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.service-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-card:hover .service-img-wrapper img {
  transform: scale(1.05);
}

.service-content {
  padding: 32px;
}

.service-content h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.service-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.service-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.service-link:hover {
  gap: 12px;
}

/* CONTACT SECTION */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contact-meta-list {
  margin-top: 32px;
  list-style: none;
}

.contact-meta-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-meta-item svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.contact-meta-item .item-title {
  font-weight: 600;
  display: block;
  font-size: 1.05rem;
}

.contact-meta-item .item-val {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-form-box {
  background: var(--bg-white);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  background-color: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(79, 44, 196, 0.1);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 24px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.form-checkbox input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
}

.form-checkbox a {
  color: var(--primary);
  text-decoration: underline;
}

.form-error-msg {
  color: #DC2626;
  font-size: 0.85rem;
  margin-top: 4px;
  display: none;
}

/* SYSTEM MAP WORKAROUND */
.map-wrapper {
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-top: 40px;
  border: 1px solid var(--border);
}

/* SYSTEM COOKIE POLICY BANNER */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left:0;
  width: 100%;
  background-color: var(--bg-white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -10px 40px rgba(0,0,0,0.06);
  z-index: 9999;
  padding: 32px 0;
  transform: translateY(100%);
  transition: transform 0.4s ease-out;
}

#cookie-banner.show {
  transform: translateY(0);
}

.cookie-box-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.cookie-text {
  flex: 1;
}

.cookie-text h4 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.cookie-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.cookie-options {
  display: flex;
  gap: 20px;
  margin-top: 16px;
}

.cookie-opt-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
}

.cookie-opt-label input {
  accent-color: var(--primary);
}

.cookie-btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 240px;
}

.cookie-btns button {
  padding: 12px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 9999px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
}

#cookie-accept-all {
  background-color: var(--primary);
  color: var(--bg-white);
}

#cookie-accept-all:hover {
  background-color: var(--primary-hover);
}

#cookie-reject-all {
  background-color: var(--bg-light);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

#cookie-reject-all:hover {
  background-color: var(--border);
}

#cookie-save-settings {
  background-color: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

#cookie-save-settings:hover {
  background-color: var(--primary-light);
}

/* BLOG STUFF */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.blog-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.blog-card-img {
  height: 200px;
  overflow: hidden;
}

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

.blog-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-date {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.blog-card-title {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.blog-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.blog-card-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ARTICLE LAYOUT */
.article-layout {
  padding-top: 160px;
  padding-bottom: 120px;
  background: var(--bg-white);
}

.article-header {
  max-width: 800px;
  margin: 0 auto 48px auto;
  text-align: center;
}

.article-title-lg {
  font-size: 3rem;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.article-meta {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.article-banner-wrapper {
  max-width: 1000px;
  margin: 0 auto 60px auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.article-banner-wrapper img {
  width: 100%;
  display: block;
  max-height: 500px;
  object-fit: cover;
}

.article-rich-text {
  max-width: 740px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: var(--text-dark);
  line-height: 1.8;
}

.article-rich-text p {
  margin-bottom: 24px;
}

.article-rich-text h2, .article-rich-text h3 {
  margin-top: 48px;
  margin-bottom: 16px;
}

.article-rich-text blockquote {
  border-left: 4px solid var(--primary);
  padding-left: 24px;
  font-style: italic;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin: 40px 0;
  color: var(--primary);
}

.article-rich-text ul {
  margin-bottom: 24px;
  padding-left: 24px;
}

.article-rich-text li {
  margin-bottom: 12px;
}

/* LEGAL PAGES */
.legal-layout {
  padding-top: 160px;
  padding-bottom: 120px;
  background-color: var(--bg-white);
}

.legal-layout h1 {
  font-size: 2.75rem;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.legal-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 60px;
}

.legal-content {
  max-width: 800px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.legal-content h2 {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-top: 48px;
  margin-bottom: 16px;
}

.legal-content h3 {
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal-content p {
  margin-bottom: 16px;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

.legal-table th,
.legal-table td {
  padding: 12px 16px;
  border: 1px solid var(--border);
  text-align: left;
  font-size: 0.9rem;
}

.legal-table th {
  background-color: var(--bg-light);
  color: var(--text-dark);
  font-weight: 600;
}

/* ACCORDION FAQ */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
}

.faq-trigger svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: var(--transition);
}

.faq-item.active .faq-trigger svg {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-content div {
  padding-bottom: 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* FOOTER */
footer {
  background-color: #1a0f3d;
  color: var(--bg-white);
  padding: 80px 0 40px 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr;
  gap: 80px;
  margin-bottom: 60px;
}

.footer-brand .logo {
  color: var(--bg-white);
  margin-bottom: 24px;
}

.footer-brand p {
  color: #B5AFC2;
  font-size: 0.9rem;
  max-width: 300px;
}

.footer-nav-col h4 {
  color: var(--bg-white);
  font-size: 1rem;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-nav-col ul {
  list-style: none;
}

.footer-nav-col li {
  margin-bottom: 12px;
}

.footer-nav-col a {
  color: #B5AFC2;
  font-size: 0.9rem;
}

.footer-nav-col a:hover {
  color: var(--bg-white);
}

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid #2d2159;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #8C84A3;
}

.footer-legal-links {
  display: flex;
  gap: 24px;
}

.footer-legal-links a, .cookie-settings-trigger {
  color: #8C84A3;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 0.85rem;
  font-family: inherit;
}

.footer-legal-links a:hover, .cookie-settings-trigger:hover {
  color: var(--bg-white);
  text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid, .blog-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .burger {
    display: flex;
  }
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    flex-direction: column;
    padding: 40px 24px;
    gap: 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transform: translateY(-150%);
    transition: var(--transition);
    z-index: 999;
  }
  .nav-menu.open {
    transform: translateY(0);
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .why-grid, .contact-grid, .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .benefit-grid, .services-grid, .blog-grid, .stats-grid {
    grid-template-columns: 1fr;
  }
  .cookie-box-flex {
    flex-direction: column;
    gap: 24px;
  }
  .cookie-btns {
    width: 100%;
  }
  .footer-top {
    text-align: center;
  }
  .footer-brand p {
    margin: 0 auto;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  .footer-legal-links {
    flex-direction: column;
    gap: 12px;
  }
}

/* SCROLL REVEAL CLASS */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}