@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* Global Reset & System Tokens */
:root {
    --bg-main: #0b0f19;
    --bg-card: rgba(20, 27, 45, 0.65);
    --bg-card-hover: rgba(28, 38, 62, 0.85);
    --bg-nav: rgba(11, 15, 25, 0.8);
    
    --color-primary: #00bbff;    /* Electric Blue for "Safe / Verified" */
    --color-primary-rgb: 0, 187, 255;
    --color-accent: #3b82f6;     /* Technology Blue for Downloads */
    --color-accent-rgb: 59, 130, 246;
    --color-warning: #f59e0b;    /* Amber for Updates */
    --color-danger: #ef4444;     /* Red for alerts */
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dark: #0f172a;
    
    --border-glass: rgba(255, 255, 255, 0.06);
    --border-glass-hover: rgba(255, 255, 255, 0.12);
    --shadow-premium: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --shadow-glow: 0 0 15px rgba(0, 187, 255, 0.15);
    
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
}

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

/* Glassmorphism Utility */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
}

.glass-panel:hover {
    border-color: var(--border-glass-hover);
    background: var(--bg-card-hover);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 70px;
    background: var(--bg-nav);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-glass);
    z-index: 1000;
    display: flex;
    align-items: center;
}

header .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 14px;
    flex-wrap: nowrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: -0.5px;
}

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

.logo svg {
    width: 32px;
    height: 32px;
    fill: var(--color-primary);
}

nav.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1 1 auto;
    min-width: 0;
}

nav.desktop-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
    transition: var(--transition-smooth);
}

nav.desktop-nav a:hover {
    color: var(--text-main);
}

nav.desktop-nav a.active {
    background-color: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 187, 255, 0.2);
}

.btn-header-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    background: linear-gradient(135deg, #00bbff 0%, #3b82f6 100%);
    border: 1px solid rgba(0, 187, 255, 0.75);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 10px;
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(0, 187, 255, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.btn-header-action:hover {
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(0, 187, 255, 0.4), 0 0 18px rgba(0, 187, 255, 0.22);
    filter: brightness(1.08);
}

/* Mobile Nav Toggle */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn svg {
    width: 28px;
    height: 28px;
    stroke: var(--text-main);
}

/* Mobile Sidebar Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: #0f172a;
    border-left: 1px solid var(--border-glass);
    z-index: 1001;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-drawer.open {
    right: 0;
}

.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: none;
}

.mobile-drawer a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.mobile-drawer a:hover,
.mobile-drawer a.active {
    color: var(--color-primary);
    padding-left: 8px;
}

.mobile-drawer .btn-header-action {
    width: 100%;
    min-height: 46px;
    padding: 12px 16px;
    color: #ffffff;
    border-bottom: 0;
}

.mobile-drawer .btn-header-action:hover,
.mobile-drawer .btn-header-action.active {
    color: #ffffff;
    padding-left: 16px;
}

/* Hero Section */
.hero {
    margin-top: 70px;
    padding: 80px 0 60px;
    background: radial-gradient(circle at top, rgba(0, 187, 255, 0.08) 0%, transparent 60%);
    text-align: center;
}

.hero h1 {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 32px;
}

/* Search Bar Wrapper */
.search-wrapper {
    max-width: 580px;
    margin: 0 auto;
    position: relative;
}

.search-bar {
    width: 100%;
    height: 56px;
    background: rgba(20, 27, 45, 0.8);
    border: 1px solid var(--border-glass);
    border-radius: 28px;
    padding: 0 30px 0 54px;
    color: var(--text-main);
    font-size: 15px;
    outline: none;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
}

.search-bar:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 20px rgba(0, 187, 255, 0.15);
}

.search-icon {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    stroke: var(--text-muted);
    pointer-events: none;
}

/* Featured Apps / App Grid */
.section-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title span {
    width: 12px;
    height: 12px;
    background: var(--color-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-primary);
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

/* App Card Layout */
.app-card {
    display: flex;
    flex-direction: column;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.app-card-header {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.app-icon-wrapper {
    position: relative;
    width: 76px;
    height: 76px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.app-icon-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-meta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.app-card h2 {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-card h2 a {
    color: var(--text-main);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.app-card h2 a:hover {
    color: var(--color-primary);
}

.app-developer {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 4px;
}

.app-ratings {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-warning);
}

.app-ratings svg {
    width: 14px;
    height: 14px;
    fill: var(--color-warning);
}

.app-card-body {
    flex-grow: 1;
    margin-bottom: 16px;
}

.app-card-body p {
    font-size: 13px;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 40px;
}

.app-card-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.tag-badge {
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    border: 1px solid var(--border-glass);
}

.tag-badge.safe {
    background: rgba(0, 187, 255, 0.08);
    color: var(--color-primary);
    border-color: rgba(0, 187, 255, 0.15);
}

.app-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border-glass);
    padding-top: 16px;
}

.app-size {
    font-size: 12px;
    color: var(--text-muted);
}

.app-size span {
    font-weight: 600;
    color: var(--text-main);
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--color-accent);
    color: var(--text-main);
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.btn-download:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-download svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

/* Home Compliance Summary Grid */
.home-about-section {
    padding: 60px 0;
    background: linear-gradient(180deg, transparent, rgba(20, 27, 45, 0.4) 100%);
    border-top: 1px solid var(--border-glass);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-text h2 {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.3;
}

.about-text p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 20px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(0, 187, 255, 0.1);
    border: 1px solid rgba(0, 187, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon-wrapper svg {
    width: 20px;
    height: 20px;
    fill: var(--color-primary);
}

.about-feature-item h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.about-feature-item p {
    color: var(--text-muted);
    font-size: 13px;
    margin: 0;
}


/* SEO Navigation Helpers */
.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 24px 0 0;
    font-size: 13px;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
}

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

.related-apps {
    padding: 24px;
}

.related-apps h2 {
    font-size: 18px;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.related-apps p {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 16px;
    line-height: 1.6;
}

.related-app-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.related-app-link {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-main);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.related-app-link:hover {
    border-color: rgba(0, 187, 255, 0.35);
    background: rgba(0, 187, 255, 0.06);
}

.related-app-link span {
    font-size: 14px;
    font-weight: 700;
}

.related-app-link small {
    color: var(--text-muted);
    font-size: 12px;
}

/* Detail Page Layout */
.detail-grid {
    display: grid;
    grid-template-columns: 2.3fr 1fr;
    gap: 32px;
    padding: 40px 0 60px;
}

.detail-main {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* App Main Card */
.app-detail-hero {
    display: flex;
    gap: 24px;
    padding: 30px;
}

.detail-icon {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    flex-shrink: 0;
}

.detail-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-meta {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.detail-meta h1 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 6px;
    line-height: 1.2;
}

.detail-meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 13px;
    color: var(--text-muted);
}

.detail-meta-row span strong {
    color: var(--text-main);
}

.detail-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-large {
    padding: 12px 28px;
    font-size: 14px;
    border-radius: 10px;
}

.btn-large.secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--border-glass);
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

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

/* Security Verification Badge Widget */
.security-widget {
    padding: 24px;
    border: 1px solid rgba(0, 187, 255, 0.15);
    background: linear-gradient(135deg, rgba(0, 187, 255, 0.03) 0%, rgba(20, 27, 45, 0.8) 100%);
    position: relative;
    overflow: hidden;
}

.security-widget-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.security-badge-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 187, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.security-badge-icon svg {
    width: 22px;
    height: 22px;
    fill: var(--color-primary);
}

.security-widget-title h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
}

.security-widget-title p {
    font-size: 11px;
    color: var(--text-muted);
}

.hash-box {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-glass);
    padding: 12px;
    border-radius: 8px;
    font-family: monospace;
    font-size: 12px;
    color: var(--text-muted);
    word-break: break-all;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.hash-label {
    font-weight: bold;
    color: var(--color-primary);
}

/* Details Tabs Container */
.tabs-container {
    display: flex;
    flex-direction: column;
}

.tab-nav {
    display: flex;
    border-bottom: 1px solid var(--border-glass);
    margin-bottom: 24px;
    gap: 8px;
}

.tab-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    transition: var(--transition-smooth);
}

.tab-btn:hover {
    color: var(--text-main);
}

.tab-btn.active {
    color: var(--color-primary);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-primary);
    box-shadow: 0 0 8px var(--color-primary);
}

.tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Article Styling */
.prose {
    font-size: 14px;
    color: var(--text-main);
}

.prose h2, .prose h3 {
    margin: 24px 0 12px;
    font-weight: 700;
}

.prose h2 { font-size: 18px; color: var(--color-primary); }
.prose h3 { font-size: 15px; }

.prose p {
    margin-bottom: 16px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

.prose ul, .prose ol {
    margin: 0 0 20px 20px;
}

.prose li {
    color: var(--text-muted);
    margin-bottom: 8px;
    font-size: 14px;
}

.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 24px 0;
}

.pc-box {
    padding: 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
}

.pc-box.pro-box { border-left: 4px solid var(--color-primary); }
.pc-box.con-box { border-left: 4px solid var(--color-danger); }

.pc-box h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
}

.pc-box ul {
    list-style: none;
    margin: 0;
}

.pc-box li {
    position: relative;
    padding-left: 18px;
    font-size: 13px;
}

.pc-box.pro-box li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
}

.pc-box.con-box li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: var(--color-danger);
}

/* FAQ Styling */
.faq-item {
    border-bottom: 1px solid var(--border-glass);
    padding: 16px 0;
}

.faq-question {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.faq-answer {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.6;
}

/* Sidebar Info Panel */
.sidebar-panel {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-title {
    font-size: 16px;
    font-weight: 700;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 10px;
}

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

.info-item {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

.info-label {
    color: var(--text-muted);
}

.info-value {
    font-weight: 600;
    text-align: right;
}

/* Blog Content Styles */
.blog-header {
    text-align: center;
    padding: 40px 0 20px;
}

.blog-meta {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 12px;
}

.blog-cover {
    width: 100%;
    max-height: 400px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 30px;
    border: 1px solid var(--border-glass);
}

.blog-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Footer Section */
footer {
    border-top: 1px solid var(--border-glass);
    padding: 60px 0 30px;
    background-color: #080c14;
    color: var(--text-muted);
    font-size: 13px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 16px;
}

.footer-brand h3 span { color: var(--color-primary); }

.footer-brand p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-links h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 16px;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
}

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

.footer-bottom {
    border-top: 1px solid var(--border-glass);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 12px;
}

/* Category filter tabs styling */
.category-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 10px 0 40px;
    flex-wrap: wrap;
}

.category-tab {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    padding: 10px 22px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
    outline: none;
}

.category-tab:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    border-color: var(--border-glass-hover);
}

.category-tab.active {
    background: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
    box-shadow: 0 4px 15px rgba(0, 187, 255, 0.3);
}


@media (min-width: 769px) and (max-width: 1180px) {
    header {
        min-height: 116px;
        align-items: stretch;
    }
    header .nav-container {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-areas:
            "logo cta"
            "nav nav";
        row-gap: 10px;
        padding-top: 12px;
        padding-bottom: 12px;
    }
    .logo {
        grid-area: logo;
        align-self: center;
    }
    nav.desktop-nav {
        grid-area: nav;
        justify-content: center;
        flex-wrap: wrap;
        gap: 6px;
    }
    nav.desktop-nav a {
        padding: 7px 12px;
        font-size: 12px;
    }
    header .btn-header-action {
        grid-area: cta;
        justify-self: end;
        align-self: center;
        min-height: 42px;
        padding: 10px 18px;
        font-size: 13px;
    }
    .hero,
    main.container[style*="margin-top: 70px"] {
        margin-top: 116px !important;
    }
}

@media (min-width: 769px) and (max-width: 940px) {
    header .nav-container {
        grid-template-columns: 1fr;
        grid-template-areas:
            "logo"
            "cta"
            "nav";
        justify-items: center;
    }
    header .btn-header-action {
        justify-self: center;
        min-width: min(320px, 100%);
    }
    header {
        min-height: 158px;
    }
    .hero,
    main.container[style*="margin-top: 70px"] {
        margin-top: 158px !important;
    }
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .detail-grid {
        grid-template-columns: 1fr;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    header {
        min-height: 124px;
        align-items: stretch;
    }
    header .nav-container {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "logo menu"
            "cta cta";
        row-gap: 10px;
        padding-top: 10px;
        padding-bottom: 12px;
    }
    .logo {
        grid-area: logo;
        align-self: center;
    }
    nav.desktop-nav {
        display: none;
    }
    header > .nav-container > .btn-header-action {
        grid-area: cta;
        display: inline-flex;
        width: 100%;
        min-height: 46px;
        padding: 12px 16px;
        font-size: 14px;
        border-radius: 12px;
        justify-self: stretch;
    }
    .mobile-menu-btn {
        grid-area: menu;
        display: block;
        align-self: center;
    }
    .hero,
    main.container[style*="margin-top: 70px"] {
        margin-top: 124px !important;
    }
    .hero h1 {
        font-size: 32px;
    }
    .category-tabs {
        gap: 8px;
        margin-bottom: 30px;
    }
    .category-tab {
        padding: 8px 16px;
        font-size: 12px;
    }
    .pros-cons-grid {
        grid-template-columns: 1fr;
    }
    .related-app-grid {
        grid-template-columns: 1fr;
    }
    .app-detail-hero {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .detail-actions {
        justify-content: center;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-brand {
        grid-column: span 1;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
