/* Legal Pages Styles */

/* Container adjustments for legal pages */
.legal-container {
    max-width: 900px;
}

/* Header link styling */
.header .logo {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: opacity 0.3s ease;
}

.header .logo:hover {
    opacity: 0.8;
}

/* Legal Content */
.legal-content {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2.5rem;
    margin: 2rem 0;
}

.legal-title {
    font-size: 2.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    text-align: center;
}

.legal-updated {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Legal Sections */
.legal-section {
    margin-bottom: 2rem;
}

.legal-section h2 {
    font-size: 1.35rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(139, 92, 246, 0.3);
}

.legal-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin: 1.25rem 0 0.75rem;
}

.legal-section h4 {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.5rem;
}

.legal-section p {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-section ul,
.legal-section ol {
    color: rgba(255, 255, 255, 0.75);
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.legal-section a {
    color: #a78bfa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-section a:hover {
    color: #c4b5fd;
    text-decoration: underline;
}

/* Highlight Box */
.highlight-box {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    padding: 1.25rem;
    margin: 1rem 0;
}

.highlight-box.warning {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
}

/* Contact Info */
.contact-info {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

/* Footer for Legal Pages */
.legal-footer {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 1.5rem;
    margin-bottom: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-links a.active {
    color: #a78bfa;
}

.copyright {
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
}

/* ========================================
   REFUND POLICY SPECIFIC STYLES
   ======================================== */

.policy-highlight {
    display: flex;
    gap: 1.5rem;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.05) 100%);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 16px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.policy-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: rgba(239, 68, 68, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.policy-icon svg {
    width: 30px;
    height: 30px;
    stroke: #ef4444;
}

.policy-text h3 {
    color: #ef4444;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.policy-text p {
    margin-bottom: 0;
}

/* Responsibility List */
.responsibility-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.responsibility-item {
    display: flex;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.25rem;
}

.responsibility-number {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
}

.responsibility-content h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.responsibility-content p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* ========================================
   ABOUT PAGE SPECIFIC STYLES
   ======================================== */

.about-hero {
    text-align: center;
    padding: 2rem 0;
}

.about-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3) 0%, rgba(99, 102, 241, 0.3) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 3s ease-in-out infinite;
}

.about-icon svg {
    width: 50px;
    height: 50px;
    stroke: #a78bfa;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 30px 10px rgba(139, 92, 246, 0.2);
    }
}

.about-hero h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    border: none;
    padding-bottom: 0;
}

.about-tagline {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.3);
}

.feature-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(99, 102, 241, 0.2) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: #a78bfa;
}

.feature-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.feature-card p {
    font-size: 0.85rem;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.6);
}

/* Steps Guide */
.steps-guide {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.step-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.step-item .step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
}

.step-content {
    flex: 1;
    padding-top: 0.25rem;
}

.step-content h4 {
    margin-top: 0;
    margin-bottom: 0.25rem;
}

.step-content p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Business Info */
.business-info {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.info-row {
    display: flex;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.info-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-row:first-child {
    padding-top: 0;
}

.info-label {
    flex: 0 0 140px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.info-value {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Inline Button */
.inline-btn {
    display: inline-flex;
    margin-top: 1rem;
}

/* ========================================
   CONTACT PAGE SPECIFIC STYLES
   ======================================== */

.contact-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.25rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.75rem;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.3);
}

.contact-card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(99, 102, 241, 0.2) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-card-icon svg {
    width: 28px;
    height: 28px;
    stroke: #a78bfa;
}

.contact-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.contact-card p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1rem;
}

.contact-link {
    color: #a78bfa;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #c4b5fd;
}

.contact-address {
    color: rgba(255, 255, 255, 0.75);
    font-style: normal;
    line-height: 1.6;
}

.business-hours {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    color: rgba(255, 255, 255, 0.75);
}

/* Business Details Card */
.business-details-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.detail-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.detail-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.detail-row:first-child {
    padding-top: 0;
}

.detail-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: rgba(139, 92, 246, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-icon svg {
    width: 22px;
    height: 22px;
    stroke: #a78bfa;
}

.detail-content {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.15rem;
}

.detail-value {
    color: #fff;
    font-weight: 500;
}

/* FAQ List */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.25rem;
}

.faq-item h4 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.faq-item p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Email CTA */
.email-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    color: #fff;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    margin: 1rem 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.email-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.email-cta svg {
    width: 24px;
    height: 24px;
}

.response-time {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

@media (max-width: 768px) {
    .legal-content {
        padding: 1.5rem;
        margin: 1rem 0;
    }

    .legal-title {
        font-size: 1.75rem;
    }

    .legal-section h2 {
        font-size: 1.2rem;
    }

    .policy-highlight {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .responsibility-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .step-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .info-row {
        flex-direction: column;
        gap: 0.25rem;
    }

    .info-label {
        flex: auto;
    }

    .footer-links {
        gap: 0.75rem 1rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .legal-content {
        padding: 1.25rem;
    }

    .legal-title {
        font-size: 1.5rem;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .email-cta {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}
