/* ═══════════════════════════════════════════════════════════
   AVTARIUM - Public Pages (Unified from index.html)
   ═══════════════════════════════════════════════════════════ */

:root {
    --bg-deep: #060a10;
    --bg-main: #0a0f18;
    --bg-card: #0f1520;
    --bg-card-hover: #141c2a;
    --border: #1a2535;
    --mint: #00D9A5;
    --mint-glow: rgba(0, 217, 165, 0.2);
    --mint-soft: rgba(0, 217, 165, 0.1);
    --text: #ffffff;
    --text-secondary: #8b9cb3;
    --text-muted: #5a6a7f;
    --ozon-blue: #005bff;
    --wb-purple: #cb11ab;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg-main);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

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

/* ═══════════════════════════════════════════════════════════
   HEADER / NAV
   ═══════════════════════════════════════════════════════════ */

header, .public-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 15, 24, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.logo {
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: -0.5px;
    color: var(--text);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.2s;
}

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

.nav-link.active {
    color: var(--mint);
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Buttons */
.btn {
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.25s;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
}

.btn-ghost:hover {
    color: var(--text);
}

.btn-primary {
    background: var(--mint);
    color: var(--bg-deep);
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--mint-glow);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--text-muted);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--mint);
    color: var(--mint);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ═══════════════════════════════════════════════════════════
   ANIMATED BACKGROUND
   ═══════════════════════════════════════════════════════════ */

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float-orb 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--mint) 0%, transparent 70%);
    top: -200px;
    right: -100px;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--wb-purple) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    animation-delay: -7s;
    opacity: 0.3;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--ozon-blue) 0%, transparent 70%);
    top: 50%;
    left: 30%;
    animation-delay: -14s;
    opacity: 0.2;
}

@keyframes float-orb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, -30px) scale(1.1); }
    50% { transform: translate(-30px, 50px) scale(0.9); }
    75% { transform: translate(-50px, -20px) scale(1.05); }
}

.grid-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 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: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, transparent 80%);
}

/* ═══════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════ */

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

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

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-card);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 2rem;
    border: 1px solid var(--border);
}

.hero-tag .dot {
    width: 8px;
    height: 8px;
    background: var(--mint);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

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

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--mint) 0%, #00f5c4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    color: var(--text-secondary);
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.hero-buttons .btn {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, var(--mint) 0%, #00f5c4 100%);
}

/* ═══════════════════════════════════════════════════════════
   DASHBOARD PREVIEW
   ═══════════════════════════════════════════════════════════ */

.hero-visual {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out 0.3s both;
    perspective: 1000px;
}

.dashboard-wrapper {
    position: relative;
    transform: rotateX(10deg);
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

.dashboard-wrapper:hover {
    transform: rotateX(5deg);
}

.dashboard-preview {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255,255,255,0.05) inset;
}

.dashboard-topbar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--bg-deep);
    border-bottom: 1px solid var(--border);
}

.window-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.window-dot.red { background: #ff5f57; }
.window-dot.yellow { background: #ffbd2e; }
.window-dot.green { background: #28ca42; }

.dashboard-content {
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 1.5rem;
    min-height: 350px;
}

.dashboard-sidebar {
    background: var(--bg-main);
    border-radius: 10px;
    padding: 1rem;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    border-radius: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.sidebar-item.active {
    background: var(--mint-soft);
    color: var(--mint);
}

.sidebar-icon {
    width: 18px;
    height: 18px;
    background: currentColor;
    border-radius: 4px;
    opacity: 0.5;
}

.dashboard-main {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.metrics-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.metric-card {
    background: var(--bg-main);
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid var(--border);
}

.metric-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.35rem;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.metric-change {
    font-size: 0.75rem;
    color: var(--mint);
    margin-top: 0.25rem;
}

.metric-change.negative { color: #ff6b6b; }

.chart-area {
    flex: 1;
    background: var(--bg-main);
    border-radius: 10px;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.chart-line {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 100%;
}

.chart-line svg {
    width: 100%;
    height: 100%;
}

/* Float Notifications */
.float-notification {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.85rem 1.15rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
    z-index: 10;
}

.float-notification.top-right {
    top: 80px;
    right: -40px;
    animation: float-notif 4s ease-in-out infinite;
}

.float-notification.bottom-left {
    bottom: 60px;
    left: -60px;
    animation: float-notif 4s ease-in-out infinite 2s;
}

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

.notif-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.notif-icon.wb { background: rgba(203, 17, 171, 0.2); }
.notif-icon.ozon { background: rgba(0, 91, 255, 0.2); }

.notif-text { display: flex; flex-direction: column; }
.notif-title { font-weight: 600; font-size: 0.8rem; }
.notif-desc { color: var(--text-muted); font-size: 0.75rem; }

/* ═══════════════════════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════════════════════ */

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

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

.section-header h2 {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    max-width: 500px;
    margin: 0 auto;
}

/* Pain Section */
.pain-section {
    padding: 8rem 3rem;
    background: var(--bg-deep);
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

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

.pain-card:hover {
    transform: translateY(-8px);
    border-color: var(--text-muted);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.pain-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.pain-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    filter: brightness(0.8);
}

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

.pain-image::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 100px;
    background: linear-gradient(transparent, var(--bg-card));
}

.pain-content {
    padding: 1.75rem;
}

.pain-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

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

/* Features Bento */
.features-section {
    padding: 8rem 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(200px, auto);
    gap: 1.5rem;
}

.bento-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 2rem;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.bento-item:hover {
    border-color: var(--text-muted);
    transform: translateY(-4px);
}

.bento-item.span-7 { grid-column: span 7; }
.bento-item.span-5 { grid-column: span 5; }
.bento-item.span-4 { grid-column: span 4; }
.bento-item.span-8 { grid-column: span 8; }
.bento-item.row-2 { grid-row: span 2; }

.bento-image {
    width: 100%;
    height: 180px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.bento-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.bento-item:hover .bento-image img {
    transform: scale(1.05);
}

.bento-item h3 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.bento-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--mint-soft);
    color: var(--mint);
    padding: 0.35rem 0.75rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    width: fit-content;
}

.unit-visual {
    margin-top: auto;
    padding-top: 1.5rem;
}

.unit-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

.unit-row:last-child {
    border-bottom: none;
    font-weight: 700;
    font-size: 1rem;
    color: var(--mint);
    padding-top: 1rem;
}

.unit-row span:first-child {
    color: var(--text-secondary);
}

/* Platforms */
.platforms-section {
    padding: 4rem 3rem;
    text-align: center;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.platforms-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 2rem;
}

.platforms-logos {
    display: flex;
    justify-content: center;
    gap: 5rem;
    align-items: center;
}

.platform-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.75rem;
    font-weight: 700;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.platform-logo:hover { opacity: 1; }

.platform-logo .dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

/* CTA Section */
.cta-section {
    padding: 10rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--mint-glow) 0%, transparent 60%);
    pointer-events: none;
    animation: pulse-bg 4s ease-in-out infinite;
}

@keyframes pulse-bg {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

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

.cta-section h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.cta-section .subtitle {
    color: var(--text-secondary);
    font-size: 1.25rem;
    max-width: 500px;
    margin: 0 auto 3rem;
}

.cta-section .btn {
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
    background: linear-gradient(135deg, var(--mint) 0%, #00f5c4 100%);
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.cta-feature svg {
    color: var(--mint);
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════
   PAGE HEADER (for inner pages)
   ═══════════════════════════════════════════════════════════ */

.page-header {
    padding-top: 120px;
    padding: 8rem 2rem 4rem;
    text-align: center;
    position: relative;
    background: var(--bg-deep);
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 100%;
    background: radial-gradient(ellipse at top center, var(--mint-glow) 0%, transparent 50%);
    opacity: 0.4;
    pointer-events: none;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    position: relative;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

/* ═══════════════════════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════════════════════ */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: var(--text-muted);
}

.pricing-card.featured {
    border-color: var(--mint);
    box-shadow: 0 0 60px var(--mint-glow);
    position: relative;
}

.pricing-card.featured::before {
    content: 'Популярный';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--mint);
    color: var(--bg-deep);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 1rem;
    border-radius: 100px;
}

.pricing-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

.pricing-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    flex: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0.85rem;
}

.pricing-features li svg {
    color: var(--mint);
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════
   LEGAL PAGES
   ═══════════════════════════════════════════════════════════ */

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem 6rem;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin: 3rem 0 1rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.legal-content h2:first-of-type {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

.legal-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-content ul {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.legal-content a {
    color: var(--mint);
}

/* ═══════════════════════════════════════════════════════════
   SUPPORT PAGE
   ═══════════════════════════════════════════════════════════ */

.support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.support-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s;
}

.support-card:hover {
    transform: translateY(-4px);
    border-color: var(--text-muted);
}

.support-icon {
    width: 64px;
    height: 64px;
    background: var(--mint-soft);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 1.25rem;
}

.support-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.support-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 3rem;
}

.contact-form h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--bg-main);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-size: 0.95rem;
    transition: all 0.2s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--mint);
    box-shadow: 0 0 0 3px var(--mint-soft);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */

footer, .public-footer {
    border-top: 1px solid var(--border);
    padding: 4rem 3rem;
    background: var(--bg-deep);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo {
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-column h4 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: var(--text);
}

.footer-column a {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    transition: color 0.2s;
}

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

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .hero { padding: 7rem 2rem 3rem; }
    .dashboard-content { grid-template-columns: 1fr; }
    .dashboard-sidebar { display: none; }
    .float-notification { display: none; }
    .pain-grid { grid-template-columns: 1fr; }
    .bento-grid { grid-template-columns: 1fr; }
    .bento-item.span-7, .bento-item.span-5, .bento-item.span-4, .bento-item.span-8 { grid-column: span 1; }
    .bento-item.row-2 { grid-row: span 1; }
    .footer-content { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .metrics-row { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
    .support-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    header, .public-header { padding: 1rem 1.5rem; }
    .nav-links { display: none; }
    .hero h1 { font-size: 2.25rem; letter-spacing: -1px; }
    .hero-subtitle { font-size: 1rem; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; justify-content: center; }
    .section-header h2 { font-size: 2rem; }
    .cta-section h2 { font-size: 2.25rem; }
    .cta-features { flex-direction: column; gap: 1rem; }
    .footer-content { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .platforms-logos { flex-direction: column; gap: 2rem; }
    .page-header h1 { font-size: 2rem; }
    .form-row { grid-template-columns: 1fr; }
}

/* Header container - centered with proper spacing */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.public-header {
    padding: 1rem 0;
}

/* Legal pages */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    font-size: 0.95rem;
    line-height: 1.7;
}
.legal-content h2 {
    font-size: 1.25rem;
    margin: 2rem 0 1rem;
    color: var(--text);
}
.legal-content p, .legal-content ul {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}
.legal-content ul {
    padding-left: 1.5rem;
}
.page-header {
    padding-top: 120px;
    text-align: center;
    padding: 3rem 1rem 2rem;
}
.page-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}
.page-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Fix header overlap */
.page-header {
    padding-top: 100px !important;
}
