/*
Theme Name: Single APK Site
Theme URI: https://example.com/single-apk-suite
Author: Senior WordPress Architect & Product Designer
Author URI: https://example.com/
Description: A high-performance, lightweight, SEO-first, modular WordPress theme engineered specifically for single APK and software landing/download micro-sites. Featuring the Clean Slate & Royal Blue Glassmorphism design system.
Version: 1.0.0
Tested up to: 6.7
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: single-apk
Tags: two-columns, custom-header, custom-menu, featured-images, translation-ready, full-width-template
*/

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

html {
    font-size: 16px;
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--single-apk-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);
    background-color: #F8FAFC;
    color: #0F172A;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

/* Ambient Radial Glow on Top Center (Level 0 Depth) */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    max-width: 100vw;
    height: 550px;
    background: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.08) 0%, rgba(248, 250, 252, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

/* Accessible Skip Link */
.skip-link {
    position: absolute;
    top: -999px;
    left: 1rem;
    background: #2563EB;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    z-index: 999999;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: top 0.2s ease-in-out;
}

.skip-link:focus {
    top: 1rem;
    outline: 3px solid #1D4ED8;
}

/* Root CSS Variables - Clean Blue + Teal Glassmorphism Tokens */
:root {
    --single-apk-container-width: 1200px;
    --single-apk-container-padding: 1.5rem;

    /* Clean Light Foundation */
    --single-apk-color-bg: #F8FAFC;
    --single-apk-color-surface: #FFFFFF;
    --single-apk-color-surface-hover: #F1F5F9;
    --single-apk-color-border: #E2E8F0;
    --single-apk-color-border-subtle: #F1F5F9;

    /* Primary Brand Blue Accent System */
    --single-apk-color-primary: #2563EB;
    --single-apk-color-primary-hover: #1D4ED8;
    --single-apk-color-primary-dark: #1E40AF;
    --single-apk-color-primary-glow: rgba(37, 99, 235, 0.2);

    /* Secondary & State Colors */
    --single-apk-color-secondary: #0D9488;
    --single-apk-color-warning: #f59e0b;
    --single-apk-color-info: #38bdf8;

    /* Typography & Contrast */
    --single-apk-color-text: #0F172A;
    --single-apk-color-text-muted: #64748B;
    --single-apk-color-text-dim: #94A3B8;

    /* Glassmorphism Layers */
    --single-apk-glass-base: rgba(255, 255, 255, 0.85);
    --single-apk-glass-elevated: rgba(255, 255, 255, 0.95);
    --single-apk-glass-border: #E2E8F0;
    --single-apk-glass-border-hover: rgba(37, 99, 235, 0.4);
    --single-apk-glass-blur: 14px;

    /* Typography */
    --single-apk-font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --single-apk-font-heading: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Spacing & Radii */
    --single-apk-radius-sm: 8px;
    --single-apk-radius-md: 14px;
    --single-apk-radius-lg: 20px;
    --single-apk-radius-full: 9999px;

    /* Shadows & Transitions */
    --single-apk-transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    --single-apk-shadow-glass: 0 10px 30px -5px rgba(15, 23, 42, 0.06), 0 0 0 1px rgba(226, 232, 240, 0.8);
    --single-apk-shadow-red: 0 4px 20px rgba(37, 99, 235, 0.25);
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}