/* ==========================================================================
   NewsPortalHub.in - Clean Light Theme Corporate & Agency Website
   Inspired by 7knetwork.in - High Converting, Crisp Typography & Geo-SEO
   ========================================================================== */

:root {
    --bg-body: #f8fafc;
    --bg-white: #ffffff;
    --bg-alt: #f1f5f9;
    --bg-blue-light: #eff6ff;

    --primary: #1e40af;
    --primary-hover: #1d4ed8;
    --secondary: #0284c7;
    --accent-emerald: #059669;
    --accent-amber: #d97706;

    --text-main: #0f172a;
    --text-muted: #475569;
    --text-light: #64748b;

    --border-color: #e2e8f0;
    --border-focus: #93c5fd;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 14px -2px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 14px 30px -4px rgba(30, 64, 175, 0.15);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-full: 9999px;

    --transition: all 0.25s ease-in-out;
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
}

body {
    overflow-x: hidden;
}

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

button {
    cursor: pointer;
    border: none;
    font-family: inherit;
}

/* Container */
.container {
    width: 92%;
    max-width: 1240px;
    margin: 0 auto;
}

/* Typography & Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #1e40af 0%, #0284c7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-purple {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(168, 85, 247, 0.08);
    color: #7c3aed;
    border: 1px solid rgba(168, 85, 247, 0.25);
    padding: 6px 18px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
}

/* Header & Top Bar */
.top-bar {
    background: #0f172a;
    color: #cbd5e1;
    font-size: 13px;
    padding: 8px 0;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-info {
    display: flex;
    gap: 20px;
}

.top-info span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.navbar {
    background: var(--bg-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 22px;
    color: var(--text-main);
}

.brand-badge {
    background: var(--primary);
    color: #fff;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
}

.nav-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

/* Dropdown Menu Styles */
.nav-item-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 270px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease-in-out;
    z-index: 1001;
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
    transition: var(--transition);
}

.dropdown-item:hover {
    background: var(--bg-blue-light);
    color: var(--primary);
    padding-left: 22px;
}

/* Buttons */
.btn-primary {
    background: var(--primary);
    color: #fff;
    padding: 10px 22px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.25);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(30, 64, 175, 0.35);
}

.btn-secondary {
    background: var(--bg-alt);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    padding: 10px 22px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: #e2e8f0;
}

.btn-whatsapp {
    background: #25d366;
    color: #fff;
    padding: 10px 22px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    transition: var(--transition);
}

.btn-whatsapp:hover {
    background: #1da851;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 80px 0 60px;
    background: linear-gradient(180deg, var(--bg-blue-light) 0%, var(--bg-body) 100%);
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(30, 64, 175, 0.08);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
    border: 1px solid rgba(30, 64, 175, 0.15);
}

.hero-title {
    font-size: 46px;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 16px;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.hero-desc {
    font-size: 17px;
    color: var(--text-muted);
    margin-bottom: 28px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

/* Trust Badges Bar */
.trust-bar {
    display: flex;
    gap: 20px;
    align-items: center;
    font-size: 13px;
    color: var(--text-light);
    font-weight: 600;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Hero Showcase Frame */
.hero-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
}

.hero-card-header {
    background: #0f172a;
    color: #fff;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 600;
}

.hero-card-body {
    padding: 24px;
}

/* Services Grid */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--bg-white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-tag {
    font-size: 13px;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-main);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 28px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-focus);
}

.service-icon {
    width: 52px;
    height: 52px;
    background: var(--bg-blue-light);
    color: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 20px;
}

.service-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-main);
}

.service-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
}

.service-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.pricing-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: var(--shadow-md);
}

.pricing-card.popular {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-hover);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

.plan-name { font-size: 22px; font-weight: 800; }
.plan-price { font-size: 38px; font-weight: 900; color: var(--primary); margin: 12px 0 20px; }
.plan-price span { font-size: 14px; color: var(--text-light); font-weight: 500; }
.plan-features { list-style: none; margin-bottom: 24px; flex-grow: 1; }
.plan-features li { font-size: 14px; color: var(--text-muted); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.plan-features li::before { content: "✓"; color: var(--accent-emerald); font-weight: 800; }

/* APK Download Card */
.apk-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin: 50px 0;
}

.apk-title { font-size: 28px; font-weight: 800; margin-bottom: 8px; }
.apk-desc { font-size: 15px; color: #94a3b8; max-width: 600px; }

/* Blog Post Card Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.blog-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.blog-content {
    padding: 20px;
}

.blog-date {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 6px;
}

.blog-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
    line-height: 1.4;
}

/* Geo SEO Link Footer Matrix */
.seo-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 60px 0 30px;
    font-size: 12px;
    border-top: 1px solid #1e293b;
}

.seo-title {
    color: #f8fafc;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}

.seo-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    line-height: 1.8;
}

.seo-item {
    color: #94a3b8;
    transition: var(--transition);
}

.seo-item:hover {
    color: #38bdf8;
    text-decoration: underline;
}

/* Footer Bottom */
footer {
    background: #020617;
    color: #64748b;
    padding: 24px 0;
    text-align: center;
    font-size: 13px;
    border-top: 1px solid #0f172a;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #25d366;
    color: #fff;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Comprehensive Responsive Engine for All Mobile & Tablet Devices */
@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-actions { justify-content: center; }
    .services-grid, .pricing-grid, .blog-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .apk-banner { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
    /* Hide top bar on small screens to avoid header clutter */
    .top-bar {
        display: none !important;
    }

    /* Container Padding */
    .container {
        width: 94% !important;
        padding: 0 4px !important;
    }

    /* Header & Mobile Drawer Menu */
    .mobile-menu-toggle {
        display: block !important;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 24px;
        gap: 16px;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
        border-bottom: 2px solid var(--primary);
        z-index: 9999;
    }

    .nav-menu.open {
        display: flex !important;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-link {
        font-size: 16px !important;
        display: block;
        padding: 8px 0;
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }

    .dropdown-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        padding: 4px 0 4px 12px !important;
        margin: 4px 0 !important;
        background: transparent !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 4px !important;
    }

    .dropdown-item {
        padding: 6px 10px !important;
        font-size: 13.5px !important;
        color: var(--text-muted) !important;
        border-left: 2px solid var(--primary) !important;
    }

    .nav-actions {
        display: flex !important;
    }

    .nav-actions .btn-primary {
        padding: 8px 12px !important;
        font-size: 11.5px !important;
    }

    /* Hero Section Responsive Typography */
    .hero {
        padding: 35px 0 25px !important;
    }

    .hero-title {
        font-size: 25px !important;
        line-height: 1.25 !important;
        margin: 12px 0 14px !important;
    }

    .hero-desc {
        font-size: 14px !important;
        line-height: 1.6 !important;
        margin-bottom: 20px !important;
    }

    .hero-actions {
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .hero-actions button,
    .hero-actions a {
        width: 100% !important;
        justify-content: center !important;
        padding: 12px 20px !important;
        font-size: 14px !important;
    }

    /* Force ALL grids to 1 Column Stack on Mobile Phones */
    .services-grid, 
    .pricing-grid, 
    .blog-grid, 
    [style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    /* Sections Padding */
    .section {
        padding: 40px 0 !important;
    }

    .section-title {
        font-size: 24px !important;
    }

    .pill-badge {
        font-size: 11.5px !important;
        padding: 5px 12px !important;
    }
}
