/* ==========================================================================
   ARD PRINT ANALYZER SUITE - DOWNLOAD PORTAL STYLESHEET
   Design System: Glassmorphism Dark Mode & Vibrant Neon Accents
   ========================================================================== */

:root {
    /* Color Palette */
    --bg-dark: #0b0f19;
    --bg-card: rgba(17, 24, 39, 0.7);
    --bg-card-hover: rgba(31, 41, 55, 0.85);
    
    --primary: #3b82f6;
    --primary-glow: rgba(59, 130, 246, 0.4);
    --purple: #8b5cf6;
    --purple-glow: rgba(139, 92, 246, 0.4);
    --emerald: #10b981;
    --emerald-glow: rgba(16, 185, 129, 0.3);
    
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --text-dark: #6b7280;
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(255, 255, 255, 0.18);
    
    /* Typography */
    --font-heading: 'Outfit', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
}

body {
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Ambient Background Glow Effects */
.ambient-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.25;
    pointer-events: none;
    z-index: 0;
}

.glow-1 {
    top: -100px;
    left: -150px;
    background: radial-gradient(circle, var(--primary), transparent 70%);
}

.glow-2 {
    top: 400px;
    right: -150px;
    background: radial-gradient(circle, var(--purple), transparent 70%);
}

.page-wrapper {
    position: relative;
    z-index: 1;
}

/* Glassmorphism Card Utility */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.glass-card:hover {
    border-color: var(--border-highlight);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

/* Typography Utilities */
.gradient-text {
    background: linear-gradient(135deg, #60a5fa, #a78bfa, #34d399);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-center { text-align: center; }
.text-green { color: var(--emerald); }
.text-purple { color: var(--purple); }
.text-muted { color: var(--text-dark); }
.w-full { width: 100%; }

/* Navigation Bar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 15, 25, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 2px solid var(--primary-glow);
    object-fit: cover;
    box-shadow: 0 0 12px var(--primary-glow);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.3px;
}

.brand-tag {
    font-size: 0.72rem;
    color: var(--text-muted);
}

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

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover {
    color: #fff;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--emerald);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 600;
}

.status-badge .dot {
    width: 8px;
    height: 8px;
    background-color: var(--emerald);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--emerald);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.6; }
}

/* Hero Section */
.hero-section {
    padding: 80px 24px 60px;
    text-align: center;
}

.hero-container {
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #93c5fd;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
}

.sparkle-icon {
    width: 16px;
    height: 16px;
    color: #60a5fa;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.12rem;
    color: var(--text-muted);
    max-width: 720px;
    margin: 0 auto 36px;
}

.hero-cta-group {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #2563eb);
    color: #fff;
    box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-highlight);
    color: var(--text-main);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Stats Grid */
.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    max-width: 840px;
    margin: 0 auto;
}

.stat-card {
    background: rgba(17, 24, 39, 0.5);
    border: 1px solid var(--border-color);
    padding: 16px;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
}

.stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Download Section & Cards */
.download-section {
    padding: 60px 24px;
}

.section-container {
    max-width: 1140px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 48px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 640px;
    margin: 0 auto;
}

.download-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

.download-card {
    padding: 36px 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.download-card:hover {
    transform: translateY(-4px);
}

.card-top-tag {
    position: absolute;
    top: 0;
    right: 0;
    padding: 6px 16px;
    border-bottom-left-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tag-blue {
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
    border-left: 1px solid var(--primary-glow);
    border-bottom: 1px solid var(--primary-glow);
}

.tag-purple {
    background: rgba(139, 92, 246, 0.2);
    color: #c4b5fd;
    border-left: 1px solid var(--purple-glow);
    border-bottom: 1px solid var(--purple-glow);
}

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

.card-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon-box svg {
    width: 28px;
    height: 28px;
}

.icon-blue {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(37, 99, 235, 0.4));
    border: 1px solid rgba(59, 130, 246, 0.4);
    color: #60a5fa;
    box-shadow: 0 0 15px var(--primary-glow);
}

.icon-purple {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(124, 58, 237, 0.4));
    border: 1px solid rgba(139, 92, 246, 0.4);
    color: #a78bfa;
    box-shadow: 0 0 15px var(--purple-glow);
}

.card-title-group h3 {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    color: #fff;
}

.card-subtext {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.card-description {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.5;
}

/* Meta Info Grid */
.meta-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    padding: 14px;
    border-radius: 12px;
    margin-bottom: 24px;
}

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

.meta-label {
    font-size: 0.74rem;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.meta-value {
    font-size: 0.88rem;
    font-weight: 600;
    color: #e5e7eb;
}

/* Features Checklist */
.features-checklist {
    list-style: none;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.features-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: #d1d5db;
}

.check-icon {
    width: 18px;
    height: 18px;
    color: var(--emerald);
    flex-shrink: 0;
    margin-top: 2px;
}

.btn-download {
    padding: 16px 24px;
    border-radius: 14px;
    font-size: 1rem;
}

.btn-blue {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #fff;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}

.btn-blue:hover {
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6);
    transform: translateY(-2px);
}

.btn-purple {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
    color: #fff;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

.btn-purple:hover {
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.6);
    transform: translateY(-2px);
}

.dl-icon {
    width: 22px;
    height: 22px;
}

/* Steps Grid */
.guide-section {
    padding: 60px 24px;
}

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

.step-card {
    padding: 28px 24px;
    position: relative;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.15);
    margin-bottom: 12px;
}

.step-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.step-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.step-desc code {
    background: rgba(0, 0, 0, 0.4);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: var(--font-mono);
    color: #60a5fa;
    font-size: 0.85rem;
}

/* Features Table */
.features-section {
    padding: 60px 24px;
}

.table-wrapper {
    overflow-x: auto;
    padding: 10px;
}

.features-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.features-table th, 
.features-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.92rem;
}

.features-table th {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #fff;
    background: rgba(255, 255, 255, 0.02);
}

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

/* FAQ Accordion */
.faq-section {
    padding: 60px 24px 80px;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
}

.chevron-icon {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    transition: var(--transition);
}

.faq-item.active .chevron-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 24px;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 20px;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 40px 24px;
    background: rgba(0, 0, 0, 0.3);
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-logo {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

.footer-copy {
    font-size: 0.85rem;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;

    transition: var(--transition);
}

.footer-links a:hover {
    color: #fff;
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
    .nav-menu { display: none; }
    .hero-title { font-size: 2.2rem; }
    .download-cards-grid { grid-template-columns: 1fr; }
}
