*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary: #2c7be5;
    --primary-dark: #1a68d1;
    --primary-light: #e1f0ff;
    --bg: #f0f2f5;
    --white: #ffffff;
    --border: #dee2e6;
    --border-light: #e9ecef;
    --text: #212529;
    --text-muted: #6c757d;
    --text-light: #495057;
    --radius: 6px;
    --radius-lg: 8px;
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-lg: 0 4px 12px rgba(0,0,0,0.15);
    --app-blue: #2c7be5;
    --app-bg: #f0f2f5;
}

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--bg);
    overflow-x: hidden;
}

/* Hero logo & nav */
.hero-logo { margin-bottom: 24px; position: relative; z-index: 1; }
.hero-logo img { height: 48px; width: auto; }
.hero-svg { height: 48px; width: auto; overflow: visible; }

/* SVG logo animation */
.svg-icon {
    transform-origin: 172px 46px;
    opacity: 0;
    animation: iconReveal 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.1s both;
}
@keyframes iconReveal {
    0% { opacity: 0; transform: scale(0) rotate(90deg); }
    60% { opacity: 1; transform: scale(1.1) rotate(-5deg); }
    80% { transform: scale(0.95) rotate(2deg); }
    100% { opacity: 1; transform: scale(1) rotate(0deg); }
}
.svg-icon-rings {
    transform-origin: 172px 46px;
    opacity: 0;
    animation: ringsExpand 0.6s ease-out 0.5s both;
}
@keyframes ringsExpand {
    0% { opacity: 0; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.05); }
    100% { opacity: 1; transform: scale(1); }
}
.svg-icon-antenna {
    transform-origin: 172px 60px;
    opacity: 0;
    animation: antennaReveal 0.5s ease-out 0.3s both;
}
@keyframes antennaReveal {
    0% { opacity: 0; transform: scale(0); }
    70% { transform: scale(1.1); }
    100% { opacity: 1; transform: scale(1); }
}
.svg-letter {
    opacity: 0;
    animation: letterSlide 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
    animation-delay: calc(0.7s + var(--i) * 0.05s);
}
@keyframes letterSlide {
    0% { opacity: 0; transform: translateX(-15px) scale(0.85); }
    60% { opacity: 1; transform: translateX(3px) scale(1.02); }
    100% { opacity: 1; transform: translateX(0) scale(1); }
}
.hero-nav {
    display: flex; justify-content: center; align-items: center; gap: 24px; flex-wrap: wrap;
    margin-bottom: 40px; position: relative; z-index: 1;
}
.hero-nav a {
    text-decoration: none; color: var(--text-muted); font-size: 0.85rem; font-weight: 500;
    transition: color 0.2s;
}
.hero-nav a:hover { color: var(--primary); }
.hero-nav-cta {
    background: var(--primary); color: var(--white) !important;
    padding: 6px 16px; border-radius: var(--radius); font-weight: 600;
    transition: background 0.2s;
}
.hero-nav-cta:hover { background: var(--primary-dark); color: var(--white); }

/* Container */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Hero */
.hero {
    padding: 60px 0 80px; text-align: center; position: relative; overflow: hidden;
    background: var(--white);
    border-bottom: 1px solid var(--border);
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(circle, var(--border) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.4;
    pointer-events: none;
}
.hero::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at center, transparent 40%, var(--white) 75%);
    pointer-events: none;
}
.hero h1 {
    font-size: clamp(2rem, 4.5vw, 2.75rem); font-weight: 700; color: var(--text);
    line-height: 1.2; margin-bottom: 16px; letter-spacing: -0.02em; position: relative; z-index: 1;
}
.hero h1 span { color: var(--primary); }
.hero p {
    font-size: clamp(0.95rem, 2vw, 1.1rem); color: var(--text-muted); max-width: 600px;
    margin: 0 auto 32px; line-height: 1.7; position: relative; z-index: 1;
}
.hero-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 22px; border-radius: var(--radius); font-size: 0.9rem; font-weight: 600;
    text-decoration: none; transition: all 0.2s; border: none; cursor: pointer;
}
.btn-primary { background: var(--primary); color: var(--white); box-shadow: 0 2px 8px rgba(44,123,229,0.3); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(44,123,229,0.4); }
.btn-secondary { background: var(--white); color: var(--text-light); border: 1px solid var(--border); }
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); }

/* Stats bar */
.stats-bar {
    padding: 32px 0; background: var(--white);
    border-bottom: 1px solid var(--border);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center; }
.stat-item {
    background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 20px 16px; border-left: 3px solid var(--primary);
}
.stat-item h3 { font-size: 1.5rem; font-weight: 800; color: var(--primary); margin-bottom: 2px; }
.stat-item p { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }

/* Sources */
.sources { background: var(--white); }
.sources-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.source-card {
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 28px 20px; text-align: center; transition: all 0.25s; position: relative;
}
.source-card:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.source-icon { color: var(--primary); margin-bottom: 14px; }
.source-icon svg { width: 32px; height: 32px; }
.source-icon-soon { color: var(--text-muted); }
.source-card h4 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.source-card p { font-size: 0.82rem; color: var(--text-muted); margin: 0; }
.source-badge {
    display: inline-block; font-size: 0.6rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.05em; background: #fff3cd; color: #856404; padding: 2px 8px;
    border-radius: 10px; margin-top: 10px;
}
.sources-cta {
    text-align: center; margin-top: 28px; font-size: 0.9rem; color: var(--text-muted);
}
.sources-cta a { color: var(--primary); font-weight: 600; text-decoration: none; }
.sources-cta a:hover { text-decoration: underline; }

/* Sections */
section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-label {
    display: inline-block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.1em; color: var(--primary); margin-bottom: 10px;
}
.section-header h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; color: var(--text); margin-bottom: 12px; letter-spacing: -0.02em; }
.section-header p { font-size: 1rem; color: var(--text-muted); max-width: 560px; margin: 0 auto; }

/* Features grid */
.features { background: var(--bg); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card {
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 24px; transition: all 0.25s; border-left: 3px solid transparent;
}
.feature-card:hover { border-left-color: var(--primary); box-shadow: var(--shadow); }
.feature-icon {
    width: 40px; height: 40px; background: var(--primary-light); border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center; margin-bottom: 14px; color: var(--primary);
}
.feature-icon svg { width: 20px; height: 20px; }
.feature-card h3 { font-size: 0.95rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.feature-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* App showcase */
#showcase { background: var(--white); }
.showcase-tabs { display: flex; justify-content: center; gap: 6px; margin-bottom: 32px; flex-wrap: wrap; }
.showcase-tab {
    padding: 7px 18px; border-radius: var(--radius); border: 1px solid var(--border);
    background: var(--white); color: var(--text-muted); font-size: 0.85rem; font-weight: 600;
    cursor: pointer; transition: all 0.2s;
}
.showcase-tab:hover { border-color: var(--primary); color: var(--primary); }
.showcase-tab.active { background: var(--primary); color: var(--white); border-color: var(--primary); }
.showcase-panels { display: grid; }
.showcase-panel { grid-area: 1 / 1; visibility: hidden; opacity: 0; transition: opacity 0.25s ease; }
.showcase-panel.active { visibility: visible; opacity: 1; }

/* App mock container */
.app-mock {
    background: var(--app-bg); border: 1px solid var(--border); border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,0.12); max-width: 1000px; margin: 0 auto;
}

/* App navbar mock */
.app-nav {
    background: var(--white); padding: 10px 16px; display: flex; align-items: center;
    border-bottom: 1px solid var(--border); box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    gap: 20px; font-size: 0.75rem;
}
.app-nav-logo { height: 14px; width: auto; }
.app-nav-brand { color: var(--primary); font-weight: 800; font-size: 0.8rem; letter-spacing: -0.02em; }
.app-nav-item { color: #6c757d; font-weight: 500; display: flex; align-items: center; gap: 4px; }
.app-nav-item.active { color: var(--app-blue); font-weight: 600; }
.app-nav-sep { width: 1px; height: 16px; background: var(--border); }
.app-nav-items { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.app-nav-right { display: flex; gap: 12px; align-items: center; }

/* App content layout */
.app-content { display: flex; min-height: 380px; }

/* Sidebar */
.app-sidebar {
    width: 220px; flex-shrink: 0; background: var(--white); border-right: 1px solid #e0e0e0;
    padding: 12px; font-size: 0.7rem; overflow: hidden;
}
.app-sidebar-title { font-weight: 700; color: #333; font-size: 0.75rem; padding-bottom: 8px; border-bottom: 1px solid #e0e0e0; margin-bottom: 8px; }
.tree-item { padding: 5px 6px; border-radius: 4px; cursor: default; display: flex; align-items: center; gap: 4px; color: #333; }
.tree-item:hover { background: #f5f5f5; }
.tree-item.selected { background: #007bff; color: white; }
.tree-chevron { font-size: 0.55rem; width: 12px; color: #999; }
.tree-item.selected .tree-chevron { color: rgba(255,255,255,0.7); }
.tree-badge { margin-left: auto; background: #f0f0f0; padding: 0 5px; border-radius: 10px; font-size: 0.6rem; color: #888; }
.tree-item.selected .tree-badge { background: rgba(255,255,255,0.3); color: white; }
.tree-child { padding-left: 16px; }
.tree-grandchild { padding-left: 32px; }

/* Main area */
.app-main { flex: 1; padding: 12px; overflow: hidden; }
.app-main-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.app-main-header h4 { font-size: 0.85rem; font-weight: 700; color: #333; }
.app-main-header .info { font-size: 0.65rem; color: #6c757d; }
.app-btn-sm {
    padding: 3px 10px; border-radius: 5px; border: 1px solid var(--border);
    background: var(--white); font-size: 0.65rem; color: var(--text-light); font-weight: 500;
}

/* Recordings table */
.rec-table { width: 100%; border-collapse: collapse; font-size: 0.68rem; }
.rec-table th {
    background: #f8f9fa; border-bottom: 2px solid var(--border); padding: 6px 8px;
    text-align: left; font-weight: 700; color: var(--text-light); position: sticky; top: 0;
    font-size: 0.65rem; white-space: nowrap;
}
.rec-table td { padding: 5px 8px; border-bottom: 1px solid #f0f0f0; color: #333; white-space: nowrap; }
.rec-table tr:hover { background: rgba(0,123,255,0.06); }
.rec-table tr.active-row { background: rgba(0,123,255,0.12); border-left: 3px solid #007bff; }
.rec-table tr.playing-row { background: rgba(40,167,69,0.1); border-left: 3px solid #28a745; }
.paging-badge { background: #fff3cd; color: #856404; padding: 1px 5px; border-radius: 3px; font-size: 0.55rem; font-weight: 600; }

/* Master playback */
.master-playback {
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 10px; margin-top: 10px; box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.master-label { font-size: 0.7rem; font-weight: 700; color: #333; margin-bottom: 6px; }
.waveform-box {
    background: #f8f9fa; border: 1px solid var(--border-light); border-radius: 4px;
    height: 50px; display: flex; align-items: flex-end; gap: 1px; padding: 4px 6px;
    overflow: hidden;
}
.waveform-box .wbar {
    flex: 1; border-radius: 1px 1px 0 0; min-width: 2px;
    transition: height 0.3s;
}
.wbar-played { background: var(--app-blue); }
.wbar-unplayed { background: #ccc; }
.player-controls {
    display: flex; align-items: center; gap: 8px; margin-top: 8px;
    font-size: 0.65rem; color: var(--text-light);
}
.play-btn {
    width: 32px; height: 32px; border-radius: 50%; background: var(--app-blue);
    border: none; color: white; display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem; cursor: default; box-shadow: 0 2px 4px rgba(44,123,229,0.3);
}
.skip-btn {
    width: 26px; height: 26px; border-radius: 50%; background: transparent;
    border: 1px solid var(--border); color: var(--text-light); display: flex; align-items: center;
    justify-content: center; font-size: 0.6rem; cursor: default;
}
.time-display { font-family: 'Courier New', monospace; font-weight: 600; font-size: 0.7rem; }
.time-sep { opacity: 0.5; margin: 0 2px; }
.player-right { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: 0.6rem; }
.speed-label { font-family: 'Courier New', monospace; font-size: 0.6rem; color: #6c757d; }
.vol-slider { width: 50px; height: 4px; background: var(--border); border-radius: 2px; position: relative; display: inline-block; vertical-align: middle; }
.vol-slider-fill { height: 100%; background: var(--app-blue); border-radius: 2px; width: 70%; }

/* Stats page mock */
.stats-kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.kpi-card {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 10px; text-align: center;
}
.kpi-val { font-size: 1.1rem; font-weight: 800; color: var(--primary); }
.kpi-label { font-size: 0.55rem; color: #7f8c8d; margin-top: 2px; }
.chart-mock { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 12px; }
.chart-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.chart-title { font-size: 0.75rem; font-weight: 700; color: #333; }
.chart-btns { display: flex; gap: 4px; }
.chart-btn { padding: 2px 8px; border-radius: 4px; border: 1px solid var(--border); background: white; font-size: 0.55rem; color: #6c757d; }
.chart-btn.active { background: var(--app-blue); color: white; border-color: var(--app-blue); }
.chart-area { height: 120px; display: flex; align-items: flex-end; gap: 3px; padding-top: 10px; }
.chart-bar { flex: 1; background: var(--app-blue); border-radius: 2px 2px 0 0; opacity: 0.8; min-width: 4px; }
.chart-line { position: relative; height: 120px; width: 100%; }

/* Heatmap */
.heatmap-container { margin-top: 12px; }
.heatmap-title { font-size: 0.7rem; font-weight: 700; color: #333; margin-bottom: 6px; }
.heatmap { display: grid; grid-template-columns: 40px repeat(8, 1fr); gap: 2px; font-size: 0.5rem; }
.heatmap-label { color: #7f8c8d; font-weight: 600; display: flex; align-items: center; }
.heatmap-header { color: #7f8c8d; font-weight: 600; text-align: center; padding: 2px; }
.heatmap-cell { border-radius: 3px; aspect-ratio: 1; min-height: 14px; }

/* Reports mock */
.report-filters { width: 200px; flex-shrink: 0; background: var(--white); border-right: 1px solid #e0e0e0; padding: 12px; }
.filter-title { font-size: 0.75rem; font-weight: 700; color: #333; display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.filter-label { font-size: 0.6rem; font-weight: 600; color: #555; margin-bottom: 4px; margin-top: 10px; }
.filter-input {
    width: 100%; padding: 4px 8px; border: 1px solid var(--border); border-radius: 4px;
    font-size: 0.6rem; color: var(--text-light); background: white;
}
.filter-checkbox { display: flex; align-items: center; gap: 4px; font-size: 0.6rem; color: #555; margin: 3px 0; }
.filter-checkbox input { width: 12px; height: 12px; accent-color: var(--app-blue); }
.filter-btn {
    width: 100%; padding: 5px; border-radius: 5px; font-size: 0.6rem; font-weight: 600;
    border: none; cursor: default; margin-top: 6px;
}
.filter-btn-primary { background: var(--app-blue); color: white; }
.filter-btn-secondary { background: white; color: var(--text-light); border: 1px solid var(--border); }
.channel-badge { display: inline-block; background: #e1f5fe; color: #0288d1; padding: 1px 7px; border-radius: 16px; font-size: 0.55rem; margin: 2px; border: 1px solid #0288d1; }

/* Report main content */
.report-main { flex: 1; padding: 12px; overflow: hidden; }
.report-kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.report-timeline { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 12px; margin-bottom: 10px; }
.timeline-title { font-size: 0.7rem; font-weight: 700; color: #333; margin-bottom: 8px; }
.timeline-track { height: 4px; background: var(--border); border-radius: 2px; position: relative; margin: 16px 0 8px; }
.timeline-fill { height: 100%; width: 35%; background: var(--primary); border-radius: 2px; }
.timeline-dot { width: 10px; height: 10px; background: var(--primary); border-radius: 50%; position: absolute; top: -3px; left: 35%; }
.timeline-labels { display: flex; justify-content: space-between; font-size: 0.55rem; color: #7f8c8d; }

/* Report player */
.report-player {
    background: #f8f9fa; border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 8px 12px; display: flex; align-items: center; gap: 8px;
    font-size: 0.6rem; color: var(--text-light); margin-bottom: 10px;
}
.report-player-info { font-size: 0.6rem; color: #999; }
.report-progress { flex: 1; height: 4px; background: var(--border); border-radius: 2px; }
.report-progress-fill { height: 100%; width: 0%; background: var(--primary); border-radius: 2px; }

/* Security section */
#security { background: var(--bg); }
.security-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.security-card {
    display: flex; gap: 14px; align-items: flex-start; padding: 20px;
    background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border);
    border-left: 3px solid transparent; transition: all 0.25s;
}
.security-card:hover { border-left-color: var(--primary); box-shadow: var(--shadow); }
.security-card .security-icon {
    width: 36px; height: 36px; background: var(--primary-light); border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--primary);
}
.security-card .security-icon svg { width: 18px; height: 18px; }
.security-card h4 { font-size: 0.9rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.security-card p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; }
.security-card-centered { grid-column: 1 / -1; max-width: 50%; justify-self: center; }

/* Tech stack */
.platform { background: var(--white); }
.platform-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.platform-card {
    background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 24px; transition: all 0.25s; border-left: 3px solid transparent;
}
.platform-card:hover { border-left-color: var(--primary); box-shadow: var(--shadow); }
.platform-card-icon { color: var(--primary); margin-bottom: 12px; }
.platform-card-icon svg { width: 28px; height: 28px; }
.platform-card h4 { font-size: 0.95rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.platform-card p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; margin: 0; }

/* CTA */
.cta-section { background: #005da4; color: var(--white); }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.cta-text h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; margin-bottom: 14px; }
.cta-text p { font-size: 1rem; color: rgba(255,255,255,0.75); margin-bottom: 24px; line-height: 1.7; }
.cta-features { display: flex; flex-direction: column; gap: 10px; }
.cta-feature {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.9rem; color: rgba(255,255,255,0.85); font-weight: 500;
}
.cta-feature svg { color: rgba(255,255,255,0.6); flex-shrink: 0; }
.cta-form {
    background: var(--white); border-radius: var(--radius-lg); padding: 28px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group { margin-bottom: 14px; }
.form-group label {
    display: block; font-size: 0.78rem; font-weight: 600; color: var(--text);
    margin-bottom: 4px;
}
.form-group input,
.form-group textarea {
    width: 100%; padding: 9px 12px; border: 1px solid var(--border); border-radius: var(--radius);
    font-size: 0.88rem; color: var(--text); background: var(--bg);
    font-family: inherit; transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none; border-color: #005da4; box-shadow: 0 0 0 3px rgba(0,93,164,0.15);
}
.form-group textarea { resize: vertical; min-height: 70px; }
.btn-form {
    width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 24px; border-radius: var(--radius); font-size: 0.9rem; font-weight: 600;
    background: #005da4; color: var(--white); border: none; cursor: pointer;
    transition: background 0.2s;
}
.btn-form:hover { background: #004a83; }
.form-status { margin-top: 12px; font-size: 0.82rem; font-weight: 500; text-align: center; }
.form-status-success { color: #198754; }
.form-status-error { color: #dc3545; }

/* Footer */
footer { background: var(--white); border-top: 1px solid var(--border); padding: 48px 0 0; }
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px;
    padding-bottom: 36px; border-bottom: 1px solid var(--border);
}
.footer-brand .footer-rr-logo { height: 28px; width: auto; margin-bottom: 14px; }
.footer-brand p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; max-width: 320px; }
.footer-links h4 { font-size: 0.8rem; font-weight: 700; color: var(--text); margin-bottom: 12px; }
.footer-links a {
    display: block; font-size: 0.85rem; color: var(--text-muted); text-decoration: none;
    padding: 3px 0; transition: color 0.2s;
}
.footer-links a:hover { color: var(--primary); }
.footer-address { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; margin-bottom: 4px; }
.footer-social { display: flex; gap: 12px; margin-top: 12px; }
.footer-social a {
    display: flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: var(--radius); background: var(--bg);
    color: var(--text-muted); transition: all 0.2s; padding: 0;
}
.footer-social a:hover { background: var(--primary); color: var(--white); }
.footer-bottom {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 0;
}
.footer-bottom .footer-rc-logo { height: 24px; width: auto; }
.footer-bottom p { font-size: 0.78rem; color: var(--text-muted); }

/* Background orb animations */
.has-bg-anim { position: relative; overflow: hidden; }
.bg-orbs { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.has-bg-anim .container { position: relative; z-index: 1; }
.orb {
    position: absolute; border-radius: 50%;
    filter: blur(60px); opacity: 0.7;
}
.orb-1 {
    width: 500px; height: 500px;
    background: rgba(44, 123, 229, 0.25);
    top: -20%; left: -10%;
    animation: drift1 20s ease-in-out infinite;
}
.orb-2 {
    width: 450px; height: 450px;
    background: rgba(110, 168, 254, 0.2);
    bottom: -20%; right: -10%;
    animation: drift2 25s ease-in-out infinite;
}
.orb-3 {
    width: 350px; height: 350px;
    background: rgba(44, 123, 229, 0.18);
    top: 30%; left: 45%;
    animation: drift3 18s ease-in-out infinite;
}
@keyframes drift1 {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(60px, 40px); }
    50% { transform: translate(30px, 80px); }
    75% { transform: translate(-20px, 40px); }
}
@keyframes drift2 {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(-50px, -30px); }
    50% { transform: translate(-20px, -60px); }
    75% { transform: translate(30px, -30px); }
}
@keyframes drift3 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(-40px, 30px); }
    66% { transform: translate(40px, -20px); }
}

/* Animations */
.fade-in { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* Responsive */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .platform-grid { grid-template-columns: repeat(2, 1fr); }
    .sources-grid { grid-template-columns: repeat(2, 1fr); }
    .app-sidebar { width: 160px; }
}
@media (max-width: 768px) {
    .hero-nav { gap: 16px; }
    .hero-logo img, .hero-svg { height: 40px; }
    .hero { padding: 40px 0 50px; }
    .cta-grid { grid-template-columns: 1fr; gap: 32px; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .features-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .security-grid { grid-template-columns: 1fr; }
    .platform-grid { grid-template-columns: 1fr; }
    .sources-grid { grid-template-columns: repeat(2, 1fr); }
    section { padding: 60px 0; }
    .app-sidebar { display: none; }
    .app-content { min-height: 300px; }
    .report-filters { display: none; }
    .stats-kpi-row { grid-template-columns: repeat(2, 1fr); }
    .report-kpi-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; gap: 12px; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .showcase-tabs { gap: 4px; }
    .showcase-tab { padding: 7px 12px; font-size: 0.8rem; }
}
