/* ========================================
   News Elite - Landing Page Styles
   ======================================== */

/* Variables */
:root {
    --ne-primary: #1a237e;
    --ne-primary-light: #3949ab;
    --ne-secondary: #c62828;
    --ne-accent: #ff6f00;
    --ne-dark: #0d1117;
    --ne-darker: #090c10;
    --ne-gray: #8b949e;
    --ne-light: #f6f8fa;
    --ne-gradient: linear-gradient(135deg, #1a237e 0%, #3949ab 50%, #5c6bc0 100%);
    --ne-gradient-dark: linear-gradient(135deg, #0d1117 0%, #161b22 100%);
    --ne-gradient-accent: linear-gradient(135deg, #c62828 0%, #ff6f00 100%);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #333;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--ne-dark); }
::-webkit-scrollbar-thumb { background: var(--ne-primary); border-radius: 4px; }

/* ========================================
   NAVBAR
   ======================================== */
.navbar-landing {
    background: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 1rem 0;
    transition: all 0.3s;
}

.navbar-landing.scrolled {
    padding: 0.6rem 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.navbar-landing .navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.navbar-landing .navbar-brand .brand-news {
    color: #fff;
}

.navbar-landing .navbar-brand .brand-elite {
    background: var(--ne-gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-landing .nav-link {
    color: rgba(255,255,255,0.7) !important;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.navbar-landing .nav-link:hover {
    color: #fff !important;
}

.btn-cta-nav {
    background: var(--ne-gradient-accent);
    color: #fff !important;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-cta-nav:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(198, 40, 40, 0.4);
    color: #fff !important;
}

/* ========================================
   HERO
   ======================================== */
.hero-section {
    background: var(--ne-gradient-dark);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 120%;
    background: radial-gradient(ellipse, rgba(26, 35, 126, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -20%;
    width: 60%;
    height: 80%;
    background: radial-gradient(ellipse, rgba(198, 40, 40, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--ne-accent);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-title .highlight {
    background: var(--ne-gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--ne-gray);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn-primary-landing {
    background: var(--ne-gradient-accent);
    color: #fff;
    border: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary-landing:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(198, 40, 40, 0.4);
    color: #fff;
}

.btn-secondary-landing {
    background: rgba(255,255,255,0.08);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.15);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary-landing:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.hero-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.85rem;
    color: var(--ne-gray);
    margin-top: 4px;
}

/* Hero mockup/preview */
.hero-preview {
    position: relative;
    z-index: 1;
}

.hero-preview-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 25px 80px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.08);
}

.hero-preview-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(ellipse, rgba(26, 35, 126, 0.3) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
}

/* ========================================
   SECTION COMMON
   ======================================== */
section {
    padding: 100px 0;
}

.section-badge {
    display: inline-block;
    background: rgba(26, 35, 126, 0.1);
    color: var(--ne-primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--ne-dark);
    line-height: 1.15;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.15rem;
    color: #666;
    max-width: 600px;
    line-height: 1.7;
}

/* Dark sections */
.section-dark {
    background: var(--ne-gradient-dark);
    color: #fff;
}

.section-dark .section-badge {
    background: rgba(255,255,255,0.1);
    color: var(--ne-accent);
}

.section-dark .section-title {
    color: #fff;
}

.section-dark .section-subtitle {
    color: var(--ne-gray);
}

/* ========================================
   FEATURES
   ======================================== */
.feature-card {
    background: #fff;
    border: 1px solid #e8ecf0;
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--ne-gradient);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    border-color: transparent;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    color: #fff;
}

.feature-icon.icon-blue { background: var(--ne-gradient); }
.feature-icon.icon-red { background: var(--ne-gradient-accent); }
.feature-icon.icon-green { background: linear-gradient(135deg, #198754, #20c997); }
.feature-icon.icon-purple { background: linear-gradient(135deg, #6f42c1, #9b59b6); }
.feature-icon.icon-orange { background: linear-gradient(135deg, #fd7e14, #ffc107); }
.feature-icon.icon-teal { background: linear-gradient(135deg, #0dcaf0, #20c997); }

.feature-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ne-dark);
    margin-bottom: 0.75rem;
}

.feature-text {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
}

/* ========================================
   PREVIEW / SHOWCASE
   ======================================== */
.showcase-section {
    background: var(--ne-light);
}

.showcase-browser {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
}

.browser-bar {
    background: #f0f0f0;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #e0e0e0;
}

.browser-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.browser-dot.red { background: #ff5f56; }
.browser-dot.yellow { background: #ffbd2e; }
.browser-dot.green { background: #27c93f; }

.browser-url {
    flex: 1;
    background: #fff;
    border-radius: 6px;
    padding: 5px 12px;
    font-size: 0.8rem;
    color: #666;
    margin-left: 12px;
    border: 1px solid #e0e0e0;
}

.browser-content {
    height: 500px;
    background: linear-gradient(180deg, #f8f9fa 0%, #fff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.browser-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

/* ========================================
   HOW IT WORKS
   ======================================== */
.step-card {
    text-align: center;
    padding: 2rem 1.5rem;
}

.step-number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--ne-gradient);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
}

.step-number::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px dashed rgba(26, 35, 126, 0.2);
    top: -8px;
    left: -8px;
}

.step-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.step-text {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
}

/* ========================================
   CONTACT
   ======================================== */
.contact-card {
    background: #fff;
    border: 1px solid #e8ecf0;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}

.contact-input {
    border: 2px solid #e8ecf0;
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-input:focus {
    border-color: var(--ne-primary);
    box-shadow: 0 0 0 4px rgba(26, 35, 126, 0.1);
}

.btn-contact-submit {
    background: var(--ne-gradient);
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
}

.btn-contact-submit:hover {
    box-shadow: 0 8px 25px rgba(26, 35, 126, 0.4);
    color: #fff;
    transform: translateY(-2px);
}

.contact-success {
    text-align: center;
    padding: 2rem 0;
}

.contact-success i {
    font-size: 3rem;
    color: #198754;
    margin-bottom: 1rem;
    display: block;
}

.contact-success p {
    font-size: 1.1rem;
    color: #555;
    margin: 0;
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonial-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    backdrop-filter: blur(10px);
}

.testimonial-stars {
    color: #ffc107;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.1);
}

.testimonial-name {
    font-weight: 700;
    color: #fff;
    font-size: 0.95rem;
}

.testimonial-role {
    font-size: 0.8rem;
    color: var(--ne-gray);
}

/* ========================================
   FAQ
   ======================================== */
.faq-item {
    border: 1px solid #e8ecf0;
    border-radius: 12px;
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: var(--ne-primary);
}

.faq-item .accordion-button {
    font-weight: 600;
    font-size: 1rem;
    color: var(--ne-dark);
    padding: 1.25rem 1.5rem;
    background: transparent;
    box-shadow: none;
}

.faq-item .accordion-button:not(.collapsed) {
    color: var(--ne-primary);
    background: rgba(26, 35, 126, 0.03);
}

.faq-item .accordion-button::after {
    background-image: none;
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    width: auto;
    height: auto;
    transform: none;
    transition: all 0.3s;
}

.faq-item .accordion-button:not(.collapsed)::after {
    content: '-';
    transform: none;
}

.faq-item .accordion-body {
    color: #666;
    line-height: 1.7;
    padding: 0 1.5rem 1.25rem;
}

/* ========================================
   CTA FINAL
   ======================================== */
.cta-section {
    background: var(--ne-gradient);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* ========================================
   FOOTER
   ======================================== */
.footer-landing {
    background: var(--ne-darker);
    padding: 60px 0 30px;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-text {
    color: var(--ne-gray);
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 320px;
}

.footer-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--ne-gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 1.5rem;
    margin-top: 3rem;
}

.footer-social a {
    color: var(--ne-gray);
    font-size: 1.25rem;
    margin-right: 1rem;
    transition: color 0.2s;
}

.footer-social a:hover {
    color: #fff;
}

/* ========================================
   ANIMATIONS
   ======================================== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.stagger-children .fade-up:nth-child(1) { transition-delay: 0s; }
.stagger-children .fade-up:nth-child(2) { transition-delay: 0.1s; }
.stagger-children .fade-up:nth-child(3) { transition-delay: 0.2s; }
.stagger-children .fade-up:nth-child(4) { transition-delay: 0.3s; }
.stagger-children .fade-up:nth-child(5) { transition-delay: 0.4s; }
.stagger-children .fade-up:nth-child(6) { transition-delay: 0.5s; }

/* Float animation */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* Pulse glow */
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(198, 40, 40, 0.4); }
    50% { box-shadow: 0 0 0 15px rgba(198, 40, 40, 0); }
}

.pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 991px) {
    .hero-section {
        padding: 100px 0 60px;
        text-align: center;
    }
    .hero-subtitle { margin: 0 auto 2rem; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-preview { margin-top: 3rem; }
}

@media (max-width: 767px) {
    section { padding: 60px 0; }
    .hero-stats { gap: 1.5rem; }
    .hero-stat-number { font-size: 1.5rem; }
}
