/* MetaCloud — Static Pages (About, Contact, Pricing) */

.page-wrap {
    min-height: 100vh;
    min-height: 100dvh;
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
}

/* Override landing.css body overflow for scrollable pages */
.page-wrap ~ *,
html:has(.page-wrap) body {
    overflow: visible;
}


/* ═══ PAGE HEADER ═══ */
.page-wrap .bottom-bar {
    position: sticky;
    top: 0;
}

.page-hero {
    text-align: center;
    padding: 6rem 1.5rem 4rem;
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text) 0%, var(--pl) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-2);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ═══ SECTIONS ═══ */
.page-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text);
    letter-spacing: -0.01em;
}

/* ═══ FEATURE GRID ═══ */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--glass);
    border: 1px solid var(--glass-b);
    border-radius: var(--r);
    padding: 2rem;
    transition: border-color 0.3s, transform 0.3s;
}

.feature-card:hover {
    border-color: var(--pl);
    transform: translateY(-2px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 1.2rem;
    color: var(--pl);
    opacity: 0.8;
}

.feature-icon--brand {
    width: 56px;
    height: 56px;
    opacity: 1;
}

.feature-icon--brand img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
}

.feature-icon--text {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--pl);
    border: 1.5px solid var(--pl);
    border-radius: 10px;
    opacity: 0.85;
    letter-spacing: -0.02em;
}

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

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-2);
    line-height: 1.7;
}

/* ═══ PRICING GRID ═══ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    align-items: start;
}

.pricing-card {
    background: var(--glass);
    border: 1px solid var(--glass-b);
    border-radius: var(--r);
    padding: 2.5rem 2rem;
    position: relative;
    transition: border-color 0.3s, transform 0.3s;
}

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

.pricing-card.featured {
    border-color: var(--pl);
    box-shadow: 0 0 40px rgba(155, 93, 229, 0.15);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--pd), var(--pl));
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pricing-price {
    margin-bottom: 1.5rem;
}

.pricing-price .amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--pl);
}

.pricing-price .period {
    font-size: 0.9rem;
    color: var(--text-3);
}

.pricing-storage {
    font-size: 0.9rem;
    color: var(--text-2);
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--glass-b);
}

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

.pricing-features li {
    font-size: 0.9rem;
    color: var(--text-2);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.pricing-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--pl);
    opacity: 0.6;
}

.pricing-cta {
    display: block;
    width: 100%;
    padding: 0.85rem 1.5rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.25s, box-shadow 0.25s;
    border: none;
}

.pricing-cta-primary {
    background: linear-gradient(135deg, var(--pd), var(--pl));
    color: #fff;
    box-shadow: 0 0 24px var(--p-glow);
}

.pricing-cta-primary:hover {
    transform: scale(1.03);
    box-shadow: 0 0 40px var(--p-glow);
}

.pricing-cta-outline {
    background: transparent;
    color: var(--text-2);
    border: 1px solid var(--glass-b);
}

.pricing-cta-outline:hover {
    border-color: var(--pl);
    color: var(--text);
}

/* ═══ CONTACT FORM ═══ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--glass);
    border: 1px solid var(--glass-b);
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.contact-item p {
    font-size: 0.85rem;
    color: var(--text-2);
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

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

.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-2);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-input,
.form-textarea {
    background: rgba(155, 93, 229, 0.04);
    border: 1px solid var(--glass-b);
    border-radius: 10px;
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--pl);
    box-shadow: 0 0 0 3px rgba(155, 93, 229, 0.1);
}

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

.form-submit {
    align-self: flex-start;
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, var(--pd), var(--pl));
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.25s, box-shadow 0.25s;
    box-shadow: 0 0 24px var(--p-glow);
}

.form-submit:hover {
    transform: scale(1.03);
    box-shadow: 0 0 40px var(--p-glow);
}

/* ═══ VALUES SECTION ═══ */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-item {
    text-align: center;
    padding: 1.5rem;
}

.value-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--pl);
    margin-bottom: 0.5rem;
}

.value-label {
    font-size: 0.9rem;
    color: var(--text-2);
}

/* ═══ FOOTER ═══ */
.page-footer {
    text-align: center;
    padding: 3rem 1.5rem;
    border-top: 1px solid rgba(155, 93, 229, 0.06);
    color: var(--text-3);
    font-size: 0.8rem;
    position: relative;
    z-index: 1;
}

.page-footer a {
    color: var(--text-2);
    text-decoration: none;
}

.page-footer a:hover {
    color: var(--pl);
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--text-3);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: var(--pl);
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-2);
}

.footer-logo {
    border-radius: 6px;
}

/* ═══ POLICY / LEGAL CONTENT ═══ */
.policy-content {
    max-width: 780px;
    margin: 0 auto;
}

.policy-updated {
    font-size: 0.85rem;
    color: var(--text-3);
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--glass-b);
}

.policy-block {
    margin-bottom: 2.5rem;
}

.policy-block h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.8rem;
    letter-spacing: -0.01em;
}

.policy-block h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--pl);
    margin-top: 1.5rem;
    margin-bottom: 0.6rem;
}

.policy-block p {
    font-size: 0.9rem;
    color: var(--text-2);
    line-height: 1.8;
    margin-bottom: 0.8rem;
}

.policy-block ul {
    list-style: none;
    padding: 0;
    margin: 0.8rem 0;
}

.policy-block li {
    font-size: 0.9rem;
    color: var(--text-2);
    line-height: 1.8;
    padding: 0.3rem 0 0.3rem 1.5rem;
    position: relative;
}

.policy-block li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.85rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--pl);
    opacity: 0.5;
}

.policy-block a {
    color: var(--pl);
    text-decoration: none;
    transition: opacity 0.2s;
}

.policy-block a:hover {
    opacity: 0.8;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 768px) {
    .page-hero { padding: 4rem 1rem 2.5rem; }
    .contact-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .feature-grid { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
    .page-hero h1 { font-size: 1.8rem; }
    .pricing-card { padding: 2rem 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
    .feature-card:hover,
    .pricing-card:hover { transform: none; }
}
