/* ========================================
   LAZERTIMES - GLOBAL STYLES
======================================== */

:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --background: #f8fafc;
    --surface: #ffffff;
    --text: #0f172a;
    --muted: #64748b;
    --border: #e2e8f0;
    --shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    --radius: 16px;
}

/* Dark Mode */

[data-theme="dark"] {
    --primary: #60a5fa;
    --primary-hover: #93c5fd;
    --background: #0b1120;
    --surface: #111827;
    --text: #f1f5f9;
    --muted: #94a3b8;
    --border: #263244;
    --shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* Reset */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Inter, Arial, sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    transition: background 0.2s, color 0.2s;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 4px;
}

[hidden] {
    display: none !important;
}

/* ========================================
   HEADER
======================================== */

.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--primary);
}

.theme-toggle {
    background: var(--background);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 8px 12px;
}

/* ========================================
   HERO SECTION
======================================== */

.hero {
    text-align: center;
    padding: 90px 20px 70px;
    background: radial-gradient(ellipse at top,
            rgba(37, 99, 235, 0.09),
            transparent 70%);
}

.hero-label {
    display: inline-block;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.2;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
}

.hero p {
    max-width: 600px;
    margin: auto;
    color: var(--muted);
    font-size: 17px;
}

.search-box {
    max-width: 580px;
    margin: 32px auto 0;
}

.search-box input {
    width: 100%;
    padding: 18px 22px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
    color: var(--text);
    font-size: 16px;
    box-shadow: var(--shadow);
}

.search-box input:focus {
    border-color: var(--primary);
}

/* ========================================
   TOOLS SECTION
======================================== */

.tools-section {
    max-width: 1200px;
    margin: auto;
    padding: 20px 24px 70px;
}

.section-heading {
    text-align: center;
    margin-bottom: 28px;
}

.section-heading h2 {
    font-size: 30px;
    margin-bottom: 8px;
}

.section-heading p {
    color: var(--muted);
}

/* Category Filters */

.category-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}

.category-btn {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    transition: 0.2s;
}

.category-btn:hover,
.category-btn.active {
    background: var(--primary);
    color: var(--background);
    border-color: var(--primary);
}

/* Tool Cards */

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,
            minmax(min(100%, 260px), 1fr));
    gap: 20px;
}

.tool-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px;
    transition: 0.25s;
}

.tool-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.tool-icon {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    border-radius: 14px;
    font-size: 26px;
    margin-bottom: 18px;
}

.tool-card h3 {
    font-size: 19px;
    margin-bottom: 8px;
}

.tool-card p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.tool-link {
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
}

.coming-soon {
    color: var(--muted);
    background: var(--background);
    border: 1px solid var(--border);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
}

#no-results {
    text-align: center;
    color: var(--muted);
    padding: 40px;
}

/* ========================================
   BENEFITS SECTION
======================================== */

.benefits {
    max-width: 1200px;
    margin: auto;
    padding: 20px 24px 70px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.benefit-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
}

.benefit-card h3 {
    margin-bottom: 10px;
}

.benefit-card p {
    font-size: 14px;
    color: var(--muted);
}

/* ========================================
   FOOTER
======================================== */

.site-footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 40px 24px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-links a {
    font-size: 14px;
    color: var(--muted);
}

.footer-links a:hover {
    color: var(--primary);
}

.copyright {
    font-size: 13px;
    color: var(--muted);
}

/* ========================================
   MOBILE RESPONSIVE
======================================== */

@media (max-width: 768px) {
    .hero {
        padding: 60px 20px 45px;
    }

    .hero p {
        font-size: 15px;
    }

    .header-container {
        padding: 14px 16px;
        flex-wrap: wrap;
    }

    .nav-links {
        gap: 12px;
        flex-wrap: wrap;
    }

    .benefits {
        grid-template-columns: 1fr;
    }

    .tools-section {
        padding: 20px 16px 40px;
    }

    .tool-card {
        padding: 22px;
    }

    .section-heading h2 {
        font-size: 25px;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
    }
}


/* ========================================
   LAZERTIMES - PREMIUM UI UPGRADE
======================================== */

:root {
    --hero-bg: #eef4ff;
    --hero-gradient: #dbeafe;
}

[data-theme="dark"] {
    --hero-bg: #101a2d;
    --hero-gradient: #172554;
}

/* Premium Header */

.site-header {
    background: var(--surface);
    backdrop-filter: blur(16px);
}

.logo {
    font-size: 25px;
    font-weight: 900;
    letter-spacing: -1.4px;
}

/* Compact Hero */

.hero {
    padding: 24px;
    background: none;
    text-align: left;
}

.hero-container {
    max-width: 1152px;
    margin: auto;
    padding: 36px 48px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: linear-gradient(120deg,
            var(--hero-bg),
            var(--hero-gradient));
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-label {
    font-size: 11px;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.hero h1 {
    font-size: clamp(30px, 4vw, 46px);
    letter-spacing: -2px;
    line-height: 1.12;
    margin-bottom: 14px;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    font-size: 14px;
    max-width: 440px;
    margin: 0;
}

/* Search Bar */

.search-box {
    position: relative;
    max-width: 440px;
    margin: 22px 0 0;
}

.search-box svg {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    pointer-events: none;
}

.search-box input {
    padding: 14px 18px 14px 48px;
    border-radius: 12px;
    font-size: 14px;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 20px;
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
}

/* Floating Hero Graphics */

.hero-visual {
    position: relative;
    height: 260px;
}

.visual-orbit {
    position: absolute;
    width: 240px;
    height: 240px;
    border: 1px dashed var(--primary);
    opacity: 0.25;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.visual-glow {
    position: absolute;
    width: 220px;
    height: 220px;
    background: #2563eb;
    filter: blur(90px);
    opacity: 0.15;
    top: 20px;
    left: 25%;
}

.floating-card {
    position: absolute;
    width: 105px;
    height: 125px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: white;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    animation: floating 4s ease-in-out infinite;
}

.floating-card span {
    font-size: 30px;
    font-weight: 900;
    letter-spacing: -1px;
}

.floating-card small {
    font-size: 9px;
    letter-spacing: 1px;
}

.pdf-float {
    background: linear-gradient(135deg, #f87171, #dc2626);
    top: 15px;
    left: 12%;
    --rotation: -14deg;
}

.image-float {
    background: linear-gradient(135deg, #60a5fa, #2563eb);
    top: 5px;
    right: 12%;
    --rotation: 12deg;
    animation-delay: -1.3s;
}

.qr-float {
    background: linear-gradient(135deg, #a78bfa, #7c3aed);
    bottom: 5px;
    left: calc(50% - 52px);
    --rotation: -4deg;
    animation-delay: -2.5s;
}

@keyframes floating {

    0%,
    100% {
        transform: translateY(0) rotate(var(--rotation));
    }

    50% {
        transform: translateY(-10px) rotate(var(--rotation));
    }
}

/* Tools Section */

.tools-section {
    padding-top: 20px;
    padding-bottom: 40px;
}

.section-heading {
    text-align: left;
    margin-bottom: 20px;
}

.section-heading h2 {
    font-size: 26px;
    letter-spacing: -0.8px;
}

.section-heading p {
    font-size: 14px;
}

.category-filters {
    justify-content: flex-start;
    margin-bottom: 24px;
}

.category-btn {
    border-radius: 9px;
    padding: 8px 16px;
    font-size: 13px;
}

.tools-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

/* Premium Tool Cards */

.tool-card {
    padding: 22px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.09);
}

.tool-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    margin-bottom: 14px;
}

.tool-card h3 {
    font-size: 17px;
}

.tool-card p {
    font-size: 13px;
    margin-bottom: 16px;
}

.tool-card:nth-child(1) .tool-icon {
    background: #dbeafe;
    color: #2563eb;
}

.tool-card:nth-child(2) .tool-icon {
    background: #dcfce7;
    color: #16a34a;
}

.tool-card:nth-child(3) .tool-icon {
    background: #fee2e2;
    color: #dc2626;
}

.tool-card:nth-child(4) .tool-icon {
    background: #f3e8ff;
    color: #9333ea;
}

.tool-card:nth-child(5) .tool-icon {
    background: #ffedd5;
    color: #ea580c;
}

/* Tablet */

@media (max-width: 900px) {
    .hero-container {
        padding: 28px;
    }

    .tools-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile */

@media (max-width: 600px) {
    .hero {
        padding: 14px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        padding: 24px;
        border-radius: 18px;
    }

    .hero-visual {
        display: none;
    }

    .hero h1 {
        font-size: 34px;
        letter-spacing: -1px;
    }

    .hero-features {
        gap: 10px;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }

    .section-heading h2 {
        font-size: 23px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .floating-card {
        animation: none;
        transform: rotate(var(--rotation));
    }
}


/* ========================================
   PROFESSIONAL TOOL ICONS
======================================== */

.tool-icon svg {
    width: 26px;
    height: 26px;
    transition: transform 0.25s ease;
}

.tool-card:hover .tool-icon svg {
    transform: scale(1.1);
}

.tool-card .tool-icon[data-icon="image"] {
    background: #dbeafe;
    color: #2563eb;
}

.tool-card .tool-icon[data-icon="maximize"] {
    background: #dcfce7;
    color: #16a34a;
}

.tool-card .tool-icon[data-icon="file-image"] {
    background: #fee2e2;
    color: #dc2626;
}

.tool-card .tool-icon[data-icon="files"] {
    background: #f3e8ff;
    color: #9333ea;
}

.tool-card .tool-icon[data-icon="qr-code"] {
    background: #ffedd5;
    color: #ea580c;
}

/* Dark Mode Icons */

[data-theme="dark"] .tool-icon[data-icon="image"] {
    background: #172554;
    color: #60a5fa;
}

[data-theme="dark"] .tool-icon[data-icon="maximize"] {
    background: #052e16;
    color: #4ade80;
}

[data-theme="dark"] .tool-icon[data-icon="file-image"] {
    background: #450a0a;
    color: #f87171;
}

[data-theme="dark"] .tool-icon[data-icon="files"] {
    background: #3b0764;
    color: #c084fc;
}

[data-theme="dark"] .tool-icon[data-icon="qr-code"] {
    background: #431407;
    color: #fb923c;
}

/* Card Accent */

.tool-card::after {
    content: "↗";
    position: absolute;
    top: 22px;
    right: 22px;
    font-size: 20px;
    color: var(--muted);
    transition: 0.25s ease;
}

.tool-card:hover::after {
    color: var(--primary);
    transform: translate(3px, -3px);
}

@media (prefers-reduced-motion: reduce) {

    .tool-card:hover .tool-icon svg,
    .tool-card:hover::after {
        transform: none;
    }
}

/* SEO INTERNAL LINKS */

.seo-tools-section {
    max-width: 1150px;
    margin: 40px auto;
    padding: 25px 20px;
}

.seo-tools-section h2 {
    color: var(--text);
    font-size: 24px;
    margin-bottom: 12px;
}

.seo-tools-section p {
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 20px;
}

.seo-tool-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.seo-tool-links a {
    padding: 10px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--primary);
    font-size: 14px;
    text-decoration: none;
}

.seo-tool-links a:hover {
    border-color: var(--primary);
    text-decoration: underline;
}

/* ========================================
   LAZERTIMES BRAND LOGO
======================================== */

.brand-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-logo img {
    width: 168px;
    height: auto;
    display: block;
}

.brand-logo .logo-dark {
    display: none;
}

[data-theme="dark"] .brand-logo .logo-light {
    display: none;
}

[data-theme="dark"] .brand-logo .logo-dark {
    display: block;
}

@media (max-width: 600px) {

    .brand-logo img {
        width: 140px;
    }
}

/* ========================================
   ANSWER ENGINE OPTIMIZATION
======================================== */

.aeo-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 30px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
}

.aeo-section h2 {
    font-size: 22px;
    color: var(--text);
    margin: 24px 0 12px;
}

.aeo-section h2:first-child {
    margin-top: 0;
}

.aeo-section p,
.aeo-section li {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
}

.aeo-section ul {
    padding-left: 22px;
}

@media (max-width: 600px) {
    .aeo-section {
        margin: 20px 15px;
        padding: 20px;
    }

    .aeo-section h2 {
        font-size: 19px;
    }
}


