:root {
    --primary: #260009; /* Very Dark Burgundy */
    --primary-light: #4a0011;
    --secondary: #C5A059; /* Subtle Gold */
    --accent: #D4AF37;
    --bg-light: #F8F9FA;
    --bg-gray: #EDEFF2;
    --text-charcoal: #1A1A1A;
    --text-muted: #666666;
    --white: #FFFFFF;
    --glass: rgba(255, 255, 255, 0.8);
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 20px 60px rgba(0, 0, 0, 0.08);
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-light);
    color: var(--text-charcoal);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    z-index: 1000;
    height: 80px;
    box-shadow: var(--shadow-soft);
}

.nav-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2.5rem;
    gap: 32px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-img {
    height: 48px;
}

.logo-img-small {
    height: 32px;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    font-family: var(--font-heading);
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    gap: 28px;
    align-items: center;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.login-btn {
    font-weight: 600;
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 8px 18px;
    border-radius: 4px;
    font-size: 0.88rem;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
}

.login-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-1px);
}

.nav-actions .btn-sm {
    padding: 8px 20px;
    font-size: 0.88rem;
    border-radius: 4px;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

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

/* Hero Section */
.hero-section {
    padding-top: 160px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.hero-container-centered {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
}

.api-category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: var(--primary) !important;
}

.hero-headline {
    font-size: 3.5rem;
    margin-bottom: 24px;
    color: var(--primary);
}

@keyframes goldShimmer {
    0% { background-position: 200% center; }
    100% { background-position: -200% center; }
}

.hero-headline .highlight {
    background: linear-gradient(
        110deg,
        #c59b27 10%,
        #e8c15a 30%,
        #fdf2a6 45%,
        #ffffff 50%,
        #fdf2a6 55%,
        #e8c15a 70%,
        #c59b27 90%
    );
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: goldShimmer 10s linear infinite;
    font-style: italic;
    font-weight: 500;
}

.hero-subheadline {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border: none;
    box-shadow: 0 10px 20px rgba(107, 19, 34, 0.2);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-charcoal);
}

.btn-secondary:hover {
    background: rgba(0, 0, 0, 0.02);
}

.hero-illustration {
    position: relative;
}

.hero-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
}

/* Floating Widgets Animations */
.floating-widget {
    background: var(--white);
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    position: absolute;
    animation: floating 6s ease-in-out infinite;
}

.widget-1 {
    top: 10%;
    left: -10%;
    min-width: 220px;
}

.widget-2 {
    bottom: 20%;
    right: -5%;
    width: 200px;
    animation-delay: 1.5s;
}

.widget-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.trend {
    color: #2D6A4F;
    font-weight: 700;
}

.widget-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-heading);
}

.widget-chart-placeholder {
    height: 60px;
    background: linear-gradient(90deg, #F0F0F0 2px, transparent 2px);
    background-size: 15px 100%;
}

@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Features Section */
.features-section {
    padding: 100px 3rem;
    background: var(--bg-gray);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    text-transform: uppercase;
    color: var(--secondary);
    letter-spacing: 2px;
    font-weight: 700;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1300px;
    margin: 0 auto;
}

.feature-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.feature-card h3 {
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.feature-hover-content {
    position: absolute;
    bottom: -40px;
    left: 40px;
    font-weight: 600;
    color: var(--secondary);
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card:hover .feature-hover-content {
    bottom: 25px;
    opacity: 1;
}

/* Dashboard PREVIEW Section */
.dashboard-section {
    padding: 120px 3rem;
}

.dashboard-inner {
    max-width: 1300px;
    margin: 0 auto;
}

.dashboard-text {
    text-align: center;
    margin-bottom: 50px;
}

.video-showcase {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.video-frame-container {
    background: #140106;
    border-radius: 14px;
    box-shadow: 0 25px 60px -12px rgba(38, 0, 9, 0.35), 0 0 0 1px rgba(197, 160, 89, 0.3);
    overflow: hidden;
    border: 1px solid rgba(197, 160, 89, 0.25);
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.video-frame-container:hover {
    box-shadow: 0 30px 70px -10px rgba(38, 0, 9, 0.45), 0 0 0 1px rgba(197, 160, 89, 0.5);
}

.window-header {
    background: #1c0107;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
}

.window-controls {
    display: flex;
    gap: 8px;
}

.window-controls .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.close { background: #FF5F56; }
.dot.minimize { background: #FFBD2E; }
.dot.expand { background: #27C93F; }

.window-title {
    margin: 0 auto;
    font-size: 0.82rem;
    color: var(--secondary);
    font-weight: 600;
    letter-spacing: 0.3px;
    transform: translateX(-20px); /* offset for the absolute center visual */
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-wrapper iframe,
.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
    display: block;
}

/* Floating Elements for premium feel */
.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(38, 0, 9, 0.12);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 3;
    animation: floating-badge 5s ease-in-out infinite;
    border: 1px solid rgba(197, 160, 89, 0.35);
}

.badge-left {
    top: 20%;
    left: -50px;
    animation-delay: 0s;
}

.badge-right {
    bottom: 20%;
    right: -50px;
    animation-delay: 2.5s;
}

.floating-badge i {
    font-size: 1.5rem;
    color: var(--primary);
}

.badge-content {
    display: flex;
    flex-direction: column;
}

.badge-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 700;
}

.badge-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-charcoal);
}

.badge-value.low {
    color: #2D6A4F;
}

@keyframes floating-badge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@media (max-width: 1024px) {
    .floating-badge {
        display: none;
    }
}

/* Pricing Section */
.pricing-section {
    padding: 100px 3rem;
    background: var(--bg-light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    text-align: center;
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
}

.featured {
    transform: scale(1.05);
    box-shadow: var(--shadow-medium);
}

.ribbon {
    position: absolute;
    top: 20px;
    right: -10px;
    background: var(--secondary);
    color: white;
    padding: 5px 15px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 4px;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    margin: 20px 0;
    font-family: var(--font-heading);
    color: var(--primary);
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.pricing-features {
    text-align: left;
    margin: 30px 0;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-size: 0.9rem;
}

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

.supporting-text {
    margin-top: 15px;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Legal Pages */
.legal-page {
    padding-top: 160px;
    padding-bottom: 100px;
    background: var(--bg-light);
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.legal-content {
    margin-top: 50px;
    background: var(--white);
    padding: 60px;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
}

.legal-block {
    margin-bottom: 40px;
}

.legal-block h2 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 15px;
    border-bottom: 1px solid var(--bg-gray);
    padding-bottom: 10px;
}

.legal-block p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    line-height: 1.8;
}

.last-updated {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 10px;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #111111 0%, #0a0a0a 100%);
    color: #a0a0a0;
    padding: 100px 3rem 40px;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--primary), var(--secondary));
    opacity: 0.8;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-brand .logo-text {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.footer-brand p {
    font-size: 0.95rem;
    max-width: 300px;
    line-height: 1.6;
    color: #888;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--secondary);
    border-radius: 2px;
}

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

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: #a0a0a0;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

.footer-top-headings {
    display: flex;
    gap: 50px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.footer-heading-link {
    text-decoration: none;
    display: inline-block;
}

.footer-interactive-heading {
    display: inline-block;
    position: relative;
    cursor: pointer;
    margin-bottom: 0 !important;
    transition: color 0.3s ease;
    user-select: none;
}

.footer-interactive-heading:hover {
    color: var(--secondary) !important;
}

.footer-col .footer-interactive-heading::after {
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.footer-interactive-heading:hover::after {
    width: 45px;
}

.footer-legal-submenu {
    display: none;
    gap: 24px;
    justify-content: center;
    margin-top: 22px;
    padding: 0;
    list-style: none;
    animation: fadeInFooterLinks 0.25s ease-out;
}

.footer-legal-submenu.open {
    display: flex;
}

.footer-legal-submenu li {
    margin-bottom: 0 !important;
}

@keyframes fadeInFooterLinks {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-disclaimer {
    max-width: 980px;
    margin: 32px auto 0;
    padding: 22px 20px 0;
    text-align: center;
    font-size: 0.8rem;
    line-height: 1.65;
    color: var(--text-muted, #888);
    border-top: 1px solid var(--border, rgba(255, 255, 255, 0.08));
}

.footer-social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-top: 22px;
}

.footer-social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(197, 160, 89, 0.32);
    background: rgba(255, 255, 255, 0.04);
    color: #d4d4d8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

.footer-social-link:hover {
    color: #ffffff;
    border-color: var(--secondary);
    background: rgba(197, 160, 89, 0.18);
    transform: translateY(-2px);
}

.legal-disclaimer-highlight {
    background: rgba(38, 0, 9, 0.04);
    border: 1px solid rgba(38, 0, 9, 0.16);
    border-left: 4px solid var(--primary);
    border-radius: 0 10px 10px 0;
    padding: 18px 22px;
    margin-bottom: 18px;
}

.legal-disclaimer-highlight h3 {
    color: var(--primary);
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.legal-disclaimer-highlight ol {
    margin: 0 0 0 20px;
    padding: 0;
    color: var(--text-charcoal);
    font-size: 0.94rem;
    line-height: 1.65;
}

.legal-disclaimer-highlight ol li {
    margin-bottom: 6px;
}

.footer-disclaimer p {
    margin: 0;
}

.footer-disclaimer strong {
    color: var(--text-secondary, #b8b8b8);
}

.footer-bottom {
    max-width: 1200px;
    margin: 30px auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #777;
}

@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-subheadline { margin: 0 auto 40px; }
    .hero-cta { justify-content: center; }
    .dashboard-showcase { grid-template-columns: 1fr; }
    .dashboard-sidebar-preview, .dashboard-info-sidebar { display: none; }
}

@media (max-width: 768px) {
    .nav-container { padding: 0 1.25rem; gap: 12px; }
    .nav-menu { display: none; }
    .nav-actions { gap: 10px; }
    .nav-download-link span { display: none; }
    .nav-download-link { padding: 8px 10px; }
    .login-btn { padding: 8px 12px; font-size: 0.84rem; }
    .nav-actions .btn-sm { padding: 8px 14px; font-size: 0.84rem; }
    .mobile-menu-toggle { display: block; background: none; border: none; font-size: 1.4rem; color: var(--primary); }
    .hero-headline { font-size: 2.5rem; }
    .pricing-card.featured { transform: scale(1); }
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}
.modal-content {
    background-color: var(--white);
    padding: 40px;
    border-radius: 12px;
    width: 400px;
    max-width: 90%;
    position: relative;
    box-shadow: var(--shadow-medium);
}
.modal.info-hover-modal {
    pointer-events: none !important;
    background-color: transparent !important;
    backdrop-filter: none !important;
}
.modal-content.info-modal-wide {
    width: 90% !important;
    max-width: 680px !important;
    padding: 26px 32px !important;
    max-height: 85vh;
    overflow: hidden;
    pointer-events: none !important;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22) !important;
    border: 1px solid rgba(107, 19, 34, 0.14);
}
.info-modal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 18px;
    margin-top: 14px;
    text-align: left;
}
.info-modal-item {
    background: #fafafa;
    border: 1px solid rgba(0,0,0,0.06);
    border-left: 3px solid var(--primary);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--text-charcoal);
    display: flex;
    align-items: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}
.info-modal-item strong {
    color: var(--primary);
    display: inline;
    margin-bottom: 0;
    font-size: 0.96rem;
    font-weight: 600;
}
@media (max-width: 768px) {
    .info-modal-grid {
        grid-template-columns: 1fr;
    }
}
.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-muted);
}
.close-modal:hover { color: var(--primary); }
.modal-content h2 { margin-bottom: 20px; text-align: center; }
.input-group { margin-bottom: 20px; }
.input-group label { display: block; margin-bottom: 5px; font-weight: 500; font-size: 0.9rem; }
.input-group input { 
    width: 100%; 
    padding: 12px; 
    border: 1px solid rgba(0,0,0,0.1); 
    border-radius: 6px; 
    font-family: inherit; 
}
.input-group input:focus { outline: none; border-color: var(--primary); }
.error-msg { color: var(--primary); display: none; margin-bottom: 15px; font-size: 0.85rem; text-align: center; }

/* Account Dropdown */
.account-dropdown {
    position: relative;
    display: inline-block;
}
.account-dropdown::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100%;
    height: 15px;
}
.account-btn {
    background: transparent;
    border: none;
    color: var(--text-charcoal);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
}
.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: var(--white);
    min-width: 160px;
    box-shadow: var(--shadow-medium);
    border-radius: 8px;
    overflow: hidden;
    z-index: 1001;
    margin-top: 10px;
}
.dropdown-content a {
    color: var(--text-charcoal);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.dropdown-content a i { margin-right: 8px; color: var(--text-muted); }
.dropdown-content a:hover { background-color: var(--bg-gray); }
.account-dropdown:hover .dropdown-content { display: block; }

/* Trust Signals */
.trust-signals {
    padding: 40px 0;
    background: var(--white);
    border-top: 1px solid var(--bg-gray);
    border-bottom: 1px solid var(--bg-gray);
    text-align: center;
}
.trust-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 2px;
    margin-bottom: 30px;
}
.logos-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
    opacity: 0.6;
}
.logo-placeholder {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-muted);
    padding: 10px 20px;
    border: 2px dashed rgba(0,0,0,0.1);
    border-radius: 8px;
}

/* How It Works */
.how-it-works-section {
    padding: 100px 3rem;
    background: var(--white);
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}
.step-card {
    text-align: center;
    padding: 30px;
}
.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 20px;
    background: linear-gradient(
        110deg,
        #c59b27 10%,
        #e8c15a 30%,
        #fdf2a6 45%,
        #ffffff 50%,
        #fdf2a6 55%,
        #e8c15a 70%,
        #c59b27 90%
    );
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: goldShimmer 10s linear infinite;
}
.step-card h3 { margin-bottom: 15px; }
.step-card p { color: var(--text-muted); }

/* Language Switcher */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: transparent;
    border: none;
    padding: 0;
    margin-left: 2px;
    visibility: hidden;
    pointer-events: none;
}

.lang-divider {
    color: var(--text-muted);
    opacity: 0.35;
    font-size: 0.85rem;
    font-weight: 400;
    user-select: none;
    margin: 0 1px;
}

.lang-btn {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 7px 10px;
    border-radius: 4px;
    border: 1px solid transparent;
    background: transparent;
    transition: all 0.2s ease;
    text-decoration: none;
    cursor: pointer;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.lang-btn:hover {
    color: var(--primary);
    border-color: rgba(107, 19, 34, 0.25);
    background: transparent;
}

.lang-btn.active {
    color: var(--primary);
    font-weight: 700;
    border: 1px solid var(--primary);
    background: transparent;
}

/* ==========================================================================
   Nosotros / About Page: Suite Applications Grid
   ========================================================================== */
.suite-apps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 1.5rem 0;
}

@media (max-width: 768px) {
    .suite-apps-grid {
        grid-template-columns: 1fr;
    }
}

.suite-app-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fafafa;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-left: 3px solid var(--primary);
    border-radius: 8px;
    padding: 14px 18px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.suite-app-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.suite-app-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(107, 19, 34, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.suite-app-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    text-align: left;
}

.suite-app-name {
    font-weight: 700;
    font-size: 0.98rem;
    color: var(--text-primary);
    line-height: 1.25;
}

.suite-app-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.35;
    font-weight: 400;
}

/* Values Section */
.values-section {
    background-color: #efece5; /* Soft beige background */
    padding: 100px 3rem;
    text-align: center;
}

.values-header {
    margin-bottom: 60px;
}

.values-title {
    font-size: 3rem;
    font-weight: 500;
    color: var(--text-charcoal);
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.values-subtitle {
    font-size: 1.1rem;
    color: var(--text-charcoal);
    max-width: 800px;
    margin: 0 auto;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    text-align: left;
}

.value-item {
    display: flex;
    flex-direction: column;
}

.value-item i,
.value-icon {
    font-size: 3rem;
    color: var(--text-charcoal);
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: center;
    text-align: center;
    width: 100%;
}

.value-item h4 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 15px;
    color: var(--text-charcoal);
    line-height: 1.2;
}

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

@media (max-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 50px;
    }
}

@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
    .values-title {
        font-size: 2.5rem;
    }
}

/* ==========================================================================
   Account & Subscription States (Supabase Auth & Licensing)
   ========================================================================== */
.account-status-banner {
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 16px 24px;
    border-radius: 12px;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    box-shadow: var(--shadow-soft);
}

.account-status-banner .status-info {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-charcoal);
}

.account-status-banner .status-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.trial-active {
    background: rgba(45, 106, 79, 0.12);
    color: #2D6A4F;
    border: 1px solid rgba(45, 106, 79, 0.3);
}

.status-badge.pro-active {
    background: rgba(90, 0, 20, 0.1);
    color: var(--primary);
    border: 1px solid rgba(90, 0, 20, 0.3);
}

.status-badge.expired {
    background: rgba(220, 38, 38, 0.1);
    color: #DC2626;
    border: 1px solid rgba(220, 38, 38, 0.3);
}

.user-plan-pill {
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 700;
    margin-left: 6px;
    vertical-align: middle;
}

.user-plan-pill.trial {
    background: #2D6A4F;
    color: #ffffff;
}

.user-plan-pill.pro {
    background: var(--primary);
    color: #ffffff;
}

.user-plan-pill.expired {
    background: #DC2626;
    color: #ffffff;
}

.btn-disabled-locked {
    opacity: 0.75 !important;
    cursor: not-allowed !important;
    pointer-events: none;
    background: #E5E7EB !important;
    color: #4B5563 !important;
    border: 1px solid #D1D5DB !important;
    box-shadow: none !important;
}

.plan-status-notice {
    margin-top: 15px;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 0.88rem;
    line-height: 1.5;
    text-align: left;
}

.plan-status-notice.notice-trial {
    background: rgba(45, 106, 79, 0.08);
    border: 1px solid rgba(45, 106, 79, 0.25);
    color: #2D6A4F;
}

.plan-status-notice.notice-expired {
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.25);
    color: #B91C1C;
}

.plan-status-notice.notice-pro {
    background: rgba(90, 0, 20, 0.08);
    border: 1px solid rgba(90, 0, 20, 0.25);
    color: var(--primary);
}

.sub-active-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(45, 106, 79, 0.12);
    color: #2D6A4F;
    border: 1px solid rgba(45, 106, 79, 0.3);
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.sub-active-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-top: 8px;
}

.account-modal-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
}

.account-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--bg-light);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    font-size: 0.92rem;
    gap: 10px;
}

.account-detail-label {
    color: var(--text-muted);
    font-weight: 500;
}

.account-detail-val {
    color: var(--text-charcoal);
    font-weight: 600;
    text-align: right;
    word-break: break-all;
}

/* ==========================================================================
   Windows Download Button & Dynamic Version Badge
   ========================================================================== */
.btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

.btn-download i.fab.fa-windows {
    font-size: 1.2rem;
    color: #ffffff;
}

.version-tag {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-left: 4px;
    transition: background 0.2s ease;
}

.btn-download:hover .version-tag {
    background: rgba(255, 255, 255, 0.35);
}

.nav-download-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.88rem;
    border: 1px solid var(--primary);
    color: var(--primary);
    background: transparent;
    text-decoration: none;
    transition: all 0.2s ease;
}

.nav-download-link i.fab.fa-windows {
    font-size: 0.95rem;
}

.nav-download-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-1px);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    .btn-download,
    .hero-cta .btn {
        width: 100%;
        text-align: center;
    }
}

/* ==========================================================================
   Contacto / Contact Page Hub
   ========================================================================== */
.contact-hub-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    align-items: stretch;
}

@media (max-width: 860px) {
    .contact-hub-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.contact-card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
}

.contact-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 1.25rem;
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(107, 19, 34, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.contact-card-title {
    font-size: 1.45rem;
    color: var(--text-primary);
    font-weight: 700;
    margin: 0;
}

.contact-card-desc {
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.contact-email-box {
    background: var(--bg-light);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-left: 4px solid var(--primary);
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.contact-email-val {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-charcoal);
    white-space: nowrap;
    word-break: normal;
    text-decoration: none;
}

.contact-email-val:hover {
    color: var(--primary);
}

@media (max-width: 540px) {
    .contact-email-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .contact-email-val {
        font-size: 0.95rem;
        white-space: normal;
        word-break: break-all;
    }
}

.contact-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-protocol-box {
    background: #fbfbfb;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 10px;
    padding: 20px 22px;
    margin-top: 1.25rem;
}

.contact-protocol-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-primary);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
}

.contact-guide-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-guide-item {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-left: 3px solid var(--primary);
    border-radius: 6px;
    padding: 12px 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.contact-guide-item-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.94rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.contact-guide-item-header i {
    font-size: 0.88rem;
}

.contact-guide-item-desc {
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.contact-sla-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #2D6A4F;
    background: rgba(45, 106, 79, 0.08);
    border: 1px solid rgba(45, 106, 79, 0.2);
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
    margin-top: 1.5rem;
}

/* Social Grid */
.contact-social-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 1.5rem;
}

.contact-social-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-light);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--text-charcoal);
    transition: all 0.2s ease;
}

.contact-social-card:hover {
    border-color: rgba(107, 19, 34, 0.25);
    background: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.contact-social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(107, 19, 34, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-social-info {
    display: flex;
    flex-direction: column;
}

.contact-social-name {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text-primary);
}

.contact-social-status {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.contact-help-box {
    background: #fafafa;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: auto;
}

.contact-help-text {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.45;
}

.contact-help-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    white-space: nowrap;
}

.contact-help-link:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Hero Instant Trial Notice Banner
   ========================================================================== */
.hero-trial-banner {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: var(--white);
    border: 1px solid rgba(38, 0, 9, 0.14);
    border-left: 4px solid var(--secondary);
    border-radius: 12px;
    padding: 16px 26px;
    max-width: 760px;
    margin: 0 auto;
    box-shadow: var(--shadow-soft);
    text-align: left;
}

.hero-trial-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(197, 160, 89, 0.16);
    color: #8A6823;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.hero-trial-text {
    font-size: 0.96rem;
    color: var(--text-charcoal);
    line-height: 1.55;
}

.hero-trial-text strong {
    color: var(--primary);
}

/* ==========================================================================
   Installation Guide Section & Download Hub Modal (3 Official Methods)
   ========================================================================== */
.install-section {
    padding: 110px 3rem;
    background: linear-gradient(180deg, var(--bg-gray) 0%, var(--bg-light) 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.install-container {
    max-width: 1280px;
    margin: 0 auto;
}

.install-intro-desc {
    max-width: 780px;
    margin: 14px auto 0;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    text-align: center;
}

.install-methods-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
    margin-top: 50px;
    align-items: stretch;
    width: 100%;
}

@media (max-width: 1100px) {
    .install-methods-grid {
        grid-template-columns: 1fr;
        max-width: 680px;
        margin-left: auto;
        margin-right: auto;
    }
    .install-section {
        padding: 80px 1.5rem;
    }
}

.install-card {
    background: var(--white);
    border-radius: 14px;
    padding: 32px 28px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.07);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: var(--transition);
    min-width: 0;
    width: 100%;
    overflow: hidden;
}

.install-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-medium);
}

.install-card.card-exe {
    border-top: 4px solid var(--primary);
}

.install-card.card-zip {
    border-top: 4px solid var(--secondary);
}

.install-card.card-cmd {
    border-top: 4px solid #B91C1C;
    background: linear-gradient(180deg, #FFFFFF 0%, #FFFBFB 100%);
}

.install-card-top {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.install-badge-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.install-method-step {
    font-family: var(--font-heading);
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    color: var(--text-muted);
}

.install-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 11px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    white-space: nowrap;
}

.install-pill.pill-recommended {
    background: rgba(45, 106, 79, 0.12);
    color: #2D6A4F;
    border: 1px solid rgba(45, 106, 79, 0.28);
}

.install-pill.pill-portable {
    background: rgba(197, 160, 89, 0.15);
    color: #8A6823;
    border: 1px solid rgba(197, 160, 89, 0.38);
}

.install-pill.pill-last-resort {
    background: rgba(185, 28, 28, 0.1);
    color: #B91C1C;
    border: 1px solid rgba(185, 28, 28, 0.3);
}

.install-icon-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.install-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.card-exe .install-icon-box {
    background: rgba(38, 0, 9, 0.08);
    color: var(--primary);
}

.card-zip .install-icon-box {
    background: rgba(197, 160, 89, 0.16);
    color: #8A6823;
}

.card-cmd .install-icon-box {
    background: rgba(185, 28, 28, 0.1);
    color: #B91C1C;
}

.install-card h3 {
    font-size: 1.22rem;
    color: var(--text-charcoal);
    margin: 0;
    line-height: 1.25;
}

.install-file-tag {
    display: inline-block;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 0.76rem;
    background: var(--bg-light);
    color: var(--primary);
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 14px;
    align-self: flex-start;
    max-width: 100%;
    word-break: break-all;
}

.install-why-box {
    background: var(--bg-light);
    border-left: 3px solid var(--primary);
    padding: 12px 14px;
    border-radius: 0 8px 8px 0;
    font-size: 0.86rem;
    color: var(--text-charcoal);
    margin-bottom: 16px;
    line-height: 1.55;
}

.card-zip .install-why-box {
    border-left-color: var(--secondary);
}

.card-cmd .install-why-box {
    background: rgba(185, 28, 28, 0.05);
    border-left-color: #B91C1C;
    color: #7F1D1D;
}

.install-steps-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.install-steps-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.install-steps-list li i {
    color: var(--primary);
    margin-top: 4px;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.card-cmd .install-steps-list li i {
    color: #B91C1C;
}

.install-card-footer {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.install-card-footer .btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    font-size: 0.88rem;
}

/* CMD Terminal Box (Fits cleanly inside 1/3 card column without overflow) */
.cmd-terminal-wrapper {
    background: #0D0D12;
    border: 1px solid #2E2E3A;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 16px;
    min-width: 0;
    width: 100%;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.4);
}

.cmd-terminal-header {
    background: #181822;
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #2E2E3A;
}

.cmd-terminal-title {
    font-family: 'Consolas', monospace;
    font-size: 0.72rem;
    color: #A0A8B8;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cmd-copy-btn {
    background: rgba(197, 160, 89, 0.16);
    color: #E8C15A;
    border: 1px solid rgba(197, 160, 89, 0.35);
    border-radius: 5px;
    padding: 4px 9px;
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.cmd-copy-btn:hover {
    background: rgba(197, 160, 89, 0.28);
    color: #FFFFFF;
}

.cmd-terminal-code {
    padding: 12px;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 0.71rem;
    line-height: 1.55;
    color: #E2E8F0;
    white-space: pre-wrap;
    word-break: break-all;
    margin: 0;
    text-align: left;
}

/* Bottom 2-Column Grid: Preventive Notices Card + System Requirements Card */
.install-bottom-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
    margin-top: 32px;
    align-items: stretch;
}

@media (max-width: 1024px) {
    .install-bottom-grid {
        grid-template-columns: 1fr;
        max-width: 680px;
        margin-left: auto;
        margin-right: auto;
    }
}

.install-info-panel {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 14px;
    padding: 32px 30px;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.install-info-panel.panel-preventive {
    border-left: 4px solid var(--primary);
}

.install-info-panel.panel-specs {
    border-left: 4px solid var(--secondary);
}

.panel-header-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.panel-header-row i {
    font-size: 1.45rem;
    color: var(--primary);
}

.panel-header-row h3 {
    font-size: 1.25rem;
    color: var(--text-charcoal);
    margin: 0;
}

.preventive-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.preventive-item {
    background: var(--bg-light);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    padding: 12px 15px;
}

.preventive-item-title {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.preventive-item-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

.sys-req-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 0.86rem;
}

.sys-req-table th {
    text-align: left;
    padding: 10px 12px;
    background: var(--bg-light);
    color: var(--primary);
    font-weight: 700;
    border-bottom: 2px solid rgba(38, 0, 9, 0.12);
}

.sys-req-table td {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    color: var(--text-muted);
    vertical-align: top;
}

.sys-req-table td strong {
    color: var(--text-charcoal);
}

.panel-github-footer {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.panel-github-footer span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Download Selector Modal (#download-choice-modal) */
.download-modal-content {
    width: 92% !important;
    max-width: 780px !important;
    padding: 36px 36px 30px !important;
    border-radius: 16px !important;
    max-height: 90vh;
    overflow-y: auto;
}

.download-modal-header {
    text-align: center;
    margin-bottom: 24px;
}

.download-modal-header h2 {
    color: var(--primary);
    font-size: 1.65rem;
    margin-bottom: 8px;
}

.download-modal-header p {
    color: var(--text-muted);
    font-size: 0.94rem;
    margin: 0 auto;
    max-width: 600px;
}

.download-modal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-bottom: 18px;
}

@media (max-width: 680px) {
    .download-modal-grid {
        grid-template-columns: 1fr;
    }
    .download-modal-content {
        padding: 26px 20px !important;
    }
}

.download-option-box {
    border: 1px solid rgba(0, 0, 0, 0.09);
    border-radius: 12px;
    padding: 22px 20px;
    background: var(--bg-light);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
    transition: all 0.2s ease;
}

.download-option-box:hover {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.download-option-box h4 {
    font-size: 1.08rem;
    color: var(--text-charcoal);
    margin: 10px 0 6px;
}

.download-option-box p {
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 16px;
}

.download-both-bar {
    background: rgba(38, 0, 9, 0.04);
    border: 1px dashed rgba(38, 0, 9, 0.22);
    border-radius: 10px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.download-both-bar span {
    font-size: 0.88rem;
    color: var(--text-charcoal);
    font-weight: 500;
}

.download-cmd-details {
    border: 1px solid rgba(185, 28, 28, 0.25);
    background: #FFFDFD;
    border-radius: 10px;
    padding: 12px 16px;
    text-align: left;
}

.download-cmd-details summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 0.88rem;
    color: #B91C1C;
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
}

.download-cmd-details summary::-webkit-details-marker {
    display: none;
}



