/* --------------------------------------------------------
   CSS RESET / NORMALIZE
-------------------------------------------------------- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    box-sizing: border-box;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1.6;
    background: #FCF5FF;
    color: #2d2342;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    font-size: 16px;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}
a {
    text-decoration: none;
    color: inherit;
}
ul, ol {
    list-style: none;
    padding: 0;
}
img {
    vertical-align: middle;
    max-width: 100%;
    height: auto;
    border: 0;
}
:focus {
    outline: 2px solid #6EDDF2;
    outline-offset: 2px;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', Arial, sans-serif;
    color: #391e63;
    font-weight: 700;
    letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.3rem; margin-bottom: 12px; }
.subheadline { color: #4c316b; font-size: 1.18rem; margin-bottom: 18px; }

/* --------------------------------------------------------
   BRAND COLORS
-------------------------------------------------------- */
:root {
  --primary: #3B2A5F;
  --secondary: #6EDDF2;
  --accent: #F6C948;
  --bg-warm: #FFF6EA;
  --bg-light: #FCF5FF;
  --text-main: #2d2342;
  --text-alt: #3B2A5F;
  --white: #fff;
  --shadow: 0 3px 12px rgba(58, 24, 88, 0.05), 0 1.5px 6px rgba(246, 201, 72, .05);
}

/* --------------------------------------------------------
   LAYOUT CONTAINERS
-------------------------------------------------------- */
.container {
    width: 100%;
    max-width: 1140px;
    padding: 0 20px;
    margin: 0 auto;
}
.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* --------------------------------------------------------
   HEADER + NAV
-------------------------------------------------------- */
header {
    background: var(--white);
    box-shadow: 0 3px 12px rgba(58, 24, 88, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}
header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 84px;
    gap: 18px;
    max-width: 100%;
}
.logo img {
    height: 48px;
    width: auto;
    display: block;
}
.main-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.main-nav a {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 500;
    color: var(--primary);
    font-size: 1rem;
    padding: 8px 2px;
    border-radius: 10px;
    transition: background .18s, color .18s;
}
.main-nav a:hover, .main-nav a:focus {
    background: var(--secondary);
    color: var(--primary);
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', Arial, sans-serif;
    border: none;
    border-radius: 32px;
    font-size: 1.08rem;
    font-weight: 600;
    padding: 12px 28px;
    margin-left: 16px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(246, 201, 72, .13);
    transition: background .18s, color .18s, box-shadow .14s;
}
.btn-primary {
    background: var(--primary);
    color: var(--white);
}
.btn-primary:hover, .btn-primary:focus {
    background: #532e90;
    box-shadow: 0 6px 16px rgba(59,42,95,.13);
}
.btn-accent {
    background: var(--accent);
    color: var(--primary);
}
.btn-accent:hover, .btn-accent:focus {
    background: #ffe8a2;
    color: var(--primary);
    box-shadow: 0 6px 16px rgba(246,201,72,.13);
}

/* Hamburger menu button */
.mobile-menu-toggle {
    display: none;
    background: var(--secondary);
    color: var(--primary);
    border: none;
    font-size: 2rem;
    border-radius: 14px;
    height: 44px;
    width: 44px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .15s;
    margin-left: 10px;
    z-index: 102;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
    background: #90f2ff;
}

/* --------------------------------------------------------
   HERO SECTIONS
-------------------------------------------------------- */
.hero {
    background: var(--secondary);
    background: linear-gradient(85deg, #fbf0da 0%, #fcf5ff 100%);
    border-radius: 0 0 40px 40px;
    box-shadow: 0 6px 32px rgba(246,201,72,.07);
    margin-bottom: 60px;
    padding: 40px 0 36px 0;
}
.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
}
.hero h1 {
    color: #391e63;
    font-size: 2.2rem;
}
.hero .subheadline {
    font-family: 'Roboto', Arial, sans-serif;
    color: #59416e;
    margin-bottom: 13px;
}
.hero .btn {
    margin-left: 0;
    margin-top: 14px;
}


/* --------------------------------------------------------
   SECTIONS & SPACING
-------------------------------------------------------- */
.section {
    margin-bottom: 60px;
    padding: 40px 20px;
    background: none;
}
.features, .services, .about, .policy, .contact, .testimonials, .cta, .thank-you {
    margin-bottom: 60px;
    padding: 40px 20px;
}
.text-section {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* --------------------------------------------------------
   FLEX UTILITIES / CARD GRIDS
-------------------------------------------------------- */
.card-container, .feature-grid, .card-grid, .content-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.card, .feature-item {
    position: relative;
    background: var(--white);
    border-radius: 22px;
    box-shadow: var(--shadow);
    padding: 24px 20px 28px 20px;
    margin-bottom: 20px;
    transition: box-shadow .16s, transform .16s;
}
.card:hover, .feature-item:hover {
    box-shadow: 0 9px 25px rgba(101,50,171,.13), 0 2px 6px rgba(246,201,72,.10);
    transform: translateY(-2px) scale(1.03);
}
.feature-grid {
    gap: 28px;
    flex-wrap: wrap;
    justify-content: space-between;
}
.feature-grid li {
    background: var(--bg-warm);
    border-radius: 22px;
    box-shadow: var(--shadow);
    flex: 1 1 220px;
    min-width: 220px;
    padding: 26px 18px 28px 18px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    transition: box-shadow .18s, transform .15s;
}
.feature-grid li:hover {
    box-shadow: 0 12px 26px rgba(255,227,124,.12), 0 2px 6px rgba(59,42,95,0.09);
    transform: translateY(-4px) scale(1.035);
}
.feature-grid li img {
    width: 48px;
    height: 48px;
    margin-bottom: 6px;
}
.feature-grid li h3 {
    margin-bottom: 6px;
    font-size: 1.17rem;
    color: #472e8b;
}
.feature-grid li p {
    font-size: 1rem;
    color: #584472;
}

.content-grid, .card-grid {
    gap: 20px;
    justify-content: space-between;
}

.text-image-section {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* --------------------------------------------------------
   PRICING LABELS
-------------------------------------------------------- */
.price {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--accent);
    margin-bottom: 10px;
    margin-top: 6px;
}

/* --------------------------------------------------------
   CTA SECTION
-------------------------------------------------------- */
.cta {
    background: var(--accent);
    border-radius: 28px;
    box-shadow: 0 7px 28px rgba(197,168,78,0.07);
    text-align: center;
}
.cta h2 {
    color: var(--primary);
    margin-bottom: 12px;
    font-size: 2rem;
}
.cta-text {
    font-size: 1.15rem;
    margin-bottom: 18px;
    color: #4d3b62;
    font-family: 'Roboto', Arial, sans-serif;
}

/* --------------------------------------------------------
   TESTIMONIALS
-------------------------------------------------------- */
.testimonials {
    background: #fff9ef;
    border-radius: 28px;
    box-shadow: 0 1.5px 8px rgba(250,217,139,.09);
}
.testimonials h2 {
    color: var(--primary);
}
.testimonials .content-wrapper {
    flex-direction: column;
    gap: 24px;
}
.testimonial-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    background: #fff;
    box-shadow: 0 2.5px 9px rgba(68,34,109,.15);
    border-radius: 18px;
    padding: 20px 22px;
    margin-bottom: 20px;
    min-width: 0;
    max-width: 560px;
    transition: box-shadow 0.16s, transform 0.14s;
}
.testimonial-card:hover {
    box-shadow: 0 8px 28px rgba(106,54,180,.13), 0 2px 6px rgba(246,201,72,.12);
    transform: translateY(-2px);
}
.testimonial-card p {
    font-size: 1.09rem;
    color: #412963;
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.65;
}
.testimonial-meta {
    color: #a477e8;
    font-size: 0.97rem;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 500;
}

/* --------------------------------------------------------
   POLICIES, ABOUT, THANK YOU, CONTACT
-------------------------------------------------------- */
.policy, .about, .thank-you, .contact {
    background: var(--bg-light);
    border-radius: 23px;
    box-shadow: 0 2px 12px rgba(59,42,95,.05);
}
.policy h1, .thank-you h1 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}
.policy ul, .about ul, .thank-you ul {
    list-style: disc inside;
    margin-top: 7px;
    padding-left: 18px;
}
.policy ul li, .about ul li, .thank-you ul li {
    font-size: 1rem;
    margin-bottom: 7px;
}
.text-section a {
    color: var(--secondary);
    text-decoration: underline;
    word-break: break-all;
}
.text-section a:hover {
    color: #391e63;
    text-decoration: none;
}


/* --------------------------------------------------------
   FOOTER
-------------------------------------------------------- */
footer {
    background: var(--primary);
    color: var(--white);
    padding: 36px 0 28px 0;
    border-radius: 34px 34px 0 0;
}
footer .container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    display: flex;
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    margin-bottom: 12px;
}
.footer-links a {
    color: var(--accent);
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 500;
    font-size: 1rem;
    transition: color .15s;
    border-radius: 10px;
    padding: 4px 10px;
}
.footer-links a:hover {
    color: var(--secondary);
    background: rgba(255, 255, 255, .13);
}
.brand-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}
.brand-footer img {
    width: 38px;
    height: 38px;
}


/* --------------------------------------------------------
   MOBILE NAVIGATION
-------------------------------------------------------- */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 100vw;
    width: 100vw;
    height: 100vh;
    background: rgba(251,240,218,0.93);
    z-index: 200;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 30px 0 30px;
    transition: left 0.35s cubic-bezier(.77,0,.18,1);
    box-shadow: -8px 0 32px rgba(81,41,143,.09);
}
.mobile-menu.open {
    left: 0;
}
.mobile-menu-close {
    font-size: 2rem;
    background: var(--accent);
    color: var(--primary);
    border: none;
    border-radius: 14px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    display: flex;
    margin-bottom: 18px;
    margin-left: auto;
    cursor: pointer;
    transition: background .14s;
    z-index: 201;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
    background: var(--secondary);
    color: var(--primary);
}
.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    margin-top: 16px;
}
.mobile-nav a {
    font-size: 1.2rem;
    font-family: 'Montserrat', Arial, sans-serif;
    color: var(--primary);
    padding: 14px 0 14px 6px;
    border-radius: 12px;
    transition: background .13s, color .13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
    background: var(--secondary);
    color: var(--primary);
}

@media (max-width: 1100px) {
  .container {
    max-width: 960px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 720px;
  }
  .feature-grid li {
    flex-basis: 45%;
  }
}
@media (max-width: 768px) {
    .container {
        max-width: 99%;
        padding: 0 8px;
    }
    header .container {
        flex-wrap: wrap;
        min-height: 56px;
    }
    .main-nav {
        display: none;
    }
    .mobile-menu-toggle {
        display: inline-flex;
    }
    .btn {
        margin-left: 8px;
        padding: 12px 18px;
    }
    .feature-grid, .card-container, .card-grid, .content-grid {
        flex-direction: column;
        gap: 18px;
    }
    .feature-grid li {
        width: 100%;
        flex-basis: unset;
    }
    .testimonials .content-wrapper {
        gap: 14px;
    }
    .footer-links {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    .text-image-section {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
}
@media (max-width: 500px) {
    h1 { font-size: 1.6rem; }
    h2 { font-size: 1.15rem; }
    .hero { padding-bottom: 30px; }
    .section, .features, .services, .about, .policy, .contact, .testimonials, .cta, .thank-you {
        padding: 25px 4px;
    }
    .card, .feature-grid li {
        padding: 15px 8px 15px 8px;
    }
    .testimonial-card {
        padding: 14px 8px;
    }
    .mobile-menu {
        padding: 24px 2vw 0 2vw;
    }
}

/* --------------------------------------------------------
   ANIMATIONS & MICRO-INTERACTIONS
-------------------------------------------------------- */
.btn, .card, .feature-grid li, .testimonial-card, .main-nav a, .footer-links a, .mobile-nav a {
    transition: background .14s, box-shadow .14s, color .14s, transform .15s;
}

/* --------------------------------------------------------
   COOKIE CONSENT BANNER
-------------------------------------------------------- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    background: #fff6ea;
    color: #351b61;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 -6px 28px rgba(218,180,72,.13);
    padding: 22px 16px 18px 16px;
    flex-wrap: wrap;
    font-size: 1rem;
    gap: 18px;
    transition: transform .33s cubic-bezier(.77,0,.18,1), opacity .2s;
}
.cookie-banner.hide {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}
.cookie-banner .cookie-info {
    flex: 1;
}
.cookie-banner .cookie-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}
.cookie-banner .btn {
    margin-left: 0;
    padding: 10px 18px;
    border-radius: 22px;
    font-size: 1rem;
}
.btn-cookie-settings {
    background: var(--secondary);
    color: var(--primary);
    border: none;
}
.btn-cookie-settings:hover,
.btn-cookie-settings:focus {
    background: #90f2ff;
    color: var(--primary);
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
    position: fixed;
    left: 0; top: 0;
    width: 100vw; height: 100vh;
    background: rgba(59,42,95,.30);
    z-index: 1500;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    pointer-events: all;
    transition: opacity .25s;
}
.cookie-modal.hide {
    opacity: 0;
    pointer-events: none;
}
.cookie-modal .cookie-modal-content {
    background: #fff6ea;
    border-radius: 20px;
    padding: 32px 22px 22px 22px;
    box-shadow: 0 8px 44px rgba(246,201,72,.09), 0 4px 20px rgba(91,54,188,.11);
    width: 95vw;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.cookie-modal h2 {
    color: var(--primary);
    margin-bottom: 8px;
    font-size: 1.25rem;
}
.cookie-modal .cookie-options {
    display: flex;
    flex-direction: column;
    gap: 13px;
}
.cookie-modal label {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 1rem;
    color: #30144e;
    display: flex;
    align-items: center;
    gap: 7px;
}
.cookie-modal input[type="checkbox"] {
    accent-color: var(--secondary);
    width: 18px; height: 18px;
    border-radius: 6px;
}
.cookie-modal .cookie-modal-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 10px;
}
.cookie-modal .btn {
    border-radius: 18px;
    padding: 9px 16px;
}
.cookie-modal .close-modal {
    position: absolute;
    top: 16px; right: 24px;
    background: #e4cdf7;
    border-radius: 16px;
    font-size: 1.3rem;
    color: var(--primary);
    border: none;
    width: 34px; height: 34px;
    cursor: pointer;
}

@media (max-width: 428px) {
    .cookie-modal .cookie-modal-content {
        padding: 18px 6px;
    }
}

/* --------------------------------------------------------
   ACCESSIBILITY FOCUS STYLES
-------------------------------------------------------- */
a:focus, .btn:focus, input:focus, select:focus, textarea:focus {
    outline: 2px solid #6EDDF2 !important;
    outline-offset: 2px;
}

/* --------------------------------------------------------
   GENERAL UTILITIES
-------------------------------------------------------- */
.rounded-large { border-radius: 28px !important; }
.soft-shadow { box-shadow: 0 3px 18px rgba(77, 34, 109, .092) !important; }
.bg-warm { background: var(--bg-warm) !important; }

/* Hide visually, show to screen readers only */
.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
