:root {
  --page-width: 1280px;
  --content-width: 1224px;
  --content-padding: 28px;

  --color-white: #FFFFFF;
  --color-bg: #FAFAFB;
  --color-text: #202124;
  --color-muted: #4B5563;
  --color-border: #EEF0F4;

  --color-purple: #6257EA;
  --color-purple-light: #9D55F5;
  --color-purple-dark: #4B49C8;

  --radius-lg: 32px;
  --radius-md: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 56px, var(--content-width));
  margin: 0 auto;
}

/* Header */

.site-header {
  height: 80px;
  background: var(--color-white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.header-inner {
  max-width: var(--page-width);
  height: 80px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  width: 210.3px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.main-nav a {
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  color: #4B5563;
}

/* Hero */

.hero-section {
  height: 600px;
  background: var(--color-bg);
}

.hero-grid {
  max-width: var(--page-width);
  height: 600px;
  margin: 0 auto;
  padding-left: var(--content-padding);
  padding-right: var(--content-padding);
  display: grid;
  grid-template-columns: 580px 505px;
  column-gap: 64px;
  align-items: center;
}

.hero-content {
  width: 580px;
  margin-top: 1px;
}

.hero-content h1 {
  width: 576px;
  margin: 0 0 16px;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 72px;
  line-height: 1.25;
  letter-spacing: -1px;
  font-weight: 700;
  color: #1E1E1E;
}

.hero-subtitle {
  width: 576px;
  margin: 0 0 24px;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 32px;
  line-height: 1.45;
  font-weight: 400;
  color: #474747;
}

.hero-description {
  width: 576px;
  margin: 0;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 20px;
  line-height: 1.45;
  font-weight: 400;
  color: #474747;
}

.hero-visual {
  width: 505px;
  height: 522px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-card {
  width: 505px;
  height: 522px;
  padding: 24px 77px;
  border-radius: 40px;
  background: linear-gradient(180deg, #A55DFE 0%, #694CDE 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-card img {
  width: 185.19px;
  height: 382.24px;
  object-fit: contain;
}

/* Features */

.features-section {
  width: 100%;
  min-height: 692px;
  padding: 112px 0 96px;
  background: #FFFFFF;
}

.features-section .container {
  width: min(100% - 56px, var(--content-width));
  margin: 0 auto;
  padding-left: var(--content-padding);
  padding-right: var(--content-padding);
}

.features-section h2 {
  width: 100%;
  margin: 0 0 72px;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 30px;
  line-height: 36px;
  font-weight: 700;
  color: #0F172A;
}

.feature-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-card {
  min-height: 440px;
  padding: 40px 40px 66px;
  border: 1px solid #F3F4F6;
  border-radius: 24px;
  background: rgba(249, 250, 251, 0.5);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 40px;
  border: 1.33px solid #D6D6D6;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  flex-shrink: 0;
  overflow: hidden;
}

.feature-icon img {
  width: 44px;
  height: 44px;
  display: block;
  object-fit: contain;
  transform: scale(1.45);
}

.feature-card h3 {
  width: 212px;
  margin: 0 0 24px;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
  color: #0F172A;
}

.feature-card p {
  margin: 0;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 20px;
  line-height: 29px;
  font-weight: 400;
  color: #474747;
}

/* Middle Image */

.image-section {
  width: 100%;
  padding: 64px 28px 96px;
  background: #FAFAFB;
}

.image-section .container {
  width: min(100%, 1024px);
  margin: 0 auto;
}

.image-section img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  object-fit: cover;
}

/* Download */

.download-section {
  width: 100%;
  padding: 0 28px 96px;
  background: #FAFAFB;
}

.download-section .container {
  width: min(100%, 1224px);
  margin: 0 auto;
}

.download-card {
  width: 100%;
  min-height: 410px;
  padding: 96px;
  border-radius: 40px;
  color: #FFFFFF;
  background: linear-gradient(135deg, #6257EA 0%, #4B49C8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.download-card-inner {
  width: min(100%, 1032px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.download-card h2 {
  margin: 0;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 48px;
  line-height: 1.25;
  letter-spacing: -1px;
  font-weight: 700;
  color: #FFFFFF;
}

.download-card p {
  width: min(100%, 1032px);
  margin: 0;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: #FFFFFF;
}

.store-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.store-buttons img {
  width: 188px;
  height: 62.67px;
  border-radius: 9.4px;
  object-fit: contain;
}

/* Footer */

.site-footer {
  width: 100%;
  min-height: 179.2px;
  padding: 48px 45px;
  background: #FFFFFF;
  border-top: 1px solid #F3F4F6;
}

.footer-inner {
  max-width: 1190px;
  min-height: 82.2px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-logo {
  width: 217px;
  height: 46.2px;
  object-fit: contain;
  margin: 0;
}

.site-footer p {
  margin: 0;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 22px;
  font-weight: 400;
  color: #4B5563;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.footer-nav a {
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 20px;
  font-weight: 600;
  color: #4B5563;
}

/* Responsive */

@media (max-width: 1024px) {
  .hero-section {
    height: auto;
    padding: 80px 0;
  }

  .hero-grid {
    height: auto;
    grid-template-columns: 1fr;
    row-gap: 56px;
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero-content {
    width: 100%;
    margin-top: 0;
  }

  .hero-content h1,
  .hero-subtitle,
  .hero-description {
    width: 100%;
  }

  .hero-visual {
    width: 100%;
    height: auto;
  }

  .phone-card {
    width: min(100%, 505px);
    height: 522px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-card h3 {
    width: 100%;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 32px, var(--content-width));
  }

  .site-header {
    height: auto;
  }

  .header-inner {
    height: auto;
    min-height: 80px;
    padding: 22px 16px;
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .logo img {
    width: 180px;
  }

  .main-nav {
    gap: 24px;
  }

  .main-nav a {
    font-size: 14px;
    line-height: 20px;
  }

  .hero-section {
    padding: 56px 0 64px;
  }

  .hero-grid {
    padding-left: 16px;
    padding-right: 16px;
    row-gap: 42px;
  }

  .hero-content h1 {
    font-size: 44px;
    line-height: 1.15;
    letter-spacing: -0.5px;
  }

  .hero-subtitle {
    font-size: 24px;
    line-height: 1.4;
  }

  .hero-description {
    font-size: 17px;
  }

  .phone-card {
    height: 390px;
    padding: 28px;
    border-radius: 28px;
  }

  .phone-card img {
    width: auto;
    height: 300px;
  }

  .features-section {
    min-height: auto;
    padding: 72px 0 56px;
  }

  .features-section .container {
    width: min(100% - 32px, var(--content-width));
    padding-left: 0;
    padding-right: 0;
  }

  .features-section h2 {
    margin-bottom: 36px;
    font-size: 26px;
    line-height: 32px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
    padding: 34px 30px 42px;
  }

  .feature-card h3 {
    width: 100%;
    font-size: 22px;
    line-height: 30px;
  }

  .feature-card p {
    font-size: 18px;
    line-height: 27px;
  }

  .image-section {
    padding: 48px 16px 72px;
  }

  .download-section {
    padding: 0 16px 72px;
  }

  .download-card {
    min-height: auto;
    padding: 64px 24px;
    border-radius: 28px;
  }

  .download-card h2 {
    font-size: 34px;
    line-height: 1.2;
  }

  .download-card p {
    font-size: 15px;
    line-height: 23px;
  }

  .store-buttons {
    flex-direction: column;
    gap: 14px;
  }

  .store-buttons img {
    width: 188px;
    height: auto;
  }

  .site-footer {
    min-height: auto;
    padding: 40px 24px;
  }

  .footer-inner {
    max-width: 100%;
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
  }

  .footer-logo {
    width: 180px;
    height: auto;
  }

  .site-footer p {
    font-size: 14px;
    line-height: 20px;
  }

  .footer-nav {
    gap: 24px;
    flex-wrap: wrap;
  }

  .footer-nav a {
    font-size: 14px;
    line-height: 20px;
  }
}
/* Legal Pages */

.legal-page {
  background: #FAFAFB;
}

.legal-hero {
  padding: 96px 28px 56px;
  background: #FAFAFB;
}

.legal-container {
  width: min(100% - 56px, 960px);
  margin: 0 auto;
}

.legal-eyebrow {
  margin: 0 0 16px;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 700;
  color: #6257EA;
}

.legal-hero h1 {
  margin: 0 0 16px;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 56px;
  line-height: 1.12;
  letter-spacing: -1px;
  font-weight: 700;
  color: #1E1E1E;
}

.legal-updated {
  margin: 0;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.5;
  color: #474747;
}

.legal-content-section {
  padding: 0 28px 96px;
  background: #FAFAFB;
}

.legal-content {
  max-width: 960px;
  margin: 0 auto;
  padding: 56px;
  border: 1px solid #F3F4F6;
  border-radius: 24px;
  background: #FFFFFF;
}

.legal-content h2 {
  margin: 44px 0 16px;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 28px;
  line-height: 1.25;
  font-weight: 700;
  color: #0F172A;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  margin: 28px 0 12px;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 700;
  color: #0F172A;
}

.legal-content p,
.legal-content li {
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: #474747;
}

.legal-content p {
  margin: 0 0 18px;
}

.legal-content ul,
.legal-content ol {
  margin: 0 0 24px;
  padding-left: 24px;
}

.legal-content a {
  color: #6257EA;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 700px) {
  .legal-hero {
    padding: 64px 16px 40px;
  }

  .legal-container {
    width: min(100% - 32px, 960px);
  }

  .legal-hero h1 {
    font-size: 40px;
  }

  .legal-content-section {
    padding: 0 16px 72px;
  }

  .legal-content {
    padding: 32px 24px;
    border-radius: 20px;
  }

  .legal-content h2 {
    font-size: 24px;
  }

  .legal-content p,
  .legal-content li {
    font-size: 16px;
  }
}
/* =========================================================
   BlueberRE demo call-to-action and demo page
   Append this to the active theme's style.css file.
   ========================================================= */

/* Homepage hero demo call-to-action */
.hero-demo-cta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 28px;
}

.hero-demo-text {
    font-size: 1rem;
    font-weight: 600;
}

.blueberre-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 13px 25px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #5a5cdb 0%, #350077 100%);
    box-shadow: 0 12px 28px rgba(53, 0, 119, 0.22);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.blueberre-button:hover,
.blueberre-button:focus-visible {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(53, 0, 119, 0.3);
}

.blueberre-button:active {
    transform: translateY(0);
}

/* Demo page */
.demo-page-section {
    padding: 84px 0 104px;
    background:
        radial-gradient(circle at top left, rgba(90, 92, 219, 0.14), transparent 38%),
        linear-gradient(180deg, #ffffff 0%, #f7f6ff 100%);
}

.demo-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: start;
    gap: clamp(40px, 7vw, 84px);
}

.demo-page-intro {
    padding-top: 34px;
}

.demo-eyebrow {
    margin: 0 0 14px;
    color: #5658d8;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.demo-page-intro h1 {
    margin: 0 0 22px;
    color: #17162b;
    font-size: clamp(2.5rem, 5vw, 4.75rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.demo-page-description {
    max-width: 620px;
    margin: 0;
    color: #55546a;
    font-size: clamp(1.05rem, 1.6vw, 1.22rem);
    line-height: 1.75;
}

.demo-benefits {
    display: grid;
    gap: 14px;
    margin: 30px 0 34px;
    padding: 0;
    list-style: none;
}

.demo-benefits li {
    position: relative;
    padding-left: 32px;
    color: #28273c;
    font-weight: 600;
    line-height: 1.55;
}

.demo-benefits li::before {
    content: "✓";
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 50%;
    background: rgba(86, 88, 216, 0.12);
    color: #4f51d2;
    font-size: 0.8rem;
    font-weight: 900;
}

.demo-back-link {
    color: #4648be;
    font-weight: 700;
    text-decoration: none;
}

.demo-back-link:hover,
.demo-back-link:focus-visible {
    text-decoration: underline;
}

.demo-form-card {
    overflow: hidden;
    padding: clamp(26px, 4vw, 46px);
    border: 1px solid rgba(55, 34, 113, 0.1);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(48, 29, 96, 0.14);
}

.demo-form-card-header {
    margin-bottom: 28px;
}

.demo-form-card-header h2 {
    margin: 0 0 10px;
    color: #17162b;
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    line-height: 1.1;
}

.demo-form-card-header p {
    margin: 0;
    color: #65637a;
    line-height: 1.65;
}

.demo-form-notice {
    padding: 18px;
    border: 1px solid rgba(86, 88, 216, 0.2);
    border-radius: 14px;
    background: rgba(86, 88, 216, 0.07);
    color: #302f4a;
}

/* Gravity Forms inside the demo card */
.demo-form-card .gform_wrapper,
.demo-form-card .gform-theme {
    margin: 0;
}

.demo-form-card .gform-theme--framework {
    --gf-color-primary: #5658d8;
    --gf-color-primary-rgb: 86, 88, 216;
    --gf-ctrl-radius: 12px;
    --gf-ctrl-border-color: #d8d6e6;
    --gf-ctrl-border-color-focus: #5658d8;
    --gf-ctrl-shadow-focus: 0 0 0 3px rgba(86, 88, 216, 0.15);
}

.demo-form-card .gfield_label,
.demo-form-card .gform-field-label {
    color: #25243a;
    font-weight: 700;
}

.demo-form-card input[type="text"],
.demo-form-card input[type="email"],
.demo-form-card input[type="tel"],
.demo-form-card input[type="number"],
.demo-form-card input[type="date"],
.demo-form-card input[type="time"],
.demo-form-card select,
.demo-form-card textarea {
    width: 100%;
    border: 1px solid #d8d6e6;
    border-radius: 12px;
    background: #ffffff;
    color: #25243a;
}

.demo-form-card input[type="text"],
.demo-form-card input[type="email"],
.demo-form-card input[type="tel"],
.demo-form-card input[type="number"],
.demo-form-card input[type="date"],
.demo-form-card input[type="time"],
.demo-form-card select {
    min-height: 50px;
}

.demo-form-card textarea {
    min-height: 130px;
}

.demo-form-card input:focus,
.demo-form-card select:focus,
.demo-form-card textarea:focus {
    border-color: #5658d8;
    box-shadow: 0 0 0 3px rgba(86, 88, 216, 0.15);
    outline: none;
}

.demo-form-card .gform_button,
.demo-form-card input[type="submit"] {
    min-height: 52px;
    padding: 13px 26px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #5a5cdb 0%, #350077 100%);
    box-shadow: 0 12px 28px rgba(53, 0, 119, 0.2);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.demo-form-card .gform_button:hover,
.demo-form-card .gform_button:focus-visible,
.demo-form-card input[type="submit"]:hover,
.demo-form-card input[type="submit"]:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(53, 0, 119, 0.28);
}

.demo-form-card .gform_confirmation_message {
    padding: 22px;
    border: 1px solid rgba(86, 88, 216, 0.2);
    border-radius: 16px;
    background: rgba(86, 88, 216, 0.08);
    color: #292844;
    line-height: 1.65;
}

@media (max-width: 860px) {
    .demo-page-section {
        padding: 54px 0 72px;
    }

    .demo-page-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .demo-page-intro {
        padding-top: 0;
    }
}

@media (max-width: 520px) {
    .hero-demo-cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .blueberre-button,
    .demo-form-card .gform_button,
    .demo-form-card input[type="submit"] {
        width: 100%;
    }

    .demo-form-card {
        padding: 24px 18px;
        border-radius: 22px;
    }
}