/* ============================================
   MISBuddy — Global Styles
   Dark theme, green accent, premium SaaS feel
   ============================================ */

:root {
    --bg-primary: #0A0A0A;
    --bg-secondary: #111111;
    --bg-card: #151515;
    --bg-card-hover: #1a1a1a;
    --bg-elevated: #1c1c1c;
    --border-color: #222222;
    --border-light: #2a2a2a;
    --text-primary: #F0F0F0;
    --text-secondary: #999999;
    --text-muted: #666666;
    --accent: #00E87B;
    --accent-dark: #00C566;
    --accent-glow: rgba(0, 232, 123, 0.15);
    --accent-glow-strong: rgba(0, 232, 123, 0.3);
    --gradient-start: #00E87B;
    --gradient-end: #00B8D4;
    --red: #FF5F57;
    --yellow: #FFBD2E;
    --blue: #4A90D9;
    --purple: #7C5CFC;
    --pink: #E94B7C;
    --orange: #E8A838;
    --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-card: 0 4px 24px rgba(0,0,0,0.3);
    --shadow-glow: 0 0 60px rgba(0,232,123,0.08);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: auto; }
body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* Ensure animated elements are visible by default (GSAP will override when animations run) */
[data-animate] { opacity: 1 !important; }

/* Loader */
#loader {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s, visibility 0.5s;
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { text-align: center; }
.loader-logo { margin-bottom: 24px; display: flex; justify-content: center; }
.loader-bar { width: 120px; height: 3px; background: var(--border-color); border-radius: 2px; overflow: hidden; }
.loader-bar-fill { width: 0; height: 100%; background: var(--accent); border-radius: 2px; animation: loaderFill 1.5s ease-out forwards; }
@keyframes loaderFill { to { width: 100%; } }

/* Cursor glow */
#cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,232,123,0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    will-change: transform;
    display: none;
}
@media (hover: hover) { #cursor-glow { display: block; } }

/* Container */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ============================================
   NAVIGATION
   ============================================ */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: background var(--transition), backdrop-filter var(--transition), padding var(--transition);
}
#navbar.scrolled {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-links a {
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: color var(--transition);
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }
.nav-dropdown { position: relative; }
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: -12px;
    padding-top: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all var(--transition);
}
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 8px;
    min-width: 180px;
    box-shadow: var(--shadow-card);
}
.dropdown-menu a {
    display: block;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
}
.dropdown-menu a:hover { background: var(--bg-elevated); color: var(--accent); }
.nav-actions { display: flex; gap: 12px; align-items: center; }

/* Buttons */
.btn-primary-sm, .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: var(--bg-primary);
    font-weight: 600;
    border-radius: 100px;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
}
.btn-primary-sm { padding: 8px 20px; font-size: 0.85rem; }
.btn-primary { padding: 14px 32px; font-size: 0.95rem; }
.btn-primary:hover, .btn-primary-sm:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 4px 20px var(--accent-glow); }
.btn-outline-sm, .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    font-weight: 500;
    border-radius: 100px;
    transition: all var(--transition);
    cursor: pointer;
    background: transparent;
    font-family: var(--font-body);
}
.btn-outline-sm { padding: 8px 20px; font-size: 0.85rem; }
.btn-outline { padding: 14px 32px; font-size: 0.95rem; }
.btn-outline:hover, .btn-outline-sm:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 18px 40px; font-size: 1.05rem; }
.full-width { width: 100%; justify-content: center; }

/* Mobile toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--text-primary); transition: all var(--transition); }
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.mobile-menu {
    display: none;
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 12px;
}
.mobile-menu a { padding: 8px 0; font-size: 1rem; color: var(--text-secondary); }
.mobile-menu a:hover { color: var(--accent); }
.mobile-menu.open { display: flex; }

/* Section Badge */
.section-badge {
    display: inline-block;
    padding: 6px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    background: var(--accent-glow);
    border: 1px solid rgba(0,232,123,0.2);
    border-radius: 100px;
    letter-spacing: 0.03em;
}
.section-header {
    text-align: center;
    margin-bottom: 64px;
}
.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 16px 0;
    letter-spacing: -0.03em;
}
.section-header p {
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
    font-size: 1.05rem;
}
.text-gradient {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   HERO SECTION
   ============================================ */
#hero {
    position: relative;
    padding: 160px 0 80px;
    overflow: hidden;
    min-height: 100vh;
}
.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.hero-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}
.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,232,123,0.12), transparent 70%);
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
}
.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0,184,212,0.08), transparent 70%);
    top: 100px;
    right: -100px;
}
.hero-grid-lines {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}
.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px 6px 6px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}
.badge-new {
    background: var(--accent);
    color: var(--bg-primary);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 100px;
}
.hero-title {
    font-size: clamp(2.5rem, 5.5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}
.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 36px;
}
.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}
.stat-suffix { font-size: 1rem; font-weight: 600; color: var(--text-muted); }
.stat-label { display: block; font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }
.stat-divider { width: 1px; height: 40px; background: var(--border-color); }

/* Dashboard Preview */
.hero-dashboard {
    position: relative;
    margin-top: 64px;
    perspective: 1000px;
}
.dashboard-glow {
    position: absolute;
    inset: -40px;
    background: radial-gradient(ellipse at top center, var(--accent-glow-strong), transparent 60%);
    filter: blur(40px);
    z-index: 0;
    border-radius: 50%;
}
.dashboard-frame {
    position: relative;
    z-index: 1;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card), var(--shadow-glow);
}
.dashboard-topbar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
}
.topbar-dots { display: flex; gap: 6px; }
.topbar-dots span { width: 10px; height: 10px; border-radius: 50%; }
.topbar-url {
    flex: 1;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.dashboard-content {
    display: grid;
    grid-template-columns: 180px 1fr 220px;
    min-height: 380px;
}

/* Dashboard Sidebar */
.dash-sidebar {
    padding: 16px;
    border-right: 1px solid var(--border-color);
    background: rgba(0,0,0,0.2);
}
.dash-sidebar-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 16px;
}
.dash-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}
.dash-nav-items, .dash-nav-section { display: flex; flex-direction: column; gap: 2px; }
.dash-nav-section { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border-color); }
.dash-nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.72rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition);
}
.dash-nav-item:hover { color: var(--text-secondary); background: var(--bg-card); }
.dash-nav-item.active { color: var(--text-primary); background: var(--bg-card); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--text-muted); flex-shrink: 0; }
.dot.green { background: var(--accent); }

/* Dashboard Main */
.dash-main { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.dash-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px;
}
.dash-card h3 { font-size: 0.8rem; font-weight: 600; margin-bottom: 12px; }
.projects-table { font-size: 0.68rem; }
.table-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr 1fr 1.5fr;
    gap: 8px;
    padding: 6px 0;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
    font-weight: 500;
}
.table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr 1fr 1.5fr;
    gap: 8px;
    padding: 8px 0;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}
.table-row:last-child { border-bottom: none; }
.status-badge {
    padding: 2px 8px;
    border-radius: 100px;
    font-size: 0.62rem;
    font-weight: 600;
    display: inline-block;
    width: fit-content;
}
.status-badge.active { background: rgba(0,232,123,0.15); color: var(--accent); }
.status-badge.review { background: rgba(232,168,56,0.15); color: var(--orange); }
.team-avatars { display: flex; gap: -4px; }
.team-avatars i {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--purple);
    border: 2px solid var(--bg-card);
    margin-left: -4px;
}
.team-avatars i:first-child { margin-left: 0; background: var(--blue); }
.team-avatars i:nth-child(2) { background: var(--pink); }
.team-avatars i:nth-child(3) { background: var(--orange); }
.team-avatars i:nth-child(4) { background: var(--purple); }
.progress-bar {
    width: 100%;
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
    overflow: hidden;
}
.progress-bar span { display: block; height: 100%; background: var(--accent); border-radius: 2px; }
.dash-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Todo */
.todo-items { display: flex; flex-direction: column; gap: 6px; }
.todo-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.68rem;
    color: var(--text-secondary);
    padding: 6px 0;
}
.todo-check {
    width: 14px;
    height: 14px;
    border-radius: 4px;
    border: 1.5px solid var(--border-light);
    flex-shrink: 0;
}
.todo-check.done { background: var(--accent); border-color: var(--accent); }
.todo-priority {
    margin-left: auto;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.58rem;
    font-weight: 600;
}
.todo-priority.high { background: rgba(255,95,87,0.15); color: var(--red); }
.todo-priority.med { background: rgba(232,168,56,0.15); color: var(--orange); }
.todo-priority.low { background: rgba(0,232,123,0.15); color: var(--accent); }

/* Revenue */
.revenue-amount {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 8px;
    font-variant-numeric: tabular-nums;
}
.revenue-chart { height: 60px; }
.chart-line { width: 100%; height: 100%; }

/* Messages */
.dash-messages {
    padding: 16px;
    border-left: 1px solid var(--border-color);
    background: rgba(0,0,0,0.2);
}
.dash-messages h3 { font-size: 0.8rem; font-weight: 600; margin-bottom: 12px; }
.msg-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}
.msg-list { display: flex; flex-direction: column; gap: 12px; }
.msg-item { display: flex; gap: 10px; align-items: flex-start; }
.msg-avatar { width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; }
.msg-info strong { font-size: 0.72rem; display: block; }
.msg-info p { font-size: 0.65rem; color: var(--text-muted); margin-top: 2px; }

/* ============================================
   LOGOS SECTION
   ============================================ */
#logos {
    padding: 64px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}
.logos-text {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}
.logos-track { overflow: hidden; position: relative; }
.logos-track::before, .logos-track::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
}
.logos-track::before { left: 0; background: linear-gradient(to right, var(--bg-primary), transparent); }
.logos-track::after { right: 0; background: linear-gradient(to left, var(--bg-primary), transparent); }
.logos-slide {
    display: flex;
    gap: 80px;
    animation: logoScroll 25s linear infinite;
    width: max-content;
}
.logo-item {
    flex-shrink: 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-muted);
    opacity: 0.4;
    letter-spacing: 0.05em;
    white-space: nowrap;
}
@keyframes logoScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================
   FEATURES SECTION
   ============================================ */
#features {
    padding: 120px 0;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top left, var(--accent-glow), transparent 60%);
    opacity: 0;
    transition: opacity var(--transition);
}
.feature-card:hover::before { opacity: 1; }
.feature-card:hover { border-color: rgba(0,232,123,0.2); transform: translateY(-2px); }
.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow);
    border: 1px solid rgba(0,232,123,0.2);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}
.feature-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; position: relative; z-index: 1; }
.feature-card p { color: var(--text-secondary); font-size: 0.92rem; position: relative; z-index: 1; line-height: 1.6; }
.feature-card.large { grid-column: span 1; }

/* Feature Screenshot Placeholders */
.feature-screenshot { margin-top: 24px; position: relative; z-index: 1; }
.screenshot-placeholder {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    gap: 16px;
}
.placeholder-content { flex: 1; }
.placeholder-header { margin-bottom: 12px; }
.ph-tag {
    display: inline-block;
    padding: 2px 8px;
    background: rgba(255,95,87,0.15);
    color: var(--red);
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 600;
    margin-bottom: 6px;
}
.ph-title { display: block; font-size: 0.8rem; font-weight: 600; }
.placeholder-items { display: flex; flex-direction: column; gap: 6px; }
.ph-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    color: var(--text-secondary);
    padding: 6px 10px;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
}
.ph-check { width: 12px; height: 12px; border-radius: 3px; border: 1.5px solid var(--accent); flex-shrink: 0; }
.ph-avatar { width: 18px; height: 18px; border-radius: 50%; background: var(--blue); margin-left: auto; }
.ph-plus {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--border-color);
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    margin-left: auto;
}

/* Communication placeholder */
.screenshot-placeholder.comm {
    justify-content: center;
    align-items: center;
    min-height: 140px;
}
.comm-visual { text-align: center; }
.comm-wave { display: flex; gap: 3px; justify-content: center; margin-bottom: 16px; align-items: end; height: 40px; }
.comm-wave span {
    width: 4px;
    background: var(--accent);
    border-radius: 2px;
    animation: wave 1.2s ease-in-out infinite;
}
.comm-wave span:nth-child(1) { height: 15px; animation-delay: 0s; }
.comm-wave span:nth-child(2) { height: 25px; animation-delay: 0.1s; }
.comm-wave span:nth-child(3) { height: 35px; animation-delay: 0.2s; }
.comm-wave span:nth-child(4) { height: 20px; animation-delay: 0.3s; }
.comm-wave span:nth-child(5) { height: 30px; animation-delay: 0.4s; }
.comm-wave span:nth-child(6) { height: 40px; animation-delay: 0.5s; }
.comm-wave span:nth-child(7) { height: 18px; animation-delay: 0.6s; }
.comm-wave span:nth-child(8) { height: 28px; animation-delay: 0.7s; }
.comm-wave span:nth-child(9) { height: 35px; animation-delay: 0.8s; }
.comm-wave span:nth-child(10) { height: 22px; animation-delay: 0.9s; }
.comm-wave span:nth-child(11) { height: 15px; animation-delay: 1s; }
.comm-wave span:nth-child(12) { height: 30px; animation-delay: 0.15s; }
.comm-wave span:nth-child(13) { height: 20px; animation-delay: 0.25s; }
.comm-wave span:nth-child(14) { height: 38px; animation-delay: 0.35s; }
.comm-wave span:nth-child(15) { height: 25px; animation-delay: 0.45s; }
@keyframes wave {
    0%, 100% { transform: scaleY(0.5); }
    50% { transform: scaleY(1); }
}
.comm-avatars { display: flex; gap: 8px; justify-content: center; }
.comm-av { width: 36px; height: 36px; border-radius: 50%; }

/* ============================================
   AI SECTION
   ============================================ */
#ai-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}
.ai-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.ai-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    margin: 16px 0 20px;
    letter-spacing: -0.03em;
}
.ai-content > p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 32px;
}
.ai-features-list { display: flex; flex-direction: column; gap: 20px; }
.ai-features-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.ai-check {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 2px;
}
.ai-features-list li strong { display: block; font-size: 0.95rem; margin-bottom: 2px; }
.ai-features-list li span { font-size: 0.85rem; color: var(--text-secondary); }

/* AI Visual */
.ai-visual-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 40px;
    position: relative;
    overflow: hidden;
}
.ai-orb {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 32px;
}
.ai-orb-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(0,232,123,0.2);
}
.ring-1 { inset: 0; animation: orbPulse 3s ease-in-out infinite; }
.ring-2 { inset: -15px; animation: orbPulse 3s ease-in-out infinite 0.5s; }
.ring-3 { inset: -30px; animation: orbPulse 3s ease-in-out infinite 1s; }
.ai-orb-core {
    position: absolute;
    inset: 25px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent), var(--accent-dark));
    box-shadow: 0 0 40px var(--accent-glow-strong);
}
@keyframes orbPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

/* AI Prompt Demo */
.ai-prompt-demo {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
}
.prompt-line {
    display: flex;
    gap: 8px;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 12px;
}
.prompt-icon { color: var(--accent); font-family: var(--font-mono); }
.prompt-text { font-size: 0.82rem; color: var(--text-secondary); font-family: var(--font-mono); }
.prompt-response { padding: 0; }
.prompt-chart {
    display: flex;
    gap: 8px;
    align-items: flex-end;
    height: 60px;
    margin-bottom: 12px;
}
.chart-bar {
    flex: 1;
    background: linear-gradient(to top, var(--accent-dark), var(--accent));
    border-radius: 3px 3px 0 0;
    opacity: 0.8;
    transition: opacity var(--transition);
}
.chart-bar:hover { opacity: 1; }
.prompt-result { font-size: 0.82rem; color: var(--text-secondary); }

/* ============================================
   PRIVACY SECTION
   ============================================ */
#privacy-section {
    padding: 120px 0;
    background: var(--bg-secondary);
}
.privacy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.privacy-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition);
}
.privacy-card:hover { border-color: rgba(0,232,123,0.2); transform: translateY(-2px); }
.privacy-icon { font-size: 1.8rem; margin-bottom: 16px; }
.privacy-card h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.privacy-card p { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.6; }

/* ============================================
   HOW IT WORKS
   ============================================ */
#how-it-works {
    padding: 120px 0;
}
.steps-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.step-card {
    position: relative;
    text-align: center;
    padding: 40px 24px;
}
.step-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--accent);
    margin-bottom: 20px;
    line-height: 1;
}
.step-line {
    width: 40px;
    height: 3px;
    background: var(--accent);
    margin: 0 auto 20px;
    border-radius: 2px;
}
.step-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 12px; }
.step-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; }

/* ============================================
   PRICING SECTION
   ============================================ */
#pricing {
    padding: 120px 0;
    background: var(--bg-secondary);
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}
.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 36px;
    position: relative;
    transition: all var(--transition);
}
.pricing-card:hover { transform: translateY(-4px); }
.pricing-card.featured {
    border-color: var(--accent);
    box-shadow: 0 0 40px var(--accent-glow);
}
.pricing-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 16px;
    background: var(--accent);
    color: var(--bg-primary);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 100px;
    white-space: nowrap;
}
.pricing-header { margin-bottom: 24px; }
.pricing-header h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 4px; }
.pricing-header p { color: var(--text-muted); font-size: 0.85rem; }
.pricing-amount { margin-bottom: 24px; display: flex; align-items: baseline; gap: 2px; }
.currency { font-size: 1.2rem; font-weight: 600; color: var(--text-secondary); }
.price { font-size: 2.5rem; font-weight: 800; letter-spacing: -0.02em; }
.period { font-size: 0.9rem; color: var(--text-muted); }
.pricing-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
#testimonials { padding: 120px 0; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition);
}
.testimonial-card:hover { border-color: rgba(0,232,123,0.2); }
.testimonial-stars { color: var(--accent); font-size: 0.9rem; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-card > p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.author-avatar { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; }
.testimonial-author strong { display: block; font-size: 0.88rem; }
.testimonial-author span { font-size: 0.78rem; color: var(--text-muted); }

/* ============================================
   CTA SECTION
   ============================================ */
#cta { padding: 120px 0; }
.cta-wrapper {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 80px 40px;
    text-align: center;
    overflow: hidden;
}
.cta-bg-effects { position: absolute; inset: 0; overflow: hidden; }
.cta-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}
.cta-orb-1 { width: 300px; height: 300px; background: rgba(0,232,123,0.15); top: -100px; left: -50px; }
.cta-orb-2 { width: 300px; height: 300px; background: rgba(0,184,212,0.1); bottom: -100px; right: -50px; }
.cta-content { position: relative; z-index: 1; }
.cta-content h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 16px 0 16px;
    letter-spacing: -0.02em;
}
.cta-content p { color: var(--text-secondary); font-size: 1.05rem; max-width: 500px; margin: 0 auto 32px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
.cta-note { color: var(--text-muted); font-size: 0.82rem; }

/* ============================================
   FOOTER
   ============================================ */
#footer {
    padding: 80px 0 0;
    border-top: 1px solid var(--border-color);
}
.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    padding-bottom: 48px;
}
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand > p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; max-width: 300px; }
.footer-links-group { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.footer-col h4 { font-size: 0.85rem; font-weight: 600; margin-bottom: 16px; color: var(--text-primary); }
.footer-col a { display: block; font-size: 0.85rem; color: var(--text-muted); padding: 4px 0; transition: color var(--transition); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 16px;
}
.footer-copy p { font-size: 0.82rem; color: var(--text-muted); }
.footer-copy a { color: var(--accent); }
.footer-copy a:hover { text-decoration: underline; }
.footer-made { font-size: 0.85rem; color: var(--text-muted); }
.heart { color: #FF5F57; animation: heartbeat 1.5s ease-in-out infinite; display: inline-block; }
@keyframes heartbeat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.2); } }

/* ============================================
   PAGE STYLES (for inner pages)
   ============================================ */
.page-hero {
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(circle, rgba(0,232,123,0.08), transparent 70%);
    filter: blur(60px);
}
.page-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    position: relative;
    margin-bottom: 16px;
}
.page-hero p { color: var(--text-secondary); font-size: 1.1rem; position: relative; }

.page-content {
    padding: 0 0 120px;
    position: relative;
}
.page-content .container { max-width: 900px; }
.page-content h2 { font-size: 1.6rem; font-weight: 700; margin: 48px 0 16px; }
.page-content h3 { font-size: 1.2rem; font-weight: 600; margin: 32px 0 12px; }
.page-content p { color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px; }
.page-content ul { padding-left: 20px; margin-bottom: 16px; }
.page-content ul li { color: var(--text-secondary); line-height: 1.8; margin-bottom: 8px; list-style: disc; }
.page-content a { color: var(--accent); }
.page-content a:hover { text-decoration: underline; }

/* About page grid */
.about-partners {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin: 40px 0;
}
.partner-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition);
}
.partner-card:hover { border-color: rgba(0,232,123,0.2); }
.partner-card h3 { margin-top: 0; color: var(--accent); }
.partner-card p { margin-bottom: 0; }

/* Contact form */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 40px;
}
.contact-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
}
.contact-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 24px;
}
.contact-info-item:last-child { margin-bottom: 0; }
.contact-info-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow);
    border-radius: var(--radius-md);
    flex-shrink: 0;
    font-size: 1.2rem;
}
.contact-info-item h4 { font-size: 0.95rem; margin-bottom: 4px; margin-top: 0; }
.contact-info-item p { font-size: 0.88rem; margin-bottom: 0; }
.contact-info-item a { color: var(--accent); }

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-secondary);
}
.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.92rem;
    transition: border-color var(--transition);
    outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: var(--accent);
}
.form-group textarea { min-height: 120px; resize: vertical; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .dashboard-content { grid-template-columns: 1fr; }
    .dash-sidebar, .dash-messages { display: none; }
    .ai-wrapper { grid-template-columns: 1fr; gap: 48px; }
    .features-grid { grid-template-columns: 1fr; }
    .feature-card.large { grid-column: span 1; }
    .privacy-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .steps-wrapper { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .footer-top { grid-template-columns: 1fr; gap: 40px; }
    .footer-links-group { grid-template-columns: repeat(2, 1fr); }
    .about-partners { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .nav-links, .nav-actions { display: none; }
    .mobile-toggle { display: flex; }
    .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
    .hero-subtitle br { display: none; }
    .hero-stats { gap: 24px; }
    .stat-divider { display: none; }
    .privacy-grid { grid-template-columns: 1fr; }
    .footer-links-group { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .cta-wrapper { padding: 48px 24px; }
    .screenshot-placeholder { flex-direction: column; }
    .dash-row { grid-template-columns: 1fr; }
    section { padding: 80px 0 !important; }
}
