/* ===================================
   LudicCraft - Main Stylesheet
   =================================== */

/* CSS Variables */
:root {
    --primary-color: #6C63FF;
    --primary-dark: #5A52D5;
    --primary-light: #8B85FF;
    --secondary-color: #FF6B6B;
    --accent-color: #4ECDC4;
    --text-color: #2D3748;
    --text-light: #718096;
    --text-dark: #1A202C;
    --bg-color: #FFFFFF;
    --bg-light: #F7FAFC;
    --bg-dark: #1A202C;
    --border-color: #E2E8F0;
    --success-color: #48BB78;
    --error-color: #F56565;
    --warning-color: #ED8936;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s ease;
    --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

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

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===================================
   Header & Navigation
   =================================== */

.header {
    background-color: var(--bg-color);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-dark);
}

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

.logo-icon {
    font-size: 1.75rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    padding: 0.5rem 1rem;
    font-weight: 500;
    color: var(--text-color);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background-color: var(--bg-light);
}

/* Language switcher */
.nav-lang {
    display: flex;
    align-items: center;
    margin-left: 0.25rem;
}

.nav-lang-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.7rem;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-color);
    line-height: 1;
}

.nav-lang-link:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: var(--bg-light);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===================================
   Buttons
   =================================== */

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

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

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

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* ===================================
   Hero Section
   =================================== */

.hero {
    background: linear-gradient(135deg, var(--bg-light) 0%, #EBF4FF 100%);
    padding: 5rem 0;
}

.hero-content {
    max-width: 700px;
    text-align: center;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-title .highlight {
    color: var(--primary-color);
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Page Hero (for sub-pages) */
.page-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 4rem 0;
    text-align: center;
    color: white;
}

.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-hero p {
    font-size: 1.125rem;
    opacity: 0.9;
}

/* ===================================
   Features Section
   =================================== */

.features {
    padding: 5rem 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

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

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ===================================
   About Section
   =================================== */

.about {
    background-color: var(--bg-light);
    padding: 5rem 0;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-color);
}

.about-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-number {
    font-size: 2.5rem;
}

.stat-label {
    font-weight: 600;
    color: var(--text-light);
}

/* ===================================
   CTA Section
   =================================== */

.cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 4rem 0;
    text-align: center;
    color: white;
}

.cta h2 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.cta p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

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

.cta .btn-primary:hover {
    background: var(--bg-light);
}

/* ===================================
   Legal Pages
   =================================== */

.legal-page {
    padding: 3rem 0;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    text-align: center;
}

.last-updated {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.legal-section h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin: 1.5rem 0 0.75rem;
}

.legal-section p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-section ul,
.legal-section ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
    list-style: disc;
}

.legal-section ol li {
    list-style: decimal;
}

.contact-info {
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-top: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

/* ===================================
   Apps Section
   =================================== */

.apps-section {
    padding: 3rem 0;
}

.apps-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.app-card {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.app-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 2rem;
    text-align: center;
}

.app-icon span {
    font-size: 4rem;
}

.app-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.app-info h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.app-category {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.app-description {
    color: var(--text-color);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    flex: 1;
}

.app-details {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.app-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-xl);
}

.badge-free {
    background-color: #C6F6D5;
    color: #22543D;
}

.badge-ads {
    background-color: #FED7AA;
    color: #7B341E;
}

.badge-family {
    background-color: #E9D8FD;
    color: #553C9A;
}

.badge-iap {
    background-color: #BEE3F8;
    color: #2A4365;
}

.app-links {
    margin-top: auto;
}

.play-badge {
    height: 50px;
    width: auto;
}

/* App cards (catalogue + home + related) */
.app-card {
    color: inherit;
    text-decoration: none;
}

.app-card:hover {
    color: inherit;
    border-color: var(--accent, var(--primary-color));
}

.app-card-top {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    background: #f2f0ff;
    background: color-mix(in srgb, var(--accent, var(--primary-color)) 12%, #ffffff);
}

.app-icon-img {
    width: 96px;
    height: 96px;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.app-card:hover .app-icon-img {
    transform: scale(1.05);
}

.app-title-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.app-title-row h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin: 0;
}

.app-rating {
    flex-shrink: 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--warning-color);
    white-space: nowrap;
}

.app-category {
    color: var(--accent, var(--primary-color));
    font-weight: 500;
}

.app-card-cta {
    margin-top: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--accent, var(--primary-color));
    transition: var(--transition);
}

.app-card:hover .app-card-cta {
    letter-spacing: 0.02em;
}

/* ===================================
   App Detail Page (fiche)
   =================================== */

.detail-hero {
    background: var(--accent, var(--primary-color));
    background: linear-gradient(135deg, var(--accent, var(--primary-color)) 0%, color-mix(in srgb, var(--accent, var(--primary-color)) 45%, #0b1020) 100%);
    color: #ffffff;
    padding: 2rem 0 3rem;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.75);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
}

.breadcrumb a:hover {
    color: #ffffff;
}

.breadcrumb-current {
    color: #ffffff;
    font-weight: 500;
}

.detail-hero-inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.detail-icon {
    width: 128px;
    height: 128px;
    border-radius: 30px;
    box-shadow: var(--shadow-xl);
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.15);
}

.detail-hero-info {
    flex: 1;
    min-width: 260px;
}

.detail-hero-info h1 {
    font-size: 2.5rem;
    line-height: 1.15;
    margin-bottom: 0.5rem;
}

.detail-tagline {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 1rem;
    max-width: 640px;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.detail-chip,
.detail-rating,
.detail-downloads {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.detail-rating {
    color: #FFE58A;
}

.detail-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.detail-play {
    display: inline-block;
    transition: var(--transition);
}

.detail-play:hover {
    transform: translateY(-2px);
}

.detail-play .play-badge {
    height: 56px;
}

.detail-section {
    padding: 3.5rem 0;
}

.detail-body {
    max-width: 860px;
}

.detail-lead {
    margin-bottom: 3rem;
}

.detail-lead h2 {
    font-size: 1.6rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.detail-lead p {
    font-size: 1.05rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.detail-features-title {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent, var(--primary-color));
    display: inline-block;
}

.detail-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.detail-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: var(--bg-light);
    padding: 1.25rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.detail-feature:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.detail-feature-icon {
    font-size: 1.75rem;
    line-height: 1;
    flex-shrink: 0;
}

.detail-feature h3 {
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.detail-feature p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.6;
}

.detail-download {
    text-align: center;
    background: var(--bg-light);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
}

.detail-download h2 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.detail-download p {
    color: var(--text-light);
    margin-bottom: 1.25rem;
}

.related-section {
    padding: 3.5rem 0;
    background: var(--bg-light);
}

.apps-note {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin-top: 3rem;
}

.apps-note h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.apps-note ul {
    margin-left: 1.5rem;
}

.apps-note li {
    list-style: disc;
    margin-bottom: 0.5rem;
}

/* ===================================
   Support Section
   =================================== */

.support-section {
    padding: 3rem 0;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

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

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

.support-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.support-card h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.support-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

/* FAQ Section */
.faq-section {
    background-color: var(--bg-light);
    padding: 4rem 0;
}

.faq-category {
    margin-bottom: 2.5rem;
}

.faq-category h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.faq-item {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 0.75rem;
    overflow: hidden;
}

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

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

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    display: none;
    padding: 0 1.5rem 1.5rem;
    color: var(--text-color);
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer p {
    margin-bottom: 0.75rem;
}

.faq-answer ul,
.faq-answer ol {
    margin-left: 1.5rem;
    margin-bottom: 0.75rem;
}

.faq-answer li {
    list-style: disc;
    margin-bottom: 0.25rem;
}

.faq-answer ol li {
    list-style: decimal;
}

/* Contact Support */
.contact-support {
    padding: 4rem 0;
}

/* ===================================
   Contact Section
   =================================== */

.contact-section {
    padding: 3rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contact-info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-card {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
}

.contact-card .contact-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.contact-card h3 {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.contact-card p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.contact-card a {
    font-size: 0.9rem;
    word-break: break-all;
}

.contact-form-section h2 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.company-info {
    background-color: var(--bg-light);
    padding: 4rem 0;
}

.info-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.info-block {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: var(--radius-lg);
}

.info-block h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.info-block p {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

/* ===================================
   Forms
   =================================== */

.contact-form {
    max-width: 700px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

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

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.1);
}

.form-group small {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: 400;
    font-size: 0.95rem;
}

.form-message {
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-top: 1.5rem;
}

.form-message.success {
    background-color: #C6F6D5;
    border: 1px solid var(--success-color);
}

.form-message h3 {
    margin-bottom: 0.5rem;
    color: #22543D;
}

.form-message p {
    color: #276749;
}

/* Form Section in Legal Pages */
.form-section {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin-top: 2rem;
}

.form-section h2 {
    border-bottom: none;
    margin-bottom: 1.5rem;
}

/* ===================================
   Footer
   =================================== */

.footer {
    background-color: var(--bg-dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: #A0AEC0;
    font-size: 0.95rem;
    line-height: 1.6;
}

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

.footer-section a {
    color: #A0AEC0;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #2D3748;
}

.footer-bottom p {
    color: #718096;
    font-size: 0.9rem;
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        flex-direction: column;
        background-color: var(--bg-color);
        padding: 2rem;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        width: 100%;
        padding: 1rem;
        text-align: center;
    }

    .nav-lang {
        justify-content: center;
        margin: 0.5rem 0 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

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

    .about-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

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

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

    .detail-hero-inner {
        flex-direction: column;
        text-align: center;
    }

    .detail-meta,
    .detail-badges,
    .breadcrumb {
        justify-content: center;
    }

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

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

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

    .legal-content h1 {
        font-size: 1.75rem;
    }

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

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }

    .btn-large {
        width: 100%;
    }
}

/* ===================================
   Utility Classes
   =================================== */

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

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}