/* ============================================
   NEXUS AI — LANDING PAGE STYLES
   ============================================ */

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #0d0d12;
    --bg-card: rgba(22, 22, 30, 0.6);
    --text-primary: #f0f0f5;
    --text-secondary: #a0a0b0;
    --text-muted: #6a6a7a;
    --accent-green: #00E5A0;
    --accent-cyan: #00B4D8;
    --accent-purple: #7B61FF;
    --accent-red: #FF6B6B;
    --accent-orange: #FF9F43;
    --accent-yellow: #FECA57;
    --gradient-primary: linear-gradient(135deg, #7B61FF 0%, #00E5A0 100%);
    --font-primary: 'Inter', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --container-max: 1200px;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-primary);
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 40px;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(123, 97, 255, 0.1);
    border: 1px solid rgba(123, 97, 255, 0.2);
    border-radius: 100px;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--accent-purple);
    margin-bottom: 24px;
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0;
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

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

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

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 100px;
    color: #0a0a0f;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(123, 97, 255, 0.3);
}

.btn-secondary {
    display: inline-flex;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-green);
}

.btn-ghost {
    display: inline-flex;
    padding: 14px 32px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    position: relative;
    z-index: 10;
    text-align: center;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

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

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 80px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item {
    text-align: center;
}

.stat-val {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-green);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.blob {
    position: absolute;
    width: 600px;
    height: 600px;
    filter: blur(100px);
    opacity: 0.15;
    border-radius: 50%;
}

.blob-1 {
    top: -100px;
    right: -100px;
    background: var(--accent-purple);
}

.blob-2 {
    bottom: -100px;
    left: -100px;
    background: var(--accent-cyan);
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
}

.section-header h2 span {
    color: var(--accent-green);
}

/* ============================================
   PROBLEM GRID
   ============================================ */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.problem-card {
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    transition: var(--transition);
}

.problem-card:hover {
    background: rgba(22, 22, 30, 0.8);
    transform: translateY(-5px);
    border-color: rgba(0, 229, 160, 0.2);
}

.problem-card .icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.icon.red { background: rgba(255, 107, 107, 0.1); color: var(--accent-red); }
.icon.orange { background: rgba(255, 159, 67, 0.1); color: var(--accent-orange); }
.icon.yellow { background: rgba(254, 202, 87, 0.1); color: var(--accent-yellow); }

.problem-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: 12px;
}

/* ============================================
   SOLUTIONS
   ============================================ */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.solution-card {
    padding: 50px;
    background: linear-gradient(135deg, rgba(255,255,255,0.03), transparent);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: var(--gradient-primary);
}

.sol-top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.sol-icon {
    font-size: 2rem;
}

.sol-tags {
    display: flex;
    gap: 10px;
    margin-top: 30px;
}

.sol-tags span {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ============================================
   PROCESS
   ============================================ */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    position: relative;
}

.p-step {
    position: relative;
}

.p-num {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    position: absolute;
    top: -20px;
    left: -10px;
    line-height: 1;
}

.p-step h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 12px;
    position: relative;
    z-index: 10;
}

/* ============================================
   PRICING
   ============================================ */
.pricing-card-main {
    max-width: 900px;
    margin: 0 auto;
    background: #111118;
    border: 1px solid var(--accent-purple);
    border-radius: 32px;
    padding: 60px;
    position: relative;
    box-shadow: 0 0 50px rgba(123, 97, 255, 0.1);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: #0a0a0f;
    padding: 6px 20px;
    border-radius: 100px;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
}

.pricing-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.price .amt {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-primary);
}

.features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 50px;
}

.features li::before {
    content: '✓';
    color: var(--accent-green);
    margin-right: 12px;
    font-weight: 700;
}

.pricing-actions {
    text-align: center;
}

.disclaimer {
    margin-top: 16px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ============================================
   FINAL CTA
   ============================================ */
.final-cta {
    padding: 140px 0;
    background: linear-gradient(to bottom, transparent, rgba(123, 97, 255, 0.05));
    text-align: center;
}

.final-cta h2 {
    font-family: var(--font-display);
    font-size: 3rem;
    margin-bottom: 20px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: #08080c;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ============================================
   ANIMATIONS (Scroll Reveal)
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

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

@media (max-width: 768px) {
    .container { padding: 0 24px; }
    .nav-links { display: none; }
    .features { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; }
    .pricing-top { flex-direction: column; align-items: flex-start; gap: 20px; }
}
