/*
Theme Name: Rizer Analytics
Theme URI: https://rizer.io
Author: Rizer Inc.
Author URI: https://rizer.io
Description: the official theme for Rizer.io 2025
Version: 1.0.0
Requires at least: 5.9
Tested up to: 6.4
Requires PHP: 7.4
*/

/* ==========================================================================
   1. Global Styles, Resets & Fonts
   ========================================================================== */

/* Fonts are enqueued via functions.php (handle: rizer-fonts) to avoid @import blocking */

/* Box sizing rules */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Prevent font size inflation */
html {
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
    scrollbar-gutter: stable;
}

/* Remove default margin in favour of better control in authored CSS */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
    margin-block-end: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
    list-style: none;
}

/* Set core body defaults */
body {
    min-height: 100vh;
    line-height: 1.5;
}

/* Set shorter line heights on headings and interactive elements */
h1,
h2,
h3,
h4,
button,
input,
label {
    line-height: 1.1;
}

/* Balance text wrapping on headings */
h1,
h2,
h3,
h4 {
    text-wrap: balance;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
    text-decoration-skip-ink: auto;
    color: currentColor;
}

/* Make images easier to work with */
img,
picture {
    max-width: 100%;
    display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
    min-height: 10em;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
    scroll-margin-block: 5ex;
}

/* Body & Typography Defaults */
body {
    font-family: Inter, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

h1,
h2,
h3 {
    font-family: 'Poppins', sans-serif;
}

/* 1. Use a more-intuitive box-sizing model */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* 2. Remove default margin */
* {
    margin: 0;
}

/* 3. Enable keyword animations */
@media (prefers-reduced-motion: no-preference) {
    html {
        interpolate-size: allow-keywords;
    }
}

body {
    /* 4. Add accessible line-height */
    line-height: 1.5;
    /* 5. Improve text rendering */
    -webkit-font-smoothing: antialiased;
}

/* 6. Improve media defaults */
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

/* 7. Inherit fonts for form controls */
input,
button,
textarea,
select {
    font: inherit;
}

/* 8. Avoid text overflows */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

/* 9. Improve line wrapping */
p {
    text-wrap: pretty;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    text-wrap: balance;
}

/*
  10. Create a root stacking context
*/
#root,
#__next {
    isolation: isolate;
}

/* ==========================================================================
   2. Layout & Utility Classes
   ========================================================================== */

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Combined list-style reset */
.footer-section ul,
.main-nav,
.flywheel-text ul {
    list-style: none;
    padding-left: 0;
}

/* Combined position relative */
.flywheel-diagram,
.flywheel-text li,
.hero,
.logo {
    position: relative;
}

/* Common Section Padding */
.act-section,
.features-section,
.testimonials,
.understanding-section,
.conversion-section,
.logo-row {
    padding: 80px 0;
}

/* Reusable Section Header Styles */
.section-header,
.understanding-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-kicker {
    font-weight: 700;
    color: #0CB3E2;
    font-size: 32px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0d1b2a;
    margin: 0;
}

/* Added numbered section index styles */
.section-header {
    position: relative;
}

.section-index {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 240px;
    font-weight: 200;
    color: rgba(12, 179, 226, 0.1);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    font-family: 'Poppins', sans-serif;
}

/* Make understanding header support index overlay */
.understanding-header {
    position: relative;
}

/* Reusable Grid Layout */
.act-grid,
.features-grid,
.testimonials-grid,
.understanding-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* ==========================================================================
   3. Buttons
   ========================================================================== */

.cta-button,
.hero-cta {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    border: none;
    background: linear-gradient(135deg, #e67e22 0, #d35400 100%);
    border-radius: 6px;
    color: #fff;
    padding: 12px 24px;
    font-weight: 600;
    transition: transform .3s, box-shadow .3s;
}

.hero-cta-container .hero-cta:not(.login-button),
.header-cta-buttons .hubspot-connect-button {
    display: none !important;
    /*temporary until we go live with connect to hubspot*/
}

.cta-button:hover,
.hero-cta:hover {
    box-shadow: 0 4px 10px rgba(231, 76, 60, .3);
}

.cta-button {
    font-size: 14px;
    gap: 10px;
}

.hero-cta {
    font-size: 16px;
    gap: 12px;
    margin-bottom: 1rem;
}

.cta-button svg,
.hero-cta svg {
    width: 16px;
    height: 16px;
    fill: white;
}

.login-button {
    background: linear-gradient(90deg, #0897e8 3.14%, #14e6f3 150%);
    color: #fff;
    border-radius: 6px;
    padding: 12px 24px;
    font-weight: 600;
}

.login-button:hover {
    box-shadow: 0 4px 10px rgba(60, 86, 231, 0.3);
}

/* Header button group */
.header-cta-buttons {
    display: flex;
    align-items: center;
    gap: 1.8rem;
    flex-direction: row-reverse;
}

/* Header specific button styling */
.header-cta-buttons .login-button {
    background: none;
    border: none;
    color: #fff;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    padding: 0;
    text-decoration: none;
    transition: opacity 0.3s;
}

.header-cta-buttons .login-button:hover {
    box-shadow: none;
    opacity: 0.8;
}

.header-cta-buttons .demo-button {
    background: linear-gradient(90deg, #0897e8 3.14%, #14e6f3 150%);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
}

.header-cta-buttons .demo-button:hover {
    box-shadow: 0 4px 10px rgba(34, 90, 125, 0.3);
}

.header-cta-buttons .hubspot-connect-button {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
}

.header-cta-buttons .hubspot-connect-button:hover {
    box-shadow: 0 4px 10px rgba(231, 126, 34, 0.3);
}

.header-cta-buttons .hubspot-connect-button svg {
    width: 16px;
    height: 16px;
    fill: white;
}

/* ==========================================================================
   4. Header & Navigation
   ========================================================================== */

.site-header {
    background: #2d304b;
    color: #fff;
    padding: 1rem 0;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    gap: 7rem;
    position: relative;
    z-index: 1000;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 100%;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    gap: .5rem;
}

.logo img {
    max-height: 45px;
    width: auto;
    max-width: fit-content;
}

.logo::after {
    content: "BETA";
    position: absolute;
    top: 0;
    right: -45px;
    background: linear-gradient(90deg, #0897e8 3.14%, #14e6f3 150%);
    color: #fff;
    font-size: .6rem;
    padding: .2rem .4rem;
    border-radius: 3px;
    font-weight: 700;
    letter-spacing: .5px;
}

.main-nav {
    display: flex;
    gap: 3rem;
    list-style: none;
    padding-left: 0;
    margin-right: 1rem;
}

.main-nav a {
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    transition: opacity .3s;
    font-weight: 500;
    text-transform: uppercase;
}

.main-nav a:hover {
    opacity: .8;
}

/* ==========================================================================
   5. Hero Section
   ========================================================================== */

.hero {
    background: #2d304b;
    color: #fff;
    padding: 70px 0;
    text-align: center;
    overflow: hidden;
}

.hero h1 {
    font-size: 2.7rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 8px;
}

.hero-subtitle {
    font-size: 1.1rem;
    max-width: 750px;
    margin: 0 auto 2rem;
    opacity: .9;
    line-height: 1.6;
}

.hero-beta-text {
    font-size: 14px;
    color: rgba(255, 255, 255, .8);
    margin-bottom: 3rem;
    position: relative;
    z-index: 20;
}

.hero-beta-text span {
    color: #fff;
    font-weight: 600;
}

.hero-cta-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.hero-image-container {
    position: relative;
    z-index: 2;
    right: 0;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-container::before {
    content: " ";
    position: absolute;
    top: 200px;
    left: 25%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #14e6f3 3.14%, #0897e8 96.86%);
    border-radius: 300px;
    filter: blur(150px);
    z-index: -1;
}

.hero-image-container::after {
    content: " ";
    position: absolute;
    top: 200px;
    left: 75%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #14e6f3 3.14%, #0897e8 96.86%);
    border-radius: 300px;
    filter: blur(150px);
    z-index: -1;
}

.hero-image-container img {
    max-width: 100%;
    height: auto;
}

.hero-image-container iframe {
    max-width: 100%;
    height: auto;
    left: -3%;
    position: relative;
}

.hero-play-button {
    position: absolute;
    top: 48%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 83px;
    height: 65px;
    border-radius: 8px;
    background: rgb(50 55 87);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform .3s, box-shadow .3s;
}

.hero-play-button:hover {
    transform: scale(1.05);
}

.hero-play-button svg {
    width: 64px;
    height: 64px;
    fill: #fff;
}

.hero-image-container iframe {
    width: 968px;
    height: 628px;
    border: none;
}

/* Hero Features Grid */
.hero-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    padding: 0;
}

.hero-features .feature-card {
    padding: 2rem 1.5rem;
    border-radius: 12px;
    text-align: left;
}

.hero-features .feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 0 1rem;
    border: 2px solid rgba(52, 152, 219, .8);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3498db;
}

.hero-features .feature-icon svg {
    width: 24px;
    height: 24px;
}

.hero-features .feature-card h3 {
    color: #fff;
    font-size: 1.25rem;
    line-height: 1.3;
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-features .feature-card p {
    color: rgba(255, 255, 255, .8);
    font-size: .95rem;
    line-height: 1.5;
    margin: 0;
}

/* Hero Brand Logos */
.brand-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 60px;
    opacity: .7;
}

.brand-logo {
    font-size: 18px;
    font-weight: 600;
    color: rgba(255, 255, 255, .8);
    transition: opacity .3s;
}

.brand-logo:hover {
    opacity: 1;
}

/* ==========================================================================
   6. Logo Row Section
   ========================================================================== */

.logo-row {
    background: #f8f9fa;
}

.logos-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
}

.logo-item img {
    max-height: 60px;
    max-width: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter .3s;
}

.logo-item:hover img {
    filter: grayscale(0%);
}

/* ==========================================================================
   7. Conversion / Flywheel Section
   ========================================================================== */

.conversion-section {
    text-align: center;
}

.conversion-section h2 {
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: #2c3e50;
}

.flywheel-container {
    display: grid;
    grid-template-columns: 800px max-content;
    align-items: center;
    margin-top: 2rem;
}

.flywheel-diagram img {
    width: 700px;
    max-width: 100%;
    height: auto;
}

.flywheel-text {
    text-align: left;
    border-left: 1px solid #efefef;
    padding-left: 36px;
    padding-top: 20px;
}

.flywheel-text h3 {
    font-size: 20px;
    margin-bottom: 2rem;
    color: #0CB3E2;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

.flywheel-text li {
    margin-bottom: 1.8rem;
    padding-left: 2rem;
}

.flywheel-text li::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 7px;
    width: 9px;
    height: 13px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='9' height='13' viewBox='0 0 9 13'><path d='M2.125 0.75L8.125 6.75L2.125 12.75L0.625 11.25L5.125 6.75L0.625 2.25L2.125 0.75Z' fill='%230DBCED'/></svg>");
    background-repeat: no-repeat;
    background-size: contain;
}

.bullet-main {
    display: block;
    font-weight: 700;
    font-size: 1.05rem;
    color: #2c3e50;
    margin-bottom: .1rem;
}

.bullet-sub {
    font-size: .9rem;
    color: #667483;
}

/* ==========================================================================
   8. Rizer AI Section
   ========================================================================== */

.rizer-ai-section {
    padding: 100px 0;
    background: #2d304b;
    color: #fff;
    overflow: hidden;
}

.rizer-ai-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.rizer-ai-left {
    flex: 1 1 400px;
}

.rizer-ai-right {
    flex: 1 1 600px;
    position: relative;
    display: flex;
    justify-content: center;
}

.rizer-ai-agent {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: #14e6f3;
    margin-bottom: 1rem;
}

.rizer-ai-headline {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.rizer-ai-bullets {
    position: relative;
    text-align: left;
    padding-top: 20px;
    list-style: none;
    padding-left: 0;
}

.rizer-ai-bullets li {
    position: relative;
    margin-bottom: 1.8rem;
    padding-left: 2rem;
}

.rizer-ai-bullets li::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 7px;
    width: 9px;
    height: 13px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='9' height='13' viewBox='0 0 9 13'><path d='M2.125 0.75L8.125 6.75L2.125 12.75L0.625 11.25L5.125 6.75L0.625 2.25L2.125 0.75Z' fill='%230DBCED'/></svg>");
    background-repeat: no-repeat;
    background-size: contain;
}

.rizer-ai-section .bullet-main {
    color: #ffffff;
}

.rizer-ai-section .bullet-sub {
    color: rgba(255, 255, 255, 0.85);
}

.rizer-ai-image-container {
    position: relative;
    z-index: 2;
    max-width: 720px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.rizer-ai-image-container::before {
    content: " ";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 550px;
    height: 310px;
    background: radial-gradient(circle, #14e6f3 3.14%, #0897e8 96.86%);
    border-radius: 300px;
    filter: blur(150px);
    z-index: -1;
}

.rizer-ai-image {
    display: none;
    max-width: 100%;
}

.rizer-ai-image.active {
    display: block;
}

@media (max-width: 768px) {
    .rizer-ai-right {
        flex: 1 1 100%;
    }

    .rizer-ai-agent {
        justify-content: center;
    }
}

/* ==========================================================================
   9. Content Card Sections (Features, Understanding, Act)
   ========================================================================== */

.act-section .section-header h2,
.understanding-header h2 {
    line-height: 1.2;
}

/* --- Style for 'Understanding' & 'Act' Cards --- */
.understanding-card,
.act-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 37.08%, #f0f4f8 100%);
    border: 1px solid #c4d0dc;
    border-radius: 10px;
}

.understanding-card-label,
.act-card-label {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: .6rem;
    font-weight: 500;
    font-size: 12px;
    line-height: 22px;
    text-transform: uppercase;
    color: #5f7e9d;
    opacity: .7;
}

.understanding-card-content,
.act-card-content {
    padding: 1.5rem;
}

.understanding-card-content h3,
.act-card-content h3 {
    margin: 0 0 .75rem;
    font-weight: 600;
    font-size: 20px;
    line-height: 30px;
    color: #323757;
}

.understanding-card img,
.act-card img {
    margin: .7rem;
    object-fit: cover;
    filter: drop-shadow(0px 0px 2px #C4D0DC);
    border-radius: 5px;
}

/* --- Style for 'Features' Cards --- */
.features-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.features-card img {
    width: 100%;
    height: auto;
}

.features-card-content {
    padding: 2rem;
}

.features-card-label {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1rem;
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #0CB3E2;
}

.features-card-content h3 {
    font-size: 1.4rem;
    margin: 0 0 .75rem;
    color: #0d1b2a;
}

/* Common Paragraph Style for all Cards */
.understanding-card-content p,
.act-card-content p,
.features-card-content p {
    color: #6c7a89;
    margin: 0;
}

/* ==========================================================================
   10. Testimonials Section
   ========================================================================== */

.testimonials {
    background: #F0F4F8;
    margin-top: 2rem;
}

.testimonials .section-title {
    line-height: 1.2;
}

.testimonials .container {
    max-width: 100%;
    padding: 0;
}

/* Ensure the slider itself spans the full available width */
.testimonials-slider {
    overflow: hidden;
    width: 100%;
}

/* Pause scrolling on hover */
.testimonials-slider:hover .testimonials-track {
    animation-play-state: paused;
}

.testimonials-track {
    display: flex;
    gap: 2rem;
    animation: 120s linear infinite testimonials-scroll;
}

.testimonial-card {
    flex: 0 0 calc(25% - 2rem);
    background: #fff;
    border: 1px solid #e5e9f2;
    border-radius: 8px;
    padding: 2rem;
    display: flex;
    /* avatar left, text right */
    align-items: center;
    gap: 1.25rem;
    text-align: left;
}

/* Ensure stars & author layout follow left alignment */
.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: baseline;
    justify-content: space-evenly;
    gap: .5rem;
}

.testimonial-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    margin: 0;
    background: #667eea;
}

/* New wrapper to ensure text section grows */
.testimonial-text {
    flex: 1;
}

/* adjust author spacing */
.testimonial-author {
    margin-top: .5rem;
    line-height: 1.3;
}

.testimonial-stars {
    color: #ffc107;
    font-size: 1rem;
}

.testimonial-headline {
    font-size: 1.1rem;
    font-weight: 500;
    color: #1d2532;
    margin-bottom: .75rem;
}

.testimonial-content {
    color: #6b7887;
    line-height: 1.4;
}

/* ==========================================================================
   11. Footer
   ========================================================================== */

.site-footer {
    background: #2d304b;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color .3s;
}

.footer-section a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 1rem;
    text-align: center;
    color: #bdc3c7;
}

/* Simple footer layout adjustments */
.site-footer .footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.footer-logo img {
    max-width: 150px;
    height: auto;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color .3s ease;
}

.footer-links a:hover {
    color: #fff;
}

@media (min-width: 768px) {
    .site-footer .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}


/* ==========================================================================
   12. Animations
   ========================================================================== */

@keyframes testimonials-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ==========================================================================
   13. Media Queries
   ========================================================================== */

/* Tablet & Smaller Desktops (max-width: 1024px) */
@media (max-width: 1024px) {
    .hero-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        margin-top: 3rem;
        padding: 0 1.5rem;
    }

    .flywheel-container {
        grid-template-columns: 1fr;
    }

    .flywheel-text {
        text-align: center;
        border-left: none;
        padding-left: 0;
        margin-top: 2rem;
    }

    .flywheel-text li {
        padding-left: 0;
    }

    .flywheel-text li::before {
        display: none;
    }
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {

    /* Header */
    .header-content,
    .header-right,
    .main-nav {
        flex-direction: column;
        gap: 1rem;
    }

    /* Hero Section */
    .hero {
        padding: 50px 0 60px;
    }

    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
        z-index: 1;
        position: relative;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
        z-index: 6;
        position: relative;
    }

    .hero-cta {
        padding: .9rem 1.8rem;
        font-size: 15px;
        margin-bottom: .8rem;
        z-index: 6;
        position: relative;
    }

    .hero-beta-text {
        font-size: 13px;
        margin-bottom: 2rem;
        z-index: 6;
        position: relative;
    }

    .hero-image-container {
        margin-top: 2rem;
        padding: 0 1rem;
        max-width: 100%;
    }

    .hero-image-container::before,
    .hero-image-container::after {
        opacity: .2;
    }

    /* Hero Features */
    .hero-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
        z-index: 6;
        position: relative;
    }

    .hero-features .feature-card {
        padding: 1.5rem;
    }

    .hero-features .feature-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 1rem;
    }

    .hero-features .feature-card h3 {
        font-size: 1.1rem;
        margin-bottom: .8rem;
    }

    .hero-features .feature-card p {
        font-size: .9rem;
    }

    /* Logo Row */
    .logos-container {
        gap: 20px;
        padding: 0 20px;
    }

    .logo-item {
        height: 60px;
        flex: 1 1 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }

    .logo-item img {
        max-height: 40px;
        max-width: 80px;
    }

    /* Rizer AI Section */
    .rizer-ai-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .rizer-ai-left {
        order: 2;
    }

    .rizer-ai-right {
        order: 1;
    }

    /* Hide header-right on mobile */
    .header-right {
        display: none;
    }
}

/* Small Mobile Devices (max-width: 480px) */
@media (max-width: 480px) {
    .logo-item {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

/* ==========================================================================
   Modal (Demo Request)
   ========================================================================== */
.demo-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .6);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
    z-index: 9998;
}

.demo-modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.demo-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(.9);
    background: #fff;
    color: #222;
    width: 90%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .25);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, transform .3s ease, visibility .3s ease;
    z-index: 9999;
    padding: 2.5rem 2.75rem;
}

.demo-modal.open {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.demo-modal-close {
    position: absolute;
    top: 12px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    color: #666;
    cursor: pointer;
}

.demo-request-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.demo-request-form label {
    display: flex;
    flex-direction: column;
    font-size: .875rem;
    gap: .3rem;
}

.demo-request-form input {
    padding: .6rem .75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.demo-request-form button {
    align-self: flex-start;
    background: linear-gradient(90deg, #0897e8 3.14%, #14e6f3 150%);
}

/* ==========================================================================
   Rizer embedded form overrides (inside demo modal)
   ========================================================================== */
.demo-modal-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
}

.demo-modal-content h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.demo-modal-content .rz-web-form {
    width: 100%;
    font-family: Inter, sans-serif;
}

.demo-modal-content .rz-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1.2rem;
}

.demo-modal-content .rz-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #222;
}

.demo-modal-content .rz-input {
    padding: 0.6rem 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.95rem;
    transition: border-color .2s ease;
}

.demo-modal-content .rz-input:focus {
    outline: none;
    border-color: #225a7d;
    box-shadow: 0 0 0 1px #225a7d;
}

/* Error state supplied by platform */
.demo-modal-content .rz-input.rz-error {
    border-color: #ccc;
}

.demo-modal-content .rz-submit-btn {
    margin-top: 1rem;
}

.demo-modal-content .rz-submit-btn .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(90deg, #0897e8 3.14%, #14e6f3 150%);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background .7s ease, transform .7s ease;
}

.demo-modal-content .rz-submit-btn .btn:hover {
    background: #164872;
    /* slightly darker than default */

}

.demo-modal-content .rz-submit-btn .btn:active {
    transform: translateY(0);
}

/* Scroll lock handled via inline style on body; no extra CSS needed */

/* ==========================================================================
   14. Mobile Navigation Overlay
   ========================================================================== */

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: #ffffff;
    border-radius: 2px;
}

/* Overlay base state */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: #0d1b2a;
    /* dark navy similar to header */
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
    z-index: 4000;
    display: flex;
    flex-direction: column;
}

.mobile-menu-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-close {
    position: absolute;
    top: 22px;
    right: 22px;
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    color: #ffffff;
    cursor: pointer;
}

.mobile-nav {
    margin-top: 100px;
    /* leave space for top */
    padding: 0 32px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    align-items: center;
}

.mobile-nav-links a {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 500;
    text-decoration: none;
    opacity: .9;
    transition: opacity .3s ease;
}

.mobile-nav-links a:hover {
    opacity: 1;
}

/* Mobile button group */
.mobile-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    align-items: center;
}

.mobile-cta-buttons .hubspot-connect-button {
    display: none !important;
}

.mobile-cta-buttons .login-button {
    background: none;
    border: none;
    color: #fff;
    font-weight: 500;
    font-size: 16px;
    text-transform: uppercase;
    padding: 0;
    text-decoration: none;
    transition: opacity 0.3s;
}

.mobile-cta-buttons .login-button:hover {
    box-shadow: none;
    opacity: 0.8;
}

.mobile-cta-buttons .demo-button {
    background: linear-gradient(135deg, #0897e8 0%, #14e6f3 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
    width: 200px;
    text-align: center;
    justify-content: center;
}

.mobile-cta-buttons .demo-button:hover {
    box-shadow: 0 4px 10px rgba(8, 151, 232, 0.3);
    transform: translateY(-1px);
}

.mobile-cta-buttons .hubspot-connect-button {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    width: 200px;
}

.mobile-cta-buttons .hubspot-connect-button:hover {
    box-shadow: 0 4px 10px rgba(231, 126, 34, 0.3);
    transform: translateY(-1px);
}

.mobile-cta-buttons .hubspot-connect-button svg {
    width: 18px;
    height: 18px;
    fill: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {

    /* Hide desktop nav & buttons */
    .main-nav,
    .header-cta-buttons {
        display: none;
    }

    /* Show hamburger */
    .mobile-menu-toggle {
        display: flex;
    }

    /* Reduce logo size */
    .logo img {
        max-height: 38px;
    }

    /* Ensure header layout remains horizontal */
    .header-content {
        flex-direction: row;
        padding-top: 0;
    }
}

/* ==========================================================================
   Contact Block Styles
   ========================================================================== */
.contact-block .contact-map-header::before {
    content: " ";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 400px;
    background: radial-gradient(circle, #14e6f3 3.14%, #0897e8 96.86%);
    border-radius: 300px;
    filter: blur(150px);
    z-index: 1;
}

.contact-block .contact-map-header {
    position: relative;
    min-height: 450px;
    background-size: auto;
    background-position: top;
    align-items: baseline;
    justify-content: center;
    color: #fff;
    background-repeat: no-repeat;
    text-align: center;
    background-color: #2d304b;
    overflow: visible;
}

.contact-map-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: none;
    object-position: top;
    position: absolute;
    z-index: 2;
    margin: 0 auto;
    inset: 0;
}

.contact-map-overlay {
    position: absolute;
    inset: auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    pointer-events: none;
    /* allows clicks to pass through to any links below if needed */
}

/* Ensure radial gradient ::before stays between image and overlay */
.contact-block .contact-map-header::before {
    z-index: 1;
}

.contact-block .contact-map-header .contact-title {
    position: relative;
    font-weight: 700;
    font-size: 3rem;
    margin-top: 80px;
}

.contact-inner {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 4rem;
    padding: 4rem 0;
    background-color: #fff;
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
}

/* Tablet refinements */
@media (max-width: 1024px) {
    .contact-block .contact-map-header {
        min-height: 360px;
    }

    .contact-block .contact-map-header .contact-title {
        font-size: 2.25rem;
        margin-top: 40px;
    }

    /* Make the map cover the header nicely on tablets/mobiles */
    .contact-map-image {
        object-fit: cover;
        object-position: center center;
    }

    .contact-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 2.5rem 0;
    }

    .contact-block .contact-info-column {
        padding: 0 1.5rem;
    }
}

@media (max-width: 768px) {
    .contact-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 0;
    }
}

.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Icon box */
.contact-info-icon {
    width: 48px;
    height: 48px;
    background: #F0F4F8;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
    color: #50C5FF;
    /* icon colour */
}

.contact-info-item {
    display: grid;
    grid-template-columns: 48px auto;
    column-gap: 1rem;
}

.contact-info-label {
    display: block;
    font-size: 0.9rem;
    color: #6b6b6b;
    margin-bottom: 4px;
}

.contact-info-value {
    font-size: 20px;
    line-height: 1.2;
    font-weight: 900;
    color: #2d304b;
    text-decoration: none;
}

.contact-info-value:hover {
    text-decoration: underline;
}

.contact-info-text {
    display: flex;
    flex-direction: column;
}

/* spacing between pairs within the text block */
.contact-info-value+.contact-info-label {
    margin-top: 2rem;
}

/* Rizer embedded form elements */
.contact-form-wrapper .rz-web-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: -.5rem;
}

.contact-form-wrapper .rz-web-form input[type="text"],
.contact-form-wrapper .rz-web-form input[type="email"],
.contact-form-wrapper .rz-web-form input[type="url"],
.contact-form-wrapper .rz-web-form input[type="tel"],
.contact-form-wrapper .rz-web-form textarea,
.contact-form-wrapper .rz-web-form select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.contact-form-wrapper .rz-web-form input:focus,
.contact-form-wrapper .rz-web-form textarea:focus,
.contact-form-wrapper .rz-web-form select:focus {
    outline: none;
    border-color: #50C5FF;
    /* theme accent */
    box-shadow: 0 0 0 2px rgba(80, 197, 255, 0.2);
}

/* hide all placeholder text */
.contact-form-wrapper .rz-web-form input::placeholder,
.contact-form-wrapper .rz-web-form textarea::placeholder,
.contact-form-wrapper .rz-web-form select::placeholder {
    color: transparent;
}

.contact-form-wrapper .rz-web-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

.contact-form-wrapper .rz-web-form button[type="submit"],
.contact-form-wrapper .rz-web-form input[type="submit"] {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.8rem 2rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.contact-form-wrapper .rz-web-form button[type="submit"]:hover,
.contact-form-wrapper .rz-web-form input[type="submit"]:hover {
    opacity: 0.9;
}

.contact-form-wrapper .rz-web-form .rz-field {
    margin-bottom: 1.2rem;
}

@media (max-width: 768px) {
    .contact-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 0;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }
}

/* Small mobile refinements */
@media (max-width: 640px) {
    .contact-block .contact-map-header {
        min-height: 360px;
        /* taller header to magnify map details */
    }

    .contact-block .contact-map-header .contact-title {
        font-size: 1.8rem;
        margin-top: 16px;
        padding: 0 1rem;
    }

    /* Slightly bias the crop to show Europe on very small screens
        and zoom a bit so city labels are readable */
    .contact-map-image {
        object-position: 10% 35%;
        transform: scale(1.5);
        transform-origin: center;
        top: 30%;
    }

    .contact-info-value {
        font-size: 1rem;
    }
}

/* ==========================================================================
   6. About Page Sections
   ========================================================================== */

/* Shared styles */
.about-headline {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #0d1b2a;
}

.about-hero::before {
    content: " ";
    position: absolute;
    top: 180%;
    transform: translate(-100%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #14e6f3 3.14%, #0897e8 96.86%);
    border-radius: 300px;
    filter: blur(150px);
    z-index: 1;
}

.about-hero::after {
    content: " ";
    position: absolute;
    top: 150%;
    transform: translate(-10%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #14e6f3 3.14%, #0897e8 96.86%);
    border-radius: 300px;
    filter: blur(150px);
    z-index: 1;
}

.about-hero {
    overflow: visible;
    padding: 50px 0;
}

.about-hero .container {
    position: relative;
    z-index: 6;
}

/* ----------------------------- Responsive ----------------------------- */

/* ---------------------------------------------------------------------
   About – Who Section
--------------------------------------------------------------------- */
.about-who-section {
    padding: 60px 0;
}

.about-who-section .container {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    align-items: flex-start;
}

/* Tablet adjustments for About containers and spacing */
@media (max-width: 1024px) {

    .about-why-section .container,
    .about-what-section .container,
    .about-how-section .container,
    .about-who-section .container {
        grid-template-columns: 220px 1fr;
        gap: 1rem 3rem;
    }

    .about-who-grid {
        grid-template-columns: repeat(3, minmax(160px, 1fr));
    }
}

/* Collapse How/Who to single column earlier for better readability */
@media (max-width: 1024px) {

    .about-how-section .container,
    .about-who-section .container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* Ensure team grid flows naturally when only one column exists */
    .about-who-grid {
        grid-area: auto;
    }
}

.about-who-section .about-headline {
    font-size: 2.75rem;
    font-weight: 800;
    color: #273053;
    margin: 0 0 48px 0;
}

.about-who-grid {
    grid-area: 2 / 2 / 3 / 3;
}

/* Featured person */
.about-who-main {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 48px;
}

.about-who-main-image {
    flex-shrink: 0;
    width: 180px;
    height: 260px;
    border-radius: 8px;
    overflow: hidden;
}

.about-who-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(100%);
}

.about-who-main-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-self: self-end;
}

.about-who-main-info .name_role {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 1rem;
}

.about-who-name {
    font-size: 1.375rem;
    font-weight: 700;
    color: #273053;
    margin: 0 0 4px 0;
}

.about-who-role {
    font-size: 1rem;
    font-weight: 500;
    color: #6c6f81;
    margin: 0 0 16px 0;
}

.about-who-quote {
    background: #f3f5f7;
    border-radius: 8px;
    padding: 24px 32px;
    margin: 0;
    position: relative;
}

.about-who-quote::before {
    content: "\201C";
    /* Large opening quote */
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 2.5rem;
    color: #50C5FF;
    line-height: 1;
}

.about-who-quote p {
    font-size: 1rem;
    font-weight: 500;
    color: #273053;
    margin: 0 0 0 24px;
    font-style: italic;
}

/* Team grid */
.about-who-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    gap: 48px 32px;
    justify-items: self-start;
}

/* Stack About grids on mobile and refine sizes */
@media (max-width: 768px) {
    .about-who-section .container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .about-why-section .about-headline,
    .about-what-section .about-headline,
    .about-how-section .about-headline,
    .about-who-section .about-headline {
        font-size: 2rem;
        text-align: center;
    }

    .about-who-grid {
        grid-template-columns: repeat(2, minmax(140px, 1fr));
        gap: 24px;
    }

    .about-who-main-image {
        width: 160px;
        height: 160px;
    }

    .about-who-quote {
        padding: 16px 20px;
    }

    .about-who-main-info .name_role {
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }

    .about-who-quote {
        margin-top: 8px;
        text-align: left;
    }

    /* Timeline item layout stacks vertically */
    .about-how-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .about-how-icon {
        width: 40px;
        height: 40px;
        box-shadow: 0 0 0 10px white;
    }

    .about-how-content {
        align-items: flex-start;
    }

    /* Center How section title on mobile */
    .about-how-section .about-how-title {
        display: flex;
        justify-content: center;
    }

    /* Center icons above text in How section on mobile */
    .about-how-icon {
        align-self: center;
        margin: 0 auto;
    }
}

/* Small mobile refinements */
@media (max-width: 480px) {
    .about-who-grid {
        grid-template-columns: 1fr;
        grid-area: auto;
    }

    .about-who-member-image {
        width: 140px;
        height: 140px;
    }

    .about-hero::before,
    .about-hero::after {
        opacity: 0.25;
        filter: blur(120px);
    }
}

.about-who-member {
    text-align: center;
}

.about-who-member-image {
    width: 180px;
    height: 180px;
    margin: 0 auto 16px auto;
    border-radius: 8px;
    overflow: hidden;
    background: #f0f2f6;
}

.about-who-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(100%);
}

.about-who-member-name {
    font-size: 1rem;
    font-weight: 700;
    color: #273053;
    margin: 0 0 4px 0;
}

.about-who-member-role {
    font-size: 0.875rem;
    font-weight: 500;
    color: #6c6f81;
    margin: 0;
}

/* --------------------------- Responsive --------------------------- */
@media (max-width: 768px) {
    .about-who-main {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .about-who-main-image {
        width: 140px;
        height: 140px;
    }

    .about-who-grid {
        gap: 32px 24px;
    }
}

@media (max-width: 768px) {
    .about-who-content {
        flex-direction: column;
        text-align: center;
    }

    .about-who-avatar {
        width: 140px;
    }

    .about-how-section .container {
        grid-template-columns: 1fr;
    }

    .about-how-section .about-headline {
        margin-bottom: 1.5rem;
    }

    .about-how-item::after {
        display: none;
    }
}

/* About How Timeline Layout */
.about-how-section .container {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    align-items: flex-start;
}

.about-how-section .about-headline {
    font-size: 2.75rem;
    font-weight: 800;
    color: #273053;
    margin: 0;
}

.about-how-timeline {
    position: relative;
}

.about-how-item {
    display: flex;
    gap: 24px;
    margin-bottom: 48px;
    /* increase vertical spacing between steps */
    position: relative;
}

.about-how-item:last-child {
    margin-bottom: 0;
}

.about-how-item:last-of-type::after {
    display: none;
}

.about-how-text.before {
    margin-bottom: 2rem;
    margin-top: 1.2rem;
}

.about-how-text.after {
    margin-top: -.8rem;
}

.about-how-item::after {
    content: '';
    position: absolute;
    left: 24px;
    top: 48px;
    /* start the connector exactly at bottom of the icon */
    bottom: -48px;
    /* reach the next icon */
    width: 2px;
    background: #50C5FF;
}

.about-how-item:last-child::after {
    display: none;
}

.about-how-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #d8efff;
    box-shadow: 0px 0px 0px 15px white;
    z-index: 1;
}

.about-how-icon svg {
    width: 24px;
    height: 24px;
}

.about-how-content {
    display: flex;
    align-items: center;
}

.about-how-card {
    background: #f1f4f8;
    border-radius: 8px;
    padding: 16px 24px;
    font-weight: 700;
    font-size: 1.25rem;
    color: #273053;
}

.about-why-section {
    background-color: white;
    z-index: 1;
    position: relative;
}

/* Layout grid for Why & What */
.about-why-section .container,
.about-what-section .container,
.about-how-section .container,
.about-who-section .container {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 1rem 6rem;
    align-items: flex-start;
}

.about-why-section .about-why-title,
.about-what-section .about-what-title,
.about-how-section .about-how-title,
.about-who-section .about-headline {
    display: flex;
    justify-content: end;
}

.about-why-section .about-why-card,
.about-why-section .about-why-description,
.about-how-section .about-how-timeline {
    margin-right: 9rem;
}

.about-why-section .about-headline,
.about-what-section .about-headline {
    font-size: 2.75rem;
    font-weight: 800;
    color: #273053;
    margin: 0;
    /* remove bottom margin to align */
}

/* Ensure content sits in right column */
.about-why-card,
.about-why-description,
.about-what-title,
.about-what-description {
    grid-column: 2;
}

/* Grey pill card styling shared */
.about-why-card,
.about-what-title {
    background: #f1f4f8;
    border-radius: 8px;
    padding: 16px 24px;
    font-weight: 700;
    font-size: 1.25rem;
    color: #273053;
}

.about-why-card-title {
    /* inside card */
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
}

.about-why-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #3d4a5c;
}

.about-why-description p {
    margin-bottom: 1rem;
}

/* spacing for What section description */
.about-what-description {
    margin-top: 16px;
}

/* About page layout adjustments */
.about-why-section,
.about-what-section,
.about-how-section {
    padding: 40px 0;
    background-color: white;
    z-index: 1;
    position: relative;
}

.about-why-section>.container,
.about-what-section>.container,
.about-how-section>.container,
.about-who-section>.container {
    max-width: 1240px;
}

@media (max-width: 768px) {

    .about-why-section .container,
    .about-what-section .container {
        grid-template-columns: 1fr;
    }

    .about-why-section .about-headline,
    .about-what-section .about-headline {
        margin-bottom: 1.5rem;
    }

    .about-why-card,
    .about-what-title,
    .about-why-description,
    .about-what-description {
        grid-column: 1;
    }
}

/* Additional About mobile refinements */
@media (max-width: 768px) {

    .about-why-section .about-why-title,
    .about-what-section .about-what-title {
        justify-content: center;
    }

    .about-why-section .about-why-card,
    .about-why-section .about-why-description,
    .about-how-section .about-how-timeline {
        margin-right: 0;
    }
}

/*  */

/* ---------------------------------------------------------------------
   Generic Content Hero (for content pages)
--------------------------------------------------------------------- */
.content-hero {
    background: #2d304b;
    color: #fff;
    padding: 100px 0;
    text-align: center;
    position: relative;
}

/* Decorative blurred circles (same style as About hero) */
.content-hero::before {
    content: " ";
    position: absolute;
    top: 180%;
    transform: translate(-100%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #14e6f3 3.14%, #0897e8 96.86%);
    border-radius: 300px;
    filter: blur(150px);
    z-index: 1;
}

.content-hero::after {
    content: " ";
    position: absolute;
    top: 150%;
    transform: translate(-10%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #14e6f3 3.14%, #0897e8 96.86%);
    border-radius: 300px;
    filter: blur(150px);
    z-index: 1;
}

.content-hero-title,
.content-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    z-index: 19;
    position: relative;
}

@media (max-width: 768px) {
    .content-hero {
        padding: 80px 0 60px;
    }

    .content-hero-title,
    .content-hero h1 {
        font-size: 2.25rem;
    }
}

/* Content body spacing */
.content-body {
    padding: 60px 0;
    background: white;
    position: relative;
    z-index: 1;
}

.content-body article {
    max-width: 1280px;
    margin: 0 auto;
}

/* --------------------------------------------------------
   Content Page Typography
-------------------------------------------------------- */
.content-body p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #3d4a5c;
}

.content-body h2 {
    font-size: 2rem;
    line-height: 1.3;
    font-weight: 800;
    color: #273053;
    margin: 3rem 0 1.25rem;
}

.content-body h3 {
    font-size: 1.5rem;
    line-height: 1.35;
    font-weight: 700;
    color: #273053;
    margin: 2.5rem 0 1rem;
}

.content-body h4 {
    font-size: 1.25rem;
    line-height: 1.4;
    font-weight: 700;
    color: #273053;
    margin: 2rem 0 0.75rem;
}

.content-body ul,
.content-body ol {
    padding-left: 1.5rem;
    margin-bottom: 1.75rem;
    color: #3d4a5c;
    font-size: 1.125rem;
    line-height: 1.8;
}

.content-body ul li {
    list-style: disc;
    margin-bottom: 0.5rem;
}

.content-body ol li {
    list-style: decimal;
    margin-bottom: 0.5rem;
}

.content-body a {
    color: #007bff;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease;
}

.content-body a:hover {
    color: #0056b3;
}

/* Pricing Header Styles */
.pricing-header-section {
    background: #2d304b;
    color: #ffffff;
    text-align: center;
    padding: 50px 0;
    position: relative;
}

.pricing-header-section .container {
    position: relative;
    z-index: 6;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-header-section::before {
    content: " ";
    position: absolute;
    top: 600px;
    transform: translate(-100%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #14e6f3 3.14%, #0897e8 96.86%);
    border-radius: 300px;
    filter: blur(150px);
    z-index: 1;
}

.pricing-header-section::after {
    content: " ";
    position: absolute;
    top: 550px;
    transform: translate(-10%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #14e6f3 3.14%, #0897e8 96.86%);
    border-radius: 300px;
    filter: blur(150px);
    z-index: 1;
}

.pricing-header-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.pricing-header-subtitle {
    font-size: 1.1rem;
    max-width: 750px;
    margin: 0 auto 2rem;
    opacity: .9;
    line-height: 1.6;
}

.pricing-price-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 900px;
    border: 1px solid #50C5FF;
    border-radius: 12px;
    padding: 40px 48px;
    gap: 0.75rem;
    background: rgba(52, 117, 151, 0.4);
    box-shadow: 0 0 25px rgba(20, 230, 243, 0.2);
    margin: 3rem auto;
    gap: 3rem;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-size: 48px;
    font-weight: 800;
    line-height: 2rem;
}

.pricing-per-label {
    font-size: 1.25rem;
    font-weight: 600;
    opacity: 0.9;
}

.pricing-left {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.pricing-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
}

.pricing-right a svg {
    width: 16px;
    height: 16px;
    fill: white;
}

.pricing-right .demo-button {
    background: linear-gradient(90deg, #0897e8 3.14%, #14e6f3 150%);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
}

.pricing-right .demo-button:hover {
    box-shadow: 0 4px 10px rgba(34, 90, 125, 0.3);
}

.pricing-trial-text svg {
    height: 18px;
}

.pricing-period {
    font-size: 0.875rem;
    opacity: 0.8;
}

.pricing-header-cta {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    border: none;
    background: linear-gradient(135deg, #e67e22 0, #d35400 100%);
    border-radius: 6px;
    color: #fff;
    padding: 12px 24px;
    font-weight: 600;
    transition: transform .3s, box-shadow .3s;
    font-size: 16px;
    gap: 12px;
}

.pricing-header-cta:hover {
    box-shadow: 0 4px 10px rgba(231, 126, 34, 0.3);
}

.pricing-trial-text {
    font-size: 0.875rem;
    font-style: italic;
    margin-top: 0.15rem;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .pricing-header-title {
        font-size: 2.25rem;
    }

    .pricing-price {
        font-size: 2.25rem;
    }

    .pricing-price-box {
        flex-direction: column;
        gap: 1.25rem;
        padding: 32px 24px;
    }

    .pricing-left,
    .pricing-right {
        align-items: center;
        text-align: center;
    }

    .pricing-right {
        gap: 0.5rem;
    }
}

/* -------------------------------------------------- */
/* FAQ Block Styles */
/* -------------------------------------------------- */
.faq {
    padding: 4rem 1rem;
}

.faq-heading {
    font-size: 2.25rem;
    font-weight: 700;
    color: #21304d;
    text-align: center;
    margin-bottom: 3rem;
}

.faq-list {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem 0;
}

.faq-details {
    position: relative;
}

.faq-details summary {
    list-style: none;
    /* remove default disclosure arrow */
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: #0f172a;
}

.faq-details summary::-webkit-details-marker {
    display: none;
    /* hide default arrow in Safari/Chrome */
}

.faq-toggle {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 20px;
    font-weight: 700;
    transition: transform 0.25s ease, background 0.25s ease;
    position: relative;
}

.faq-toggle::after {
    content: '+';
    line-height: 1;
}

/* state when open -> minus sign */
.faq-details[open] .faq-toggle {
    background: #dbeafe;
    color: #2563eb;
}

.faq-details[open] .faq-toggle::after {
    content: '\2212';
    /* Unicode minus */
}

.faq-answer {
    margin: 0.75rem 0 0 3.25rem;
    color: #475569;
    line-height: 1.6;
}

/* ==========================================================================
   15. Responsive Fixes (mobile-first overrides)
   ========================================================================== */

/* Prevent horizontal scroll from any wide child */
html,
body {
    overflow-x: hidden;
}

/* Ensure hero iframe scales without overflow on smaller viewports */
.hero-image-container iframe {
    width: min(968px, 100%);
    height: auto;
    aspect-ratio: 968 / 628;
}

/* Tablet adjustments */
@media (max-width: 1024px) {

    /* Show two testimonial cards per viewport width on tablet */
    .testimonial-card {
        flex: 0 0 calc(50% - 2rem);
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {

    /* Tighter header spacing on mobile */
    .header-content {
        gap: 1rem;
    }

    /* Prevent hero media from overflowing */
    .hero-image-container {
        padding: 0;
        right: 0;
    }

    .hero-image-container iframe {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
        left: 0;
    }

    /* Contain decorative pseudo-elements to avoid horizontal overflow */
    .about-hero,
    .content-hero,
    .pricing-header-section,
    .hero {
        overflow: hidden;
    }

    /* One testimonial per viewport width for readability */
    .testimonial-card {
        flex: 0 0 85%;
    }

    /* Normalize About section grids to single column on mobile */
    .about-why-section .container,
    .about-what-section .container,
    .about-how-section .container,
    .about-who-section .container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* Make Who team grid single column on mobile */
    .about-who-grid {
        grid-template-columns: 1fr;
    }

    /* Avoid awkward alignment on the About Who main info */
    .about-who-main-info {
        align-self: auto;
    }

    /* Make About section headlines consistent (match "What?") */
    .about-why-section .about-headline,
    .about-what-section .about-headline,
    .about-how-section .about-headline,
    .about-who-section .about-headline {
        display: block;
        width: 100%;
        text-align: center;
        font-size: 2.25rem;
        line-height: 1.2;
        font-weight: 800;
        color: #273053;
        margin: 0 0 1.5rem 0;
    }

    /* Neutralize any legacy flex alignment pushing titles to the edge */
    .about-why-section .about-why-title,
    .about-what-section .about-what-title,
    .about-how-section .about-how-title,
    .about-who-section .about-headline {
        justify-content: center;
    }
}

/* Small mobile refinements */
@media (max-width: 480px) {

    /* Slightly wider testimonial card for very small screens */
    .testimonial-card {
        flex: 0 0 92%;
    }
}

/* ==========================================================================
   16. Thank You Page Styles
   ========================================================================== */

.thankyou-page {
    margin: 50px 0;
}

.thankyou-hero {
    background: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    border-radius: 12px;
    margin: 40px 0;
}

.thankyou-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.thankyou-icon {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.thankyou-icon svg {
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 4px 8px rgba(76, 175, 80, 0.2));
}

.thankyou-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0d1b2a;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
}

.thankyou-subtitle {
    font-size: 1.2rem;
    color: #6c7a89;
    margin-bottom: 3rem;
    font-weight: 500;
}

.thankyou-message {
    margin-bottom: 3rem;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.thankyou-message p {
    font-size: 1.1rem;
    color: #6c7a89;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.thankyou-cta {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.thankyou-cta p {
    font-size: 1.1rem;
    color: #6c7a89;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.thankyou-cta .btn {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    border: none;
    border-radius: 6px;
    padding: 12px 24px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    margin: 0 0.5rem;
    font-size: 16px;
}

.thankyou-cta .btn-primary {
    background: linear-gradient(135deg, #0CB3E2 0%, #14e6f3 100%);
    color: #fff;
}

.thankyou-cta .btn-primary:hover {
    box-shadow: 0 4px 15px rgba(12, 179, 226, 0.3);
    transform: translateY(-1px);
}

.thankyou-cta .btn-secondary {
    background: #fff;
    color: #0CB3E2;
    border: 2px solid #0CB3E2;
}

.thankyou-cta .btn-secondary:hover {
    background: #0CB3E2;
    color: #fff;
    transform: translateY(-1px);
}

.thankyou-additional-content {
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Mobile adjustments for thank you page */
@media (max-width: 768px) {
    .thankyou-hero {
        padding: 60px 0;
        margin: 20px 0;
    }

    .thankyou-title {
        font-size: 2rem;
    }

    .thankyou-subtitle {
        font-size: 1.1rem;
    }

    .thankyou-message p {
        font-size: 1rem;
    }

    .thankyou-cta .btn {
        display: block;
        margin: 0.5rem 0;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .thankyou-content {
        padding: 0 15px;
    }

    .thankyou-title {
        font-size: 1.8rem;
    }

    .thankyou-icon svg {
        width: 60px;
        height: 60px;
    }

    .thankyou-message p {
        font-size: 0.95rem;
    }
}