/* ============================================
   NEVZOROV LABS - Premium Landing Page Styles
   ============================================ */

/* === CSS Variables === */
:root {
    /* Colors */
    --bg-primary: #0B0B0B;
    --bg-secondary: #111111;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);

    --accent-green: #00D67D;
    --accent-green-hover: #00F08C;
    --accent-cyan: #00C6D4;
    --accent-gradient: linear-gradient(135deg, #00D67D 0%, #00C6D4 100%);

    --text-primary: #FFFFFF;
    --text-secondary: #9CA3AF;
    --text-muted: #6B7280;

    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-card: rgba(255, 255, 255, 0.1);

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 80px;
    --card-radius: 20px;
    --btn-radius: 12px;

    /* Effects */
    --glass-blur: blur(20px);
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Reset & Base === */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

/* === Container === */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* === Typography === */
.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--btn-radius);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-primary {
    background: var(--accent-green);
    color: #000;
}

.btn-primary:hover {
    background: var(--accent-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 214, 125, 0.3);
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-card);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 10px 0;
    background: rgba(11, 11, 11, 0.8);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-subtle);
    transition: all var(--transition-smooth);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    background: #fff;
    border-radius: 8px;
    padding: 2px;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-cta {
    padding: 10px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.nav-cta:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-green);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-fast);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: auto;
    display: flex;
    align-items: flex-start;
    padding-top: 80px;
    padding-bottom: 40px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(0, 214, 125, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-grid {
    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: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 999px;
    font-size: 0.875rem;
    color: var(--accent-green);
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 520px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Dashboard Mockup */
.dashboard-mockup {
    background: var(--bg-secondary);
    border: 1px solid var(--border-card);
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.05),
        0 20px 60px rgba(0, 0, 0, 0.5);
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border-subtle);
}

.mockup-dots {
    display: flex;
    gap: 8px;
}

.mockup-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-muted);
}

.mockup-dots span:first-child {
    background: #FF5F57;
}

.mockup-dots span:nth-child(2) {
    background: #FFBD2E;
}

.mockup-dots span:last-child {
    background: #28CA41;
}

.mockup-title {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.mockup-content {
    padding: 32px;
    display: grid;
    gap: 24px;
}

.mockup-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
}

.stat-change {
    font-size: 0.875rem;
    color: var(--accent-green);
}

.mockup-chart {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 100px;
    padding-top: 20px;
}

.chart-bar {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px 6px 0 0;
    transition: all var(--transition-smooth);
}

.chart-bar.active {
    background: var(--accent-gradient);
}

/* ============================================
   SOCIAL PROOF
   ============================================ */
.social-proof {
    padding: 60px 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.social-proof .container {
    text-align: center;
}

.proof-text {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.proof-text strong {
    color: var(--text-secondary);
}

.proof-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.proof-logo {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-muted);
    opacity: 0.5;
    transition: opacity var(--transition-fast);
}

.proof-logo:hover {
    opacity: 0.8;
}

/* ============================================
   SERVICES - BENTO GRID
   ============================================ */
.services {
    padding-top: 60px;
    padding-bottom: 40px;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    align-items: stretch;
}

.bento-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--card-radius);
    padding: 40px;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.bento-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(0, 214, 125, 0.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.bento-card:hover {
    border-color: rgba(0, 214, 125, 0.3);
    transform: translateY(-4px);
}

.bento-card:hover::before {
    opacity: 1;
}

.bento-large {
    display: flex;
    flex-direction: column;
}

.card-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 16px;
    margin-bottom: 24px;
    color: var(--accent-cyan);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.card-text {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.card-integrations {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: auto;
    justify-content: center;
}

.integration-badge {
    padding: 6px 12px;
    background: rgba(0, 198, 212, 0.1);
    border: 1px solid rgba(0, 198, 212, 0.2);
    border-radius: 999px;
    font-size: 0.75rem;
    color: var(--accent-cyan);
}

/* ============================================
   FEATURES
   ============================================ */
.features {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.features-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.features-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 400px;
}

.features-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.features-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

/* Phone Mockup */
.phone-mockup {
    width: 280px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-card);
    border-radius: 40px;
    padding: 12px;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.05),
        0 40px 80px rgba(0, 0, 0, 0.5);
}

.phone-notch {
    width: 120px;
    height: 28px;
    background: var(--bg-primary);
    border-radius: 20px;
    margin: 0 auto 20px;
}

.phone-content {
    background: var(--bg-primary);
    border-radius: 28px;
    padding: 20px;
    min-height: 400px;
}

.phone-header {
    text-align: center;
    margin-bottom: 30px;
}

.phone-time {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.phone-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(0, 214, 125, 0.1);
    border: 1px solid rgba(0, 214, 125, 0.3);
    border-radius: 16px;
    margin-bottom: 20px;
}

.deal-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-green);
    border-radius: 12px;
    font-size: 1.25rem;
    color: #000;
}

.deal-text {
    font-weight: 600;
    color: var(--accent-green);
}

.phone-deal {
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 16px;
}

.phone-deal h4 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.deal-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-green);
    margin-bottom: 16px;
}

.deal-pipeline {
    display: flex;
    gap: 8px;
}

.pipeline-stage {
    padding: 6px 12px;
    background: var(--accent-green);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #000;
}

/* Floating Cards */
.floating-card {
    position: absolute;
    background: var(--bg-secondary);
    border: 1px solid var(--border-card);
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    animation: float 6s ease-in-out infinite;
}

.card-stats {
    top: 20%;
    left: 0;
    display: flex;
    align-items: center;
    gap: 16px;
}

.mini-chart {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 40px;
}

.mini-bar {
    width: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.mini-bar.active {
    background: var(--accent-green);
}

.stats-label {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-green);
}

.card-notification {
    bottom: 25%;
    right: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    animation-delay: -3s;
}

.notif-icon {
    font-size: 1.25rem;
}

.notif-text {
    font-size: 0.875rem;
    font-weight: 500;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: var(--section-padding) 0 40px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
}

.footer-main {
    margin-bottom: 60px;
}

.footer-title {
    font-size: clamp(4rem, 15vw, 12rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 0.9;
    margin-bottom: 60px;
    margin-left: -5px;
    text-align: left;
    background: linear-gradient(to bottom, var(--text-primary) 0%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a {
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.footer-col a:hover {
    color: var(--text-primary);
}

.footer-email {
    color: var(--text-primary);
    font-size: 1.125rem;
}

.footer-form {
    display: flex;
    gap: 12px;
}

.footer-input {
    flex: 1;
    padding: 14px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--btn-radius);
    color: var(--text-primary);
    font-size: 1rem;
    outline: none;
    transition: border-color var(--transition-fast);
}

.footer-input:focus {
    border-color: var(--accent-green);
}
}

.footer-input:focus {
    border-color: var(--accent-green);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid var(--border-subtle);
}

.footer-legal {
    display: flex;
    gap: 24px;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.footer-legal a:hover {
    color: var(--text-secondary);
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--accent-green);
    border-color: var(--accent-green);
    color: #000;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-visual {
        max-width: 400px;
        margin: 0 auto;
    }

    .bento-grid {
        grid-template-columns: 1fr 1fr;
    }

    .bento-large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .features-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .features-cta {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }

    .nav-menu,
    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border-subtle);
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-large {
        grid-column: span 1;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-form {
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-legal {
        flex-direction: column;
        gap: 12px;
    }

    .floating-card {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .btn {
        width: 100%;
    }

    .hero-cta {
        flex-direction: column;
    }

    .features-cta {
        flex-direction: column;
    }
}

.footer-col .footer-social {
    margin-top: 24px;
    justify-content: flex-start;
}