/* NexForo Landing - Aggressive Dark Red Theme */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;600;700;800;900&display=swap');

:root {
    --red-50: #fef2f2; --red-100: #fee2e2; --red-200: #fecaca;
    --red-400: #f87171; --red-500: #ef4444; --red-600: #dc2626;
    --red-700: #b91c1c; --red-800: #991b1b; --red-900: #7f1d1d;
    --dark: #0a0a0a; --dark-card: #141414; --dark-border: #2a2a2a;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: #1a1a1a; background: #fff; }

/* NAV */
.nf-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255,255,255,0.95); backdrop-filter: blur(20px); border-bottom: 1px solid #f1f1f1; transition: all .3s; }
.nf-nav.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.08); }
.nf-nav .container { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nf-logo { font-family: 'Outfit', sans-serif; font-weight: 900; font-size: 28px; color: var(--red-600); text-decoration: none; letter-spacing: -1px; }
.nf-logo span { color: var(--dark); }
.nf-nav-links { display: flex; gap: 32px; align-items: center; list-style: none; }
.nf-nav-links a { text-decoration: none; color: #555; font-weight: 500; font-size: 14px; transition: color .2s; text-transform: uppercase; letter-spacing: 0.5px; }
.nf-nav-links a:hover { color: var(--red-600); }
.nf-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; border-radius: 8px; font-weight: 700; font-size: 14px; text-decoration: none; transition: all .3s; cursor: pointer; border: none; text-transform: uppercase; letter-spacing: 0.5px; }
.nf-btn-primary { background: linear-gradient(135deg, var(--red-600), var(--red-800)); color: #fff; box-shadow: 0 4px 20px rgba(220,38,38,0.4); }
.nf-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(220,38,38,0.5); }
.nf-btn-outline { border: 2px solid var(--red-600); color: var(--red-600); background: transparent; }
.nf-btn-outline:hover { background: var(--red-600); color: #fff; }
.nf-btn-dark { background: var(--dark); color: #fff; }
.nf-btn-dark:hover { background: #222; transform: translateY(-2px); }

/* HERO */
.nf-hero { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; background: linear-gradient(160deg, #fff 0%, #fff5f5 30%, #fee2e2 60%, #fecaca 100%); padding-top: 72px; }
.nf-hero::before { content: ''; position: absolute; top: -50%; right: -20%; width: 800px; height: 800px; border-radius: 50%; background: radial-gradient(circle, rgba(220,38,38,0.08) 0%, transparent 70%); }
.nf-hero .container { max-width: 1280px; margin: 0 auto; padding: 80px 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.nf-hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(220,38,38,0.1); color: var(--red-700); padding: 8px 16px; border-radius: 100px; font-size: 13px; font-weight: 600; margin-bottom: 24px; }
.nf-hero h1 { font-family: 'Outfit', sans-serif; font-size: 64px; font-weight: 900; line-height: 1.05; color: var(--dark); margin-bottom: 24px; letter-spacing: -2px; }
.nf-hero h1 .highlight { background: linear-gradient(135deg, var(--red-600), var(--red-800)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.nf-hero p { font-size: 18px; line-height: 1.7; color: #666; margin-bottom: 36px; max-width: 500px; }
.nf-hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.nf-hero-visual { position: relative; }
.nf-hero-visual img { width: 100%; border-radius: 16px; box-shadow: 0 40px 80px rgba(0,0,0,0.15); }
.nf-hero-stats { display: flex; gap: 40px; margin-top: 40px; }
.nf-hero-stats .stat h3 { font-family: 'Outfit'; font-size: 32px; font-weight: 800; color: var(--red-600); }
.nf-hero-stats .stat p { font-size: 13px; color: #888; text-transform: uppercase; letter-spacing: 1px; }

/* SECTIONS */
.nf-section { padding: 100px 0; }
.nf-section .container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.nf-section-header { text-align: center; margin-bottom: 64px; }
.nf-section-header .tag { display: inline-block; background: rgba(220,38,38,0.1); color: var(--red-700); padding: 6px 16px; border-radius: 100px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.nf-section-header h2 { font-family: 'Outfit'; font-size: 44px; font-weight: 800; color: var(--dark); letter-spacing: -1px; margin-bottom: 16px; }
.nf-section-header p { font-size: 18px; color: #777; max-width: 600px; margin: 0 auto; }
.nf-bg-light { background: #fafafa; }
.nf-bg-dark { background: var(--dark); color: #fff; }
.nf-bg-dark .nf-section-header h2 { color: #fff; }
.nf-bg-dark .nf-section-header p { color: #999; }
.nf-bg-red { background: linear-gradient(135deg, var(--red-700), var(--red-900)); color: #fff; }

/* FEATURES */
.nf-features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.nf-feature-card { background: #fff; border: 1px solid #f0f0f0; border-radius: 16px; padding: 36px; transition: all .3s; position: relative; overflow: hidden; }
.nf-feature-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.08); border-color: var(--red-200); }
.nf-feature-card .icon { width: 56px; height: 56px; border-radius: 14px; background: linear-gradient(135deg, var(--red-50), var(--red-100)); display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--red-600); margin-bottom: 20px; }
.nf-feature-card h3 { font-family: 'Outfit'; font-size: 20px; font-weight: 700; color: var(--dark); margin-bottom: 12px; }
.nf-feature-card p { font-size: 14px; line-height: 1.7; color: #777; }
.nf-feature-card .use-case { margin-top: 16px; padding: 12px; background: #fafafa; border-radius: 8px; font-size: 13px; color: #666; border-left: 3px solid var(--red-400); }

/* PRICING */
.nf-pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; max-width: 900px; margin: 0 auto; }
.nf-price-card { background: #fff; border: 2px solid #eee; border-radius: 20px; padding: 48px; text-align: center; position: relative; transition: all .3s; }
.nf-price-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px rgba(0,0,0,0.1); }
.nf-price-card.featured { border-color: var(--red-500); box-shadow: 0 20px 60px rgba(220,38,38,0.15); }
.nf-price-card.featured::before { content: 'BEST VALUE'; position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--red-600), var(--red-800)); color: #fff; padding: 6px 20px; border-radius: 100px; font-size: 11px; font-weight: 800; letter-spacing: 1px; }
.nf-price-card .plan-name { font-family: 'Outfit'; font-size: 24px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.nf-price-card .price { font-family: 'Outfit'; font-size: 56px; font-weight: 900; color: var(--red-600); line-height: 1; margin: 24px 0; }
.nf-price-card .price small { font-size: 18px; color: #999; font-weight: 500; }
.nf-price-card .price-alt { font-size: 16px; color: #888; margin-bottom: 24px; }
.nf-price-card ul { list-style: none; text-align: left; margin: 32px 0; }
.nf-price-card ul li { padding: 10px 0; border-bottom: 1px solid #f5f5f5; font-size: 14px; color: #555; display: flex; align-items: center; gap: 10px; }
.nf-price-card ul li i { color: var(--red-500); font-size: 16px; }

/* HOW IT WORKS */
.nf-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.nf-step { text-align: center; }
.nf-step .step-num { width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(135deg, var(--red-600), var(--red-800)); color: #fff; font-family: 'Outfit'; font-size: 28px; font-weight: 900; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; box-shadow: 0 10px 30px rgba(220,38,38,0.3); }
.nf-step h3 { font-family: 'Outfit'; font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.nf-step p { font-size: 14px; color: #777; line-height: 1.7; }

/* CTA */
.nf-cta { text-align: center; padding: 80px 24px; }
.nf-cta h2 { font-family: 'Outfit'; font-size: 48px; font-weight: 900; color: #fff; margin-bottom: 16px; }
.nf-cta p { font-size: 18px; color: rgba(255,255,255,0.8); margin-bottom: 36px; }
.nf-cta .actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* CONTACT */
.nf-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.nf-contact-info h3 { font-family: 'Outfit'; font-size: 28px; font-weight: 800; margin-bottom: 24px; }
.nf-contact-info .info-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.nf-contact-info .info-item .icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(220,38,38,0.1); color: var(--red-600); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.nf-contact-info .info-item h4 { font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.nf-contact-info .info-item p { color: #777; font-size: 14px; }
.nf-contact-info .info-item a { color: var(--red-600); text-decoration: none; }
.nf-contact-form { background: #fff; border: 1px solid #eee; border-radius: 16px; padding: 40px; }
.nf-contact-form .form-group { margin-bottom: 20px; }
.nf-contact-form label { display: block; font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; color: #333; }
.nf-contact-form input, .nf-contact-form textarea { width: 100%; padding: 14px 16px; border: 2px solid #eee; border-radius: 10px; font-family: 'Inter'; font-size: 14px; transition: border-color .2s; outline: none; }
.nf-contact-form input:focus, .nf-contact-form textarea:focus { border-color: var(--red-400); }
.nf-contact-form textarea { min-height: 120px; resize: vertical; }

/* FOOTER */
.nf-footer { background: var(--dark); color: #999; padding: 64px 0 32px; }
.nf-footer .container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.nf-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.nf-footer h4 { font-family: 'Outfit'; font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.nf-footer p { font-size: 14px; line-height: 1.8; }
.nf-footer ul { list-style: none; }
.nf-footer ul li { margin-bottom: 10px; }
.nf-footer ul li a { color: #888; text-decoration: none; font-size: 14px; transition: color .2s; }
.nf-footer ul li a:hover { color: var(--red-400); }
.nf-footer-bottom { border-top: 1px solid #222; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.nf-footer .brand { font-family: 'Outfit'; font-size: 24px; font-weight: 900; color: var(--red-500); margin-bottom: 12px; }
.nf-footer .socials { display: flex; gap: 12px; margin-top: 16px; }
.nf-footer .socials a { width: 40px; height: 40px; border-radius: 10px; background: #1a1a1a; color: #888; display: flex; align-items: center; justify-content: center; text-decoration: none; transition: all .2s; }
.nf-footer .socials a:hover { background: var(--red-600); color: #fff; }

/* PAGE HEADER */
.nf-page-header { padding: 140px 0 60px; background: linear-gradient(160deg, #fff 0%, #fff5f5 50%, #fee2e2 100%); text-align: center; }
.nf-page-header h1 { font-family: 'Outfit'; font-size: 48px; font-weight: 900; color: var(--dark); margin-bottom: 16px; }
.nf-page-header p { font-size: 18px; color: #777; }
.nf-content { max-width: 900px; margin: 0 auto; padding: 60px 24px; line-height: 1.8; color: #555; }
.nf-content h2 { font-family: 'Outfit'; font-size: 28px; font-weight: 800; color: var(--dark); margin: 40px 0 16px; }
.nf-content h3 { font-family: 'Outfit'; font-size: 22px; font-weight: 700; color: var(--dark); margin: 32px 0 12px; }
.nf-content p { margin-bottom: 16px; }
.nf-content ul, .nf-content ol { margin: 16px 0; padding-left: 24px; }
.nf-content li { margin-bottom: 8px; }
.nf-content code { background: #f5f5f5; padding: 2px 8px; border-radius: 4px; font-size: 13px; color: var(--red-700); }
.nf-content pre { background: var(--dark); color: #e5e5e5; padding: 24px; border-radius: 12px; overflow-x: auto; margin: 20px 0; font-size: 13px; }
.nf-content .info-box { background: #fef2f2; border-left: 4px solid var(--red-500); padding: 16px 20px; border-radius: 0 8px 8px 0; margin: 20px 0; }
.nf-content .tab-btns { display: flex; gap: 8px; margin-bottom: 20px; }
.nf-content .tab-btn { padding: 10px 24px; border: 2px solid #eee; border-radius: 8px; cursor: pointer; font-weight: 600; font-size: 14px; background: #fff; transition: all .2s; }
.nf-content .tab-btn.active { background: var(--red-600); color: #fff; border-color: var(--red-600); }
.nf-content .tab-panel { display: none; }
.nf-content .tab-panel.active { display: block; }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .nf-hero .container { grid-template-columns: 1fr; text-align: center; }
    .nf-hero p { margin: 0 auto 36px; }
    .nf-hero-actions { justify-content: center; }
    .nf-hero-stats { justify-content: center; }
    .nf-features-grid { grid-template-columns: repeat(2, 1fr); }
    .nf-footer-grid { grid-template-columns: 1fr 1fr; }
}
/* HAMBURGER */
.nf-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; z-index: 1001; }
.nf-hamburger span { display: block; width: 24px; height: 2px; background: #333; transition: all .3s; }
.nf-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nf-hamburger.active span:nth-child(2) { opacity: 0; }
.nf-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 768px) {
    .nf-hamburger { display: flex; }
    .nf-nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px 24px; gap: 0; box-shadow: 0 10px 30px rgba(0,0,0,0.1); border-top: 1px solid #eee; }
    .nf-nav-links.open { display: flex; }
    .nf-nav-links li { width: 100%; }
    .nf-nav-links a { display: block; padding: 12px 0; border-bottom: 1px solid #f0f0f0; }
    .nf-hero h1 { font-size: 40px; }
    .nf-features-grid, .nf-pricing-grid, .nf-steps, .nf-contact-grid { grid-template-columns: 1fr; }
    .nf-section-header h2 { font-size: 32px; }
    .nf-footer-grid { grid-template-columns: 1fr; }
}

/* SCROLL TO TOP */
.scroll-top { position: fixed; bottom: 32px; right: 32px; width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--red-600), var(--red-800)); color: #fff; border: none; cursor: pointer; font-size: 18px; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transform: translateY(20px); transition: all .3s; z-index: 999; box-shadow: 0 4px 20px rgba(220,38,38,0.4); }
.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(220,38,38,0.5); }
