:root {
    /* Color Palette - Microsoft Fabric Green Theme */
    --primary: #008272;
    --primary-rgb: 0, 130, 114;
    /* Fabric Teal/Green */
    --primary-dark: #004B43;
    --secondary: #252423;
    /* Dark Grey */
    --accent: #00B294;
    /* Lighter Teal */
    --background: #FFFFFF;
    --surface: #F3F2F1;
    /* Light Grey Surface */
    --text-main: #201F1E;
    --text-light: #605E5C;
    --white: #FFFFFF;

    /* Spacing */
    --section-padding: 80px 20px;
    --container-max-width: 1200px;

    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Effects */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --radius-md: 4px;
    /* More professional, less rounded */
    --radius-lg: 8px;
}

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

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

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border: 1px solid var(--primary);
}

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

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--text-main);
}

.btn-secondary:hover {
    background: var(--surface);
    color: var(--text-main);
}

/* Special Low-key Highlight Button */
.btn-special {
    position: relative;
    border: 1px solid var(--accent);
    color: var(--primary);
    background: rgba(0, 178, 148, 0.05);
    /* Very subtle teal tint */
    font-weight: 600;
    margin-right: 8px;
    /* Spacing from Contact button */
}

.btn-special:hover {
    background: rgba(0, 178, 148, 0.1);
    border-color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 130, 114, 0.15);
}

.highlight {
    color: var(--primary);
    position: relative;
    font-weight: 700;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 12px;
    color: var(--secondary);
}

.section-subtitle {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 500;
    margin-top: 8px;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Header */
header {
    background: transparent;
    /* Start transparent */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid transparent;
    height: 90px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

header.header-scrolled {
    background: #FFFFFF;
    /* Solid white to blend with JPG logo */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

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

/* Logo Blending Fix */
.logo img {
    height: 70px;
    /* Increased for better visibility */
    width: auto;
    /* Use mix-blend-mode if the image has a white background that needs to blend */
    mix-blend-mode: multiply;
    display: block;
    transition: transform 0.2s ease;
}

.logo a {
    display: block;
}

.logo a:hover img {
    transform: scale(1.05);
}

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

.nav-links a {
    font-weight: 500;
    color: var(--secondary);
    font-size: 0.95rem;
}

.link-grey {
    display: inline-block;
    color: #666;
    background: #f0f0f0;
    border: 1px solid #ddd;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.85rem;
    margin-left: 6px;
    transition: all 0.2s;
}

/* Fix for Button Colors in Nav */
.nav-links .btn-primary {
    color: var(--white) !important;
}

.nav-links .btn-special {
    color: var(--primary) !important;
}

.link-grey:hover {
    background: #e5e5e5;
    color: #333;
    border-color: #ccc;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.nav-links a:hover {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.hamburger {
    display: none;
    cursor: pointer;
}

/* Hero */
#hero {
    height: 90vh;
    /* Slightly shorter for cleaner look */
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 100px;
    /* Offset for larger header */
    /* Offset larger header */
    background: radial-gradient(circle at 70% 30%, rgba(0, 130, 114, 0.08) 0%, transparent 60%),
        linear-gradient(to bottom, #FFFFFF, #FAF9F8);
    overflow: hidden;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.6;
    /* Subtle blend */
}

.hero-bg {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding-top: 40px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    color: var(--secondary);
    letter-spacing: -1px;
}

.brand-text {
    font-family: var(--font-heading);
    color: #008272 !important;
    /* Forces the Fabric Green */
    font-weight: 800;
}

.hero-content .lead {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 600px;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    gap: 16px;
}

/* Philosophy */
#philosophy {
    padding: var(--section-padding);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.card {
    background: var(--surface);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.glass-card {
    background: var(--white);
    border: 1px solid #E1DFDD;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.glass-card .icon,
.glass-card h3,
.glass-card p {
    transition: transform 0.4s ease;
}

.glass-card:hover .icon,
.glass-card:hover h3,
.glass-card:hover>p {
    transform: translateY(-20px);
}

.glass-card .clean-list {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
    margin-top: 0;
}

.glass-card:hover .clean-list {
    max-height: 300px;
    opacity: 1;
    transform: translateY(-10px);
    margin-top: 16px;
}

/* Smaller, relevant icons */
/* Smaller, relevant icons */
.icon {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.icon-svg {
    width: 100%;
    height: 100%;
}

.card h3 {
    margin-bottom: 12px;
    color: var(--primary);
    font-size: 1.25rem;
}

/* Services */
#services {
    padding: var(--section-padding);
    background: linear-gradient(to bottom, #ffffff, #f0f2f5);
}

.services-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
}

.service-item {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    /* Added for Hover Effect */
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.service-item:hover {
    box-shadow: var(--shadow-md);
    border-left-color: var(--accent);
    transform: translateY(-5px);
}

/* Hover Content Effects (Mimicking Glass Card) */
.service-item h3,
.service-item p {
    transition: transform 0.4s ease;
}

.service-item:hover h3,
.service-item:hover p {
    transform: translateY(-20px);
}

.service-item .clean-list {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
    margin-top: 0;
    /* List Style */
    list-style: none;
    /* Ensure no bullets */
}

/* Shared clean list item style if not global */
.service-item .clean-list li {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 8px;
    padding-left: 12px;
    border-left: 2px solid var(--accent);
}

.service-item:hover .clean-list {
    max-height: 300px;
    opacity: 1;
    transform: translateY(-10px);
    margin-top: 16px;
}

.service-item h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

/* Fabric Capabilities */
#fabric-capabilities {
    padding: var(--section-padding);
    background: var(--surface);
}

.fabric-grid {
    display: grid;
    /* Exactly 3 columns for 3x3 layout */
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.fabric-card {
    background: rgba(255, 255, 255, 0.75);
    /* Semi-transparent */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 32px;
    border-radius: 20px;
    /* Rounded corners as requested */
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    /* Glass edge */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Left align */
    height: 100%;
}

.fabric-card:hover {
    box-shadow: 0 12px 32px rgba(0, 130, 114, 0.15);
    /* Teal glow */
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(0, 130, 114, 0.3);
    background: rgba(255, 255, 255, 0.95);
}

.fabric-icon {
    /* Updated for 48px icons */
    margin-bottom: 20px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fabric-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.fabric-card h3 {
    color: var(--secondary);
    /* Darker text for title */
    margin-bottom: 8px;
    font-size: 1.25rem;
    font-weight: 600;
}

.fabric-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 24px;
    flex-grow: 1;
}

.fabric-link {
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 0.9rem;
    align-self: flex-start;
    display: flex;
    align-items: center;
    border-bottom: 1px solid transparent;
}

.fabric-link:hover {
    border-bottom-color: var(--primary-dark);
    text-decoration: none;
}

/* Fabric CTA Button */
.btn-fabric {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 28px;
    background: var(--white);
    border: 1px solid #E1DFDD;
    border-radius: 100px;
    color: var(--secondary);
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-top: 24px;
    text-decoration: none;
}

.btn-fabric:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 130, 114, 0.15);
    color: var(--primary);
}

.btn-fabric img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.btn-fabric:hover img {
    transform: scale(1.1);
}

/* Why Us (Remastered) */
#why-us {
    padding: 100px 20px;
    /* Increased padding for smoothness */
    background: var(--white);
    position: relative;
    z-index: 10;
}

.why-grid {
    display: grid;
    gap: 40px;
}

/* Explicit 3-column centered layout */
.three-col-centered {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1100px;
    margin: 40px auto 0;
}

.why-card {
    background: var(--white);
    padding: 40px 32px;
    /* Smoother internal spacing */
    border-radius: 24px;
    /* More charming rounding */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Softer, richer shadow */
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    /* Elegant easing */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center content for charm */
    text-align: center;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 130, 114, 0.15);
    /* Green-tinted shadow lift */
    border-color: rgba(0, 130, 114, 0.3);
}

.why-icon {
    color: var(--primary);
    margin-bottom: 24px;
    width: 56px;
    height: 56px;
    background: rgba(0, 130, 114, 0.05);
    /* Subtle background circle */
    border-radius: 50%;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-card h3 {
    font-size: 1.35rem;
    color: var(--secondary);
    margin-bottom: 16px;
    font-weight: 700;
}

.why-card p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Responsive adjustment for Why Us */
@media (max-width: 900px) {
    .three-col-centered {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
}

/* Engagement */
#engagement {
    padding: var(--section-padding);
    background: var(--secondary);
    color: var(--white);
}

#engagement .section-header h2 {
    color: var(--white);
}

#engagement .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.timeline {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
    position: relative;
    flex-wrap: wrap;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 0;
}

.step {
    position: relative;
    z-index: 1;
    text-align: center;
    flex: 1;
    min-width: 200px;
    padding: 0 10px;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--secondary);
    border: 2px solid var(--accent);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 24px;
    transition: all 0.3s ease;
}

.step:hover .step-number {
    background: var(--accent);
    color: var(--secondary);
}

.step h3 {
    margin-bottom: 8px;
    color: var(--white);
}

.step p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Contact */
#contact {
    padding: 100px 20px;
    text-align: center;
    background: var(--surface);
}

.contact-container h2 {
    font-size: 3rem;
    margin-bottom: 24px;
}

.contact-container p {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 48px;
}

/* Pricing Grid & Cards (SaaS Style) */
.pricing-grid {
    display: grid;
    gap: 32px;
    align-items: stretch;
}

.pricing-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 32px;
    box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.05);
    border: 2px solid rgba(var(--primary-rgb), 0.2);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    text-align: left;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(var(--primary-rgb), 0.15);
    border-color: var(--primary);
}

.pricing-card.recommended {
    border: 2px solid var(--primary);
    background: var(--primary);
    color: white;
    box-shadow: 0 15px 35px rgba(var(--primary-rgb), 0.35);
}

.pricing-card.recommended:hover {
    box-shadow: 0 25px 50px rgba(var(--primary-rgb), 0.5);
}

.rec-badge {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    background: #FFFFFF;
    color: var(--primary);
    text-align: center;
    padding: 6px 0;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-card h3 {
    margin-top: 16px; /* Space for absolute badge */
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.pricing-card.recommended h3 {
    color: white;
}

.pricing-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 24px;
    min-height: 60px; /* Aligns content roughly */
}

.pricing-card.recommended .pricing-desc {
    color: rgba(255, 255, 255, 0.85);
}

.price-val {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 32px;
    font-family: var(--font-heading);
}

.pricing-card.recommended .price-val {
    color: white;
}

.price-suffix {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(var(--primary-rgb), 0.7);
}

.pricing-card.recommended .price-suffix {
    color: rgba(255, 255, 255, 0.8);
}

.pricing-features {
    list-style: none;
    margin-bottom: 40px;
    padding: 0;
    flex-grow: 1; /* Pushes button to bottom */
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--text-main);
    font-size: 0.95rem;
    line-height: 1.4;
}

.pricing-card.recommended .pricing-features li {
    color: white;
}

.check-icon {
    width: 20px;
    height: 20px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.pricing-card.recommended .check-icon {
    color: white;
}

.w-100 {
    width: 100%;
}

.mt-auto {
    margin-top: auto;
}

/* STOREFRONT LAYOUT & CART CSS */
.storefront-layout {
    display: flex;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 20px;
    align-items: flex-start;
}

.storefront-catalog {
    flex: 1;
}

.storefront-category {
    margin-bottom: 60px;
}

.storefront-category h2 {
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 24px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 12px;
}

.storefront-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

/* Service Tile */
.service-tile {
    background: var(--white);
    border: 1px solid #E1DFDD;
    border-radius: 12px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    user-select: none;
}

.service-tile:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.1);
    transform: translateY(-2px);
}

.service-tile.selected {
    border: 2px solid var(--primary);
    background: rgba(var(--primary-rgb), 0.02);
}

.service-tile.selected::after {
    content: '✓';
    position: absolute;
    top: 16px;
    right: 16px;
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: bold;
}

.tile-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.tile-title {
    font-size: 1.1rem;
    color: var(--secondary);
    margin-bottom: 8px;
    font-weight: 600;
}

.tile-desc {
    font-size: 0.9rem;
    color: var(--text-main);
    line-height: 1.4;
    margin-bottom: 20px;
    flex-grow: 1;
}

.tile-price {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}

/* Storefront Cart */
.storefront-cart {
    width: 380px;
    background: #fdfdfd;
    border: 1px solid #E1DFDD;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-radius: 16px;
    padding: 32px;
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
}

.cart-header {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--secondary);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-count-badge {
    background: var(--primary);
    color: white;
    font-size: 0.85rem;
    padding: 2px 8px;
    border-radius: 10px;
}

.cart-items {
    min-height: 100px;
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 24px;
}

.cart-empty {
    color: var(--text-light);
    font-style: italic;
    text-align: center;
    margin-top: 40px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    font-size: 0.95rem;
    line-height: 1.4;
}

.cart-item-name {
    color: var(--secondary);
    flex: 1;
    padding-right: 16px;
}

.cart-item-price {
    font-weight: 600;
    color: var(--text-main);
}

.cart-summary {
    border-top: 2px solid #E1DFDD;
    padding-top: 24px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 1rem;
}

.summary-row.discount {
    color: #008272; /* Positive green for savings */
    font-weight: 600;
}

.summary-row.total {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--secondary);
    margin-top: 16px;
    border-top: 1px solid #E1DFDD;
    padding-top: 16px;
}

@media (max-width: 992px) {
    .storefront-layout {
        flex-direction: column;
    }
    .storefront-cart {
        width: 100%;
        position: static;
        order: -1; 
    }
}

/* --- AI CHAT WIDGET STYLES --- */
.gb-chat-launcher {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.35), 0 0 0 1px rgba(255,255,255,0.1);
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gb-chat-launcher svg {
    width: 32px;
    height: 32px;
}

.gb-chat-launcher:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 32px rgba(var(--primary-rgb), 0.45);
}

.gb-chat-window {
    position: fixed;
    bottom: 110px;
    right: 32px;
    width: 400px;
    height: 600px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12), 0 1px 3px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    z-index: 9998;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px) scale(0.95);
    transform-origin: bottom right;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gb-chat-window.open {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0) scale(1);
}

.gb-chat-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.gb-chat-close {
    cursor: pointer;
    font-size: 1.2rem;
    opacity: 0.8;
}
.gb-chat-close:hover { opacity: 1; }

.gb-chat-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #fdfdfd;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gb-msg {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.4;
    word-wrap: break-word;
}

.gb-msg.bot {
    background: #f1f0ee;
    color: var(--secondary);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

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

.gb-chat-input-area {
    padding: 16px;
    border-top: 1px solid #E1DFDD;
    background: white;
    display: flex;
    gap: 10px;
}

.gb-chat-input-area input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #E1DFDD;
    border-radius: 24px;
    outline: none;
    font-family: inherit;
}

.gb-chat-input-area input:focus {
    border-color: var(--primary);
}

.gb-chat-submit {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

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

.gb-typing-indicator {
    display: flex;
    gap: 4px;
    padding: 4px 0;
}
.gb-typing-indicator span {
    width: 6px;
    height: 6px;
    background: #999;
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}
.gb-typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.gb-typing-indicator span:nth-child(2) { animation-delay: -0.16s; }
@keyframes bounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

@media (max-width: 600px) {
    .gb-chat-window {
        width: 100%;
        height: 100%;
        bottom: 0;
        right: 0;
        border-radius: 0;
    }
}

/* Footer */
footer {
    background: #1a1a1a;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
}

/* Footer Row (with Privacy Link) */
.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
}

/* ======================== */
/* Privacy Policy Page      */
/* ======================== */

.privacy-hero {
    padding: 160px 20px 60px;
    background: linear-gradient(to bottom, #FFFFFF, #FAF9F8);
    text-align: center;
}

.privacy-hero h1 {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.privacy-effective {
    color: var(--text-light);
    font-size: 1rem;
}

.privacy-content {
    padding: 60px 20px 80px;
    background: var(--background);
}

.privacy-container {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 60px;
    align-items: start;
}

/* Table of Contents */
.privacy-toc {
    position: sticky;
    top: 110px;
    background: var(--surface);
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.privacy-toc h2 {
    font-size: 1.1rem;
    color: var(--secondary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
}

.privacy-toc ol {
    list-style: none;
    counter-reset: toc-counter;
    padding: 0;
}

.privacy-toc ol li {
    counter-increment: toc-counter;
    margin-bottom: 8px;
}

.privacy-toc ol li a {
    font-size: 0.88rem;
    color: var(--text-light);
    text-decoration: none;
    display: block;
    padding: 4px 0;
    transition: color 0.2s, padding-left 0.2s;
}

.privacy-toc ol li a:hover {
    color: var(--primary);
    padding-left: 4px;
}

/* Body */
.privacy-body article {
    margin-bottom: 48px;
    scroll-margin-top: 110px;
}

.privacy-body h2 {
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.privacy-body h3 {
    font-size: 1.15rem;
    color: var(--secondary);
    margin: 24px 0 12px;
}

.privacy-body p {
    font-size: 1rem;
    color: var(--text-main);
    line-height: 1.75;
    margin-bottom: 16px;
}

.privacy-body ul,
.privacy-body ol {
    padding-left: 24px;
    margin-bottom: 16px;
}

.privacy-body ul {
    list-style: disc;
}

.privacy-body ol {
    list-style: decimal;
}

.privacy-body li {
    font-size: 1rem;
    color: var(--text-main);
    line-height: 1.75;
    margin-bottom: 8px;
}

.privacy-body a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.privacy-body a:hover {
    color: var(--primary-dark);
}

.privacy-body code {
    background: var(--surface);
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.9em;
    font-family: 'JetBrains Mono', monospace;
}

/* Tables */
.privacy-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0 24px;
    font-size: 0.95rem;
}

.privacy-table th,
.privacy-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    vertical-align: top;
}

.privacy-table th {
    background: var(--surface);
    font-weight: 600;
    color: var(--secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.privacy-table td {
    color: var(--text-main);
    line-height: 1.6;
}

.privacy-table tbody tr:hover {
    background: rgba(0, 130, 114, 0.03);
}

/* Contact Cards */
.privacy-contact-card {
    background: var(--surface);
    border-left: 4px solid var(--primary);
    padding: 20px 24px;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    margin: 16px 0 24px;
}

.privacy-contact-card p {
    margin-bottom: 4px;
    font-size: 0.95rem;
}

/* Privacy Responsive */
@media (max-width: 900px) {
    .privacy-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .privacy-toc {
        position: static;
    }
    .privacy-hero h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 600px) {
    .privacy-table {
        font-size: 0.85rem;
    }
    .privacy-table th,
    .privacy-table td {
        padding: 8px 10px;
    }
    .footer-row {
        flex-direction: column;
        text-align: center;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 20px;
        box-shadow: var(--shadow-lg);
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px;
        background: var(--secondary);
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .grid-2-col {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        display: none;
    }

    .step {
        margin-bottom: 40px;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Remastered Contact Section --- */

.contact-actions-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 32px;
}

.contact-helper-text {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    font-weight: 600;
    opacity: 0.9;
}

/* Primary "Magic" Button */
.btn-magic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 40px;
    background: linear-gradient(135deg, #008272 0%, #005c51 100%);
    color: white;
    text-decoration: none;
    border-radius: 100px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(0, 130, 114, 0.25);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 2px solid transparent;
    /* detailed border */
    min-width: 280px;
    /* Ensure substantial width */
}

.btn-magic:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 130, 114, 0.4);
    background: linear-gradient(135deg, #00A38D 0%, #007568 100%);
}

.btn-magic svg {
    margin-right: 0 !important;
    /* Reset inline style override */
}

/* Secondary "Ghost" Link */
.btn-secondary-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.95rem;
    border-bottom: 1px solid transparent;
    transition: all 0.2s;
    padding-bottom: 2px;
}

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

.badge-new {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: var(--primary);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

/* --- Partnerships --- */
.partnerships-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    flex-wrap: wrap;
}

.partner-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0.7;
    transition: all 0.3s ease;
    filter: grayscale(100%);
    cursor: pointer;
}

.partner-badge:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: translateY(-2px);
}

.partner-badge img {
    height: 60px;
    width: 140px;
    object-fit: contain;
}

.partner-badge span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
}

@media (max-width: 600px) {
    .partnerships-row {
        gap: 30px;
    }
    
    .partner-badge img {
        height: 45px;
        width: 105px;
    }
}