:root {
  --primary: #4f46e5; /* Indigo */
  --primary-dark: #4338ca;
  --secondary: #0f172a; /* Slate 900 */
  --accent: #f43f5e; /* Rose */
  --bg: #f8fafc; /* Slate 50 */
  --surface: #ffffff;
  --text: #334155; /* Slate 700 */
  --text-head: #0f172a;
  --border: #e2e8f0;
  --font-head: "Outfit", sans-serif;
  --font-body: "DM Sans", sans-serif;
  --radius: 16px;
  --shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius);
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  color: var(--text-head);
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -1px;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.center {
  text-align: center;
}
.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: white;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 500;
  transition: 0.3s;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

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

.btn-pill.lg {
  padding: 16px 36px;
  font-size: 18px;
}

.btn-pill.small {
  padding: 8px 20px;
  font-size: 14px;
}

.btn-link {
  font-weight: 700;
  color: var(--text-head);
}

.btn-link:hover {
  color: var(--primary);
}

.btn-link.lg {
  font-size: 18px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 15px 0;
}

.h-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-text {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 22px;
  color: var(--text-head);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-weight: 500;
  color: var(--text);
  position: relative;
}

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

.h-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.lnk-contact {
  font-weight: 500;
}

.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-head);
}

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--surface);
  z-index: 2000;
  padding: 24px;
  transform: translateX(100%);
  transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.mobile-nav.active {
  transform: translateX(0);
}

.mn-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.mn-brand {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 24px;
}

.icon-btn {
  background: none;
  border: none;
  cursor: pointer;
}

.mn-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
}

.mn-list a {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  color: var(--text-head);
}

.mn-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
}

.mn-btn {
  display: block;
  background: var(--text-head);
  color: white;
  padding: 16px;
  border-radius: var(--radius);
  font-weight: 700;
  margin-bottom: 16px;
}

/* Hero */
.hero {
  padding-top: 140px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.hero-blob {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 120%;
  background: radial-gradient(
    circle,
    rgba(79, 70, 229, 0.1) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  z-index: -1;
}

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

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--primary);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.hero-sub {
  font-size: 18px;
  color: #64748b;
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-btns {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
}

.avatars {
  display: flex;
}

.av {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #cbd5e1;
  border: 2px solid white;
  margin-left: -10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-head);
}

.av:first-child {
  margin-left: 0;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-trust p {
  font-size: 14px;
  font-weight: 600;
}

.app-card {
  background: var(--surface);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.5);
  overflow: hidden;
  position: relative;
}

.ac-header {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fafafa;
}

.ac-dots {
  display: flex;
  gap: 6px;
}
.ac-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e2e8f0;
}

.ac-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 300px;
}

.msg {
  padding: 12px 18px;
  border-radius: 18px;
  font-size: 15px;
  max-width: 80%;
}

.msg.bot {
  background: #f1f5f9;
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}

.msg.user {
  background: var(--primary);
  color: white;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}

.floating-badge {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--text-head);
  color: white;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.feat-card {
  background: var(--surface);
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: 0.3s;
}

.feat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.fc-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: white;
}

.purple {
  background: #8b5cf6;
}
.blue {
  background: #3b82f6;
}
.pink {
  background: #ec4899;
}
.green {
  background: #10b981;
}

.feat-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.feat-card p {
  font-size: 15px;
  color: #64748b;
}

/* Guides / How it works */
.bg-soft {
  background: #f1f5f9;
}

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

.lead {
  font-size: 20px;
  margin-bottom: 40px;
  color: var(--text-head);
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.step-item {
  display: flex;
  gap: 20px;
}

.step-num {
  width: 40px;
  height: 40px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--primary);
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.step-item h4 {
  font-size: 18px;
  margin-bottom: 6px;
}

.sw-image {
  position: relative;
}

.overlay-tag {
  position: absolute;
  bottom: 30px;
  right: -20px;
  background: var(--surface);
  padding: 12px 24px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: #10b981;
}

/* Blog */
.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
}

.sec-head.center {
  display: block;
  text-align: center;
}

.link-more {
  font-weight: 700;
  color: var(--primary);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-post {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: 0.3s;
}

.blog-post:hover {
  box-shadow: var(--shadow);
}

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

.bp-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: 0.5s;
}

.blog-post:hover .bp-img img {
  transform: scale(1.05);
}

.bp-body {
  padding: 24px;
}

.bp-date {
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 12px;
  display: block;
}

.bp-body h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.bp-body p {
  font-size: 15px;
  color: #64748b;
  margin-bottom: 20px;
}

.bp-read {
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  color: var(--primary);
}

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

.mb-50 {
  margin-bottom: 50px;
}

.faq-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid var(--border);
}

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

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

.faq-content p {
  padding: 0 24px 24px;
  color: #64748b;
}

/* Contact */
.contact-card-wrap {
  background: var(--surface);
  border-radius: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  overflow: hidden;
}

.cc-info {
  background: var(--text-head);
  color: white;
  padding: 60px;
}

.cc-info h2 {
  color: white;
  margin-bottom: 20px;
}

.cc-info p {
  color: #cbd5e1;
  margin-bottom: 40px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 500;
}

.cc-form {
  padding: 60px;
}

.form-group {
  margin-bottom: 24px;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-head);
}

.form-group input {
  width: 100%;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 16px;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
}

.err-msg {
  position: absolute;
  bottom: -20px;
  left: 0;
  font-size: 12px;
  color: #ef4444;
  display: none;
}

.form-group.error input {
  border-color: #ef4444;
}

.form-group.error .err-msg {
  display: block;
}

.form-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 30px;
}

.form-check input {
  width: 20px;
  height: 20px;
  margin-top: 3px;
}

.form-check label {
  font-size: 13px;
  color: #64748b;
}

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

.btn-submit {
  width: 100%;
  background: var(--primary);
  color: white;
  border: none;
  padding: 16px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
}

.btn-submit:hover {
  background: var(--primary-dark);
}

/* Footer */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 80px 0 20px;
}

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

.f-brand {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 800;
  color: var(--text-head);
}

.f-brand p {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: #64748b;
  margin-top: 10px;
}

.f-nav-col h5 {
  font-size: 14px;
  color: #94a3b8;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.f-nav-col a {
  display: block;
  margin-bottom: 12px;
  color: var(--text-head);
  font-weight: 500;
}

.f-nav-col a:hover {
  color: var(--primary);
}

.footer-btm {
  text-align: center;
  font-size: 13px;
  color: #94a3b8;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

/* Cookie */
.cookie-popup {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--text-head);
  color: white;
  padding: 20px;
  border-radius: 16px;
  z-index: 9000;
  display: none;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  max-width: 320px;
}

.cb-content p {
  margin-bottom: 16px;
  font-size: 14px;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
  .hero-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-btns {
    justify-content: center;
  }
  .hero-trust {
    justify-content: center;
  }
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
  .split-wrapper {
    grid-template-columns: 1fr;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .contact-card-wrap {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .h-actions .lnk-contact,
  .h-actions .btn-pill {
    display: none;
  }
  .burger {
    display: block;
  }
  .hero h1 {
    font-size: 2.8rem;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
}

.pages {
  padding: 120px 0;
}

.pages-wrap {
  max-width: 1000px;
  padding: 0 20px;
  margin: 0 auto 20px;
}

.pages h1 {
  font-size: 40px;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 40px;
  margin-top: 40px;
  text-align: center;
}

.text-wrapper {
  background: #f8fafc;
  padding: 50px 40px;
  border-radius: 20px;
  line-height: 1.8;
}

.text-wrapper h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1e293b;
  margin-top: 40px;
  margin-bottom: 15px;
  border-bottom: 2px solid rgba(99, 102, 241, 0.2);
  padding-bottom: 5px;
}

.text-wrapper h3 {
  color: #000000;
  margin-bottom: 20px;
}

.text-wrapper p {
  color: #64748b;
  margin-bottom: 20px;
}

.text-wrapper ul {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.text-wrapper ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 15px;
  color: #1e293b;
}

.text-wrapper ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  font-size: 20px;
  line-height: 1;
  color: var(--primary);
  top: 0;
}

.text-wrapper strong {
  color: var(--color-error);
}

.text-wrapper a {
  color: #001eff;
  text-decoration: underline;
  font-weight: 600;
}

.text-wrapper ol {
  display: flex;
  flex-direction: column;
  padding: 20px;
  color: #000000;
}

.margin {
  margin: 120px 0 50px;
  font-size: 40px;
  color: var(--ink);
}

@media (max-width: 768px) {
  .pages {
    padding: 100px 0 60px;
  }
  .pages h1 {
    font-size: 20px;
    margin-bottom: 30px;
  }
  .text-wrapper {
    padding: 30px 20px;
  }
  .text-wrapper h2 {
    font-size: 24px !important;
    margin-top: 30px;
  }
  .margin {
    font-size: 28px;
  }
}

/* --- CONTACT PAGE SPECIFIC STYLES --- */
.contact-page-main {
  padding-top: 180px;
  padding-bottom: 120px;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cp-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 400;
  letter-spacing: -2px;
  color: var(--accent);
  margin-bottom: 30px;
  line-height: 1;
}

.cp-divider {
  width: 60px;
  height: 1px;
  background-color: var(--accent);
  margin: 0 auto 40px auto;
}

.cp-status {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--text-muted);
  border: 1px solid var(--line);
  display: inline-block;
  padding: 10px 20px;
  margin-bottom: 60px;
  background: #fcfcfc;
}

.cp-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.cp-label {
  font-family: var(--font-sans);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: var(--text-muted);
}

.cp-phone-link {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--accent);
  line-height: 1.2;
  border-bottom: 2px solid transparent;
  transition: 0.3s;
  margin-bottom: 40px;
}

.cp-phone-link:hover {
  border-bottom-color: var(--accent);
  opacity: 0.8;
}

.cp-address-box {
  border-top: 1px solid var(--line);
  padding-top: 40px;
  width: 100%;
  max-width: 400px;
}

.cp-addr {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 10px;
}

.cp-email {
  font-family: var(--font-sans);
  color: var(--text-muted);
  font-size: 1rem;
}

.cp-email a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cp-email a:hover {
  color: var(--accent);
}

@media (max-width: 600px) {
  .contact-page-main {
    padding-top: 140px;
    text-align: center;
  }

  .cp-phone-link {
    font-size: 2rem;
  }
}
