/* ============================================
   Sketch Materials - Pages Stylesheet
   Shared styles for About, Contact, Privacy, Terms
   ============================================ */

/* === Page Hero === */
.page-hero {
    text-align: center;
    padding: 100px 20px 60px;
    position: relative;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 94, 247, 0.06) 0%, rgba(2, 245, 255, 0.04) 40%, transparent 70%);
    pointer-events: none;
}

.page-title,
.page-hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.gradient-text {
    background: radial-gradient(circle farthest-corner at 10% 20%, rgba(255, 94, 247, 1) 17.8%, rgba(2, 245, 255, 1) 100.2%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle,
.page-hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* === Page Sections === */
.page-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

.page-section-title,
.section-heading {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    margin-top: 8px;
}

/* === Page Content (Privacy/Terms) === */
.page-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

/* === Content Cards === */
.content-card,
.policy-card {
    border: 1px solid rgba(0, 54, 116, 0.4);
    border-radius: 16px;
    padding: 32px;
    background: rgba(7, 9, 31, 0.8);
    margin-bottom: 24px;
    text-align: left;
    transition: border-color 0.3s ease;
}

.content-card:hover,
.policy-card:hover {
    border-color: rgba(50, 139, 255, 0.3);
}

.card-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.policy-heading,
.section-heading-card {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #3f8cff;
}

.policy-list {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

.policy-list li {
    position: relative;
    padding: 8px 0 8px 24px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.policy-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #3f8cff;
}

.policy-list li a,
.policy-card a {
    color: #3f8cff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.policy-list li a:hover,
.policy-card a:hover {
    color: #6aabff;
    text-decoration: underline;
}

.policy-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 12px;
}

.policy-card p:last-child {
    margin-bottom: 0;
}

.contact-info {
    margin-top: 16px;
    padding: 16px 20px;
    border-radius: 10px;
    background: rgba(50, 139, 255, 0.05);
    border: 1px solid rgba(50, 139, 255, 0.15);
}

.contact-info p {
    margin-bottom: 6px;
}

.contact-info a {
    color: #3f8cff;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.last-updated {
    text-align: center;
    background: rgba(50, 139, 255, 0.05);
    border-color: rgba(50, 139, 255, 0.2);
}

.last-updated p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.effective-date {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    background: rgba(50, 139, 255, 0.08);
    border: 1px solid rgba(50, 139, 255, 0.2);
    color: #3f8cff;
    font-size: 0.85rem;
    margin-bottom: 24px;
}

.link-accent {
    color: #3f8cff;
    text-decoration: none;
}

.link-accent:hover {
    text-decoration: underline;
}

/* === Stats Grid (About page) === */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.stat-card {
    border: 1px solid rgba(0, 54, 116, 0.4);
    border-radius: 16px;
    padding: 30px 20px;
    background: rgba(7, 9, 31, 0.8);
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: rgba(50, 139, 255, 0.4);
    transform: translateY(-4px);
}

.stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: radial-gradient(circle farthest-corner at 10% 20%, rgba(255, 94, 247, 1) 17.8%, rgba(2, 245, 255, 1) 100.2%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.stat-card .stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 8px;
    display: block;
}

/* === Offer Grid (About page) === */
.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.offer-card {
    border: 1px solid rgba(0, 54, 116, 0.4);
    border-radius: 16px;
    padding: 28px 24px;
    background: rgba(7, 9, 31, 0.8);
    text-align: center;
    transition: all 0.3s ease;
}

.offer-card:hover {
    border-color: rgba(50, 139, 255, 0.4);
    transform: translateY(-4px);
}

.offer-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: rgba(50, 139, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.offer-icon img {
    width: 28px;
    height: 28px;
}

.offer-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.offer-desc {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

/* === Vision Card (About page) === */
.vision-card {
    text-align: center;
}

.vision-quote {
    font-size: 1.3rem;
    font-weight: 500;
    font-style: italic;
    color: #3f8cff;
    line-height: 1.6;
    padding: 24px;
    border-left: 3px solid #3f8cff;
    background: rgba(50, 139, 255, 0.05);
    border-radius: 0 12px 12px 0;
    text-align: left;
}

/* === Developer Card (About page) === */
.developer-card {
    border: 1px solid rgba(0, 54, 116, 0.4);
    border-radius: 16px;
    padding: 40px;
    background: rgba(7, 9, 31, 0.8);
    display: flex;
    gap: 30px;
    align-items: center;
    text-align: left;
}

.developer-avatar {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(50, 139, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(50, 139, 255, 0.1);
}

.developer-avatar img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.developer-name {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.developer-role {
    font-size: 0.9rem;
    color: #3f8cff;
    margin-bottom: 16px;
}

.developer-bio {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    margin-bottom: 20px;
}

.developer-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.dev-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 8px;
    border: 1px solid rgba(50, 139, 255, 0.3);
    color: #3f8cff;
    font-size: 0.88rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.dev-link:hover {
    background: rgba(50, 139, 255, 0.1);
    border-color: #3f8cff;
}

.dev-link svg {
    flex-shrink: 0;
}

/* === Contact Page === */
.contact-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    text-align: left;
    margin-top: 20px;
}

.contact-form-card {
    border: 1px solid rgba(0, 54, 116, 0.4);
    border-radius: 16px;
    padding: 32px;
    background: rgba(7, 9, 31, 0.8);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(0, 54, 116, 0.4);
    border-radius: 10px;
    background: rgba(0, 4, 22, 0.6);
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 0.92rem;
    transition: border-color 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #3f8cff;
    box-shadow: 0 0 0 3px rgba(50, 139, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

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

.form-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 24px;
    cursor: pointer;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, rgba(255, 94, 247, 0.9), rgba(2, 245, 255, 0.9));
    transition: all 0.3s ease;
    position: relative;
}

.form-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 94, 247, 0.3);
}

.form-submit-btn:active {
    transform: scale(0.98);
}

.form-submit-btn::after {
    display: none;
}

.form-note {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 16px;
    text-align: center;
}

.form-note a {
    color: #3f8cff;
    text-decoration: none;
}

.form-note a:hover {
    text-decoration: underline;
}

/* === Contact Info Cards === */
.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-card {
    border: 1px solid rgba(0, 54, 116, 0.4);
    border-radius: 16px;
    padding: 24px;
    background: rgba(7, 9, 31, 0.8);
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: rgba(50, 139, 255, 0.4);
    transform: translateY(-3px);
}

.contact-card-icon {
    margin-bottom: 12px;
}

.contact-card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.contact-card-text {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
}

.contact-card-text a {
    color: #3f8cff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-card-text a:hover {
    color: #6aabff;
    text-decoration: underline;
}

/* === FAQ Accordion === */
.faq-container {
    max-width: 800px;
    margin: 20px auto 0;
    text-align: left;
}

.faq-item {
    border: 1px solid rgba(0, 54, 116, 0.4);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.3s ease;
    background: rgba(7, 9, 31, 0.8);
}

.faq-item:hover {
    border-color: rgba(50, 139, 255, 0.3);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    background: transparent;
    border: none;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: color 0.2s ease;
}

.faq-question::after {
    display: none;
}

.faq-question:hover {
    color: #3f8cff;
}

.faq-chevron {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: rgba(255, 255, 255, 0.4);
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    color: #3f8cff;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 24px;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 24px 20px;
}

.faq-answer p {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
}

.faq-answer a {
    color: #3f8cff;
    text-decoration: none;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* === Responsive === */
@media (max-width: 768px) {
    .page-title,
    .page-hero-title {
        font-size: 2rem;
    }

    .page-subtitle,
    .page-hero-subtitle {
        font-size: 0.95rem;
    }

    .page-section-title,
    .section-heading {
        font-size: 1.6rem;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .developer-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .developer-links {
        justify-content: center;
    }

    .vision-quote {
        font-size: 1.1rem;
    }

    .content-card,
    .policy-card {
        padding: 24px 20px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 480px) {
    .page-hero {
        padding: 80px 16px 40px;
    }

    .page-title,
    .page-hero-title {
        font-size: 1.7rem;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .stat-card {
        padding: 20px 16px;
    }

    .stat-card .stat-number {
        font-size: 2rem;
    }

    .faq-question {
        font-size: 0.92rem;
        padding: 14px 18px;
    }

    .contact-form-card {
        padding: 24px 18px;
    }
}

