/* Mee24News - Design System & Styles */

:root {
    /* Color Palette */
    --primary-purple: #9051AD;
    --primary-purple-hover: #7E4299;
    --primary-purple-light: #B47AD0;
    --primary-purple-dark: #5C2972;
    --accent-yellow: #FFC107;
    --accent-orange: #FF9800;

    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-light-purple: #f9f1fc;

    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;

    /* Typography */
    --font-english: 'Inter', sans-serif;
    --font-telugu: 'Noto Sans Telugu', sans-serif;

    /* Shadows & Transitions */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-purple: 0 10px 15px -3px rgba(144, 81, 173, 0.2);
    --shadow-purple-light: 0 10px 15px -3px rgba(180, 122, 208, 0.2);

    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-english);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
}

p {
    color: var(--text-muted);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-purple {
    background-color: var(--primary-purple);
}

.bg-light-purple {
    background-color: var(--bg-light-purple);
}

.bg-purple-dark {
    background-color: var(--primary-purple-light-dark);
}

.bg-accent {
    background-color: var(--accent-yellow);
}

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

.text-white {
    color: #fff !important;
}

.text-accent {
    color: var(--accent-yellow) !important;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.subtitle {
    display: inline-block;
    color: var(--primary-purple);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-size: 14px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.section-desc {
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 600px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary-purple);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-purple-hover);
    box-shadow: var(--shadow-purple);
    transform: translateY(-2px);
}

.btn-purple {
    background-color: var(--primary-purple);
    color: white;
}

.btn-purple:hover {
    background-color: var(--primary-purple-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-purple);
}

/* App Store Buttons */
.store-btn {
    display: inline-flex;
    align-items: center;
    background-color: #000;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    gap: 12px;
    transition: var(--transition);
}

.store-btn i {
    font-size: 28px;
}

.store-btn .store-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.store-btn small {
    font-size: 10px;
    line-height: 1;
}

.store-btn strong {
    font-size: 16px;
    line-height: 1.2;
}

.store-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

.store-btn.dark {
    background-color: #fff;
    color: #000;
}

.store-btn.dark:hover {
    background-color: #f1f1f1;
}

/* Ticker */
.news-ticker {
    display: flex;
    align-items: center;
    height: 40px;
    overflow: hidden;
    position: relative;
    z-index: 1000;
    font-size: 14px;
    font-weight: 600;
}

.ticker-label {
    background: var(--primary-purple);
    color: white;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
    position: relative;
}

.ticker-wrap {
    flex: 1;
    overflow: hidden;
}

.ticker-content {
    display: flex;
    white-space: nowrap;
    animation: ticker 25s linear infinite;
    gap: 40px;
}

.ticker-content span {
    display: inline-block;
}

.ticker-content:hover {
    animation-play-state: paused;
}

@keyframes ticker {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Header */
.header {
    background-color: var(--bg-white);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
    padding: 5px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.brand-mee {
    color: var(--primary-purple-light);
}

.brand-24 {
    color: var(--accent-orange);
}

.brand-news {
    color: var(--text-dark);
}

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

.nav-links a {
    font-weight: 600;
    font-size: 15px;
}

.nav-links a:hover {
    color: var(--primary-purple);
}

.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 80px 0 60px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(240, 244, 255, 1) 100%);
    overflow: hidden;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
    max-width: 800px;
}

.badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    background: #fff;
    border: 1px solid var(--border-color);
}

.badge-purple {
    background: #ffebee;
    color: var(--primary-purple);
    border-color: #ffcdd2;
}

.badge-purple-light {
    background: #e3f2fd;
    color: var(--primary-purple-light);
    border-color: #bbdefb;
}

.hero-heading {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #111827;
    font-family: var(--font-english);
    letter-spacing: -1px;
}

.hero-subheading {
    font-size: 1.1rem;
    color: var(--primary-purple-light);
    font-weight: 600;
    margin-bottom: 25px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.app-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-muted);
}

.stars {
    color: var(--accent-orange);
    font-size: 18px;
}

/* Hero mockup removed */

/* About Section */
.about-grid {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1;
}

.about-map-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.map-circle {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(13, 71, 161, 0.05) 0%, rgba(13, 71, 161, 0.1) 100%);
    border-radius: 50%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pulse-point {
    position: absolute;
    width: 15px;
    height: 15px;
    background: var(--primary-purple);
    border-radius: 50%;
}

.pulse-point::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--primary-purple);
    border-radius: 50%;
    animation: ripple 2s infinite ease-in-out;
    z-index: -1;
}

.p1 {
    top: 40%;
    left: 40%;
}

.p2 {
    top: 60%;
    left: 55%;
    background: var(--primary-purple-light);
}

.p2::after {
    background: var(--primary-purple-light);
    animation-delay: 0.5s;
}

.p3 {
    top: 30%;
    right: 30%;
    background: var(--accent-orange);
}

.p3::after {
    background: var(--accent-orange);
    animation-delay: 1s;
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(3);
        opacity: 0;
    }
}

.trust-elements {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.trust-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.trust-icon {
    width: 50px;
    height: 50px;
    background: rgba(180, 122, 208, 0.1);
    color: var(--primary-purple-light);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    flex-shrink: 0;
}

.trust-info h4 {
    margin-bottom: 5px;
}

.trust-info p {
    font-size: 0.9rem;
    margin: 0;
}

/* Features Range */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: white;
    padding: 30px 20px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid transparent;
}

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

.f-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.f-icon.red {
    background: rgba(144, 81, 173, 0.1);
    color: var(--primary-purple);
}

.f-icon.blue {
    background: rgba(180, 122, 208, 0.1);
    color: var(--primary-purple-light);
}

.f-icon.yellow {
    background: rgba(255, 152, 0, 0.1);
    color: var(--accent-orange);
}

.feature-card h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.feature-card p {
    font-size: 0.9rem;
}

/* App Screens */
.screens-carousel {
    display: flex;
    gap: 20px;
    margin-top: 50px;
    overflow-x: auto;
    padding-bottom: 40px;
    scroll-snap-type: x mandatory;
}

.screen-item {
    min-width: 240px;
    text-align: center;
    scroll-snap-align: center;
}

.screen-img {
    width: 240px;
    height: 500px;
    background-color: #e5e7eb;
    border-radius: 20px;
    margin-bottom: 15px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    border: 4px solid #1f2937;
}

.screen-img::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

.screen-item:hover .screen-img {
    margin-top: -10px;
}

/* Dynamic Backgrounds placeholders for screens */
.feed-ui {
    background: linear-gradient(#fff, #f3f4f6);
}

.video-ui {
    background: #111;
}

.alert-ui {
    background: #ffebee;
}

.poll-ui {
    background: #e0f2fe;
}

.score-ui {
    background: #f0fdf4;
}

.ai-ui {
    background: #faf5ff;
}

/* Differentiation */
.diff-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.comparison-list {
    margin-top: 30px;
}

.comparison-list li {
    font-size: 1.2rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.stats-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.stat-card:nth-child(3) {
    grid-column: span 2;
}

.stat-icon {
    font-size: 40px;
    color: var(--accent-yellow);
    margin-bottom: 10px;
}

.stat-card h3 {
    font-size: 2.5rem;
    display: inline-block;
    color: #fff;
    margin: 0;
}

.stat-card span {
    font-size: 2rem;
    color: var(--accent-yellow);
    font-weight: bold;
}

/* Journalists */
.journalist-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 60px;
    border-radius: 24px;
}

.j-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 1.1rem;
    font-weight: 500;
}

.j-features i {
    color: var(--primary-purple);
    font-size: 20px;
}

.dashboard-mockup {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.dash-header {
    background: #1f2937;
    color: white;
    padding: 15px 20px;
    font-weight: 600;
}

.dash-body {
    padding: 20px;
}

.dash-stat-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.ds {
    flex: 1;
    background: var(--bg-light);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
}

.dash-chart {
    height: 150px;
    background: linear-gradient(180deg, rgba(198, 40, 40, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    border-bottom: 2px solid var(--primary-purple);
    border-radius: 8px 8px 0 0;
    margin-bottom: 20px;
    position: relative;
}

.dash-btn {
    background: var(--primary-purple-light);
    color: white;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
}

/* Download Section */
.download-inner {
    max-width: 800px;
}

.download-title {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #fff;
}

.download-sub {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.download-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.qr-code-box {
    background: white;
    padding: 15px;
    border-radius: 12px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 14px;
}

.qr-img {
    width: 120px;
    height: 120px;
}

.stores-col {
    display: flex;
    flex-direction: column;
}

/* Footer */
.footer {
    background: #111827;
    color: #9ca3af;
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand .brand-news {
    color: #fff;
}

.footer-desc {
    margin: 20px 0;
    max-width: 300px;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #d1d5db;
}

.footer h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul a:hover {
    color: #fff;
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
}

.social-icons a:hover {
    background: var(--primary-purple);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-heading {
        font-size: 2.8rem;
    }

    .hero-container,
    .about-grid,
    .diff-grid,
    .journalist-wrap {
        flex-direction: column;
        text-align: center;
    }

    .hero-mockup {
        margin-top: 40px;
    }

    .floating-card {
        display: none;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .trust-item {
        flex-direction: column;
        align-items: center;
    }

    .j-features li {
        justify-content: center;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .header-cta {
        display: none;
    }

    .menu-toggle {
        display: block;
        color: var(--text-dark);
    }

    .hero-heading {
        font-size: 2.2rem;
    }

    .stats-cards {
        grid-template-columns: 1fr;
    }

    .stat-card:nth-child(3) {
        grid-column: span 1;
    }

    .download-actions {
        flex-direction: column;
    }

    .journalist-wrap {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
    }
}

/* Logo styles */
.site-logo {
    height: 50px;
    width: auto;
}

.footer .site-logo {
    height: 70px;
    margin-bottom: 15px;
    filter: brightness(0) invert(1);
}