/* Landing Page - Style 2026 */

/* --- COMMON --- */
.landing-page-root,
.pricing-page-root,
.checkout-page-root {
    width: 100%;
    min-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top right, rgba(168, 85, 247, 0.15), transparent),
        radial-gradient(circle at bottom left, rgba(59, 130, 246, 0.1), transparent);
    padding: 2rem;
    color: #fff;
    text-align: center;
    font-family: 'Inter', sans-serif;
}

/* --- LANDING --- */
.landing-hero {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(90deg, #a855f7, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.fake-chat-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    perspective: 1000px;
}

.fake-chat-window {
    width: 100%;
    height: 450px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    background: rgba(30, 30, 30, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
}

.fake-chat-header {
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.status-indicator {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 10px #22c55e;
}

.fake-chat-body {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
    overflow-y: auto;
}

.fake-message {
    max-width: 80%;
    padding: 1rem;
    border-radius: 12px;
    font-size: 1rem;
    line-height: 1.5;
    background: rgba(255, 255, 255, 0.05);
}

.fake-chat-footer {
    padding: 1.5rem;
}

.fake-input-wrapper {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    gap: 0.5rem;
}

#fake-chat-input {
    background: transparent;
    border: none;
    color: #fff;
    flex: 1;
    font-size: 1rem;
    outline: none;
    padding: 0.5rem 0;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
    transform: scale(0.95);
    z-index: 100;
}

.cta-overlay.active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.cta-content {
    padding: 3rem;
    border-radius: 24px;
    background: rgba(30, 30, 30, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(168, 85, 247, 0.3);
    box-shadow: 0 0 80px rgba(168, 85, 247, 0.2);
    text-align: center;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn-glow {
    background: linear-gradient(90deg, #a855f7, #7c3aed);
    color: white !important;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary-ghost {
    background: rgba(255, 255, 255, 0.1);
    color: white !important;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* --- PRICING --- */
.pricing-page-root {
    padding: 3rem 2rem;
}

.pricing-section {
    max-width: 1100px;
    width: 100%;
    text-align: center;
}

.pricing-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.pricing-header p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 4rem;
    font-size: 1.1rem;
}

.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.pricing-card {
    background: rgba(30, 30, 30, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 3.5rem 2.5rem;
    width: 100%;
    max-width: 420px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.pricing-card.featured {
    border-color: #a855f7;
    box-shadow: 0 0 50px rgba(168, 85, 247, 0.2);
}

.card-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #a855f7, #3b82f6);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.card-price {
    font-size: 4.5rem;
    font-weight: 800;
    margin: 1.5rem 0;
    line-height: 1;
}

.card-price .currency {
    font-size: 1.8rem;
    vertical-align: super;
    margin-right: 4px;
}

.card-price .decimals {
    font-size: 1.8rem;
    vertical-align: super;
}

.card-price .period {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
    margin-left: 4px;
}

.price-billing {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2.5rem;
    font-size: 0.95rem;
}

.card-features {
    list-style: none;
    text-align: left;
    margin-bottom: 3rem;
    padding: 0;
}

.card-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
}

.card-features li::before {
    content: "✓";
    color: #22c55e;
    font-weight: 900;
}

.pricing-footer-note {
    margin-top: 4rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
}

/* --- CHECKOUT --- */
.checkout-container {
    background: rgba(30, 30, 30, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 3rem;
    width: 100%;
    max-width: 650px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

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

.checkout-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.checkout-header p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
}

.order-summary {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.75rem;
    margin-bottom: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.summary-total {
    display: flex;
    justify-content: space-between;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 800;
    font-size: 1.4rem;
    color: #fff;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

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

.form-control {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 0.85rem 1.1rem;
    color: #fff;
    outline: none;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.form-control:focus {
    border-color: #a855f7;
    box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.2);
}

.form-row {
    display: flex;
    gap: 1.25rem;
}

.form-row>* {
    flex: 1;
}

.btn-pay {
    background: linear-gradient(90deg, #a855f7, #7c3aed);
    color: white !important;
    padding: 1.25rem;
    border-radius: 14px;
    font-weight: 700;
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    margin-top: 1rem;
    box-shadow: 0 10px 20px rgba(168, 85, 247, 0.3);
    transition: all 0.3s ease;
}

.btn-pay:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(168, 85, 247, 0.5);
}

.btn-pay:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.secure-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .landing-page-root,
    .pricing-page-root,
    .checkout-page-root {
        padding: 1rem;
    }

    .pricing-page-root {
        padding: 2rem 1rem;
    }
}

/* --- PUBLIC FOOTER --- */
.public-footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: var(--spacing-xl) 0;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xl);
}

.footer-brand h3 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-main);
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-nav h3 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-main);
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    font-size: 0.9rem;
}

.footer-nav li {
    margin-bottom: var(--spacing-xs);
}

.footer-nav a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

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

.footer-bottom {
    max-width: 1200px;
    margin: var(--spacing-xl) auto 0;
    padding: var(--spacing-md) var(--spacing-lg) 0;
    border-top: 1px solid var(--border-color_light);
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- COOKIE CONSENT --- */
#cookie-consent {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 500px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: var(--spacing-lg);
    z-index: 9999;
    animation: slideUp 0.5s ease-out;
}

#cookie-consent h3 {
    margin-top: 0;
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
}

#cookie-consent p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: var(--spacing-md);
}

#cookie-consent .actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: flex-end;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* --- CMS CONTAINER --- */
.cms-container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: var(--spacing-lg);
    padding-left: var(--spacing-lg);
    padding-top: var(--spacing-xxl);
    padding-bottom: var(--spacing-xxl);
}

@media (min-width: 576px) {
    .cms-container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .cms-container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .cms-container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .cms-container {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .cms-container {
        max-width: 1280px;
    }
}

.cms-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: var(--spacing-xxl);
    text-align: center;
    background: linear-gradient(135deg, white, var(--primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    margin-top:20px;
}

/* --- CONTENTS PAGE --- */
.contents-container {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    color: var(--text-primary);
    min-height: calc(100vh - var(--header-height));
    overflow-y: auto;
}

.contents-header {
    margin-bottom: 2.5rem;
    text-align: left;
    border-left: 4px solid var(--brown-500);
    padding-left: 1rem;
}

.contents-header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, var(--text-primary), var(--brown-400));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contents-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.contents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
    border-color: var(--brown-500);
}

.image-wrapper {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: #000;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.content-card:hover .image-wrapper img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.content-card:hover .image-overlay {
    opacity: 1;
}

.overlay-actions {
    display: flex;
    gap: 1rem;
}

.action-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.action-btn:hover {
    background: white;
    color: black;
    transform: scale(1.1);
}

.delete-btn:hover {
    background: #ef4444;
    border-color: #ef4444;
    color: white;
}

.card-footer {
    padding: 0.75rem 1rem;
}

.card-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-date {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.card-link {
    font-size: 0.85rem;
    color: var(--brown-400);
    text-decoration: none;
    font-weight: 500;
}

.card-link:hover {
    text-decoration: underline;
    color: var(--brown-300);
}

.empty-state {
    text-align: center;
    padding: 5rem 2rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 2px dashed var(--border-color);
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}


.cms-image-wrapper {
    margin-bottom: var(--spacing-xxl);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.cms-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.cms-content {
    line-height: 1.8;
    color: var(--text-primary);
    font-size: 1.125rem;
}

.cms-content p {
    margin-bottom: 1.5rem;
}

.cms-content h2 {
    font-size: 1.8rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: white;
}

.cms-content h3 {
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-light);
}

.cms-content ul,
.cms-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.cms-content li {
    margin-bottom: 0.5rem;
}

.cms-content strong {
    color: white;
}