/* --- style.css for Roipad Landing Page --- */

/* --- Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;600;800&family=Inter:wght@400;500&display=swap');

/* --- Variables --- */
:root {
    --bg-cream: #F9F7F2;
    --bg-card: #FFFFFF;
    --primary-black: #1A1A1A;
    --accent-gold: #D4AF37;
    --text-secondary: #6B6B6B;
    --border-soft: #E5E1D8;
    --success-green: #2D6A4F;
    --hot-lead: #FF4D00;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.02);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.05);
    --shadow-gold: 0 0 20px rgba(212, 175, 55, 0.3);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-cream);
    color: var(--primary-black);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-cream); }
::-webkit-scrollbar-thumb { background: #D1CDBC; border-radius: 10px; }

/* --- Animations --- */
@keyframes float {
    0% { transform: rotateX(5deg) translateY(0px); }
    50% { transform: rotateX(7deg) translateY(-10px); }
    100% { transform: rotateX(5deg) translateY(0px); }
}

@keyframes floatMobile {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse-soft {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.05); opacity: 0.8; }
    100% { transform: scale(1); opacity: 0.5; }
}

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

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

@keyframes tabSlideIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes blockPulse {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

@keyframes notificationPop {
    0% { transform: translateX(120%); }
    10% { transform: translateX(0); }
    90% { transform: translateX(0); }
    100% { transform: translateX(120%); }
}

@keyframes radarPulse {
    0% { transform: scale(0.8); opacity: 0.8; border-color: rgba(212, 175, 55, 0.8); }
    100% { transform: scale(2); opacity: 0; border-color: transparent; }
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- Utilities --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

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

/* --- Toast Notification --- */
#toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 2000;
}

.toast {
    background: var(--primary-black);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: slideIn 0.3s ease-out forwards;
}

/* --- Navigation --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 0.6rem 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(249, 247, 242, 0.85); /* Slightly more opaque */
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-soft);
    transition: var(--transition);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-black);
    text-decoration: none;
}

.logo img {
    height: 32px; /* Adjust based on actual logo.png aspect ratio */
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-black);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover { color: var(--accent-gold); }

.btn-nav {
    padding: 0.6rem 1.2rem;
    background: var(--primary-black);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-nav:hover {
    background: var(--accent-gold);
    transform: translateY(-2px);
}

/* --- Hero Section --- */
.hero {
    padding: 100px 10% 100px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #EFEDE4;
    border: 1px solid var(--border-soft);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 3rem;
}

.cta-group {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.btn-primary {
    padding: 1.2rem 2.5rem;
    background: var(--primary-black);
    color: white;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(0,0,0,0.15); }

/* --- Realistic Window Simulator (Desktop) --- */
.window-container {
    perspective: 1000px;
    margin-top: 2rem;
    display: flex; /* Visible on Desktop */
    justify-content: center;
}

.mock-window {
    background: white;
    border-radius: 16px;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    text-align: left;
    transform: rotateX(5deg);
    animation: float 6s ease-in-out infinite;
}

.window-header {
    padding: 1rem;
    background: #F1EFE9;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border-soft);
}

.dot { width: 12px; height: 12px; border-radius: 50%; }
.red { background: #FF5F57; }
.yellow { background: #FFBD2E; }
.green { background: #28C840; }

.window-body {
    display: grid;
    grid-template-columns: 240px 1fr;
    height: 500px;
}

.sidebar {
    background: #FAF9F6;
    border-right: 1px solid var(--border-soft);
    padding: 1.5rem;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.sidebar-item:hover {
    background: rgba(255, 255, 255, 0.5);
}

.sidebar-item.active {
    background: white;
    color: var(--primary-black);
    box-shadow: var(--shadow-sm);
}

.content-area {
    padding: 2rem;
    overflow-y: auto;
}

/* --- Mobile iPhone Simulator (Mobile Only) --- */
.mobile-mockup {
    display: none; /* Hidden on Desktop */
    justify-content: center;
    perspective: 1000px;
    margin-top: 2rem;
}

.iphone-frame {
    width: 300px;
    height: 600px;
    background: #111;
    border-radius: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    padding: 12px;
    position: relative;
    animation: floatMobile 6s ease-in-out infinite;
    border: 4px solid #333;
}

.notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: #111;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    z-index: 10;
}

.iphone-screen {
    background: var(--bg-cream);
    width: 100%;
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.mobile-status-bar {
    height: 44px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    font-size: 12px;
    font-weight: 600;
    background: white;
    color: var(--primary-black);
}

.mobile-header {
    background: white;
    padding: 1rem;
    border-bottom: 1px solid var(--border-soft);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.live-indicator { width: 8px; height: 8px; background: var(--success-green); border-radius: 50%; display: inline-block; margin-right: 5px; box-shadow: 0 0 10px var(--success-green); }

.mobile-feed {
    flex: 1;
    padding: 1rem;
    overflow-y: hidden; /* Auto-scrolling via JS */
    position: relative;
}

.mobile-card {
    background: white;
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 0.8rem;
    box-shadow: var(--shadow-sm);
    border-left: 3px solid var(--accent-gold);
    animation: fadeIn 0.5s ease-out;
}

.mobile-card.hot { border-left-color: var(--hot-lead); }

.mobile-card-header { display: flex; justify-content: space-between; font-size: 0.75rem; margin-bottom: 0.5rem; color: var(--text-secondary); }
.mobile-card-name { font-weight: 700; font-size: 0.9rem; color: var(--primary-black); }
.mobile-card-action { font-size: 0.8rem; }

.mobile-notification {
    background: rgba(26, 26, 26, 0.95);
    color: white;
    padding: 1rem;
    border-radius: 12px;
    margin: 0.5rem;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: absolute;
    bottom: 20px;
    left: 10px;
    right: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    z-index: 5;
    backdrop-filter: blur(4px);
    animation: notificationPop 4s infinite;
}

/* --- Content Editor Styles --- */
.editor-container {
    display: none;
    animation: fadeIn 0.5s ease-out;
}

.editor-container.active {
    display: block;
}

.editor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-soft);
}

.editor-title {
    font-size: 1.2rem;
    font-weight: 700;
}

.editor-actions {
    display: flex;
    gap: 0.5rem;
}

.editor-btn {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-soft);
    background: white;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.editor-btn:hover {
    background: var(--bg-cream);
    transform: translateY(-2px);
}

.editor-btn.primary {
    background: var(--accent-gold);
    color: white;
    border-color: var(--accent-gold);
}

.editor-btn.primary:hover {
    background: #B8941F;
}

.editor-workspace {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 1.5rem;
    height: 350px;
}

.block-palette {
    background: var(--bg-cream);
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid var(--border-soft);
}

.palette-title {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.block-item {
    background: white;
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    padding: 0.8rem;
    margin-bottom: 0.8rem;
    cursor: move;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.block-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-sm);
    border-color: var(--accent-gold);
}

.block-item.dragging {
    opacity: 0.5;
    transform: rotate(5deg);
}

.canvas-area {
    background: white;
    border: 2px dashed var(--border-soft);
    border-radius: 12px;
    padding: 1.5rem;
    overflow-y: auto;
    position: relative;
}

.canvas-area.drag-over {
    background: var(--bg-cream);
    border-color: var(--accent-gold);
}

.canvas-block {
    background: white;
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    position: relative;
    animation: slideIn 0.3s ease-out;
    transition: var(--transition);
}

.canvas-block:hover {
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.canvas-block.selected {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.block-type {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.block-actions {
    display: flex;
    gap: 0.5rem;
    opacity: 0;
    transition: var(--transition);
}

.canvas-block:hover .block-actions {
    opacity: 1;
}

.block-action-btn {
    width: 24px;
    height: 24px;
    border: none;
    background: var(--bg-cream);
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.block-action-btn:hover {
    background: var(--accent-gold);
    color: white;
}

.block-content {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.block-placeholder {
    color: #999;
    font-style: italic;
}

/* --- Journey Flow Visualizer --- */
.flow-visualizer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: var(--bg-cream);
    border-radius: 12px;
    margin-top: 1rem;
}

.flow-node {
    width: 120px;
    height: 60px;
    background: white;
    border: 2px solid var(--border-soft);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    position: relative;
    transition: var(--transition);
}

.flow-node:hover {
    transform: scale(1.05);
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-sm);
}

.flow-node.active {
    background: var(--accent-gold);
    color: white;
    border-color: var(--accent-gold);
    animation: blockPulse 2s infinite;
}

.flow-connector {
    flex: 1;
    height: 2px;
    background: var(--border-soft);
    position: relative;
    margin: 0 0.5rem;
}

.flow-connector::after {
    content: '';
    position: absolute;
    right: -5px;
    top: -4px;
    width: 0;
    height: 0;
    border-left: 6px solid var(--border-soft);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

/* --- Window Tabs --- */
.window-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-soft);
}

.window-tab {
    padding: 0.8rem 1.5rem;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.window-tab:hover {
    color: var(--primary-black);
}

.window-tab.active {
    color: var(--accent-gold);
    border-bottom-color: var(--accent-gold);
}

.window-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-gold);
    animation: tabSlideIn 0.3s ease-out;
}

.window-tab-content {
    display: none;
    animation: fadeIn 0.5s ease-out;
}

.window-tab-content.active {
    display: block;
}

/* --- Interaction States --- */
.lead-score-card {
    background: var(--bg-cream);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-soft);
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: slideIn 0.8s ease-out;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.lead-score-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-sm);
}

.score-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    border: 4px solid var(--hot-lead);
    color: var(--hot-lead);
    transition: var(--transition);
}

.score-circle.low {
    border-color: #ddd;
    color: #999;
}

.score-circle.medium {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

/* --- Section Styling --- */
section { padding: 100px 10%; }

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

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

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

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-soft);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.feature-card i {
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    width: 48px;
    height: 48px;
}

/* --- Specific Feature Styles --- */
.link-manager-highlight {
    background: #FFFDF5;
    border: 1px solid var(--accent-gold);
}

.tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    background: rgba(212, 175, 55, 0.2);
    color: #9A7B0E;
    margin-bottom: 1rem;
}

/* --- Revenue At Risk Section --- */
.revenue-section {
    background: var(--primary-black);
    color: white;
    padding: 80px 10%;
    position: relative;
    overflow: hidden;
}

.revenue-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    z-index: 2;
    position: relative;
}

.revenue-visual {
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255,255,255,0.1);
}

.counter-big { font-size: 4rem; font-weight: 800; color: var(--accent-gold); line-height: 1; margin-bottom: 0.5rem; }
.progress-bar-bg { background: rgba(255,255,255,0.1); height: 8px; border-radius: 4px; overflow: hidden; margin-bottom: 1rem; }
.progress-bar-fill { height: 100%; background: var(--accent-gold); width: 0%; transition: width 1s ease-out; }

/* --- Integration Marquee --- */
.integration-section {
    background: #f4faff !important;
    padding: 4rem 0;
    overflow: hidden;
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
}

.marquee-content {
    display: flex;
    gap: 4rem;
    width: max-content;
    animation: scroll 20s linear infinite;
}

.brand-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.2rem;
    color: #999;
}

/* --- Security Section --- */
.security-section {
    background: #0a0a0a;
    color: white;
    position: relative;
    padding: 100px 10%;
    text-align: center;
    overflow: hidden;
}

/* Radar Pulse BG Animation */
.radar-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border: 2px solid var(--accent-gold);
    border-radius: 50%;
    opacity: 0;
    z-index: 1;
}

.radar-bg:nth-child(1) { animation: radarPulse 4s infinite 0s; }
.radar-bg:nth-child(2) { animation: radarPulse 4s infinite 1s; }
.radar-bg:nth-child(3) { animation: radarPulse 4s infinite 2s; }

.security-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
}

.lock-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: white;
    box-shadow: var(--shadow-gold);
}

/* --- Tabbed Interface for "How it Works" --- */
.tab-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

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

.tab-trigger {
    padding: 1rem 2rem;
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.tab-trigger::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-black);
    transition: left 0.3s ease;
    z-index: -1;
}

.tab-trigger:hover::before {
    left: 0;
}

.tab-trigger:hover {
    color: white;
    transform: translateY(-2px);
}

.tab-trigger.active {
    background: var(--primary-black);
    color: white;
    transform: scale(1.05);
}

.tab-content {
    display: none;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--border-soft);
}

.tab-content.active { 
    display: block; 
    animation: fadeIn 0.5s ease-out;
}

/* --- Reviews Section --- */
.review-card {
    padding: 2rem;
    border-radius: 16px;
    background: var(--bg-cream);
    border: 1px solid var(--border-soft);
    transition: var(--transition);
}

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

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.user-img { 
    width: 40px; 
    height: 40px; 
    border-radius: 50%; 
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: none;
}

/* --- Mid-Page CTA --- */
.mid-cta {
    background: var(--accent-gold);
    padding: 60px 10%;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.mid-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse-soft 4s ease-in-out infinite;
}

.btn-outline-white {
    padding: 1rem 2rem;
    border: 2px solid white;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    margin-top: 1rem;
    display: inline-block;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.btn-outline-white:hover {
    background: white;
    color: var(--accent-gold);
    transform: scale(1.05);
}

/* --- Stats / Reviews --- */
.stats-bar {
    background: var(--primary-black);
    color: white;
    padding: 4rem 10%;
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.stat-item {
    transition: var(--transition);
}

.stat-item:hover {
    transform: scale(1.1);
}

.stat-item h3 { 
    font-size: 3rem; 
    font-weight: 800; 
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

/* --- Footer --- */
.footer {
    background: #111;
    color: #888;
    padding: 80px 10% 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer h4 { color: white; margin-bottom: 1.5rem; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 0.8rem; }
.footer a { color: #888; text-decoration: none; transition: 0.3s; }
.footer a:hover { color: white; }

/* --- Responsive --- */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .window-body { grid-template-columns: 1fr; }
    .sidebar { display: none; }
    .footer-grid { grid-template-columns: 1fr; }
    .stats-bar { flex-direction: column; gap: 2rem; }
    .tabs { flex-direction: column; }
    .editor-workspace { grid-template-columns: 1fr; }
    .flow-visualizer { flex-direction: column; gap: 1rem; }
    
    /* Animation Swap Logic */
    .window-container { display: none; }
    .mobile-mockup { display: flex; }
    
    .revenue-grid { grid-template-columns: 1fr; }
}

