/* ==========================================================================
   Resto AI Design System & Stylesheet
   ========================================================================== */

/* Variables */
:root {
    --bg-dark: #08080d;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(16, 185, 129, 0.35);
    --accent-green: #10B981;
    --accent-teal: #14B8A6;
    --accent-green-glow: rgba(16, 185, 129, 0.15);
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --text-dark: #6b7280;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --max-width: 1200px;
    --header-height: 80px;
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
}

body {
    overflow-x: hidden;
    position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    border: 2px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-green);
}

/* Ambient Background Blobs & Grid */
.blob-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
    background-image: 
        radial-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 40px 40px;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.15;
    animation: float 25s infinite alternate ease-in-out;
}

.blob-1 {
    top: 10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: var(--accent-green);
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: var(--accent-teal);
    animation-delay: -5s;
}

.blob-3 {
    top: 45%;
    left: 50%;
    width: 400px;
    height: 400px;
    background: #0ea5e9;
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(60px, 40px) scale(1.15); }
}

/* Typography & Layout Utilities */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.text-center { text-align: center; }
.accent-text { color: var(--accent-green); }
.font-light { font-weight: 300; }
.hidden { display: none !important; }
.gap-sm { gap: 12px; }
.flex-wrap { flex-wrap: wrap; }

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-green), var(--accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Scroll Reveal States */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
    border-radius: var(--radius-sm);
}

.btn-xs {
    padding: 6px 14px;
    font-size: 13px;
    border-radius: 6px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-green), var(--accent-teal));
    color: #000000;
    box-shadow: 0 8px 30px var(--accent-green-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.25);
    filter: brightness(1.1);
}

.btn-secondary {
    background: #ffffff;
    color: #000000;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border-color: var(--border-color);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-link {
    color: var(--accent-green);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    transition: var(--transition-smooth);
}

.btn-link:hover {
    color: var(--accent-teal);
    padding-left: 4px;
}

.btn-icon-right span {
    margin-right: 8px;
}

.btn-full-width {
    width: 100%;
}

/* Glassmorphism Card System */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 16px 45px rgba(16, 185, 129, 0.05);
    transform: translateY(-4px);
}

/* Header & Sticky Nav */
.header {
    height: var(--header-height);
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(8, 8, 13, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 22px;
    color: #ffffff;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--accent-green);
}

/* Sections Common */
section {
    padding: 100px 0;
}

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

.section-label {
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--accent-green);
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 18px;
}

.section-lead {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
}

.section-header.text-center .section-lead {
    margin: 0 auto;
}

/* Hero Section */
.hero-section {
    padding-top: 140px;
    padding-bottom: 100px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    width: fit-content;
}

.neon-badge {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-green);
    border: 1px solid rgba(16, 185, 129, 0.2);
    margin-bottom: 24px;
}

.hero-title {
    font-size: 58px;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-lead {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 36px;
    line-height: 1.5;
}

.hero-actions {
    margin-bottom: 40px;
}

.hero-highlight {
    border-left: 3px solid var(--accent-green);
    padding-left: 20px;
    color: var(--text-muted);
    font-size: 15px;
    background: rgba(255, 255, 255, 0.01);
    padding-top: 12px;
    padding-bottom: 12px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.hero-highlight strong {
    color: #ffffff;
}

/* Hero Visual & Simulated Chart */
.visual-card {
    padding: 24px;
    width: 100%;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 14px;
    margin-bottom: 20px;
}

.dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #eab308; }
.dot.green { background: #22c55e; }

.browser-address {
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 11px;
    color: var(--text-dark);
    font-family: monospace;
    flex-grow: 1;
    text-align: center;
}

.mini-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.metric-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    flex-direction: column;
}

.metric-box .label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.metric-box .value {
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    font-family: var(--font-heading);
}

.metric-box .subtext {
    font-size: 11px;
    color: var(--text-dark);
    margin-top: 4px;
}

.chart-container-mock {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 20px;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    margin-bottom: 16px;
}

.chart-title {
    color: var(--text-muted);
    font-weight: 600;
}

.chart-legend {
    display: flex;
    align-items: center;
    color: var(--accent-green);
    font-weight: 600;
}

.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-green);
    margin-right: 6px;
}

.mock-bars {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bar-row {
    display: grid;
    grid-template-columns: 100px 1fr 40px;
    align-items: center;
    gap: 12px;
}

.bar-name {
    font-size: 13px;
    color: var(--text-muted);
}

.bar-track {
    background: rgba(255, 255, 255, 0.05);
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    border-radius: 5px;
}

.bar-fill.meta-fill {
    background: #3b82f6;
}

.bar-fill.google-fill {
    background: linear-gradient(90deg, #ea4335, #fb8c00);
}

.bar-fill.resto-fill {
    background: linear-gradient(90deg, var(--accent-green), var(--accent-teal));
}

.bar-val {
    font-size: 13px;
    font-weight: 600;
    text-align: right;
}

.visual-footer {
    display: flex;
    justify-content: center;
    font-size: 12px;
    color: var(--text-muted);
}

.live-pulse {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-green);
    animation: pulse 1.5s infinite alternate;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.4); opacity: 1; }
}

/* Stats Section */
.stats-section {
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.01);
}

.stats-grid {
    text-align: center;
}

.stat-card {
    padding: 20px;
}

.stat-number {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-desc {
    font-size: 16px;
    color: var(--text-muted);
}

/* Target Segments Section */
.segments-section {
    border-bottom: 1px solid var(--border-color);
}

.segment-card {
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.card-num {
    font-size: 14px;
    font-weight: 800;
    color: var(--accent-green);
    font-family: var(--font-heading);
    margin-bottom: 24px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.05);
}

.card-heading {
    font-size: 22px;
    margin-bottom: 16px;
}

.card-text {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* How We Work (Timeline) */
.process-section {
    border-bottom: 1px solid var(--border-color);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 60px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 20px;
    width: 2px;
    height: calc(100% - 20px);
    background: linear-gradient(180deg, var(--accent-green), var(--accent-teal));
    opacity: 0.3;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

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

.timeline-num {
    position: absolute;
    left: -60px;
    top: 4px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 2px solid var(--accent-green);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 0 15px var(--accent-green-glow);
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 28px;
    transition: var(--transition-smooth);
}

.timeline-content:hover {
    border-color: var(--accent-green);
    background: var(--bg-card-hover);
}

.timeline-title {
    font-size: 20px;
    margin-bottom: 12px;
}

.timeline-text {
    color: var(--text-muted);
    font-size: 15px;
}

/* Services */
.services-section {
    border-bottom: 1px solid var(--border-color);
}

.service-card {
    padding: 36px;
    display: flex;
    flex-direction: column;
}

.service-icon {
    color: var(--accent-green);
    margin-bottom: 24px;
    width: 48px;
    height: 48px;
    background: rgba(16, 185, 129, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.service-title {
    font-size: 22px;
    margin-bottom: 16px;
}

.service-desc {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

/* Platform Section & Interactive Tabs */
.platform-section {
    border-bottom: 1px solid var(--border-color);
}

.platform-grid {
    margin-bottom: 40px;
}

.info-column-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.column-badge {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-green);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.column-title {
    font-size: 28px;
    margin-bottom: 20px;
}

.column-desc {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 16px;
}

.column-actions {
    margin-top: auto;
    display: flex;
}

.platform-interactive-preview {
    margin-bottom: 50px;
    overflow: hidden;
}

.tab-header-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-bottom: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.01);
}

.tab-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 20px 10px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border-bottom: 2px solid transparent;
}

.tab-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.01);
}

.tab-btn.active {
    color: var(--accent-green);
    border-bottom-color: var(--accent-green);
    background: rgba(16, 185, 129, 0.02);
}

.tab-body-viewport {
    padding: 40px;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeIn 0.4s ease-in-out forwards;
}

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

.panel-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.panel-heading {
    font-size: 24px;
    margin-bottom: 16px;
}

.panel-text {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 24px;
}

.panel-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.panel-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-main);
}

.panel-list li span {
    color: var(--accent-green);
    font-weight: 700;
}

.panel-visual {
    background: rgba(8, 8, 13, 0.5);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Mock Graphics for Tabs */
.code-editor-mock {
    font-family: monospace;
    font-size: 12px;
    line-height: 1.7;
    color: #e5e7eb;
}

.code-editor-mock .line {
    display: flex;
    gap: 12px;
}

.code-editor-mock .line span:first-child {
    color: var(--text-dark);
    text-align: right;
    width: 15px;
    user-select: none;
}

.keyword { color: #f43f5e; }
.function { color: #3b82f6; }
.string { color: #10b981; }
.comment { color: var(--text-dark); font-style: italic; }
.number { color: #f59e0b; }

.mock-status-pill {
    position: absolute;
    bottom: 12px;
    right: 12px;
    font-size: 10px;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
}

.green-pill {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-green);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.launcher-mock {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.launcher-header {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}

.active-badge {
    color: var(--accent-green);
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.launcher-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
}

.badge-mini {
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}

.badge-mini.done {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-green);
}

.badge-mini.progress {
    background: rgba(234, 179, 8, 0.1);
    color: #eab308;
    animation: pulse 1.5s infinite;
}

.var-title {
    font-size: 12px;
    font-weight: 500;
    color: #ffffff;
}

.progress-bar-mock {
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 6px;
}

.progress-bar-mock .fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-green), var(--accent-teal));
    border-radius: 3px;
}

.connectors-mock-graphic {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.connector-node {
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 600;
    border: 1px solid var(--border-color);
}

.connector-node.meta {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border-color: rgba(59, 130, 246, 0.2);
}

.connector-node.resto-core {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.connector-node.chatgpt {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-green);
    border-color: rgba(16, 185, 129, 0.2);
}

.connector-arrow {
    color: var(--text-dark);
    font-size: 14px;
}

.reports-mock {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.report-alert {
    background: rgba(16, 185, 129, 0.02);
    border: 1px solid rgba(16, 185, 129, 0.15);
    padding: 16px;
    border-radius: var(--radius-md);
}

.alert-head {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-green);
    margin-bottom: 6px;
}

.alert-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
}

.report-btns {
    display: flex;
    gap: 10px;
}

/* Premium image container showcase */
.platform-image-showcase {
    margin-top: 40px;
}

.image-showcase-caption {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

.showcase-img-container {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    background: #000;
    aspect-ratio: 16 / 10;
}

.platform-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.showcase-img-container:hover .platform-img {
    transform: scale(1.02);
}

/* Founder-led team section */
.team-section {
    border-bottom: 1px solid var(--border-color);
}

.team-text-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.highlight-quote {
    font-family: var(--font-heading);
    font-size: 22px;
    line-height: 1.4;
    color: #ffffff;
    font-weight: 500;
    margin-bottom: 24px;
    border-left: 2px solid var(--accent-green);
    padding-left: 18px;
}

.highlight-body {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.6;
}

.profile-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.profile-img-wrap {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
    background: #0d0d14;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.profile-card:hover .profile-img {
    transform: scale(1.05);
}

.coming-soon-img {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.01);
}

.placeholder-avatar {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-dark);
    font-family: var(--font-heading);
    border: 2px dashed var(--border-color);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.profile-info {
    padding: 28px;
}

.profile-name {
    font-size: 20px;
    margin-bottom: 6px;
}

.profile-role {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-green);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 16px;
}

.profile-bio {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Walkthrough Section */
.walkthrough-section {
    border-bottom: 1px solid var(--border-color);
}

.walkthrough-container {
    align-items: center;
}

.walkthrough-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.walkthrough-desc {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.walkthrough-stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.mini-stat {
    display: flex;
    flex-direction: column;
    border-left: 2px solid var(--border-color);
    padding-left: 16px;
}

.mini-stat .number {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    font-family: var(--font-heading);
}

.mini-stat .desc {
    font-size: 13px;
    color: var(--text-muted);
}

.video-player-card {
    overflow: hidden;
    position: relative;
}

.video-thumbnail-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
    cursor: pointer;
}

.video-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-btn-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: var(--transition-smooth);
}

.play-btn-circle:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--accent-green);
    box-shadow: 0 10px 35px var(--accent-green-glow);
}

.play-btn-circle svg {
    margin-left: 3px;
}

/* Simulated Video Overlay Overlay */
.video-overlay-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    z-index: 10;
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.video-overlay-player.active {
    opacity: 1;
    pointer-events: all;
}

.player-header {
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 500;
}

.close-player {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
}

.player-screen {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #020204;
}

.playing-state-anim {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--text-muted);
}

.spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--accent-green);
    border-radius: 50%;
    animation: spin 1s infinite linear;
}

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

.player-controls {
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-control {
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    font-size: 14px;
}

.progress-bar-container {
    flex-grow: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: var(--accent-green);
    border-radius: 2px;
}

.time-readout {
    font-size: 11px;
    color: var(--text-muted);
    font-family: monospace;
}

/* Booking Scheduler Widget */
.booking-section {
    border-bottom: 1px solid var(--border-color);
}

.scheduler-widget {
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.scheduler-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    min-height: 450px;
    transition: filter 0.3s ease;
}

.calendar-panel {
    padding: 40px;
    border-right: 1px solid var(--border-color);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.calendar-month-year {
    font-size: 18px;
    font-weight: 600;
}

.cal-nav-btn {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.cal-nav-btn:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.3);
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.calendar-day.empty {
    cursor: default;
    pointer-events: none;
}

.calendar-day.past, .calendar-day.weekend {
    color: var(--text-dark);
    pointer-events: none;
    opacity: 0.3;
}

.calendar-day.available {
    color: #ffffff;
    font-weight: 500;
    background: rgba(16, 185, 129, 0.05);
    border-color: rgba(16, 185, 129, 0.15);
}

.calendar-day.available:hover {
    background: var(--accent-green);
    color: #000000;
    box-shadow: 0 0 12px var(--accent-green-glow);
}

.calendar-day.selected {
    background: var(--accent-green) !important;
    color: #000000 !important;
    font-weight: 700;
    box-shadow: 0 0 15px var(--accent-green);
}

.timeslot-panel {
    padding: 40px;
    background: rgba(255, 255, 255, 0.005);
    display: flex;
    flex-direction: column;
}

.panel-subheading {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #ffffff;
}

.panel-instructions {
    color: var(--text-muted);
    font-size: 14px;
    margin: auto 0;
}

.timeslots-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.time-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: #ffffff;
    padding: 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition-smooth);
}

.time-btn:hover {
    border-color: var(--accent-green);
    background: rgba(16, 185, 129, 0.05);
}

.time-btn.selected {
    background: var(--accent-green);
    color: #000000;
    border-color: var(--accent-green);
    font-weight: 700;
}

/* Booking form styling */
.booking-form-wrap {
    display: flex;
    flex-direction: column;
    animation: fadeIn 0.4s ease-out;
}

.form-heading {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
    margin-bottom: 18px;
}

.form-group {
    margin-bottom: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input, .form-group select {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    color: #ffffff;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 14px;
    transition: var(--transition-smooth);
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--accent-green);
    box-shadow: 0 0 10px var(--accent-green-glow);
    background: rgba(255, 255, 255, 0.05);
}

.form-group select option {
    background: var(--bg-dark);
    color: #ffffff;
}

/* Success Screen Over */
.booking-success-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 8, 13, 0.98);
    backdrop-filter: blur(12px);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
    animation: scaleUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes scaleUp {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.success-icon-badge {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-green);
    border: 2px solid var(--accent-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 0 20px var(--accent-green-glow);
}

.success-title {
    font-size: 32px;
    margin-bottom: 12px;
}

.success-desc {
    color: var(--text-muted);
    font-size: 15px;
    max-width: 480px;
    margin-bottom: 24px;
}

.booking-summary-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px 30px;
    margin-bottom: 30px;
    text-align: left;
    max-width: 450px;
    width: 100%;
}

.booking-summary-box p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.booking-summary-box p:last-child {
    margin-bottom: 0;
}

.booking-summary-box strong {
    color: #ffffff;
}

.calendar-sync-buttons {
    display: flex;
    gap: 16px;
}

/* Playbook / Articles Section */
.playbook-section {
    border-bottom: 1px solid var(--border-color);
}

.playbook-card {
    padding: 36px;
    display: flex;
    flex-direction: column;
}

.playbook-banner-wrapper {
    width: 100%;
    height: 180px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
}

.playbook-banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.playbook-card:hover .playbook-banner {
    transform: scale(1.05);
}

.playbook-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.duration-badge {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}

.playbook-num {
    font-size: 12px;
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-weight: 700;
}

.playbook-title {
    font-size: 20px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.playbook-snippet {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 24px;
    line-height: 1.6;
    flex-grow: 1;
}

/* FAQ Accordion Section */
.faq-section {
    background: rgba(255,255,255, 0.005);
    border-bottom: 1px solid var(--border-color);
}

.faq-container {
    max-width: 800px;
}

.faq-accordion-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
}

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

.faq-question-btn {
    width: 100%;
    background: none;
    border: none;
    color: #ffffff;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    text-align: left;
}

.faq-question-btn .icon {
    font-size: 18px;
    color: var(--accent-green);
    transition: transform 0.3s ease;
}

.faq-question-btn[aria-expanded="true"] .icon {
    transform: rotate(45deg);
}

.faq-answer-pane {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-inner {
    padding: 0 24px 24px 24px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

/* Footer Section */
.footer {
    padding: 80px 0 0 0;
    border-top: 1px solid var(--border-color);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 2.5fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-brand .logo {
    font-size: 24px;
}

.footer-tagline {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

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

.footer-links-grid h4 {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.footer-links-grid a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 12px;
    transition: var(--transition-smooth);
}

.footer-links-grid a:hover {
    color: var(--accent-green);
    padding-left: 2px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 30px 0;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-dark);
}

.legal-links {
    display: flex;
    gap: 24px;
}

.legal-links a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.legal-links a:hover {
    color: var(--text-muted);
}

/* ==========================================================================
   Media Queries & Responsiveness
   ========================================================================== */

@media (max-width: 1024px) {
    .section-title { font-size: 36px; }
    .hero-title { font-size: 46px; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    section { padding: 60px 0; }
    
    .hero-section {
        padding-top: 100px;
        padding-bottom: 60px;
    }
    
    .header-cta { display: none; }
    .nav { gap: 16px; }
    
    .tab-header-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .panel-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .scheduler-grid {
        grid-template-columns: 1fr;
    }
    
    .calendar-panel {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    
    .footer-bottom-flex {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* ==========================================================================
   Community Modal Styles
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.modal-overlay .modal-card {
    max-width: 460px;
    width: 100%;
    padding: 40px;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    transform: scale(0.95) translateY(10px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-overlay.active .modal-card {
    transform: scale(1) translateY(0);
}
.modal-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 32px;
    cursor: pointer;
    line-height: 0.5;
    transition: var(--transition-smooth);
}
.modal-close-btn:hover {
    color: #ffffff;
}
.form-group-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
}
.form-group-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--accent-green);
    cursor: pointer;
    margin-top: 2px;
    flex-shrink: 0;
}
.form-group-checkbox label {
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-muted);
    cursor: pointer;
    user-select: none;
}

