/* ========================================
   3D Model Maker - Static Pages Stylesheet
   Shared styles for all informational pages
   ======================================== */

:root {
    /* Brand Colors */
    --color-coral: #ff6e61;
    --color-purple: #6b5b95;
    --color-green: #87af4b;
    --color-pink: #f7cbca;
    --color-blue: #93a9d2;

    /* Primary Theme */
    --primary-color: #6b5b95;
    --primary-hover: #5a4a84;
    --primary-light: rgba(107, 91, 149, 0.1);

    /* Text Colors */
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a6a;
    --text-muted: #6b7280;
    --text-light: #9ca3af;

    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #f1f3f5;
    --bg-dark: #1a1a2e;
    --bg-dark-secondary: #2d2d44;

    /* Border & Effects */
    --border-color: #e5e7eb;
    --border-color-dark: #374151;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --border-radius-lg: 16px;
    --transition: all 0.2s ease;
    --max-width: 1200px;

    /* Legacy aliases */
    --brand-coral: #ff6e61;
    --brand-purple: #6b5b95;
    --brand-green: #87af4b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* ========================================
   Header & Navigation
   ======================================== */
.site-header {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-primary);
    text-decoration: none;
}

.logo:hover {
    text-decoration: none;
    color: var(--primary-color);
}

.logo svg {
    color: var(--primary-color);
}

.logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    text-decoration: none;
}

.nav-links a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-hover);
    color: white;
    text-decoration: none;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-secondary);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

/* ========================================
   Page Hero Section
   ======================================== */
.page-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 2rem;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

.page-hero .breadcrumb {
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.page-hero .breadcrumb a {
    color: var(--text-muted);
}

.page-hero .breadcrumb span {
    color: var(--text-muted);
    margin: 0 0.5rem;
}

/* ========================================
   Main Content Area
   ======================================== */
.page-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.page-content.wide {
    max-width: var(--max-width);
}

.page-content h2 {
    font-size: 1.75rem;
    margin: 2.5rem 0 1rem;
    color: var(--text-primary);
}

.page-content h2:first-child {
    margin-top: 0;
}

.page-content h3 {
    font-size: 1.25rem;
    margin: 2rem 0 0.75rem;
    color: var(--text-primary);
}

.page-content p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.page-content ul, .page-content ol {
    margin: 1rem 0 1.5rem 1.5rem;
    color: var(--text-secondary);
}

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

.page-content strong {
    color: var(--text-primary);
}

.last-updated {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

/* ========================================
   FAQ Styles
   ======================================== */
.faq-section {
    margin-bottom: 3rem;
}

.faq-section h2 {
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.faq-item {
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-tertiary);
}

.faq-question svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-secondary);
}

/* ========================================
   Pricing Cards
   ======================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.pricing-card {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.pricing-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.pricing-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
}

.pricing-price {
    margin: 1rem 0;
}

.pricing-price .amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
}

.pricing-price .period {
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
    text-align: left;
}

.pricing-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
}

.pricing-features li svg {
    flex-shrink: 0;
    color: var(--brand-green);
}

.pricing-features li.disabled {
    opacity: 0.5;
}

.pricing-features li.disabled svg {
    color: var(--text-muted);
}

/* ========================================
   Contact Form
   ======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-form {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

.contact-info {
    padding: 1rem 0;
}

.contact-info h3 {
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
}

.contact-item svg {
    flex-shrink: 0;
    color: var(--primary-color);
}

.contact-item h4 {
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.contact-item p {
    margin: 0;
    font-size: 0.875rem;
}

/* ========================================
   Sitemap
   ======================================== */
.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.sitemap-section {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

.sitemap-section h3 {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
    font-size: 1.1rem;
}

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

.sitemap-section li {
    margin-bottom: 0.5rem;
}

.sitemap-section a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.sitemap-section a:hover {
    background: var(--bg-tertiary);
    text-decoration: none;
}

/* ========================================
   Use Cases Grid
   ======================================== */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.use-case-card {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.use-case-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.use-case-card h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.use-case-card p {
    margin: 0;
    font-size: 0.9rem;
}

/* ========================================
   Feature Highlights
   ======================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius-lg);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #8b7bb5 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
}

/* ========================================
   Info Boxes
   ======================================== */
.info-box {
    background: var(--bg-secondary);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.info-box.warning {
    border-left-color: var(--brand-coral);
    background: #fff5f5;
}

.info-box.success {
    border-left-color: var(--brand-green);
    background: #f0fdf4;
}

.info-box h4 {
    margin-bottom: 0.5rem;
}

.info-box p:last-child {
    margin-bottom: 0;
}

/* ========================================
   Tables
   ======================================== */
.table-responsive {
    overflow-x: auto;
    margin: 1.5rem 0;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.data-table th,
.data-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.data-table th {
    background: var(--bg-secondary);
    font-weight: 600;
    color: var(--text-primary);
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table tr:hover td {
    background: var(--bg-secondary);
}

/* ========================================
   Footer - Professional Design
   ======================================== */
.site-footer {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #12121f 100%);
    color: white;
    margin-top: 4rem;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

/* Footer Top - Brand & Newsletter */
.footer-top {
    padding: 3rem 2rem;
    border-bottom: 1px solid var(--border-color-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-brand a {
    display: block;
    transition: opacity 0.2s ease;
    background: transparent;
}

.footer-brand a:hover {
    opacity: 0.9;
}

.footer-brand img {
    height: 100px;
    width: auto;
    object-fit: contain;
    background: transparent;
}

.footer-brand svg {
    color: var(--color-coral);
}

.footer-brand span {
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-tagline {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    max-width: 300px;
}

.footer-contact-info {
    text-align: right;
}

.footer-contact-info p {
    margin: 0.25rem 0;
    color: var(--text-light);
    font-size: 0.875rem;
}

.footer-contact-info a {
    color: var(--color-pink);
}

.footer-contact-info a:hover {
    color: white;
    text-decoration: none;
}

/* Footer Main Grid */
.footer-main {
    padding: 3rem 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 0;
}

.footer-section.about {
    padding-right: 2rem;
}

.footer-section.about p {
    color: var(--text-light);
    font-size: 0.875rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-section h4 {
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--color-coral);
}

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

.footer-section li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: var(--text-light);
    font-size: 0.875rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section a:hover {
    color: white;
    text-decoration: none;
    padding-left: 5px;
}

/* Footer Social */
.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-dark-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--color-purple);
    color: white;
    transform: translateY(-3px);
}

/* Footer Address */
.footer-address {
    color: var(--text-light);
    font-size: 0.875rem;
    line-height: 1.7;
    font-style: normal;
}

.footer-address strong {
    color: white;
    display: block;
    margin-bottom: 0.5rem;
}

/* Footer Bottom */
.footer-bottom {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border-color-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.8rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.footer-bottom-links a {
    color: var(--text-light);
    font-size: 0.8rem;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--color-coral);
    text-decoration: none;
}

/* Legacy footer-links class support */
.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-light);
    font-size: 0.875rem;
}

.footer-links a:hover {
    color: white;
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #8b7bb5 100%);
    padding: 4rem 2rem;
    text-align: center;
    color: white;
    margin-top: 3rem;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn-primary {
    background: white;
    color: var(--primary-color);
}

.cta-section .btn-primary:hover {
    background: #f3f4f6;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 768px) {
    .header-container {
        padding: 1rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        gap: 0;
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-md);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        padding: 1rem;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .page-hero {
        padding: 3rem 1.5rem;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .page-hero p {
        font-size: 1rem;
    }

    .page-content {
        padding: 2rem 1.5rem;
    }

    .page-content h2 {
        font-size: 1.5rem;
    }

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

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

    .footer-top {
        flex-direction: column;
        text-align: center;
    }

    .footer-contact-info {
        text-align: center;
    }

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

    .footer-section.about {
        grid-column: 1 / -1;
        padding-right: 0;
        text-align: center;
    }

    .footer-section.about p {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links,
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .page-hero h1 {
        font-size: 1.75rem;
    }

    .btn {
        width: 100%;
    }

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

    .use-cases-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-address {
        text-align: center;
    }

    .footer-bottom-links {
        gap: 1rem;
    }
}

/* ========================================
   Animation
   ======================================== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* ========================================
   Print Styles
   ======================================== */
@media print {
    .site-header,
    .site-footer,
    .cta-section {
        display: none;
    }

    .page-content {
        max-width: 100%;
        padding: 0;
    }

    a {
        color: inherit;
        text-decoration: underline;
    }
}
