/* Pricing Page Specific Styles */
@import url("./variables.css");

header {
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 4%;
    margin: 4rem;
    border-radius: 56px;
    position: fixed;
    width: 92%;
    top: 0;
    left: 0;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
    z-index: 99999;
}

/* Glassy background on scroll */
header.scrolled {
    background-color: rgba(255, 255, 255, 0.6);
    /* rgba(30, 30, 30, 0.4) for dark themes */
    backdrop-filter: blur(12px);
    box-shadow: 0 12px 28px 0 rgba(0, 0, 0, 0.08);
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: .8rem;
    pointer-events: none;
}

.logo-wrapper .logo-text {
    font-weight: bolder;
    font-size: 1.4rem;
    color: #3f3f3f;
}

.logo-wrapper .logo-text sup {
    font-weight: 600;
    font-size: .6rem;
    margin: .1rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cta-nav {
    padding: .4rem 1.2rem;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: .9rem;
    text-decoration: none;
    transition: 200ms all ease;
}

.login-nav {
    background: #f5f5f5;
    border: 1px solid var(--light-grey);
    color: var(--color-text);
    transition: .2s all ease;
}

.login-nav:hover {
    background: var(--color-primary);
    color: #f5f5f5;
    border: 1px solid var(--color-primary);
    cursor: pointer;
}

.register-nav {
    background: var(--color-secondary);
    color: #f5f5f5;
    border: 1px solid var(--color-secondary);
    transition: .2s all ease;
}

.register-nav:hover {
    opacity: .9;
    cursor: pointer;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #ffffff;
    color: #2d3748;
}

/* Header styles already in home.css */
.nav-link.active {
    color: #006D65;
    font-weight: 600;
}

/* Hero Section */
.pricing-hero {
    background: linear-gradient(135deg, #006D65 0%, #004d45 100%);
    padding-top: 14rem;
    padding-bottom: 12rem;
    text-align: center;
    color: white;
}

.pricing-hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.pricing-hero-content p {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

/* Tabs Section */
.pricing-tabs-section {
    padding: 3rem 2rem 2rem;
    background: #f8f9fa;
}

.pricing-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    background: white;
    padding: 0.5rem;
    border-radius: 12px;
    box-shadow: 0 1rem 4rem 0 rgba(0, 0, 0, 0.05);
}

.pricing-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    border: none;
    background: transparent;
    color: #718096;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pricing-tab svg {
    width: 20px;
    height: 20px;
}

.pricing-tab:hover {
    background: #f7fafc;
    color: #006D65;
}

.pricing-tab.active {
    background: #006D65;
    color: white;
}

.pricing-notice {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    margin: 0 auto;
    max-width: 800px;
    font-size: 0.9rem;
    color: #856404;
}

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

/* Content Sections */
.pricing-content {
    display: none;
    padding: 4rem 2rem;
    background: #f8f9fa;
}

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

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

.pricing-section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 0.5rem;
    color: #2d3748;
}

.pricing-section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    color: #718096;
    margin-bottom: 3rem;
}

/* Pricing Cards */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.pricing-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: 0 2rem 4rem 0 rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 3rem 6rem 0 rgba(0, 0, 0, 0.02);
}

.pricing-card-featured {
    border-color: #006D65;
    transform: scale(1.05);
}

.pricing-card-featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-badge {
    position: absolute;
    top: 20px;
    right: -10px;
    background: #006D65;
    color: white;
    padding: 0.35rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.pricing-card-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f0f0f0;
}

.pricing-card-header svg {
    color: #006D65;
    margin-bottom: 1rem;
}

.pricing-card-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: #006D65;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: #006D65;
    line-height: 1;
}

.price-period {
    font-size: 1rem;
    color: #718096;
    margin-left: 0.5rem;
}

.pricing-subtitle {
    font-size: 0.9rem;
    color: #718096;
}

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

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    font-size: 0.95rem;
    color: #4a5568;
}

.pricing-features li svg {
    color: #48bb78;
    flex-shrink: 0;
}

.pricing-features li.feature-disabled {
    opacity: 0.5;
}

.pricing-features li.feature-disabled svg {
    color: #e53e3e;
}

/* FAQ Section */
.faq-section {
    padding: 6rem 2rem;
    background: white;
}

.faq-container {
    max-width: 1000px;
    margin: 0 auto;
}

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

.faq-item {
    padding: 2rem;
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid #efefef;
    box-shadow: 0 1rem 4rem 0 rgba(0, 0, 0, .05);
    cursor: pointer;
    transition: .1s all ease;
}

.faq-item:hover {
    transform: scale(1.03);
}

.faq-item h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: #2d3748;
}

.faq-item p {
    font-size: 0.75rem;
    color: #718096;
    line-height: 1.6;
}

/* Questions Section */
.questions-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.questions-container {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    border-radius: 24px;
    padding: 3rem 2.5rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.questions-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.questions-header svg {
    color: #006D65;
    margin-bottom: 1rem;
}

.questions-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #2d3748;
    margin-bottom: 0.75rem;
}

.questions-header p {
    font-size: 1rem;
    color: #718096;
    line-height: 1.6;
}

/* Form Styles */
.pricing-question-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: #2d3748;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #ffffff;
    color: #2d3748;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #006D65;
    box-shadow: 0 0 0 3px rgba(0, 109, 101, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #a0aec0;
}

/* Submit Button */
.submit-question-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: #006D65;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.submit-question-btn:hover {
    background: #005a52;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 109, 101, 0.2);
}

.submit-question-btn:active {
    transform: translateY(0);
}

.submit-question-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-icon {
    transition: transform 0.3s ease;
}

.submit-question-btn:hover .btn-icon {
    transform: translateX(3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .questions-section {
        padding: 4rem 1.5rem;
    }

    .questions-container {
        padding: 2rem 1.5rem;
    }

    .questions-header h2 {
        font-size: 1.75rem;
    }

    .questions-header p {
        font-size: 0.95rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .questions-container {
        padding: 1.5rem 1rem;
    }

    .questions-header h2 {
        font-size: 1.5rem;
    }

    .submit-question-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* CTA Section */
.pricing-cta-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #006D65 0%, #004d45 100%);
    text-align: center;
}

.pricing-cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.pricing-cta-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: white;
    color: #006D65;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 4rem;
}

footer .footer-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo-wrapper .logo-text {
    font-weight: bolder;
    font-size: 1rem;
    color: #3f3f3f;
}

.footer-logo-wrapper .logo-text sup {
    font-weight: 600;
    font-size: .6rem;
    margin: .1rem;
}

footer .footer-links .links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

footer .footer-links .links .link-item {
    list-style: none;
}

footer .footer-links .links .link-item .link {
    text-decoration: none;
    color: #3f3f3f;
    font-size: .9rem;
}

.trademark p {
    font-size: .8rem;
    color: #3f3f3f;
}


/* -----------------------------------------
   RESPONSIVE DESIGN - Mobile & Tablet
   ----------------------------------------- */

/* Tablets and smaller desktops (1024px and below) */
@media (max-width: 1024px) {
    header {
        margin: 2rem;
        padding: 1rem 3%;
        width: 94%;
    }

}

@media (max-width: 768px) {
    header {
        margin: 1rem;
        padding: 0.8rem 4%;
        width: 92%;
        border-radius: 32px;
    }

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

    .pricing-hero-content p {
        font-size: 1rem;
    }

    .pricing-tabs {
        flex-direction: column;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .pricing-card-featured {
        transform: scale(1);
    }

    .pricing-card-featured:hover {
        transform: translateY(-5px);
    }

    .pricing-section-title {
        font-size: 2rem;
    }

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

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


    /* Footer */
    footer {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem;
        text-align: center;
    }

    footer .footer-links .links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }

    .trademark {
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    header {
        margin: 0.5rem;
        padding: 0.7rem 3%;
        width: 94%;
        border-radius: 24px;
    }

    .logo-wrapper {
        gap: 0.5rem;
    }

    .logo-wrapper .logo-text {
        font-size: 1rem;
    }

    .logo-wrapper svg {
        width: 20px;
        height: 20px;
    }

    .header-actions {
        gap: 0.4rem;
    }

    .cta-nav {
        padding: 0.35rem 0.8rem;
        font-size: 0.8rem;
    }

    /* Footer */
    footer {
        padding: 2rem 1.5rem;
        gap: 1.5rem;
    }

    .footer-logo-wrapper {
        gap: 0.6rem;
    }

    .footer-logo-wrapper svg {
        width: 18px;
        height: 18px;
    }

    .footer-logo-wrapper .logo-text {
        font-size: 0.95rem;
    }

    footer .footer-links .links {
        gap: 1rem;
    }

    footer .footer-links .links .link-item .link {
        font-size: 0.85rem;
    }

    .trademark p {
        font-size: 0.75rem;
    }
}

/* Landscape orientation adjustments */
@media (max-height: 600px) and (orientation: landscape) {
    header {
        margin: 0.5rem;
    }
}