/* ================================================
   MP SOFT SOLUTIONS - Pages CSS
   Product pages, About, Legal pages styles
   ================================================ */

/* === Product Pages === */
.product-page {
    padding-top: 80px;
}

/* Product Hero */
.product-hero {
    padding: 80px 0 100px;
    background: var(--gray-50);
    position: relative;
    overflow: hidden;
}

.product-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(103, 51, 181, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.product-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.product-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #10B981, #059669);
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
}

.product-badge.spellion {
    background: var(--gradient-primary);
}

.product-badge.budgira {
    background: linear-gradient(135deg, #F59E0B, #D97706);
}

.product-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.1;
    margin-bottom: 20px;
}

.product-subtitle {
    font-size: 1.15rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 500px;
}

.product-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.btn-outline-dark {
    border: 2px solid var(--gray-300);
    color: var(--gray-700);
    background: transparent;
}

.btn-outline-dark:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(103, 51, 181, 0.05);
}


/* Product Mockup */
.product-mockup {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--gray-100);
}

/* Product Screenshot */
.product-screenshot {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.product-screenshot img {
    width: 100%;
    height: auto;
    display: block;
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-600);
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mockup-dots span:nth-child(1) { background: #EF4444; }
.mockup-dots span:nth-child(2) { background: #F59E0B; }
.mockup-dots span:nth-child(3) { background: #10B981; }

.mockup-content {
    padding: 24px;
    min-height: 280px;
}

/* SmartPlan Mockup */
.mockup-content {
    display: flex;
    gap: 20px;
}

.mockup-sidebar {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
}

.sidebar-item {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    color: var(--gray-400);
    transition: var(--transition-base);
}

.sidebar-item.active {
    background: var(--gradient-primary);
    color: var(--white);
}

.mockup-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mockup-task {
    height: 50px;
    background: linear-gradient(90deg, var(--gray-100) 0%, var(--gray-50) 100%);
    border-radius: var(--radius-sm);
    position: relative;
    overflow: hidden;
}

.mockup-task::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary);
}

.mockup-task.short {
    width: 70%;
}

.mockup-task:nth-child(2)::before { background: #10B981; }
.mockup-task:nth-child(4)::before { background: #F59E0B; }

/* Spellion Mockup */
.editor-content {
    flex-direction: column;
    gap: 16px;
}

.editor-line {
    padding: 12px 16px;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    line-height: 1.6;
}

.text-normal { color: var(--gray-700); }
.text-error { 
    color: #EF4444; 
    text-decoration: line-through;
    opacity: 0.7;
}
.text-correction {
    color: #10B981;
    font-weight: 500;
}
.text-suggestion {
    background: rgba(245, 158, 11, 0.2);
    padding: 2px 4px;
    border-radius: 2px;
}

.editor-toolbar {
    display: flex;
    gap: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-100);
}

.toolbar-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--gray-500);
}

.toolbar-stat i { color: var(--primary); }

/* Budgira Mockup */
.budget-content {
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.budget-chart {
    padding: 20px;
}

.chart-donut {
    position: relative;
    width: 150px;
    height: 150px;
}

.chart-donut svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.chart-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
}

.budget-stats {
    display: flex;
    gap: 30px;
    width: 100%;
    justify-content: center;
}

.budget-stat {
    text-align: center;
}

.budget-stat span {
    display: block;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
}

.budget-stat.income span { color: #10B981; }
.budget-stat.expense span { color: #EF4444; }

.budget-stat small {
    font-size: 0.85rem;
    color: var(--gray-500);
}


/* Product Features Section */
.product-features-section {
    padding: 100px 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    padding: 36px 28px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
    border: 1px solid transparent;
}

.feature-card:hover {
    background: var(--white);
    border-color: var(--gray-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.feature-card-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #10B981, #059669);
    border-radius: var(--radius-md);
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 20px;
    transition: var(--transition-base);
}

.feature-card-icon.spellion {
    background: var(--gradient-primary);
}

.feature-card-icon.budgira {
    background: linear-gradient(135deg, #F59E0B, #D97706);
}

.feature-card:hover .feature-card-icon {
    transform: scale(1.1) rotate(-5deg);
}

.feature-card h3 {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.feature-card p {
    color: var(--gray-500);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Download Section */
.download-section {
    padding: 100px 0;
    background: var(--gradient-hero);
}

.download-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    backdrop-filter: blur(10px);
}

.download-content h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.download-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
}

.download-buttons {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

.download-section .btn-outline {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.download-section .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* === About Page === */
.page-hero {
    padding: 80px 0 60px;
    background: var(--gray-50);
    text-align: center;
}

.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.page-hero p {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

.page-content {
    padding: 80px 0;
}

.content-section {
    margin-bottom: 60px;
}

.content-section:last-child {
    margin-bottom: 0;
}

.content-section h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.content-section p {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 16px;
}

.content-section ul {
    list-style: none;
    padding: 0;
}

.content-section ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: var(--gray-600);
    line-height: 1.6;
}

.content-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

/* Legal Pages */
.legal-page .content-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin: 24px 0 12px;
}

.legal-page .content-section p {
    font-size: 0.95rem;
}

/* === Responsive === */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .download-card {
        flex-direction: column;
        text-align: center;
        padding: 48px 32px;
    }

    .download-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .product-hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-hero-visual {
        order: -1;
    }

    .product-hero-text {
        text-align: center;
    }

    .product-subtitle {
        max-width: none;
    }

    .product-hero-buttons {
        justify-content: center;
    }

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

    .download-buttons {
        flex-direction: column;
        width: 100%;
    }

    .download-buttons .btn {
        width: 100%;
    }
}


/* === About Page Specific === */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 60px;
    align-items: start;
}

.about-main {
    max-width: 700px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 24px;
}

.value-item {
    padding: 24px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

.value-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.value-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.value-item h3 {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.value-item p {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin: 0;
}

/* Sidebar */
.about-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
}

.sidebar-card h3 {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 16px;
    font-size: 1rem;
}

.sidebar-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 16px;
}

.product-list {
    list-style: none;
    padding: 0;
}

.product-list li {
    margin-bottom: 12px;
}

.product-list li:last-child {
    margin-bottom: 0;
}

.product-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    color: var(--gray-700);
    font-weight: 500;
    transition: var(--transition-base);
}

.product-list a:hover {
    background: var(--gray-100);
    color: var(--primary);
}

.product-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.product-dot.smartplan { background: #10B981; }
.product-dot.spellion { background: var(--primary); }
.product-dot.budgira { background: #F59E0B; }

.social-card .social-links {
    justify-content: flex-start;
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-sidebar {
        position: static;
    }

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


/* === Legal Pages Specific === */
.legal-container {
    max-width: 800px;
}

.legal-page .content-section {
    padding: 32px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
    margin-bottom: 24px;
}

.legal-page .content-section h2 {
    display: block;
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 16px;
}

.legal-page .content-section h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin: 20px 0 10px;
}

.legal-page .content-section p {
    font-size: 0.95rem;
    line-height: 1.7;
}

.legal-page .content-section a {
    color: var(--primary);
    border-bottom: 1px solid transparent;
}

.legal-page .content-section a:hover {
    border-bottom-color: var(--primary);
}

.legal-page .content-section ul {
    margin: 16px 0;
}

.legal-page .content-section ul li {
    font-size: 0.95rem;
    padding-left: 24px;
    margin-bottom: 10px;
}

.legal-page .content-section ul li::before {
    width: 6px;
    height: 6px;
    top: 8px;
}

.legal-page .content-section strong {
    color: var(--gray-800);
}

@media (max-width: 768px) {
    .legal-page .content-section {
        padding: 24px 20px;
    }
}
