:root {
    --bg-dark: #0B0B10;
    --bg-card: #1A1A23;
    --bg-card-hover: #1F1F2A;
    --text-light: #EAEAEA;
    --text-muted: #888899;
    --accent-primary: #4A4AFF;
    --accent-secondary: #8A4FFF;
    --accent-gradient: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    --border-color: #2a2a3a;
    --border-color-hover: #3a3a4a;
    --border-light: #2a2a3a;
    --shadow-primary: 0 8px 32px rgba(74, 74, 255, 0.2);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-card-hover: 0 12px 40px rgba(0, 0, 0, 0.4);
    --salesforce-blue: #0176D3;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 16px;
    overflow-x: hidden;
    scroll-behavior: smooth;
    min-height: 100vh;
    line-height: 1.6;
}

section[id] {
    scroll-margin-top: 100px;
}

/* Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.1;
}

.floating-orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-primary), transparent);
    animation: float 6s ease-in-out infinite;
}

.floating-orb:nth-child(1) {
    width: 200px;
    height: 200px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-orb:nth-child(2) {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.floating-orb:nth-child(3) {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) scale(1); opacity: 0.1; }
    50% { transform: translateY(-20px) scale(1.1); opacity: 0.2; }
}

/* Fade-in animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(20px);
    background: rgba(11, 11, 16, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(11, 11, 16, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.3s ease;
}

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

.logo img {
    height: 42px;
    width: 34px;
    transition: transform 0.3s ease;
}

.logo .logo-text {
    background: linear-gradient(135deg, #ffffff, var(--accent-primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav {
    display: flex;
    gap: 40px;
}

.nav a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

.nav a:hover {
    color: white;
}

.nav a.active {
    color: var(--accent-primary);
}

.nav a.active::after {
    width: 100%;
}

.auth-buttons {
    display: flex;
    gap: 15px;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    font-family: inherit;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(74, 74, 255, 0.4);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: radial-gradient(ellipse at center, rgba(74, 74, 255, 0.1) 0%, transparent 50%),
                linear-gradient(135deg, var(--bg-dark) 0%, #0E0E18 100%);
    overflow-x: clip;
    overflow-y: visible;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 60px;
    padding-left: 60px;
    padding-right: 60px;
    max-width: 1400px;
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(122, 122, 255, 0.12);
    border: 1px solid rgba(122, 122, 255, 0.4);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #7A7AFF;
    margin-bottom: 25px;
}

.hero-badge svg {
    width: 18px;
    height: 18px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #ffffff 0%, #b8b8b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.01em;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 35px;
}

.hero-highlight {
    color: var(--text-light);
    font-weight: 500;
}

.hero-sub-detail {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-top: -8px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image-wrapper {
    position: relative;
    margin-right: -100px;
    /* Reserve space and show skeleton while loading */
    min-height: 500px;
    background: linear-gradient(135deg, rgba(74, 74, 255, 0.08) 0%, rgba(30, 30, 46, 0.5) 100%);
    border-radius: 16px;
    overflow: hidden;
}

/* Skeleton shimmer animation */
.hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.03) 50%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 16px;
    z-index: 1;
    pointer-events: none;
}

/* Hide shimmer once image is loaded */
.hero-image-wrapper.loaded::before {
    display: none;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.hero-image {
    width: 750px;
    max-width: none;
    border-radius: 16px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Start invisible and fade in */
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

.hero-image.loaded {
    opacity: 1;
}

.hero-stats {
    display: flex;
    gap: 20px;
    margin-top: 35px;
    margin-bottom: 35px;
}

.stat-item {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px 16px;
    text-align: center;
    min-width: 140px;
}

.stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(135deg, #8B8BFF, #B48FFF);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Playbooks page — context bar linking back to the engine home page */
.pb-engine-back {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--accent-primary);
    text-decoration: none;
    opacity: 0.75;
    margin-bottom: 22px;
    transition: opacity 0.2s, gap 0.2s;
}
.pb-engine-back:hover {
    opacity: 1;
    gap: 10px;
}
.pb-engine-back svg {
    flex-shrink: 0;
}
.pb-engine-link {
    color: var(--accent-primary);
    text-decoration: none;
    transition: opacity 0.2s;
}
.pb-engine-link:hover { opacity: 0.8; }

/* Sections */
.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text-light), var(--accent-primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Value Proposition Grid */
.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.value-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.value-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-color-hover);
    box-shadow: var(--shadow-card-hover);
}

.value-card:hover::before {
    opacity: 1;
}

.value-icon {
    width: 56px;
    height: 56px;
    background: var(--accent-gradient);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
}

.value-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-light);
}

.value-card p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* How It Works */
.steps-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.step-card {
    background: var(--bg-card);
    padding: 35px 30px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    text-align: center;
    flex: 1;
    min-width: 280px;
    max-width: 320px;
    position: relative;
    transition: all 0.4s ease;
}

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

.step-number {
    width: 50px;
    height: 50px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    margin: 0 auto 20px;
}

.step-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-light);
}

.step-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.step-arrow {
    display: none;
    color: var(--accent-primary);
    font-size: 2rem;
    align-self: center;
}

/* Intelligence Modes Section */
.modes-section {
    background: linear-gradient(180deg, rgba(74, 74, 255, 0.05) 0%, transparent 100%);
}

.modes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.mode-category {
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.4s ease;
}

.mode-category:hover {
    border-color: var(--border-color-hover);
    box-shadow: var(--shadow-card-hover);
}

.mode-category-header {
    background: rgba(74, 74, 255, 0.1);
    padding: 20px 25px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.mode-category-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.mode-category-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-light);
}

.mode-list {
    padding: 25px;
}

.mode-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mode-item:last-child {
    border-bottom: none;
}

.mode-indicator {
    width: 4px;
    height: 40px;
    background: var(--accent-primary);
    border-radius: 2px;
    flex-shrink: 0;
}

.mode-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 5px;
}

.mode-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.mode-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-left: 8px;
}

.mode-badge.core {
    background: rgba(16, 185, 129, 0.2);
    color: #10B981;
}

.mode-badge.pro {
    background: rgba(74, 74, 255, 0.2);
    color: var(--accent-primary);
}

/* Sales Leadership Section */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto 50px;
}

.leadership-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.leadership-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.leadership-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-color-hover);
    box-shadow: var(--shadow-card-hover);
}

.leadership-card:hover::before {
    opacity: 1;
}

.leadership-icon {
    width: 56px;
    height: 56px;
    background: var(--accent-gradient);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
}

.leadership-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-light);
}

.leadership-card p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.leadership-insight {
    max-width: 900px;
    margin: 0 auto 40px;
    background: var(--bg-card);
    border: 2px solid var(--accent-primary);
    border-radius: 20px;
    padding: 40px 45px;
    position: relative;
}

.leadership-insight.no-top-bar::before {
    display: none;
}

.leadership-insight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    border-radius: 20px 20px 0 0;
}

.leadership-insight-label {
    display: inline-block;
    background: rgba(74, 74, 255, 0.15);
    color: var(--accent-primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 8px;
    margin-bottom: 18px;
}

.leadership-insight blockquote {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-light);
    font-style: italic;
    margin: 0;
    padding: 0;
    border: none;
    text-align: center;
}

.leadership-cta {
    text-align: center;
}

.leadership-cta .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* Partner Channels */
.partner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.partner-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.partner-card.featured {
    border-color: var(--accent-primary);
}

.partner-card.featured::before {
    content: 'Featured Program';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: var(--accent-gradient);
    color: white;
    text-align: center;
    padding: 8px;
    font-size: 0.8rem;
    font-weight: 600;
}

.partner-card.featured {
    padding-top: 60px;
}

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

.partner-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
}

.partner-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 15px;
}

.partner-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 25px;
}

.partner-card .btn {
    width: 100%;
}

/* Framework/Add-On Playbook Styles */
.playbook-group-label {
    grid-column: 1 / -1;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin: 20px 0 0;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.playbook-group-label:first-of-type {
    margin-top: 0;
}

.playbook-group-label span {
    color: var(--accent-primary);
}

.mode-category-header.framework {
    background: rgba(138, 79, 255, 0.15);
}

.mode-category-icon.framework {
    background: linear-gradient(135deg, #8A4FFF, #6B3FCF);
}

.mode-indicator.framework {
    background: #8A4FFF;
}

.mode-content h4 .coming-soon-tag {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.85rem;
}

/* Complementary Section Icon Colors */
.value-icon.zoominfo {
    background: linear-gradient(135deg, #00A1E0, #0176D3);
}

.value-icon.gong {
    background: linear-gradient(135deg, #7C3AED, #5B21B6);
}

.value-icon.demandbase {
    background: linear-gradient(135deg, #059669, #047857);
}

/* Card Flow Chevron */
.card-flow-chevron {
    margin-top: 20px;
    text-align: center;
    color: var(--text-muted);
    line-height: 1;
}

/* Action Layer Banner */
.proof-section.action-layer {
    margin-top: 40px;
    max-width: 100%;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(79, 70, 229, 0.1));
    border: 2px solid rgba(124, 58, 237, 0.5);
    position: relative;
    overflow: hidden;
}

.action-layer-icon {
    width: 56px;
    height: 56px;
    background: var(--accent-gradient);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
}

.proof-title.action-layer-title {
    font-size: 1.8rem;
    color: white;
}

.action-layer-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 20px;
    line-height: 1.7;
}

/* Modal When-To-Use Styles */
.when-to-use {
    color: var(--text-muted);
    margin-bottom: 15px;
}

.when-to-use strong {
    color: var(--text-light);
}

/* Social Proof */
.proof-section {
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    padding: 50px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.proof-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 30px;
}

.proof-badges {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.proof-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-light);
    font-size: 1rem;
}

.proof-badge-icon {
    width: 44px;
    height: 44px;
    background: var(--accent-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.proof-badge-icon svg {
    width: 22px;
    height: 22px;
}

/* CTA Section */
.cta-section {
    background: var(--accent-gradient);
    padding: 80px 40px;
    border-radius: 25px;
    margin: 100px auto;
    max-width: 900px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn {
    background: white;
    color: var(--accent-primary);
    padding: 18px 40px;
    font-size: 1.1rem;
}

.cta-section .btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--bg-dark), #0E0E18);
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-light);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-column a:hover {
    color: var(--accent-primary);
}

.footer-tagline {
    color: var(--text-muted);
    margin-top: 15px;
    font-size: 0.95rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    color: var(--text-muted);
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: var(--accent-primary);
    transform: translateY(-2px);
}

/* Mobile Menu */
.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    background: var(--bg-card);
    padding: 100px 30px 30px;
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--border-color);
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.mobile-menu.open {
    display: block;
    transform: translateX(0);
}

.mobile-menu .nav-mobile {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.mobile-menu .nav-mobile a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
}

.auth-buttons-mobile {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Screenshot Image Styles */
.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.screenshot-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
}

.screenshot-item:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
}

.screenshot-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 20px 15px 15px;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 1024px) {
    .nav, .auth-buttons {
        display: none;
    }

    .hamburger-menu {
        display: block;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
        padding-left: 30px;
        padding-right: 30px;
    }

    .hero-content {
        max-width: 100%;
        order: 1;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-image-wrapper {
        order: 2;
        margin-right: 0;
        display: flex;
        justify-content: center;
        min-height: 350px;
    }

    .hero-image {
        width: 100%;
        max-width: 600px;
        height: auto;
    }

    .value-grid {
        grid-template-columns: 1fr;
    }

    .modes-grid {
        grid-template-columns: 1fr;
    }

    .leadership-grid {
        grid-template-columns: 1fr;
    }

    .leadership-insight {
        padding: 30px 25px;
    }

    .partner-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero-image {
        max-width: 100%;
    }

    .hero-stats {
        gap: 15px;
    }

    .stat-item {
        min-width: 140px;
        padding: 15px;
    }

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

    .steps-container {
        flex-direction: column;
        align-items: center;
    }

    .step-card {
        max-width: 100%;
    }

    .cta-section {
        padding: 60px 25px;
        margin: 60px 20px;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .proof-badges {
        flex-direction: column;
        gap: 20px;
    }

    .screenshot-grid {
        grid-template-columns: 1fr;
    }
}

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

    .hero-stats {
        flex-direction: row;
        gap: 12px;
    }

    .stat-item {
        padding: 16px 12px;
        min-width: 0;
    }

    .stat-value {
        font-size: 1rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }
}

/* Partner Modals */
.partner-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
    padding: 40px 20px;
}

.partner-modal.active {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    opacity: 1;
}

.partner-modal-content {
    background: linear-gradient(180deg, #1e1e2e 0%, #16161f 100%);
    border: 1px solid rgba(139, 139, 255, 0.2);
    border-radius: 20px;
    max-width: 680px;
    width: 100%;
    position: relative;
    margin: auto;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(74, 74, 255, 0.1);
}

.partner-modal-header {
    padding: 30px 30px 20px;
    border-bottom: 1px solid rgba(139, 139, 255, 0.15);
    position: sticky;
    top: 0;
    background: linear-gradient(135deg, rgba(74, 74, 255, 0.12) 0%, rgba(30, 30, 46, 0.98) 100%);
    border-radius: 20px 20px 0 0;
    z-index: 1;
}

.partner-modal-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff, #c4c4ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 0;
}

.partner-modal-close {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.partner-modal-close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-light);
}

.partner-modal-body {
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
}

.partner-modal-intro {
    font-size: 1.1rem;
    color: #b8b8d0;
    line-height: 1.7;
    margin-bottom: 30px;
}

.partner-modal-section {
    margin-bottom: 35px;
}

.partner-modal-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #a8a8ff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.partner-modal-section h3::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--accent-gradient);
    border-radius: 2px;
}

.partner-modal-subsection {
    margin-bottom: 25px;
    background: rgba(255, 255, 255, 0.03);
    padding: 18px 20px;
    border-radius: 12px;
    border-left: 3px solid rgba(139, 139, 255, 0.3);
}

.partner-modal-subsection h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #e8e8f0;
    margin-bottom: 12px;
}

.partner-modal-subsection p {
    color: #a0a0b8;
    line-height: 1.6;
    margin-bottom: 10px;
}

.partner-modal-subsection ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.partner-modal-subsection ul li {
    color: #a0a0b8;
    padding-left: 24px;
    position: relative;
    margin-bottom: 10px;
    line-height: 1.6;
}

.partner-modal-subsection ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #8b8bff;
    font-weight: 600;
}

/* Direct list in section (without subsection wrapper) */
.partner-modal-section > ul {
    list-style: none;
    padding: 18px 20px;
    margin: 0;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border-left: 3px solid rgba(139, 139, 255, 0.3);
}

.partner-modal-section > ul li {
    color: #a0a0b8;
    padding-left: 24px;
    position: relative;
    margin-bottom: 10px;
    line-height: 1.6;
}

.partner-modal-section > ul li:last-child {
    margin-bottom: 0;
}

.partner-modal-section > ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #8b8bff;
    font-weight: 600;
}

.partner-modal-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.partner-modal-step {
    background: linear-gradient(135deg, rgba(74, 74, 255, 0.15) 0%, rgba(74, 74, 255, 0.08) 100%);
    border-radius: 12px;
    padding: 18px 15px;
    text-align: center;
    border: 1px solid rgba(139, 139, 255, 0.15);
}

.partner-modal-step-num {
    width: 32px;
    height: 32px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: white;
    margin: 0 auto 12px;
    box-shadow: 0 4px 15px rgba(74, 74, 255, 0.3);
}

.partner-modal-step-title {
    font-weight: 600;
    color: #e8e8f0;
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.partner-modal-step-desc {
    font-size: 0.8rem;
    color: #9898b0;
    line-height: 1.5;
}

.partner-modal-pitch {
    background: linear-gradient(135deg, rgba(74, 74, 255, 0.12) 0%, rgba(74, 74, 255, 0.06) 100%);
    border-left: 3px solid #8b8bff;
    padding: 18px 22px;
    border-radius: 0 12px 12px 0;
    margin: 15px 0;
}

.partner-modal-pitch p {
    font-style: italic;
    color: #d0d0e0;
    margin: 0;
    line-height: 1.7;
}

.partner-modal-objection {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.partner-modal-objection strong {
    color: #e0e0f0;
    font-size: 0.9rem;
}

.partner-modal-objection em {
    color: #9898b0;
    font-size: 0.9rem;
    display: block;
    margin-top: 8px;
    line-height: 1.5;
}

.partner-modal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    font-size: 0.9rem;
    border-radius: 10px;
    overflow: hidden;
}

.partner-modal-table th {
    background: linear-gradient(135deg, rgba(74, 74, 255, 0.2) 0%, rgba(74, 74, 255, 0.12) 100%);
    color: #e0e0f0;
    padding: 14px 15px;
    text-align: left;
    font-weight: 600;
}

.partner-modal-table td {
    padding: 14px 15px;
    color: #a0a0b8;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
}

.partner-modal-table tr:last-child td {
    border-bottom: none;
}

.partner-modal-table tr:hover td {
    background: rgba(74, 74, 255, 0.08);
}

.partner-modal-footer {
    padding: 25px 30px;
    border-top: 1px solid rgba(139, 139, 255, 0.15);
    text-align: center;
    position: sticky;
    bottom: 0;
    background: linear-gradient(180deg, rgba(22, 22, 31, 0.98) 0%, #16161f 100%);
    border-radius: 0 0 20px 20px;
}

.partner-modal-footer .btn {
    padding: 16px 40px;
    font-size: 1.05rem;
}

.partner-modal-footer-note {
    font-size: 0.85rem;
    color: #8888a0;
    margin-top: 15px;
    font-style: italic;
}

@media (max-width: 768px) {
    .partner-modal {
        padding: 20px 15px;
    }

    .partner-modal-content {
        max-height: calc(100vh - 40px);
    }

    .partner-modal-header {
        padding: 20px 20px 15px;
    }

    .partner-modal-header h2 {
        font-size: 1.4rem;
        padding-right: 40px;
    }

    .partner-modal-body {
        padding: 20px;
    }

    .partner-modal-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .partner-modal-table {
        font-size: 0.8rem;
    }

    .partner-modal-table th,
    .partner-modal-table td {
        padding: 10px;
    }
}

/* Scroll to Top Button */
#scrollToTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-gradient);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: var(--shadow-primary);
}

#scrollToTopBtn.visible {
    opacity: 1;
    visibility: visible;
}

#scrollToTopBtn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(74, 74, 255, 0.4);
}

/* ============================================================
   Capstone "Need something custom?" card
   Distinct dashed-border treatment, accent color, "+" icon
   ============================================================ */
.mode-category.capstone-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    border: 2px dashed var(--accent-primary);
    background: linear-gradient(135deg, rgba(74, 74, 255, 0.06), rgba(138, 79, 255, 0.04));
    padding: 36px 32px;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
    cursor: pointer;
}
.mode-category.capstone-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-secondary);
    background: linear-gradient(135deg, rgba(74, 74, 255, 0.12), rgba(138, 79, 255, 0.08));
}
.capstone-plus {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 300;
    line-height: 1;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(74, 74, 255, 0.35);
}
.capstone-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-light);
    margin: 0 0 14px 0;
}
.capstone-body {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 22px;
}
.capstone-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-primary);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
}
.mode-category.capstone-card:hover .capstone-cta {
    color: var(--accent-secondary);
}

/* ============================================================
   Partner section CTA split (Sales leaders | SI & consultancies)
   ============================================================ */
.partner-cta-split {
    margin-top: 50px;
    padding: 32px 36px;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.partner-cta-path {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
}
.partner-cta-audience {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}
.partner-cta-divider {
    width: 1px;
    height: 60px;
    background: var(--border-light);
}
@media (max-width: 768px) {
    .partner-cta-divider { width: 80%; height: 1px; }
    .partner-cta-split { padding: 28px 20px; }
}
