:root {
    /* --- Color Palette --- */
    --primary: #6487AF;
    --primary-dark: #3A5778;
    --primary-light: #E6EFF9;
    --accent: #AABEDC;
    --text-main: #333333;
    --text-sub: #666666;
    --bg-body: #FFFFFF;
    --bg-neutral: #F5F5F5;
    --border-color: #E6E6E6;
    /* --- Styles --- */
    --shadow-hover: 0 12px 24px rgba(58, 87, 120, 0.15);
    --radius-pill: 999px;
    --radius-card: 12px;
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'IBM Plex Sans', sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-body);
    color: var(--text-main);
    margin: 0;
    padding-bottom: 0px;
    -webkit-font-smoothing: antialiased;
    font-weight: 300;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    font-weight: 600;
}

.container {
    margin: 0 auto;
    padding: 0 20px;
}

/* ================= HEADER ================= */
.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    background: #fff;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-dark);
    font-family: var(--font-serif);
}

.logo-icon {
    width: 32px;
    height: 32px;
    color: var(--primary);
}

.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: #888;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--primary);
}

.header-actions {
    display: flex;
    gap: 12px;
}

.btn-header-outline {
    border: 1px solid var(--primary);
    background: var(--primary);
    color: white;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none;
}

.btn-header-fill {
    background: var(--primary);
    /* Screenshot shows blue fill */
    color: white;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none;
}

/* Adjustments to match screenshot buttons exactly */
.btn-my-account {
    background-color: #345c85;
    color: white;
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 0.9rem;
    border: none;
}

.btn-book-demo {
    background-color: #6487AF;
    color: white;
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 0.9rem;
    border: none;
}


/* ================= CONTENT BACKGROUND WRAPPER ================= */
.content-bg-wrapper {
    background-image: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url('https://stargems.com/assets/img/googleads/background-16-01-26.png');
    background-repeat: repeat;
    background-size: 100% auto;
    background-position: top center;
    background-color: #FAFAFA;
    position: relative;
    padding-bottom: 20px;
}

.hero-section,
.value-prop-section {
    background: transparent;
}

/* ================= HERO SECTION ================= */
.hero-section {
    position: relative;
    padding: 80px 0 60px;
    text-align: center;
    overflow: hidden;
}

.hero-title {
    font-size: 3.5rem;
    color: #000;
    margin-bottom: 20px;
}

.hero-subtitle {
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-sub);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
}

.btn-hero-dark,
.btn-hero-dark:hover {
    background: #333;
    color: white;
    padding: 12px 30px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 500;
}

.btn-hero-outline {
    background: transparent;
    border: 1px solid #ccc;
    color: #333;
    padding: 12px 30px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 500;
}

/* Floating Icons */
.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 12;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.floating-icon.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.icon-monitor {
    top: 18%;
    left: 8%;
    background: #999;
    color: white;
    transform: rotate(-10deg) translateY(20px) scale(0.8);
}

.icon-monitor.visible {
    transform: rotate(-10deg) translateY(0) scale(1);
}

.icon-cursor {
    top: 12%;
    right: 8%;
    background: #6487AF;
    color: white;
}

/* ... others ... */
.icon-globe {
    bottom: 35%;
    left: 10%;
    background: #AED2E8;
    color: #3A5778;
}

.icon-search {
    bottom: 25%;
    right: 8%;
    background: #3A5778;
    color: white;
    width: 70px;
    height: 70px;
}

/* Hero Title Animation Wrapper */
.hero-title-wrapper {
    transform: translateY(100px) scale(1.1);
    transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
    opacity: 1;
    position: relative;
    z-index: 20;
}

.hero-title-wrapper.visible {
    transform: translateY(0) scale(1);
}

/* Hero Body (Subtitle + Buttons) Wrapper */
.hero-body-wrapper {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
    transition-delay: 0.3s;
}

.hero-body-wrapper.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Laptop Mockup Wrapper */
.hero-visual {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    transform: translateY(-100px) scale(1.15);
    transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 10;
    pointer-events: none;
}

.hero-visual.active {
    transform: translateY(0) scale(1);
}

.hero-visual img.laptop-frame {
    width: 100%;
    display: block;
    position: relative;
    z-index: 2;
    pointer-events: none;
}

.laptop-screen {
    pointer-events: auto;
    position: absolute;
    top: 5.5%;
    left: 13.3%;
    width: 73.5%;
    height: 82%;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1;
    background: #1a1a1a;
    border-radius: 2px 2px 0 0;
    scrollbar-width: none;
}

.laptop-screen::-webkit-scrollbar {
    display: none;
}

.scroll-img {
    width: 100%;
    display: block;
}

/* ================= VALUE PROP SECTION ================= */
.value-prop-image {
    flex: 1;
}

.value-prop-image img {
    width: 100%;
    border-radius: 20px;
}

.value-prop-card {
    position: absolute;
    top: -30px;
    right: -50px;
    background: #6487AF;
    /* Primary Blue */
    color: white;
    padding: 24px;
    border-radius: 16px;
    width: 280px;
    box-shadow: 0 10px 40px rgba(100, 135, 175, 0.4);
    z-index: 2;
    text-align: left;
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.icon-circle {
    background: #ffffff;
    /* Solid white circle */
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-circle i,
.icon-circle img {
    width: 20px;
    height: 20px;
    color: white;
    object-fit: contain;
}

.arrow-icon {
    width: 20px;
    height: 20px;
    color: white;
    opacity: 0.8;
}

.card-stat h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 5px 0;
    color: white;
    font-family: var(--font-sans);
    line-height: 1.2;
}

.card-stat small {
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.9;
    margin-left: 8px;
}

.card-link-row {
    margin-top: 15px;
    font-size: 0.9rem;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-link-row a {
    color: #fff;
}

.value-prop-content {
    flex: 1;
    font-size: 2rem;
    line-height: 1.4;
    color: var(--text-main);
    font-family: var(--font-sans);
    font-weight: 300;
}

.value-prop-content strong {
    font-weight: 700;
    color: #1a3c5e;
}

/* Tablet/iPad specific adjustments for the card size */
@media (min-width: 768px) and (max-width: 1199px) {
    .value-prop-card {
        width: 220px;
        padding: 16px;
        right: -20px;
        top: -20px;
    }

    .card-stat h3 {
        font-size: 1.4rem;
    }

    .icon-circle {
        width: 32px;
        height: 32px;
    }

    .icon-circle img {
        width: 16px;
        height: 16px;
    }

    .value-prop-content {
        font-size: 1.5rem;
        /* Slightly smaller text for tablet text column too */
    }
}

@media (max-width: 767px) {
    .value-prop-image {
        margin-top: 20px;
        /* Space for the hanging card */
        padding-right: 10px;
        /* Space for right overhang if needed */
    }

    .value-prop-card {
        position: absolute;
        top: -30px;
        right: -10px;
        /* Float off edge slightly */
        margin: 0;
        width: 180px;
        padding: 15px;
        border-radius: 12px;
        box-shadow: 0 5px 20px rgba(100, 135, 175, 0.3);
    }

    .value-prop-card .card-stat h3 {
        font-size: 1.25rem;
    }

    .value-prop-card .card-stat small {
        display: block;
        margin-left: 0;
        margin-top: 2px;
        font-size: 0.8rem;
    }

    .value-prop-card .icon-circle {
        width: 32px;
        height: 32px;
    }

    .value-prop-card .icon-circle img {
        width: 16px;
        height: 16px;
    }

    .value-prop-card .card-link-row {
        font-size: 0.8rem;
        margin-top: 10px;
    }

    .value-prop-content {
        font-size: 1.25rem;
    }
}


/* ================= FEATURES GRID ================= */
.features-section {
    background: #F8F9FA;
    /* Light clean background */
    padding: 30px 10px !important;
    border-radius: 30px;
    margin: 40px auto;
    max-width: 1400px;
}

.features-header {
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 0 40px;
    text-align: left;
    text-align: left;
}

.features-header h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #111;
    text-align: center;
}

.features-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    text-align: center;
}



.feature-card {
    background: linear-gradient(145deg, #9ca3af 0%, #6b7280 100%);
    background: linear-gradient(160deg, #A8B2C1 0%, #768191 100%);
    border-radius: 20px;
    padding: 40px 30px;
    color: white;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.1));
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.feature-icon-wrapper {
    margin-bottom: 20px;
    width: 50px;
    height: 50px;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    border-radius: 14px;
    /* Squircle */
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.feature-icon-wrapper img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.floating-icon img {
    width: 55%;
    height: 55%;
    object-fit: contain;
}

.feature-card h3 {
    margin: 15px 0 10px;
    font-size: 24px;
    color: #fff;
}

.feature-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.9;
    margin: 0;
}

.pricing-card-blue .detail-block h4 {
    color: #fff;
}

/* ================= RECENT WORK ================= */
.recent-work-section {
    background-image: url('https://stargems.com/assets/img/websitedesign/jewelry-retailer-seo-strategy-at-stargems.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    text-align: center;
    color: white;
}

.recent-work-header h2 {
    font-size: 3.5rem;
    font-family: var(--font-serif);
    margin-left: 15px;
    margin-bottom: 20px;
    font-weight: 400;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: #fff;
}

.recent-work-header p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 50px;
    opacity: 0.9;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.work-card {
    width: 100%;
    /* max-width: 350px; Removed to let it stretch or control via owl items */
    height: 500px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: none;
    background: white;
    cursor: pointer;
    position: relative;
    margin: 0 auto;
    /* Ensure centering */
}

.work-card:hover {
    transform: translateY(-10px);
}

.scroll-work-img {
    width: 100%;
    display: block;
    transition: transform 10s ease-in-out;
    will-change: transform;
}

/* Fallback Grid layout for Desktop when OwlCarousel is disabled */
@media (min-width: 768px) {
    .recent-work-section .owl-carousel {
        display: flex;
        justify-content: center;
        gap: 30px;
        flex-wrap: wrap;
        /* Allow wrapping if needed, though we expect 3 items */
    }

    .recent-work-section .owl-carousel .item {
        width: 30%;
        /* 3 items per row approx */
        flex: 0 0 30%;
        max-width: 350px;
        /* Optional: limit width */
    }
}

/* Fallback Grid layout for Desktop when OwlCarousel is disabled */
@media (min-width: 768px) {
    .recent-work-section .owl-carousel {
        display: flex;
        justify-content: center;
        gap: 30px;
        flex-wrap: wrap;
        /* Allow wrapping if needed, though we expect 3 items */
    }

    .recent-work-section .owl-carousel .item {
        width: 30%;
        /* 3 items per row approx */
        flex: 0 0 30%;
        max-width: 350px;
        /* Optional: limit width */
    }
}

.work-card:hover .scroll-work-img {
    transform: translateY(calc(-100% + 500px));
}


/* ================= PRICING SECTION ================= */
.pricing-wrapper {
    width: 100%;
    background: #fff;
    padding: 60px 20px;
}

.pricing-wrapper .section-header {
    margin-bottom: 60px;
}

.pricing-wrapper .section-header h2 {
    color: #111;
    font-size: 3rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.pricing-wrapper .section-header p {
    color: #666;
    font-size: 1.1rem;
}

/* PRICING BOX SHADOW CONTAINER */
.pricing-box-shadow {
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    border: 1px solid #f0f0f0;
    position: relative;
    z-index: 1;
    padding: 3rem 1rem;
}

@media (max-width: 991px) {
    .pricing-box-shadow {
        padding: 1.5rem;
    }
}

.pricing-grid {
    row-gap: 80px;
    justify-content: center;
    gap: 30px 0;
}

/* --- COMMON CARD STYLES --- */
.pricing-card-white,
.pricing-card-blue {
    border-radius: 12px;
    padding: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-content-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.price-display-new {
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 4px;
    /* Reduced gap */
    margin: 10px 0;
}

.price-display-new span {
    white-space: nowrap;
}

.price-display-new .period {
    font-size: 0.85rem;
    /* Slightly smaller labels to save space */
}

.price-display-new .period br {
    display: none;
}

/* --- WHITE CARD (Default) --- */
.pricing-card-white {
    background: #FAFAFA;
    /* Very light gray/white */
    border: 1px solid #E5E5E5;
    color: #333;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    padding: 20px;
    /* Reduced from 30px to fit content */
}

.pricing-card-white:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.pricing-card-white h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #111;
}

.pricing-card-white p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
    min-height: 40px;
    /* alignment */
}

.pricing-card-white .val {
    font-size: 2.2rem;
    font-weight: 700;
    color: #111;
    line-height: 1;
}

.pricing-card-white .period {
    color: #666;
    font-size: 1rem;
}

.pricing-card-white .feature-icon {
    stroke: #316492;
    /* Blue checks */
}

.pricing-card-white button.toggle-btn-new {
    color: #316492;
}

/* --- BLUE CARD (Recommended) --- */
.pricing-card-blue {
    background: #316492;
    /* Matching the screenshot blue (approx #316492 or #2c5282) */
    color: white;
    box-shadow: 0 10px 30px rgba(49, 100, 146, 0.3);
    border: none;
    margin-top: 0;
    /* Align with others inside the grid */
    border-top-left-radius: 0;
    /* Connect to tab */
    padding: 20px;
    /* Reduced from 30px implicit/inherited or previous style */
}

.pricing-card-blue:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(49, 100, 146, 0.4);
}

.pricing-card-blue h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: white;
}

.pricing-card-blue p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    min-height: 40px;
}

.pricing-card-blue .val {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.pricing-card-blue .period {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.pricing-card-blue .feature-icon {
    stroke: white;
    /* White checks */
}

.pricing-card-blue button.toggle-btn-new {
    color: white;
    opacity: 0.9;
}

/* --- BADGE (Tab Style) --- */
.recommended-tab {
    position: absolute;
    top: -40px;
    left: 0;
    background: #316492;
    color: white;
    padding: 10px 20px;
    border-radius: 10px 10px 0 0;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    box-shadow: none;
    z-index: 2;
}

/* --- LISTS --- */
.main-feature-list-new {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.main-feature-list-new li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 1rem;
}

/* --- CONTENT --- */
.card-header-new {
    margin-bottom: 20px;
}

.price-display-new {
    margin-bottom: 20px;
}

/* --- BUTTONS --- */
.toggle-btn-new {
    background: transparent;
    border: none;
    cursor: pointer;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: underline;
    font-size: 0.9rem;
}

/* Main CTA Buttons */
.initiate-btn-new {
    width: 100%;
    padding: 14px;
    border-radius: 50px;
    /* Pill shape */
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background 0.2s;
}

.btn-blue {
    background: #316492;
    color: white;
}

.btn-blue:hover {
    background: #254d70;
}

.btn-white {
    background: white;
    color: #316492;
}

.btn-white:hover {
    background: #f0f0f0;
}

/* Details Section */
.collapsible-section {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
}

.collapsible-section.open {
    max-height: 500px;
    /* Allow expansion */
    overflow-y: auto;
    margin-bottom: 20px;
}

/* ================= UPGRADE & GRAPH SECTION ================= */
.upgrade-section {
    padding: 0;
    text-align: center;
    background-color: #F0F4F8;
    background-image: linear-gradient(rgba(240, 244, 248, 0.9), rgba(240, 244, 248, 0.9)), url('ws_assets/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.graph-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.graph-svg {
    width: 100%;
    height: 100%;
}

@keyframes drawGraph {
    0% {
        stroke-dashoffset: 2000;
        /* Hidden (Gap covers path) */
    }

    40% {
        stroke-dashoffset: 0;
        /* Fully Drawn */
    }

    60% {
        stroke-dashoffset: 0;
        /* Hold fully drawn */
    }

    100% {
        stroke-dashoffset: -2000;
        /* Hidden (Line moves out, gap chases it) */
    }
}

.graph-path {
    fill: none;
    stroke: #6487AF;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.8;
    /* Increased visibility */
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    /* 4s loop: Draw in (40%), Hold (20%), Erase out (40%) */
    animation: drawGraph 4s linear infinite;
}

.upgrade-content {
    position: relative;
    z-index: 2;
    display: inline-block;
}

.upgrade-content h2 {
    font-size: 3rem;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #4A6A8A 0%, #8BA3BF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #4A6A8A;
}

.btn-consult {
    background: linear-gradient(135deg, #6487AF 0%, #3A5778 100%);
    color: white;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.2s;
}

.btn-consult:hover {
    opacity: 0.9;
}


/* ================= FAQ SECTION ================= */
.faq-section {
    padding: 80px 0;
    background: #fff;
    text-align: center;
}

.faq-header {
    margin-bottom: 40px;
}

.faq-header h2 {
    font-size: 2.5rem;
    text-align: center;
}

.faq-container {
    max-width: 100%;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    border: 1px solid #ddd;
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    background: white;
}

.faq-question {
    width: 100%;
    background: white;
    border: none;
    padding: 20px;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background: #f9f9f9;
}

.faq-icon {
    transition: transform 0.3s;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #fdfdfd;
}

.faq-answer p {
    padding: 20px;
    margin: 0;
    color: var(--text-sub);
    line-height: 1.5;
}

.faq-item.open .faq-answer {
    max-height: 200px;
    /* Adjust based on content */
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
}

/* Base Footer Placeholder */
.site-footer {
    background: #333;
    color: white;
    padding: 40px;
    text-align: center;
}

/* Responsive */
@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-visual {
        max-width: 100%;
        transform: none !important;
        margin-top: 40px;
    }
}

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .site-header {
        flex-direction: column;
        gap: 20px;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Responsive Fix for Floating Icons */
@media (max-width: 992px) {
    .floating-icon {
        width: 45px;
        height: 45px;
    }

    .icon-monitor {
        left: 2%;
        top: 15%;
    }

    .icon-cursor {
        right: 2%;
        top: 10%;
    }

    .icon-globe {
        left: 2%;
        bottom: 25%;
    }

    .icon-search {
        right: 2%;
        bottom: 15%;
        width: 50px;
        height: 50px;
    }

    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 576px) {
    .floating-icon {
        width: 35px;
        height: 35px;
        /* Hide icons on very small screens if they overlap text? 
           User said 'adjust', so usually we keep them but push them to the very edge or opacity */
        opacity: 0.8;
    }

    .icon-monitor {
        left: 10px;
        top: 15px;
        transform: none;
    }

    .icon-cursor {
        right: 10px;
        top: 15px;
        transform: none;
    }

    .icon-globe {
        left: 10px;
        bottom: 30%;
        transform: none;
    }

    .icon-search {
        right: 10px;
        bottom: 20%;
        width: 35px;
        height: 35px;
        transform: none;
    }

    /* Increase padding to ensure text doesn't touch edges where icons might be close */
    .hero-section {
        padding-left: 15px;
        padding-right: 15px;
    }

    .hero-title {
        font-size: 2.2rem;
        margin-top: 40px;
    }

    /* Add margin top to clear top icons */
    .hero-subtitle {
        font-size: 1rem;
    }

    /* Pricing Section Mobile Adjustments */
    .pricing-box-shadow {
        padding: 1.5rem !important;
        /* Reduce padding from 3rem */
        border-radius: 20px;
    }

    .pricing-card-white,
    .pricing-card-blue {
        padding: 20px;
        /* Reduce internal card padding */
    }

    .pricing-wrapper .section-header h2 {
        font-size: 2rem;
    }

    /* Upgrade Section Mobile Adjustments */
    .upgrade-section {
        height: auto;
        padding: 60px 0;
    }

    .upgrade-content h2 {
        font-size: 2rem;
        /* Smaller font on mobile */
    }

    .graph-container {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        transform: none;
    }

    .graph-svg {
        height: 100%;
        /* Fill container */
        width: 100%;
        /* object-fit: cover; Removed to prevent cropping */
    }

    .graph-svg line {
        display: block;
        /* Show axes on mobile */
    }

    .graph-svg path {
        opacity: 0.3;
        /* Fade the line drawing so text pops more */
    }

    /* General Responsive Fixes for Tablet/Mobile */


    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        /* Smart auto-stacking */
    }

    .feature-card {
        min-height: auto;
        /* Allow flexible height */
    }

    .recent-work-header h2 {
        font-size: 2.5rem;
    }

    .site-header {
        padding: 15px 20px;
    }

    .logo-container {
        font-size: 1.2rem;
    }

    .features-header {
        padding: 0;
        margin-bottom: 30px;
    }

    .features-header h2 {
        font-size: 1.6rem;
    }

    .features-header p {
        font-size: 1rem;
        padding: 0 10px;
    }
}

/* Mobile Carousel for Recent Work */
@media (max-width: 767px) {
    .recent-work-section .container {
        padding-left: 0;
        padding-right: 0;
    }

    /* Restore padding for header */
    .recent-work-section .recent-work-header {
        padding-left: 20px;
        padding-right: 20px;
    }

    .recent-work-section .work-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        gap: 20px;
        padding: 10px 7.5% 40px 7.5%;
        margin: 0;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        scroll-behavior: smooth;
    }

    .recent-work-section .work-grid::-webkit-scrollbar {
        display: none;
    }

    .recent-work-section .work-grid>div {
        flex: 0 0 85%;
        max-width: 85%;
        scroll-snap-align: center;
        padding: 0;
    }

    .work-card {
        height: 400px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        overflow-y: auto;
        scrollbar-width: none;
    }

    .work-card::-webkit-scrollbar {
        display: none;
    }

    .work-card:hover .scroll-work-img {
        transform: none;
    }

    .scroll-work-img {
        transition: none;
    }

    .carousel-controls {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 20px;
        margin-top: 10px;
        margin-bottom: 20px;
    }

    .pagination-dots {
        display: flex;
        align-items: center;
        gap: 12px;
        background: rgba(255, 255, 255, 0.1);
        padding: 10px 20px;
        border-radius: 30px;
        backdrop-filter: blur(10px);
    }

    .dot {
        width: 8px;
        height: 8px;
        background-color: rgba(255, 255, 255, 0.4);
        border-radius: 50%;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        cursor: pointer;
    }

    .dot.active {
        width: 24px;
        height: 8px;
        border-radius: 4px;
        background-color: #fff;
    }

    .carousel-play-pause {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
        border: none;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        backdrop-filter: blur(10px);
        transition: background 0.3s;
    }

    .carousel-play-pause:hover {
        background: rgba(255, 255, 255, 0.2);
    }

    .carousel-play-pause i {
        width: 18px;
        height: 18px;
    }

    .faq-header h2 {
        font-size: 1.75rem;
    }

    .pricing-card-white .val,
    .pricing-card-blue .val {
        font-size: 2.5rem;
    }

    .price-display-new {
        display: flex;
        align-items: baseline;
        justify-content: center;
        flex-wrap: nowrap;
        gap: 4px;
    }

    .price-display-new span {
        white-space: nowrap;
    }

    .price-display-new .period br {
        display: none;
    }
}

@media (min-width: 1600px) {
    .container {
        max-width: 1500px;
    }

    .faq-section {
        padding-left: 200px;
        padding-right: 200px;
    }

    .recent-work-section {
        padding-left: 50px;
        padding-right: 50px;
    }

    .recent-work-section .recent-work-header,
    .recent-work-section .container {
        max-width: 1500px;
    }

    .recent-work-header p {
        margin: 0;
    }

    .recent-work-section .owl-carousel {
        justify-content: space-between;
        gap: 20px;
    }

    .recent-work-section .owl-carousel .item {
        max-width: 450px;
    }

    .hero-visual {
        max-width: 1200px;
    }

    .value-prop-section .col-md-5.offset-md-1 {
        margin-left: 0;
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
    }

    .value-prop-section .value-prop-content {
        padding-left: 0 !important;
        margin-left: 10px;
    }

    .features-section {
        max-width: 1600px;
    }

    .features-header h2 {
        font-size: 4.5rem;
    }

    .features-header p {
        font-size: 1.5rem;
    }

    .feature-card {
        padding: 60px 40px;
        min-height: 350px;
    }

    .feature-icon-wrapper {
        width: 80px;
        height: 80px;
    }

    .feature-icon-wrapper img {
        width: 40px;
        height: 40px;
    }

    .feature-card h3 {
        font-size: 1.75rem;
    }

    .feature-card p {
        font-size: 1.15rem;
    }

    .price-display-new {
        display: flex;
        align-items: baseline;
        justify-content: center;
        flex-wrap: nowrap;
        gap: 6px;
    }

    .price-display-new span {
        white-space: nowrap;
    }

    .price-display-new .period br {
        display: none;
    }

    .price-display-new .period br {
        display: none;
    }
}

/* Tablet & Mobile Graph Adjustment */
@media (max-width: 991px) {
    .upgrade-section {
        height: auto;
        min-height: 400px;
        padding: 60px 0;
    }

    .graph-container {
        position: absolute;
        width: 140%;
        height: 100%;
        top: 0;
        left: -24%;
        transform: none;
        margin-bottom: 0;
    }

    .upgrade-content {
        position: relative;
        z-index: 2;
    }
}

/* Upgrade Section Styling (Global/Base, but overrides for mobile handled above/here) */
.upgrade-section {
    background-color: #eff4f8;
    /* Light blue-grey background */
}

.btn-consult {
    background-color: #4a6b8a;
    /* Slate blue */
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: background-color 0.2s;
    border: none;
}

.btn-consult:hover {
    background-color: #3b5670;
    color: white;
}

.graph-svg path {
    opacity: 1 !important;
    /* Ensure line is visible */
    stroke: #6487AF;
    /* Ensure consistent stroke color */
}

/* ================= TERMS & CONDITIONS MODAL ================= */
.terms-trigger-container {
    text-align: center;
    margin-top: 30px;
    padding-bottom: 40px;
}

.btn-terms {
    background: transparent;
    color: var(--text-sub);
    border: 1px solid var(--border-color);
    padding: 10px 24px;
    border-radius: 999px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
    text-decoration: none;
}

.btn-terms:hover {
    background: white;
    color: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.modal-overlay.hidden {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

/* Modal Content */
.modal-content {
    background: white;
    width: 90%;
    max-width: 700px;
    max-height: 85vh;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 0;
    transform: translateY(0);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.modal-overlay.hidden .modal-content {
    transform: translateY(20px);
}

.modal-header {
    padding: 24px 30px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.modal-body {
    padding: 30px;
    overflow-y: auto;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-main);
}

.modal-body ul {
    padding-left: 20px;
    margin-bottom: 20px;
    list-style-type: disc;
}

.modal-body li {
    margin-bottom: 12px;
    padding-left: 5px;
}

/* Close Button */
.close-modal-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f0f0f0;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: #555;
    z-index: 10;
}

.close-modal-btn:hover {
    background: #e0e0e0;
    color: #000;
    transform: rotate(90deg);
}

.close-modal-btn i {
    width: 20px;
    height: 20px;
}

.terms-divider {
    height: 1px;
    background: var(--border-color);
    margin: 20px 0;
    width: 100%;
}

.terms-note {
    font-size: 0.85rem;
    color: var(--text-sub);
    margin-bottom: 8px;
    font-style: italic;
}

/* Custom Scrollbar for Modal */
.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: #bbb;
}

@media (max-width: 600px) {
    .close-modal-btn {
        top: 15px;
        right: 15px;
        width: 32px;
        height: 32px;
    }

    .modal-header {
        padding: 20px;
    }

    .modal-body {
        padding: 20px;
    }
}

/* ================= SIGN UP BUTTON ================= */
.initiate-btn {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 999px;
    padding: 16px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    width: 100%;
    margin-top: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    transition: transform 0.2s, background-color 0.2s;
    text-decoration: none !important;
    /* Ensure no underline */
}

.initiate-btn:hover {
    color: white !important;
    text-decoration: none;
    background: var(--primary);
    /* Keep background consistent */
    transform: translateY(-2px);
}

/* Specific style for Recommended (Blue) Card */
.pricing-card-blue .initiate-btn {
    background: white;
    color: var(--primary);
}

.pricing-card-blue .initiate-btn:hover {
    background: #f0f0f0;
    color: var(--primary) !important;
}