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

body {
    font-family: 'Space Grotesk', sans-serif;
    background: #FFFFFFE5;
    color: #1a1a1a;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    background: #1a1a1a;
    border-radius: 50px;
    padding: 16px 42px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 30px auto 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1000;
}

.logo {
    color: white;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 28px;
    width: auto;
}

.nav-buttons {
    display: flex;
    gap: 12px;
}

.nav-btn {
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-family: 'Space Grotesk', sans-serif;
}

.nav-btn.customers {
    background:#6155f5;
    color: white;
}

.nav-btn.customers:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.35);
}

.nav-btn.business {
    background: #6155f5;
    color: #ffffff;
}

.nav-btn.business:hover {
    background: #6155f5;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(209, 247, 1, 0.35);
}

.nav-btn.developers {
    background: #6155f5;
    color: white;
}

.nav-btn.developers:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(240, 147, 251, 0.35);
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    color: white;
    font-size: 24px;
    padding: 8px;
    border: none;
    cursor: pointer;
}

/* Sidebar Menu for Mobile */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar-menu {
    position: fixed;
    top: 0;
    right: -350px;
    width: 320px;
    height: 100%;
    background: #1a1a1a;
    z-index: 1000;
    transition: right 0.3s ease;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
    padding: 30px;
}

.sidebar-menu.active {
    right: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-close {
    background: transparent;
    color: white;
    font-size: 24px;
    border: none;
    cursor: pointer;
    padding: 8px;
    transition: transform 0.2s ease;
}

.sidebar-close:hover {
    transform: rotate(90deg);
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sidebar-nav .nav-btn {
    width: 100%;
    text-align: center;
    padding: 16px 24px;
}

/* ===================================
   Hero Section
   =================================== */
.news-hero {
    position: relative;
    min-height: 250px;
    padding-top: 80px;
    overflow: hidden;
    background: #f5f5f5;
}

.hero-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Colorful Blocks */
.deco-block {
    position: absolute;
    opacity: 0.9;
}

.deco-1 {
    width: 120px;
    height: 80px;
    background: #FFD700;
    top: 10%;
    left: 5%;
}

.deco-2 {
    width: 150px;
    height: 80px;
    background: #DC143C;
    top: 10%;
    left: 15%;
}

.deco-3 {
    width: 100px;
    height: 80px;
    background: #228B22;
    top: 10%;
    left: 30%;
}

.deco-4 {
    width: 130px;
    height: 80px;
    background: #FFD700;
    top: 10%;
    right: 30%;
}

.deco-5 {
    width: 140px;
    height: 80px;
    background: #DC143C;
    top: 10%;
    right: 15%;
}

.deco-6 {
    width: 110px;
    height: 80px;
    background: #228B22;
    top: 10%;
    right: 5%;
}

.deco-7 {
    width: 80px;
    height: 80px;
    background: #1a1a1a;
    top: 45%;
    left: 25%;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.deco-8 {
    width: 80px;
    height: 80px;
    background: #1a1a1a;
    top: 45%;
    right: 25%;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

/* Patterns */
.deco-pattern {
    position: absolute;
    opacity: 0.8;
}

.pattern-1 {
    width: 100px;
    height: 80px;
    background: repeating-linear-gradient(
        0deg,
        #DC143C,
        #DC143C 5px,
        #1a1a1a 5px,
        #1a1a1a 8px
    );
    top: 10%;
    left: 10%;
}

.pattern-2 {
    width: 100px;
    height: 80px;
    background: repeating-linear-gradient(
        0deg,
        #DC143C,
        #DC143C 5px,
        #1a1a1a 5px,
        #1a1a1a 8px
    );
    top: 10%;
    right: 10%;
}

.pattern-3 {
    width: 120px;
    height: 60px;
    background: repeating-linear-gradient(
        90deg,
        #FFD700,
        #FFD700 8px,
        #1a1a1a 8px,
        #1a1a1a 12px
    );
    bottom: 20%;
    left: 8%;
}

.pattern-4 {
    width: 100px;
    height: 60px;
    background: repeating-linear-gradient(
        45deg,
        #228B22,
        #228B22 10px,
        #FFD700 10px,
        #FFD700 20px
    );
    bottom: 20%;
    left: 18%;
}

.pattern-5 {
    width: 100px;
    height: 60px;
    background: repeating-linear-gradient(
        45deg,
        #FF6B35,
        #FF6B35 10px,
        #FFD700 10px,
        #FFD700 20px
    );
    bottom: 20%;
    right: 15%;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.news-title-box {
    background: white;
    padding: 1.5rem 4rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.news-title-box h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #1a1a1a;
}

/* ===================================
   News Section
   =================================== */
.news-section {
    padding: 4rem 2rem;
    background: #f5f5f5;
}

.news-container {
    max-width: 1400px;
    margin: 0 auto;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.news-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.news-headline {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.news-image {
    position: relative;
    width: 100%;
    height: 250px;
    margin-bottom: 1.5rem;
    border-radius: 10px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7) saturate(1.2);
}

.news-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 2rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.news-badge i {
    font-size: 2rem;
    color: #FFD700;
}

.news-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
}

.read-more {
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #764ba2;
}

/* ===================================
   Pagination
   =================================== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.page-text {
    font-size: 1rem;
    color: #1a1a1a;
    font-weight: 500;
    margin-right: 0.5rem;
}

.page-number {
    padding: 0.5rem 1rem;
    background: white;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-number:hover {
    background: #f5f5f5;
    border-color: #FFD700;
}

.page-number.active {
    background: #FFD700;
    border-color: #FFD700;
    color: #1a1a1a;
}

.page-dots {
    font-size: 1.2rem;
    color: #666;
    font-weight: 700;
}

/* ===================================
   Download Section
   =================================== */
.download-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 4rem 2rem;
}

.download-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.download-container h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 700;
}

.download-container p {
    color: #ccc;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: white;
    border-radius: 15px;
    text-decoration: none;
    color: #1a1a1a;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
}

.store-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);
}

.store-btn i {
    font-size: 2.5rem;
    color: #1a1a1a;
}

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

.store-btn .small {
    font-size: 0.75rem;
    color: #666;
}

.store-btn .large {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
}

/* ===================================
   Footer
   =================================== */
.footer {
    padding: 4rem 2rem 2rem;
    background: #f9f9f9;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.footer-logo-img {
    height: 30px;
    width: auto;
}

.footer-logo i {
    color: #FFD700;
    font-size: 1rem;
}

.footer-col h3,
.footer-col h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.footer-col p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.subscribe-form {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.subscribe-form input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
}

.subscribe-form button {
    padding: 0.8rem 1.5rem;
    background: #1a1a1a;
    color: #ffffff;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.subscribe-form button:hover {
    background: #333;
}

.privacy-text {
    font-size: 0.75rem;
    color: #999;
}

.privacy-text a {
    color: #3B82F6;
    text-decoration: underline;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: #666;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #1a1a1a;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: #666;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 35px;
    height: 35px;
    background: #1a1a1a;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #FFD700;
    color: #1a1a1a;
    transform: translateY(-3px);
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .subscribe-col {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .nav-buttons {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .news-title-box {
        padding: 1rem 2.5rem;
    }

    .news-title-box h1 {
        font-size: 2rem;
    }

    .news-section {
        padding: 3rem 1.5rem;
    }

    .news-headline {
        font-size: 1.25rem;
    }

    .news-image {
        height: 200px;
    }

    .download-container h2 {
        font-size: 1.75rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .pagination {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .news-title-box {
        padding: 0.75rem 2rem;
    }

    .news-title-box h1 {
        font-size: 1.5rem;
    }

    .news-card {
        padding: 1.5rem;
    }

    .news-badge {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .news-badge i {
        font-size: 1.5rem;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .store-btn {
        width: 100%;
        max-width: 300px;
    }
}
