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

:root {
    --primary-color: #0284C7;
    --primary-dark: #0369A1;
    --secondary-color: #E0F2FE;
    --text-dark: #1F2937;
    --text-gray: #6B7280;
    --text-light: #9CA3AF;
    --bg-light: #F9FAFB;
    --bg-white: #FFFFFF;
    --border-color: #E5E7EB;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
}

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

.navbar {
    background-color: var(--bg-white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

/* for dropdown menu   */

/* ...existing code... */

/* Replaced dropdown rules — more specific, hidden by default, shows on hover/focus, and works with mobile menu */
.nav-links .dropdown {
    position: relative;
    /* anchor for absolute submenu */
}

.nav-links .dropdown .dropbtn {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    text-decoration: none;
}

/* Hidden by default */
.nav-links .dropdown .dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(2, 6, 23, 0.12);
    padding: 6px 0;
    min-width: 220px;
    z-index: 1000;
    /* animation + pointer handling */
    visibility: hidden;
    opacity: 0;
    transform: translateY(-6px);
    /* slight overlap while hidden to remove gap */
    transition: opacity 160ms ease, transform 160ms ease, visibility 0s linear 160ms;
    pointer-events: none;
}

/* Reveal on mouse hover or keyboard focus (accessibility) */
.nav-links .dropdown:hover .dropdown-content,
.nav-links .dropdown:focus-within .dropdown-content {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0s;
    pointer-events: auto;
}

/* Item styles */
.nav-links .dropdown .dropdown-content li {
    list-style: none;
}

.nav-links .dropdown .dropdown-content li a {
    display: block;
    padding: 10px 16px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
}

.nav-links .dropdown .dropdown-content li a:hover,
.nav-links .dropdown .dropdown-content li a:focus {
    background: #f1f5f9;
}

/* Mobile: submenu stays in flow; show when mobile nav is active */
@media (max-width: 880px) {
    .nav-links .dropdown .dropdown-content {
        position: static;
        box-shadow: none;
        background: transparent;
        padding: 0;
        transform: none;
        opacity: 1;
        display: none;
        /* mobile visibility controlled by .nav-links.active */
        pointer-events: auto;
    }

    /* When mobile menu is opened (nav-links gets .active) reveal submenu */
    .nav-links.active .dropdown .dropdown-content {
        display: block;
    }

    .nav-links .dropdown .dropdown-content li a {
        padding-left: 24px;
    }
}

/* ...existing code... */
.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-image {
    display: flex;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Side-by-side API card */
.solution-api .api-side {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    background-color: #f9fafb;
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.solution-api .api-text {
    flex: 1 1 300px;
    min-width: 250px;
}

.solution-api .api-code {
    flex: 1 1 350px;
    min-width: 300px;
}

.solution-api .api-code pre {
    background: #020d15;
    /* soft off-white */
    color: #0f172a;
    /* dark text for readability */
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #D6EFFF;
    box-shadow: 0 6px 18px rgba(2, 6, 23, 0.04);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, "Roboto Mono", monospace;
    font-size: 0.95rem;
    line-height: 1.5;
    overflow: auto;
    /* wrap long JSON nicely */
}

.api-card .api-text {
    margin-bottom: 6px;
}

.api-code {
    margin-top: 6px;
}

/* Make mailto links in CTA high-contrast on top of colored background */
.cta-final .cta-content a[href^="mailto:"] {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    padding: 6px 10px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-left: 6px;
}

.cta-final .cta-content a[href^="mailto:"]:hover {
    background: rgba(255, 255, 255, 0.14);
    text-decoration: underline;
}

/* Responsive tweaks */
@media (max-width: 720px) {
    .api-code pre {
        font-size: 0.88rem;
        padding: 12px;
    }

    .api-card.api-side {
        display: block;
    }
}

.solution-api .api-card h3 {
    margin-bottom: 12px;
    font-weight: 600;
    color: #111827;
}

.solution-api .api-card p {
    margin-bottom: 12px;
    color: #374151;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .solution-api .api-side {
        flex-direction: column;
    }

    .solution-api .api-code,
    .solution-api .api-text {
        min-width: 100%;
    }
}


.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.btn-login {
    background-color: var(--primary-color);
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.btn-login:hover {
    background-color: var(--primary-dark);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
}

.hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--bg-white) 100%);
    padding: 5rem 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.hero-image {
    width: 100%;
}

.image-placeholder {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.features {
    padding: 5rem 0;
    background-color: var(--bg-white);
}

.features h2,
.how-it-works h2,
.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.feature-icon {
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-gray);
}

.how-it-works {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.step {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.step p {
    color: var(--text-gray);
}

.testimonials {
    padding: 5rem 0;
    background-color: var(--bg-white);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
}

.testimonial-quote {
    font-size: 1.125rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
}

.author-name {
    font-weight: 600;
    color: var(--text-dark);
}

.author-title {
    font-size: 0.875rem;
    color: var(--text-gray);
}

.cta-final {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.cta-final .btn-primary:hover {
    background-color: var(--bg-light);
}

.footer {
    background-color: var(--text-dark);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo {
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-contact {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-contact p {
    color: var(--text-light);
}

.footer-contact a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--secondary-color);
}

.footer-copyright {
    text-align: center;
    color: var(--text-light);
    font-size: 0.875rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--bg-white) 100%);
    padding: 4rem 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
}

.solution-section {
    padding: 5rem 0;
}

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

.solution-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.solution-reverse {
    direction: rtl;
}

.solution-reverse>* {
    direction: ltr;
}

.solution-text h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.solution-text p {
    font-size: 1.125rem;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.solution-list {
    list-style: none;
    margin-top: 1.5rem;
}

.solution-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-gray);
}

.solution-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.solution-visual {
    width: 100%;
}

.screenshots-section {
    padding: 5rem 0;
    background-color: var(--bg-white);
    text-align: center;
}

.screenshots-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.screenshot-placeholder {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pricing-section {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.pricing-card-wrapper {
    display: flex;
    justify-content: center;
}

.pricing-card {
    background-color: var(--bg-white);
    border-radius: 16px;
    padding: 3rem;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--primary-color);
}

.pricing-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.pricing-description {
    color: var(--text-gray);
    font-size: 1.125rem;
}

.pricing-price {
    margin: 2rem 0;
    text-align: center;
}

.price-amount {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-period {
    display: block;
    font-size: 1.125rem;
    color: var(--text-gray);
    margin-top: 0.5rem;
}

.pricing-details {
    padding: 1.5rem;
    background-color: var(--secondary-color);
    border-radius: 8px;
    margin-bottom: 2rem;
}

.pricing-info {
    color: var(--text-dark);
    line-height: 1.8;
}

.pricing-features {
    list-style: none;
    margin: 2rem 0;
}

.pricing-features li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-dark);
}

.pricing-features svg {
    flex-shrink: 0;
}

.pricing-card .btn {
    width: 100%;
    text-align: center;
    margin-top: 2rem;
}

.pricing-faq {
    padding: 5rem 0;
    background-color: var(--bg-white);
}

.pricing-faq h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.faq-item {
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: 12px;
}

.faq-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.faq-item p {
    color: var(--text-gray);
}

.solutions-tabs-section {
    background-color: var(--bg-light);
    padding: 2rem 0 0;
}

.solutions-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.tab-button {
    padding: 0.875rem 2rem;
    background-color: white;
    border: 2px solid var(--border-color);
    border-radius: 8px 8px 0 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.tab-button:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.tab-button.active {
    background-color: white;
    border-color: var(--primary-color);
    color: var(--primary-color);
    border-bottom-color: white;
    position: relative;
    margin-bottom: -2px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.pm-solutions {
    padding: 5rem 0;
    background-color: var(--bg-white);
}

.pm-hero {
    text-align: center;
    margin-bottom: 4rem;
}

.pm-hero h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.pm-subtitle {
    font-size: 1.25rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
}

.pm-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.pm-feature {
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.pm-feature h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.pm-feature p {
    color: var(--text-gray);
    line-height: 1.7;
}

.pm-cta {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--bg-white) 100%);
    border-radius: 12px;
}

.pm-cta h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.pm-cta p {
    font-size: 1.125rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.badge-text {
    white-space: nowrap;
}

.pricing-card {
    position: relative;
    margin-top: 2rem;
}

.pricing-highlight {
    margin-top: 1rem;
    padding: 1rem;
    background-color: #FEF3C7;
    border-left: 4px solid #F59E0B;
    border-radius: 4px;
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: var(--bg-white);
        width: 100%;
        padding: 2rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        align-items: flex-start;
    }

    .nav-links.active {
        left: 0;
    }

    .solutions-tabs {
        flex-direction: column;
        padding: 0 1rem;
    }

    .tab-button {
        width: 100%;
        border-radius: 8px;
        margin-bottom: 0.5rem;
    }

    .tab-button.active {
        margin-bottom: 0.5rem;
    }

    .pm-features-grid {
        grid-template-columns: 1fr;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .solution-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .solution-reverse {
        direction: ltr;
    }

    .feature-grid,
    .steps-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

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

    .page-hero h1 {
        font-size: 2rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

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

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}