/* --- Design Variables --- */
:root {
    --bg-dark: #060814;
    --bg-darker: #04050d;
    --bg-light: #0d1229;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --primary: #2563eb;
    --primary-glow: rgba(37, 99, 235, 0.4);
    --secondary: #8b5cf6;
    --secondary-glow: rgba(139, 92, 246, 0.3);
    --accent: #06b6d4;
    --accent-glow: rgba(6, 182, 212, 0.3);
    --gold: #f59e0b;
    --card-border: rgba(255, 255, 255, 0.05);
    --card-bg: rgba(13, 18, 41, 0.45);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --container-width: 1200px;
    --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-quick: all 0.15s ease;
}

/* --- Base Resets & Global --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-quick);
}

img {
    max-width: 100%;
    height: auto;
}

/* --- Utilities --- */
.text-center { text-align: center; }
.text-gradient {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.w-full { width: 100%; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }

/* --- Stars & Ambient Orbs --- */
.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(white, rgba(255,255,255,.2) 2px, transparent 40px),
        radial-gradient(white, rgba(255,255,255,.15) 1px, transparent 30px),
        radial-gradient(white, rgba(255,255,255,.1) 2px, transparent 40px);
    background-size: 550px 550px, 350px 350px, 250px 250px;
    background-position: 0 0, 40px 60px, 130px 270px;
    opacity: 0.15;
    z-index: 1;
    pointer-events: none;
}

.glowing-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.35;
    z-index: 1;
    pointer-events: none;
}

.glowing-orb-1 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    top: 10%;
    left: -10%;
}

.glowing-orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    top: 25%;
    right: -10%;
}

.glowing-orb-bottom {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    bottom: 5%;
    left: 20%;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 9999px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.btn-lg {
    padding: 0.95rem 2.25rem;
    font-size: 1.05rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--primary-glow);
    background: linear-gradient(135deg, #1d4ed8 0%, #7c3aed 100%);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-text {
    background: transparent;
    color: var(--text-secondary);
}

.btn-text:hover {
    color: var(--text-primary);
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(6, 8, 20, 0.75);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border);
    transition: var(--transition-smooth);
}

.header-container {
    height: 4.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.45rem;
    letter-spacing: -0.03em;
}

.logo-icon {
    width: 32px;
    height: 32px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.25rem;
}

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

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 110;
}

.mobile-menu-btn span {
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* --- Mobile Navigation --- */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-darker);
    z-index: 95;
    padding-top: 6.5rem;
    transform: translateX(100%);
    transition: var(--transition-smooth);
}

.mobile-nav.open {
    transform: translateX(0);
}

.mobile-nav-content {
    display: flex;
    flex-direction: column;
    padding: 0 2rem;
    gap: 1.75rem;
}

.mobile-link {
    font-size: 1.25rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-secondary);
}

.mobile-link:hover {
    color: var(--text-primary);
}

.mobile-divider {
    border: none;
    border-top: 1px solid var(--card-border);
    margin: 0.5rem 0;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    padding-top: 9.5rem;
    padding-bottom: 7rem;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 5;
}

.badge-container {
    margin-bottom: 1.5rem;
}

.promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(37, 99, 235, 0.25);
    color: #93c5fd;
    padding: 0.45rem 1rem;
    border-radius: 9999px;
    font-size: 0.825rem;
    font-weight: 600;
    font-family: var(--font-heading);
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.7);
    animation: pulseKeyframe 1.8s infinite;
}

@keyframes pulseKeyframe {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(6, 182, 212, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(6, 182, 212, 0);
    }
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.25rem;
    max-width: 540px;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.hero-features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.check-icon {
    width: 16px;
    height: 16px;
    color: var(--accent);
}

/* --- Cosmic Orbit (Visual Hero Asset) --- */
.hero-graphic {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cosmic-orbit {
    position: relative;
    width: 380px;
    height: 380px;
}

.cosmic-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 160px;
}

.planet-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    filter: blur(20px);
    opacity: 0.6;
    animation: planetFloat 6s ease-in-out infinite;
}

.planet-svg {
    width: 100%;
    height: 100%;
    animation: planetFloat 6s ease-in-out infinite;
}

@keyframes planetFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-8px) scale(1.02); }
}

.orbit-node {
    position: absolute;
    width: 52px;
    height: 52px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: var(--transition-smooth);
}

.orbit-node::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -32px;
    background: var(--bg-darker);
    border: 1px solid var(--card-border);
    color: var(--text-primary);
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    font-size: 0.725rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(4px);
    transition: var(--transition-quick);
    pointer-events: none;
}

.orbit-node:hover::after {
    opacity: 1;
    transform: translateY(0);
}

.node-icon {
    width: 24px;
    height: 24px;
    color: var(--text-primary);
    transition: var(--transition-quick);
}

.orbit-node:hover {
    transform: scale(1.15) !important;
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
}

.orbit-node:hover .node-icon {
    color: var(--accent);
}

/* Orbit Node Rotations & Animations */
.node-broadcast {
    top: 10%;
    left: 20%;
    animation: floatNode1 8s ease-in-out infinite;
}

.node-chatflow {
    top: 15%;
    right: 15%;
    animation: floatNode2 9s ease-in-out infinite;
}

.node-inbox {
    bottom: 18%;
    left: 15%;
    animation: floatNode3 7s ease-in-out infinite;
}

.node-journey {
    bottom: 12%;
    right: 22%;
    animation: floatNode4 10s ease-in-out infinite;
}

@keyframes floatNode1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(5px, -12px); }
}
@keyframes floatNode2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-10px, 8px); }
}
@keyframes floatNode3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(12px, 5px); }
}
@keyframes floatNode4 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-6px, -10px); }
}

/* --- Social Proof --- */
.social-proof {
    padding: 3.5rem 0;
    background: var(--bg-darker);
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
    position: relative;
    z-index: 10;
}

.section-tagline {
    font-size: 0.8rem;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 1.75rem;
}

.logo-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3.5rem;
}

.logo-item {
    opacity: 0.45;
    transition: var(--transition-quick);
    cursor: pointer;
}

.logo-item:hover {
    opacity: 0.85;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
}

/* --- Section Formatting --- */
.features-section, .workflows-section, .testimonials-section, .pricing-section, .faq-section {
    padding: 6.5rem 0;
    position: relative;
}

.section-header {
    max-width: 650px;
    margin: 0 auto 4rem;
}

.section-category {
    font-size: 0.825rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
}

/* --- Features Grid --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    transition: var(--transition-quick);
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    background: rgba(13, 18, 41, 0.55);
}

.feature-card:hover::before {
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
}

.feature-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
}

.feature-icon-wrapper svg {
    width: 26px;
    height: 26px;
}

.grad-blue { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.grad-purple { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.grad-cyan { background: linear-gradient(135deg, #06b6d4, #0891b2); }

.feature-card h3 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 0.85rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.feature-checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.feature-checklist li {
    font-size: 0.875rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-checklist li::before {
    content: '⚡';
    font-size: 0.75rem;
}

/* --- Workflows Section (Tabs) --- */
.workflows-section {
    background: rgba(4, 5, 13, 0.5);
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
}

.workflow-tabs-container {
    margin-top: 2rem;
}

.workflow-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    color: var(--text-secondary);
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-quick);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
}

.tab-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.tab-content-wrapper {
    position: relative;
}

.tab-panel {
    display: none;
    animation: tabFadeIn 0.5s ease;
}

.tab-panel.active {
    display: block;
}

@keyframes tabFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-panel-grid {
    display: grid;
    grid-template-columns: 1.12fr 1fr;
    gap: 4rem;
    align-items: center;
}

.tab-text-content h3 {
    font-size: 1.95rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.tab-text-content p {
    color: var(--text-secondary);
    margin-bottom: 1.75rem;
}

.benefits-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.benefits-list li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.75rem;
}

.benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(6, 182, 212, 0.15);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
}

/* Interactive Device Mocks */
.tab-visual-content {
    display: flex;
    justify-content: center;
}

.mock-device {
    width: 320px;
    height: 480px;
    background: #0f172a;
    border: 10px solid #1e293b;
    border-radius: 36px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05);
}

.mock-screen {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #090e1f;
}

.mock-chat-header {
    background: #1e293b;
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mock-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
}

.mock-name {
    font-weight: 600;
    color: var(--text-primary);
}

.mock-status {
    font-size: 0.65rem;
    color: var(--accent);
}

.mock-chat-body {
    flex: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.mock-message {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--card-border);
    border-radius: 14px 14px 14px 2px;
    padding: 0.85rem;
    font-size: 0.75rem;
    max-width: 90%;
    margin-bottom: 1rem;
}

.mock-img-placeholder {
    height: 110px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-weight: 500;
}

.mock-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.mock-btn-action {
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(37, 99, 235, 0.3);
    color: #93c5fd;
    padding: 0.45rem;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-quick);
}

.mock-btn-action:hover {
    background: var(--primary);
    color: white;
}

/* Visual Flow Mock */
.flow-builder-mock {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 360px;
}

.flow-node {
    width: 100%;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 1.15rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    position: relative;
}

.glow-blue { border-color: rgba(37, 99, 235, 0.3); box-shadow: 0 0 15px rgba(37, 99, 235, 0.15); }
.glow-purple { border-color: rgba(139, 92, 246, 0.3); box-shadow: 0 0 15px rgba(139, 92, 246, 0.15); }

.node-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.node-desc {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.flow-line {
    width: 2px;
    height: 32px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
}

.flow-line-split {
    display: flex;
    justify-content: space-between;
    width: 110%;
    margin-top: 8px;
    gap: 1.5rem;
}

.split-branch {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50%;
}

.flow-line-short {
    width: 2px;
    height: 20px;
    background: var(--secondary);
}

.flow-node-small {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 0.75rem;
    font-size: 0.7rem;
    font-weight: 500;
    width: 100%;
    text-align: center;
}

/* Visual Inbox Mock */
.inbox-mock {
    width: 100%;
    max-width: 440px;
    height: 280px;
    background: var(--bg-darker);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    overflow: hidden;
}

.inbox-sidebar {
    background: rgba(255,255,255,0.02);
    border-right: 1px solid var(--card-border);
    padding: 0.75rem;
}

.inbox-item {
    padding: 0.5rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.inbox-item.active {
    background: rgba(255,255,255,0.05);
}

.inbox-name {
    font-size: 0.75rem;
    font-weight: 600;
}

.inbox-preview {
    font-size: 0.65rem;
    color: var(--text-secondary);
}

.inbox-main-chat {
    display: flex;
    flex-direction: column;
    padding: 0.85rem;
}

.inbox-chat-header {
    font-size: 0.75rem;
    font-weight: 600;
    border-bottom: 1px solid var(--card-border);
    padding-bottom: 0.5rem;
    margin-bottom: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.badge-agent {
    font-size: 0.6rem;
    background: var(--primary);
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
}

.inbox-chat-bubble {
    padding: 0.5rem 0.75rem;
    border-radius: 10px;
    font-size: 0.7rem;
    margin-bottom: 0.5rem;
    max-width: 85%;
}

.inbox-chat-bubble.received {
    background: rgba(255,255,255,0.05);
    align-self: flex-start;
}

.inbox-chat-bubble.sent {
    background: var(--primary);
    align-self: flex-end;
}

.inbox-chat-bubble.internal-note {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.25);
    color: var(--gold);
    align-self: center;
    width: 90%;
    text-align: center;
}

/* --- Testimonials --- */
.testimonials-section {
    background-image: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    border-top: 1px solid var(--card-border);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2.25rem 2rem;
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.08);
}

.testimonial-rating {
    color: var(--gold);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--text-secondary);
    font-style: italic;
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
}

.author-name {
    font-size: 0.9rem;
    font-weight: 600;
}

.author-role {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* --- Pricing Section --- */
.pricing-section {
    background: var(--bg-dark);
}

.billing-toggle-container {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    padding: 0.45rem 1.15rem;
    border-radius: 9999px;
    margin-top: 1.5rem;
}

.toggle-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.toggle-label.active {
    color: var(--text-primary);
}

.save-badge {
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.15rem 0.45rem;
    border-radius: 9999px;
    margin-left: 0.25rem;
}

.billing-toggle {
    width: 44px;
    height: 24px;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    position: relative;
    padding: 2px;
    transition: var(--transition-quick);
}

.billing-toggle:hover {
    background: rgba(255,255,255,0.15);
}

.billing-toggle.active {
    background: var(--primary);
}

.toggle-switch {
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    display: block;
    transition: var(--transition-smooth);
    transform: translateX(0);
}

.billing-toggle.active .toggle-switch {
    transform: translateX(20px);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: flex-start;
}

.pricing-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 3rem 2rem;
    position: relative;
    transition: var(--transition-smooth);
}

.pricing-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.pricing-card.popular {
    border-color: var(--primary);
    background: rgba(13, 18, 41, 0.6);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.15);
}

.popular-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    font-size: 0.725rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 0.35rem 1rem;
    border-radius: 9999px;
}

.pricing-header h3 {
    font-size: 1.45rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.pricing-header p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 2rem;
    min-height: 40px;
}

.price-display {
    display: flex;
    align-items: baseline;
    margin-bottom: 2rem;
}

.currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.price-amount {
    font-size: 3.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.period {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-left: 0.25rem;
}

.pricing-features {
    margin-bottom: 2.5rem;
}

.pricing-features ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pricing-features li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    gap: 0.5rem;
}

.pricing-features li span {
    color: var(--accent);
    font-weight: bold;
}

.pricing-features li.disabled {
    color: var(--text-muted);
}

.pricing-features li.disabled span {
    color: var(--text-muted);
}

/* --- FAQ Section --- */
.faq-section {
    background: var(--bg-darker);
    border-top: 1px solid var(--card-border);
}

.faq-accordion-container {
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    margin-bottom: 1.15rem;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.08);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    padding: 1.35rem 1.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--text-secondary);
    transition: var(--transition-quick);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1), padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 1.35rem;
    transition: max-height 0.4s cubic-bezier(1, 0, 1, 0), padding 0.4s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--accent);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 4px 15px var(--primary-glow);
}

/* --- Bottom CTA Section --- */
.bottom-cta-section {
    position: relative;
    padding: 8rem 0;
    background: var(--bg-dark);
    border-top: 1px solid var(--card-border);
    overflow: hidden;
}

.bottom-cta-section h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.bottom-cta-section p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.glowing-orb-bottom {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    bottom: -150px;
    left: 50%;
    transform: translateX(-50%);
    filter: blur(160px);
}

/* --- Footer --- */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--card-border);
    padding-top: 5rem;
    padding-bottom: 2rem;
    position: relative;
    z-index: 10;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand-column p {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    max-width: 320px;
}

.footer-links-column h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links-column a {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.85rem;
}

.footer-links-column a:hover {
    color: var(--text-primary);
    transform: translateX(2px);
}

.footer-bottom {
    border-top: 1px solid var(--card-border);
    padding-top: 2rem;
    font-size: 0.825rem;
    color: var(--text-muted);
}

.footer-bottom a {
    color: var(--text-secondary);
}

.footer-bottom a:hover {
    color: var(--text-primary);
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        text-align: center;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-subtitle {
        max-width: 580px;
    }
    
    .hero-cta-group {
        justify-content: center;
    }
    
    .hero-features-list {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    
    .pricing-card.popular {
        grid-row: 1 / span 2;
    }
    
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 2.65rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .tab-panel-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .tab-visual-content {
        order: -1;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.popular {
        grid-row: auto;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .cta-actions .btn {
        width: 100%;
        max-width: 320px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}
