* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f7f8fc;
    color: #172033;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header */

header {
    width: 100%;
    min-height: 76px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 7%;
    border-bottom: 1px solid #e9ebf2;
}

.logo {
    font-size: 22px;
    font-weight: 800;
    color: #151a2d;
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    font-size: 14px;
    font-weight: 600;
    color: #555d70;
}

nav a:hover {
    color: #6c4df6;
}

.subscribe-btn {
    display: inline-block;
    background: #6c4df6;
    color: #ffffff;
    padding: 12px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
}

.subscribe-btn:hover {
    background: #5639dc;
}


/* Hero */

.hero {
    min-height: 570px;
    display: flex;
    align-items: center;
    padding: 80px 7%;
    background:
        radial-gradient(circle at 80% 30%, rgba(108, 77, 246, 0.18), transparent 35%),
        linear-gradient(135deg, #f8f7ff, #ffffff);
}

.hero-content {
    max-width: 720px;
}

.badge {
    display: inline-block;
    background: #ece8ff;
    color: #6044dc;
    padding: 8px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(44px, 6vw, 76px);
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 25px;
}

.hero h1 span {
    display: block;
    color: #6c4df6;
}

.hero p {
    max-width: 620px;
    color: #626a7d;
    font-size: 18px;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.primary-btn,
.secondary-btn {
    display: inline-block;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
}

.primary-btn {
    background: #172033;
    color: #ffffff;
}

.secondary-btn {
    border: 1px solid #d9dce7;
    background: #ffffff;
    color: #172033;
}


/* Categories */

.categories {
    padding: 90px 7%;
    background: #ffffff;
}

.section-heading {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 50px;
}

.section-heading span,
.newsletter span {
    color: #6c4df6;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.section-heading h2 {
    font-size: 40px;
    margin: 8px 0 12px;
}

.section-heading p {
    color: #737b8d;
}

.category-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.category-card {
    padding: 30px;
    border: 1px solid #e8eaf1;
    border-radius: 16px;
    background: #ffffff;
    transition: 0.2s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(30, 35, 60, 0.08);
}

.icon {
    font-size: 32px;
    margin-bottom: 18px;
}

.category-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.category-card p {
    color: #737b8d;
    font-size: 14px;
}


/* Newsletter */

.newsletter {
    margin: 70px 7%;
    padding: 50px;
    border-radius: 20px;
    background: #172033;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.newsletter h2 {
    font-size: 34px;
    margin: 8px 0;
}

.newsletter p {
    color: #bfc5d4;
}

.newsletter .subscribe-btn {
    background: #6c4df6;
    white-space: nowrap;
}


/* Footer */

footer {
    padding: 35px 7%;
    background: #ffffff;
    border-top: 1px solid #e9ebf2;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

footer p {
    color: #7a8191;
    font-size: 13px;
}


/* Mobile */

@media (max-width: 850px) {

    header {
        padding: 20px 5%;
        flex-wrap: wrap;
        gap: 18px;
    }

    nav {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 18px;
        flex-wrap: wrap;
    }

    .hero {
        padding: 70px 5%;
    }

    .categories {
        padding: 70px 5%;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .newsletter {
        margin: 50px 5%;
        padding: 35px 25px;
        flex-direction: column;
        align-items: flex-start;
    }

    footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}/* Navigation Bar */
.main-nav {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 16px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.main-nav .logo {
    color: #111827;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.nav-links a {
    color: #374151;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.nav-links a:hover {
    color: #2563eb;
}

@media (max-width: 800px) {
    .nav-container {
        flex-direction: column;
    }

    .nav-links {
        justify-content: center;
    }
}/* Newsletter Subscribe Form */
.subscribe-form {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.subscribe-form input {
    padding: 14px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 15px;
    min-width: 260px;
    outline: none;
}

.subscribe-form input:focus {
    border-color: #2563eb;
}

.subscribe-form button {
    padding: 14px 20px;
    border: none;
    border-radius: 8px;
    background: #2563eb;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.subscribe-form button:hover {
    background: #1d4ed8;
}

@media (max-width: 700px) {
    .subscribe-form {
        flex-direction: column;
        width: 100%;
    }

    .subscribe-form input {
        min-width: 0;
        width: 100%;
        box-sizing: border-box;
    }
}/* Popular Category Cards */
.category-card {
    display: block;
    text-decoration: none;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 28px 22px;
    transition: all 0.25s ease;
}

.category-card .icon {
    font-size: 38px;
    margin-bottom: 14px;
}

.category-card h3 {
    color: #111827;
    font-size: 19px;
    margin: 0 0 8px;
}

.category-card p {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.category-card:hover {
    transform: translateY(-6px);
    border-color: #2563eb;
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.12);
}/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 900px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
}/* About Section */
.about-section {
    padding: 80px 20px;
    background: #f9fafb;
}

.about-section .section-heading {
    max-width: 700px;
    margin: 0 auto 45px;
    text-align: center;
}

.about-section .section-heading span {
    color: #2563eb;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.about-section .section-heading h2 {
    margin: 10px 0;
    color: #111827;
    font-size: 34px;
}

.about-section .section-heading p {
    color: #6b7280;
    line-height: 1.7;
}

.about-content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.about-box {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 30px 24px;
    text-align: center;
    transition: all 0.25s ease;
}

.about-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.about-icon {
    font-size: 38px;
    margin-bottom: 15px;
}

.about-box h3 {
    color: #111827;
    margin: 0 0 10px;
    font-size: 19px;
}

.about-box p {
    color: #6b7280;
    line-height: 1.6;
    font-size: 14px;
    margin: 0;
}

@media (max-width: 800px) {
    .about-content {
        grid-template-columns: 1fr;
    }

    .about-section .section-heading h2 {
        font-size: 28px;
    }
}/* Professional Footer */
.site-footer {
    background: #111827;
    color: #ffffff;
    padding: 60px 20px 0;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 45px;
}

.footer-brand .logo {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-brand p,
.footer-info p {
    color: #9ca3af;
    line-height: 1.7;
    font-size: 14px;
    max-width: 330px;
}

.footer-links h4,
.footer-info h4 {
    margin: 0 0 18px;
    font-size: 16px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 11px 18px;
    background: #2563eb;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
}

.footer-btn:hover {
    background: #1d4ed8;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: #9ca3af;
    font-size: 13px;
}

@media (max-width: 800px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}/* Privacy Policy */
.privacy-content {
max-width: 900px;
margin: 0 auto;
display: grid;
gap: 20px;
}

.privacy-box {
background: #ffffff;
border: 1px solid #e5e7eb;
border-radius: 16px;
padding: 28px;
}

.privacy-box h3 {
margin: 0 0 12px;
color: #111827;
font-size: 19px;
}

.privacy-box p {
margin: 0 0 12px;
color: #6b7280;
line-height: 1.7;
font-size: 14px;
}

.privacy-box p:last-child {
margin-bottom: 0;
}
