/* ===== RESET ===== */
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css");
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, sans-serif;
    line-height: 1.6;
    background: #fafafa;
    color: #222;
}

/* ===== HEADER ===== */

.site-header {
    background: white;
    padding: 1rem 2rem;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;

    border-bottom: 1px solid #e5e5e5;

    position: sticky;
    top: 0;
    z-index: 100;
}

.logo img {
    height: 60px;
}

.search-box {
    flex: 1;
    max-width: 500px;
}

.search-box form {
    display: flex;
}

.search-box input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ccc;
    border-right: none;
    border-radius: 8px 0 0 8px;
}

.search-box button {
    padding: 12px 20px;
    border: 1px solid #ccc;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    background: white;
}

/* ===== NAVBAR ===== */

.main-nav {
    background: white;

    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 2rem;

    padding: 1rem;

    border-bottom: 1px solid #e5e5e5;
}

.main-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
}

.main-nav a:hover {
    text-decoration: underline;
}

/* ===== CONTENT ===== */

main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* ===== ARTICLE ===== */

article,
.content {
    background: white;
    padding: 2rem;

    border-radius: 12px;

    box-shadow: 0 2px 8px rgba(0,0,0,.05);
}

h1 {
    margin-bottom: 1rem;
    font-size: 2rem;
}

h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

/* ===== FOOTER ===== */

.site-footer {
    background: white;

    margin-top: 3rem;

    padding: 2rem;

    border-top: 1px solid #e5e5e5;

    text-align: center;
}

.footer-links {
    margin-bottom: 1rem;

    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-links a {
    text-decoration: none;
    color: #555;
}
.copyright{
	justify-content:center;
}
/* ===== MOBILE ===== */

@media (max-width: 768px) {

    .site-header {
        flex-direction: column;
    }

    .search-box {
        width: 100%;
        max-width: 100%;
    }

    .main-nav {
        gap: 1rem;
        font-size: .9rem;
    }

    h1 {
        font-size: 1.6rem;
    }

}

.main-nav {
    display: flex;
    gap: 25px;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: #333;
}

/* Parent container */

.dropdown {
    position: relative;
}

/* Hidden by default */

.dropdown-content {
    display: none;

    position: absolute;
    top: 100%;
    left: 0;

    min-width: 220px;

    background: white;

    border: 1px solid red;

    box-shadow: 0 4px 12px rgba(0,0,0,.1);

    z-index: 1000;
}

/* Links inside dropdown */

.dropdown-content a {
    display: block;
    padding: 12px 15px;
    white-space: nowrap;
}

.dropdown-content a:hover {
    background: #f5f5f5;
}

/* Show dropdown when hovering parent */

.dropdown:hover .dropdown-content {
    display: block;
}


.card-grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(220px, 1fr));

    gap: 24px;

    max-width: 1200px;
    margin: 0 auto;

    padding: 20px;
}

.card {
    display: block;

    text-decoration: none;
    color: inherit;

    background: white;

    border-radius: 12px;

    overflow: hidden;

    box-shadow: 0 2px 10px rgba(0,0,0,.08);

    transition: transform .2s ease;
}

.card:hover {
    transform: translateY(-4px);
}

.card img {
    width: 100%;
    height: 220px;

    object-fit: cover;

    display: block;
}

.card h3 {
    padding: 16px;

    text-align: center;

    font-size: 1.1rem;
}
.card {
    border: 1px solid grey;
    min-height: 300px;
}

.pricing-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(280px, 1fr));

    gap: 24px;

    max-width: 1200px;
    margin: 40px auto;
}

.pricing-card {
    background: white;

    border: 1px solid #e5e5e5;

    border-radius: 16px;

    padding: 30px;

    display: flex;
    flex-direction: column;

    position: relative;
}

.pricing-card h2 {
    margin-bottom: 12px;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.subtitle {
    margin-bottom: 20px;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 25px;
}

.pricing-card li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.btn {
    margin-top: auto;

    display: block;

    text-align: center;

    padding: 12px;

    border-radius: 8px;

    text-decoration: none;

    border: 1px solid #333;
}

.featured {
    transform: scale(1.03);
}

.badge {
    position: absolute;

    top: 15px;
    right: 15px;

    font-size: 0.8rem;

    padding: 6px 10px;

    border-radius: 20px;

    border: 1px solid #333;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 15px;
}

.tool-card {
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.nk-form input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
}

.nk-form button {
    width: 100%;
    padding: 10px;
    cursor: pointer;
}

.result-box {
    margin-top: 15px;
    padding: 12px;
    background: #f5f5f5;
    border-radius: 8px;
}

.coming-soon {
    margin-top: 15px;
    font-size: 14px;
    color: #777;
}

/* Trending table */
.trend-table {
    width: 100%;
    border-collapse: collapse;
}

.trend-table th,
.trend-table td {
    padding: 8px;
    border-bottom: 1px solid #eee;
}

/* Plans */
.plan {
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 10px;
    margin-bottom: 15px;
}

.featured {
    border: 2px solid #333;
}

.wa-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px;
    background: #25D366;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    text-align: right;
}

/* Responsive */
@media (max-width: 900px) {
    .tools-grid {
        grid-template-columns: 1fr;
    }
}