/**
 * info-pages.css - Info pages (contact, account, privacy, terms) styling
 * Extends features-pages.css with info page specific layouts
 */

/* =============================================================================
   MAIN CONTENT WRAPPER
   ============================================================================= */

main {
    padding-top: 110px;
    min-height: 100vh;
}

@media (max-width: 768px) {
    main {
        padding-top: 90px;
    }
}

/* =============================================================================
   CONTENT CONTAINERS
   ============================================================================= */

.content-container,
.policy-container,
.account-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px;
    animation: fadeInUp 0.8s ease-out;
}

.contact-container,
.account-container {
    max-width: 500px;
    margin: 0 auto;
    background: rgba(24, 28, 28, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    padding: 38px 32px 32px 32px;
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

@media (max-width: 768px) {
    .content-container,
    .policy-container {
        padding: 20px;
    }
    
    .contact-container,
    .account-container {
        padding: 18px 6vw;
        max-width: 95%;
    }
}

/* =============================================================================
   PAGE HEADERS
   ============================================================================= */

.page-header,
h1 {
    color: var(--primary-bright, #00a6cc);
    font-size: 2.8em;
    font-weight: 700;
    margin-bottom: 32px;
    text-align: center;
}

@media (max-width: 768px) {
    .page-header,
    h1 {
        font-size: 2em;
        margin-bottom: 24px;
    }
}

/* =============================================================================
   CONTENT SECTIONS
   ============================================================================= */

.content-section {
    background: rgba(24, 28, 28, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.content-section h2 {
    color: var(--accent-orange, #ff6d00);
    font-size: 1.8em;
    font-weight: 600;
    margin-bottom: 20px;
}

.content-section h3 {
    color: var(--primary-bright, #00a6cc);
    font-size: 1.4em;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 16px;
}

.content-section p {
    color: #ccc;
    font-size: 1.05em;
    line-height: 1.7;
    margin-bottom: 16px;
}

.content-section ul,
.content-section ol {
    color: #ccc;
    font-size: 1.05em;
    line-height: 1.8;
    padding-left: 24px;
    margin-bottom: 20px;
}

.content-section li {
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .content-section {
        padding: 24px 20px;
        margin-bottom: 24px;
    }
    
    .content-section h2 {
        font-size: 1.5em;
    }
    
    .content-section h3 {
        font-size: 1.2em;
    }
}

/* =============================================================================
   CONTACT FORM STYLING
   ============================================================================= */

.contact-container h1 {
    color: var(--primary-bright, #00a6cc);
    font-size: 2em;
    margin-bottom: 18px;
    text-align: center;
}

.contact-container p {
    margin-bottom: 18px;
    color: #bbb;
}

.contact-form-section,
.feature-request-section {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-form-section {
    margin-bottom: 32px;
}

.feature-request-section {
    margin-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
}

.feature-request-section h2 {
    color: var(--primary-bright, #00a6cc);
    font-size: 2em;
    font-weight: inherit;
    margin-bottom: 18px;
    text-align: center;
}

.contact-container label {
    color: #bbb;
    font-weight: 500;
    margin-bottom: 6px;
    display: block;
}

.contact-container input,
.contact-container textarea,
.contact-container select {
    background: rgba(34, 34, 34, 0.8);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 10px;
    font-size: 1em;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 0;
    transition: border-color 0.3s, background 0.3s;
}

.contact-container input:focus,
.contact-container textarea:focus,
.contact-container select:focus {
    outline: none;
    border-color: var(--primary-bright, #00a6cc);
    background: rgba(34, 34, 34, 1);
}

.contact-container textarea {
    min-height: 100px;
    resize: vertical;
}

.contact-container button {
    background: var(--primary-bright, #00a6cc);
    color: #002f2f;
    border: none;
    border-radius: 8px;
    padding: 12px 0;
    font-size: 1.1em;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s, color 0.3s, transform 0.2s;
    width: 100%;
    margin-top: 4px;
}

.contact-container button:hover {
    background: var(--accent-orange, #ff6d00);
    color: #fff;
    transform: translateY(-2px);
}

.contact-container button:active {
    transform: translateY(0);
}

.success-message {
    color: var(--primary-bright, #00a6cc);
    font-weight: 600;
    text-align: center;
    margin-top: 18px;
    display: none;
    background: rgba(26, 42, 26, 0.8);
    border-radius: 8px;
    padding: 12px 0;
}

/* Account Page Specific Styling */
.account-container h1 {
    color: var(--primary-bright, #00a6cc);
    font-size: 2em;
    margin-bottom: 18px;
}

.account-container p {
    color: #bbb;
    font-size: 1.1em;
    margin-bottom: 28px;
}

.stripe-portal-btn {
    background: var(--primary-bright, #00a6cc);
    color: #002f2f;
    border: none;
    border-radius: 8px;
    padding: 14px 36px;
    font-size: 1.15em;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s, color 0.3s, transform 0.2s;
}

.stripe-portal-btn:hover {
    background: var(--accent-orange, #ff6d00);
    color: #fff;
    transform: translateY(-2px);
}

.stripe-portal-btn:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .contact-container h1,
    .account-container h1 {
        font-size: 1.4em;
    }
    
    .feature-request-section,
    .contact-form-section {
        gap: 14px;
    }
}

/* =============================================================================
   ANIMATIONS
   ============================================================================= */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
