* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Inter", sans-serif;
    background: #0a0a0f;
    color: white;
    line-height: 1.6;
    overflow-x: hidden;
}

:root {
    --grad: linear-gradient(135deg, #2b1f5c, #b5179e, #ff2d95);
    --dark-card: #12121c;
}

.section {
    padding: 80px 10%;
}

h1,
h2,
h3 {
    font-weight: 700;
    margin-top: 0;
}

img {
    max-width: 100%;
    height: auto;
}

/* Buttons */
.btn-primary {
    background: var(--grad);
    padding: 14px 26px;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: opacity 0.3s;
}

.btn-outline {
    padding: 14px 26px;
    border-radius: 8px;
    border: 1px solid #ff2d95;
    color: #ff2d95;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s;
}

.btn-outline:hover {
    background: rgba(255, 45, 149, 0.1);
}

/* ============ HEADER ============ */
.header {
    padding: 22px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #0a0a0f;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
}

.logo {
    height: 40px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav a {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
}

.btn-small {
    background: var(--grad);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.85rem !important;
}

.btn-small2 {
    background: var(--grad);
    padding: 19px 16px;
    border-radius: 6px;
    font-size: 1rem !important;
    color: white;
    text-decoration: none;
}

/* ============ HERO ============ */
.hero {
    display: flex;
    padding: 100px 10%;
    justify-content: space-between;
    align-items: center;
    background: #0f0f18;
}

.hero-content {
    width: 45%;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-mockup img {
    width: 420px;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.toggle {
    display: flex;
    margin-bottom: 30px;
    background: #1a1a24;
    padding: 5px;
    border-radius: 10px;
    width: fit-content;
}

.toggle-btn {
    padding: 10px 24px;
    background: transparent;
    color: #aaa;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.toggle-btn.active {
    background: var(--grad);
    color: white;
}

.cta-group {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

/* ============ FEATURES ============ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
    margin-top: 40px;
}

.feature-card {
    background: var(--dark-card);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

.feature-card img {
    height: 50px;
    margin-bottom: 20px;
}

/* ============ PAYMENT SECTION ============ */
.payment-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 100px 10%;
    background: #fafafa;
    color: #111;
}

.payment-left {
    width: 50%;
}

.checklist {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.checklist li {
    margin-bottom: 12px;
    font-weight: 500;
}

.payment-mock img {
    width: 450px;
}

/* ============ WHY ============ */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
    margin-top: 40px;
}

.why-card {
    background: var(--dark-card);
    padding: 30px;
    border-radius: 12px;
}

/* ============ PRICING ============ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.price-card {
    background: var(--dark-card);
    /* padding: 50px; */
    padding: 21px;

    border-radius: 20px;
    text-align: center;
}

.price-card.highlight {
    border: 2px solid #ff2d95;
    position: relative;
}

.price {
    font-size: 48px;
    font-weight: 700;
    margin: 20px 0;
}

.price-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    color: #ccc;
}

.price-card ul li {
    margin-bottom: 10px;
}

/* ============ FOOTER ============ */
.footer {
    text-align: center;
    padding: 60px 10%;
    border-top: 1px solid #222;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-links a {
    color: #888;
    text-decoration: none;
}

/* ============ RESPONSIVE MEDIA QUERIES ============ */

/* Tablets & Small Laptops */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .features-grid,
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section,
    .hero,
    .payment-section {
        padding: 80px 5%;
    }
}

/* Mobile Landscape & Large Phones */
@media (max-width: 850px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 60px;
    }

    .hero-content {
        width: 100%;
        margin-bottom: 50px;
    }

    .toggle {
        margin: 0 auto 30px auto;
    }

    .cta-group {
        justify-content: center;
    }

    .hero-mockup img {
        width: 100%;
        max-width: 400px;
    }

    .payment-section {
        flex-direction: column;
        text-align: center;
    }

    .payment-left {
        width: 100%;
        margin-bottom: 40px;
    }

    .checklist {
        display: inline-block;
        text-align: left;
    }
}

/* Small Phones */
@media (max-width: 600px) {
    .header {
        flex-direction: column;
        gap: 20px;
    }

    .features-grid,
    .why-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .cta-group {
        flex-direction: column;
    }

    .price-card {
        padding: 30px;
    }
}

/* Directory */

.hidden {
    display: none !important;
}

/* Modal Background Overlay */
.directory-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

/* Modal Content Card */
.directory-content {
    background: #ffffff;
    width: 90%;
    max-width: 480px;
    height: 75vh;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.directory-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #f3f4f6;
}

.directory-header h2 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
}

.close-btn {
    background: transparent;
    border: none;
    font-size: 1.75rem;
    cursor: pointer;
    color: #6b7280;
}

/* Inner Modal Tabs (Toggle switch) */
.directory-toggle {
    display: flex;
    padding: 6px;
    margin: 16px 20px;
    background: #f3f4f6;
    border-radius: 8px;
}

.dir-toggle-btn {
    flex: 1;
    padding: 10px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.875rem;
    color: #4b5563;
    border-radius: 6px;
    transition: all 0.2s;
}

.dir-toggle-btn.active {
    background: #ffffff;
    color: #111827;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}

/* Contacts Scrolling Box */
.directory-list {
    flex: 1;
    overflow-y: auto;
    padding: 0 20px 20px;
}

.letter-divider {
    font-size: 0.85rem;
    font-weight: 700;
    color: #6b7280;
    background: #f9fafb;
    padding: 6px 12px;
    margin: 12px 0 8px;
    border-radius: 4px;
    display: flex;
    justify-content: end;
}

/* Contact Individual Listings */
.contact-item {
    display: flex;
    align-items: center;
    padding: 10px 8px;
    text-decoration: none;
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.15s;
}

.contact-item:hover {
    background: #f9fafb;
    border-radius: 8px;
}

.contact-avatar-wrapper {
    margin-right: 12px;
}

.contact-avatar-fallback,
.contact-avatar-img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}

.contact-avatar-fallback {
    background: #4f46e5;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-name {
    font-weight: 600;
    color: #111827;
}

.contact-slug {
    font-size: 0.75rem;
    color: #6b7280;
}

.dir-loader,
.dir-error,
.dir-empty {
    text-align: center;
    color: #6b7280;
    padding-top: 50px;
    font-weight: 500;
}