/**
 * Status com Deus - Landing Page Styles
 * Desenvolvido por B20 Conteúdo Digital
 * https://www.b20.com.br
 */

/* ===================================
   CSS VARIABLES - Pearl & Ivory Palette
   =================================== */
:root {
    /* Premium Pearl & Ivory Palette */
    --primary-color: #FDFFF5;
    /* Ivory base */
    --secondary-color: #FFFFFF;
    /* Pure white */
    --accent-color: #F3E5AB;
    /* Vanilla/Soft Gold accent */
    --accent-dark: #D4AF37;
    /* Metallic Gold for highlights */
    --surface-color: #FDFBF7;
    /* Creamy surface */
    --bg-color: #FDFFF5;
    /* Page background */

    /* Text colors */
    --text-color: #2D3436;
    /* Soft charcoal */
    --text-secondary: #636E72;
    /* Muted slate */
    --text-muted: #B2BEC3;
    /* Light grey */
    --text-on-accent: #5D4037;
    /* Contrast text for gold items */

    /* Semantic colors */
    --success-color: #27AE60;
    --warning-color: #F39C12;
    --error-color: #E74C3C;
    --info-color: #3498DB;

    /* Glassmorphism & Effects */
    --glass-bg: rgba(253, 255, 245, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-blur: 12px;

    /* Layout */
    --border-radius-sm: 12px;
    --border-radius: 20px;
    --border-radius-lg: 32px;
    --spacing-unit: 8px;
    --max-width: 1280px;

    /* Transition System */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    /* Premium Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);

    /* Typography */
    --font-primary: 'Inter', -apple-system, system-ui, sans-serif;
    --font-display: 'Playfair Display', serif;

    /* Z-index layers */
    --z-header: 1000;
    --z-dropdown: 1100;
    --z-modal: 2000;
    --z-toast: 3000;
}

/* Dark Mode - Manual Override & System Preference Handling in JS */
[data-theme="dark"] {
    --bg-color: #0F0F0F;
    --surface-color: #1A1A1A;
    --secondary-color: #1E1E1E;
    --text-color: #F8F9FA;
    --text-secondary: #B2BEC3;
    --text-muted: #636E72;
    --accent-color: #2D2D2D;
    --accent-dark: #F3E5AB;
    --glass-bg: rgba(15, 15, 15, 0.8);
    --glass-border: rgba(255, 255, 255, 0.1);

    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.7);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
}

/* Base Transition for Theme Switching */
body {
    transition: background-color 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

body * {
    transition: background-color 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        color 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===================================
   RESET & BASE STYLES
   =================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: clamp(14px, 2.5vw, 16px);
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    padding-top: 60px;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* ===================================
   TYPOGRAPHY
   =================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-color);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

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

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

a:hover {
    opacity: 0.8;
}

/* ===================================
   HEADER - FIXED
   =================================== */
.app-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 72px;
    background: var(--glass-bg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 clamp(20px, 5vw, 64px);
    box-shadow: var(--shadow-sm);
    z-index: var(--z-header);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-base);
}

.header-logo {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
    letter-spacing: -0.02em;
}

.logo-icon {
    font-size: 1.75rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* Desktop Navigation */
.desktop-nav {
    display: none;
    gap: 0.5rem;
}

.nav-link {
    padding: 0.6rem 1.25rem;
    border-radius: var(--border-radius-sm);
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    position: relative;
}

.nav-link:hover {
    color: var(--text-color);
    background: var(--accent-color);
}

.nav-link.active {
    color: var(--text-color);
    background: var(--accent-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    background: var(--accent-dark);
    border-radius: 50%;
}

.header-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: var(--secondary-color);
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.btn-icon:hover {
    transform: scale(1.05) translateY(-2px);
    background: var(--accent-color);
    box-shadow: var(--shadow-md);
}

.btn-icon:active {
    transform: scale(0.95);
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.875rem 2rem;
    border-radius: var(--border-radius-sm);
    border: none;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
    text-decoration: none;
    min-height: 52px;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--text-color);
    color: var(--secondary-color);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: #1a1a1a;
}

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

.btn-secondary:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    min-height: 36px;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    min-height: 56px;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.btn:active:not(:disabled) {
    transform: translateY(0);
}

/* ===================================
   CONTAINER & LAYOUT
   =================================== */
.container {
    width: 100%;
    max-width: 100%;
    padding: 0 clamp(16px, 4vw, 24px);
    margin: 0 auto;
}

.section {
    padding: clamp(3rem, 8vw, 6rem) 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section.active,
.section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero-section {
    min-height: calc(100vh - 60px);
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--surface-color) 0%, var(--accent-color) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(253, 255, 245, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(245, 245, 220, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.25rem;
    background: var(--secondary-color);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-dark);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--accent-color);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.75rem, 7vw, 4.5rem);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 1.75rem;
    color: var(--text-color);
    letter-spacing: -0.01em;
}

.highlight {
    background: linear-gradient(120deg, var(--accent-color) 0%, var(--accent-color) 100%);
    background-repeat: no-repeat;
    background-size: 100% 0.3em;
    background-position: 0 88%;
    transition: background-size 0.4s ease-in-out;
}

.highlight:hover {
    background-size: 100% 0.8em;
}

.hero-description {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-color);
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-sm);
}

.stat-item i {
    font-size: 2rem;
    color: var(--text-color);
}

.stat-content {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.stat-content strong {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
}

.stat-content span {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ===================================
   SECTION HEADERS
   =================================== */
.section-header {
    text-align: center;
    margin-bottom: clamp(2rem, 5vw, 4rem);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.25rem;
    background: var(--accent-color);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-color);
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 6vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--text-color);
    letter-spacing: -0.01em;
}

.section-description {
    font-size: clamp(1.1rem, 2.5vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about-section {
    background: var(--bg-color);
}

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

.about-card {
    padding: 3rem 2rem;
    background: var(--secondary-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    border: 1px solid rgba(0, 0, 0, 0.02);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-color);
}

.card-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--surface-color) 0%, var(--accent-color) 100%);
    border-radius: 50% 50% 50% 10%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.about-card:hover .card-icon {
    transform: rotate(-10deg) scale(1.1);
    background: var(--accent-color);
}

.card-icon i {
    font-size: 2rem;
    color: var(--text-color);
}

.about-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.about-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===================================
   MISSION SECTION
   =================================== */
.mission-section {
    background: var(--surface-color);
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.mission-text {
    max-width: 600px;
}

.mission-list {
    list-style: none;
    margin-top: 1.5rem;
}

.mission-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--bg-color);
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
}

.mission-list li:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-sm);
}

.mission-list i {
    color: var(--success-color);
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.mission-list span {
    color: var(--text-secondary);
    font-weight: 500;
}

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

.visual-card {
    padding: 2rem 1.5rem;
    background: var(--bg-color);
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.visual-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.visual-card i {
    font-size: 3rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.visual-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.visual-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

/* ===================================
   APPS SECTION
   =================================== */
.apps-section {
    background: var(--bg-color);
}

.apps-category {
    margin-bottom: 4rem;
}

.apps-category:last-child {
    margin-bottom: 0;
}

.category-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.category-title i {
    font-size: 1.75rem;
}

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

.app-card {
    display: flex;
    flex-direction: column;
    padding: 2.5rem;
    background: var(--secondary-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.app-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.app-card:hover::before {
    transform: scaleX(1);
}

.app-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--surface-color) 0%, var(--accent-color) 100%);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.app-card:hover .app-icon {
    transform: rotate(5deg) scale(1.1);
    box-shadow: var(--shadow-md);
}

.app-icon i {
    font-size: 2.75rem;
    color: var(--text-color);
}

.app-content {
    flex: 1;
}

.app-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.app-description {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.app-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag {
    padding: 0.25rem 0.75rem;
    background: var(--accent-color);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-color);
}

.app-actions {
    display: flex;
    gap: 0.75rem;
}

/* ===================================
   VISION SECTION
   =================================== */
.vision-section {
    background: var(--surface-color);
}

.vision-timeline {
    max-width: 850px;
    margin: 0 auto;
    position: relative;
    padding: 2rem 0;
}

.vision-timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, transparent, var(--accent-color), transparent);
}

.timeline-item {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 4rem;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    width: 80px;
    height: 80px;
    background: var(--secondary-color);
    border: 6px solid var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 1;
    transition: var(--transition-base);
    box-shadow: var(--shadow-md);
}

.timeline-marker i {
    font-size: 1.75rem;
    color: var(--text-color);
}

.timeline-content {
    flex: 1;
    padding: 2.5rem;
    background: var(--secondary-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.timeline-item:hover .timeline-marker {
    transform: scale(1.1);
    border-color: var(--accent-dark);
    box-shadow: var(--shadow-lg);
}

.timeline-item:hover .timeline-content {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.timeline-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

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

.timeline-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-current {
    background: var(--success-color);
    color: white;
}

.status-planned {
    background: var(--info-color);
    color: white;
}

.status-future {
    background: var(--text-muted);
    color: white;
}

/* ===================================
   FAQ SECTION
   =================================== */
.faq-section {
    background: var(--bg-color);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1.25rem;
    background: var(--secondary-color);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition-base);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: var(--accent-color);
}

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

.faq-question:hover {
    background: var(--surface-color);
    color: var(--accent-dark);
}

.faq-icon {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

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

.faq-answer:not([hidden]) {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* ===================================
   CTA SECTION
   =================================== */
.cta-section {
    background: linear-gradient(135deg, var(--surface-color) 0%, var(--accent-color) 100%);
    padding: clamp(4rem, 10vw, 6rem) 0;
}

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

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.cta-description {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

/* ===================================
   FOOTER
   =================================== */
.app-footer {
    background: var(--surface-color);
    padding: clamp(3rem, 6vw, 4rem) 0 2rem;
    border-top: 1px solid var(--accent-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.875rem;
}

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

.footer-column h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.footer-column ul {
    list-style: none;
}

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

.footer-column a {
    color: var(--text-secondary);
    font-size: 0.875rem;
    transition: var(--transition-fast);
}

.footer-column a:hover {
    color: var(--text-color);
    padding-left: 4px;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--accent-color);
    text-align: center;
}

.footer-copyright,
.footer-credits,
.footer-website {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.b20-link {
    color: var(--text-color);
    font-weight: 600;
    transition: var(--transition-fast);
}

.b20-link:hover {
    text-decoration: underline;
    transform: scale(1.05);
}

.footer-credits i {
    color: var(--error-color);
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* ===================================
   TOAST NOTIFICATION
   =================================== */
.toast {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--text-color);
    color: var(--bg-color);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: var(--z-toast);
    max-width: 90%;
    text-align: center;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* ===================================
   RESPONSIVE - TABLET
   =================================== */
@media (min-width: 768px) {
    .container {
        max-width: 720px;
        padding: 0 24px;
    }

    .desktop-nav {
        display: flex;
    }

    .hero-actions {
        flex-wrap: nowrap;
    }

    .mission-content {
        grid-template-columns: 1fr 1fr;
    }

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

    .toast {
        bottom: 24px;
    }
}

/* ===================================
   RESPONSIVE - DESKTOP
   =================================== */
@media (min-width: 1024px) {
    .container {
        max-width: 960px;
    }

    .about-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .apps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===================================
   RESPONSIVE - LARGE DESKTOP
   =================================== */
@media (min-width: 1440px) {
    .container {
        max-width: 1200px;
    }
}

/* ===================================
   ACCESSIBILITY
   =================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

*:focus-visible {
    outline: 2px solid var(--text-color);
    outline-offset: 2px;
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* ===================================
   PRINT STYLES
   =================================== */
@media print {

    .app-header,
    .hero-actions,
    .cta-section,
    .app-footer,
    .btn,
    .toast {
        display: none !important;
    }

    body {
        padding-top: 0;
    }

    .section {
        page-break-inside: avoid;
    }
}