/*
Theme Name: Neon Loop Agency Theme
Theme URI: https://neonloopai.com
Author: Neon Loop AI
Author URI: https://neonloopai.com
Description: A custom, performance-first dark theme for Neon Loop AI - Web Development and Micro Tool Agency based in Ann Arbor, Michigan.
Version: 2.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: neonloop
*/

/* ========================================
   RESET & BASE
   ======================================== */

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

html {
    font-size: 100%;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

ul, ol {
    list-style: none;
}

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}

/* ========================================
   CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ======================================== */

:root {
    /* Backgrounds */
    --bg-primary: #0B0F14;
    --bg-secondary: #121A24;
    --bg-surface: #1A2430;

    /* Accents */
    --accent-primary: #18E0FF;
    --accent-secondary: #7A1E6C;

    /* Text */
    --text-primary: #E6EDF3;
    --text-secondary: #A9B4C0;
    --text-muted: #6F7C8C;

    /* Borders */
    --border-default: #243040;

    /* Status */
    --danger: #C62828;

    /* Spacing Scale */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;

    /* Typography Scale */
    --text-sm: 0.875rem;
    --text-base: 1.0625rem;
    --text-lg: 1.25rem;
    --text-xl: 1.5rem;
    --text-2xl: 2rem;
    --text-3xl: 2.5rem;
    --text-4xl: 3.25rem;

    /* Layout */
    --container-max: 1200px;
    --content-max: 720px;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.6s ease;

    /* Shadows */
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 20px rgba(24, 224, 255, 0.15);
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-primary);
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: var(--text-4xl);
    letter-spacing: -0.02em;
}

h2 {
    font-size: var(--text-3xl);
    letter-spacing: -0.01em;
}

h3 {
    font-size: var(--text-2xl);
}

h4 {
    font-size: var(--text-xl);
}

p {
    max-width: 65ch;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

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

.text-accent {
    color: var(--accent-primary);
}

/* ========================================
   LAYOUT UTILITIES
   ======================================== */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--space-lg);
    padding-right: var(--space-lg);
}

.section {
    padding-top: var(--space-5xl);
    padding-bottom: var(--space-5xl);
}

.section--alt {
    background-color: var(--bg-secondary);
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.875rem 2rem;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: var(--text-base);
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
    line-height: 1;
}

.btn--primary {
    background-color: var(--accent-primary);
    color: var(--bg-primary);
}

.btn--primary:hover {
    background-color: #14C8E6;
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
    color: var(--bg-primary);
}

.btn--secondary {
    background-color: transparent;
    color: var(--accent-primary);
    border: 1px solid var(--accent-primary);
}

.btn--secondary:hover {
    background-color: rgba(24, 224, 255, 0.08);
    transform: translateY(-2px);
    color: var(--accent-primary);
}

.btn--ghost {
    background-color: transparent;
    color: var(--text-secondary);
    padding: 0.875rem 1.25rem;
}

.btn--ghost:hover {
    color: var(--accent-primary);
}

.btn--sm {
    padding: 0.625rem 1.25rem;
    font-size: var(--text-sm);
}

/* ========================================
   CARDS
   ======================================== */

.card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

/* ========================================
   GSAP ANIMATION STATES
   ======================================== */

.gs-hidden {
    opacity: 0;
    visibility: hidden;
}

.gs-fade-up {
    opacity: 0;
    transform: translateY(30px);
}

.gs-fade-in {
    opacity: 0;
}

.gs-scale-in {
    opacity: 0;
    transform: scale(0.95);
}

/* ========================================
   STICKY CTA
   ======================================== */

.sticky-cta {
    position: fixed;
    bottom: var(--space-lg);
    right: var(--space-lg);
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity var(--transition-slow), transform var(--transition-slow);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--space-sm);
}

.sticky-cta.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.sticky-cta .btn {
    box-shadow: 0 4px 30px rgba(24, 224, 255, 0.25);
    white-space: nowrap;
    flex-shrink: 0;
}

.sticky-cta__phone {
    font-size: var(--text-sm);
    padding: 0.65rem 1.25rem;
    background-color: var(--bg-secondary);
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
}

.sticky-cta__phone:hover {
    background-color: rgba(24, 224, 255, 0.1);
    color: var(--accent-primary);
}

/* ========================================
   FOCUS STATES (ACCESSIBILITY)
   ======================================== */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

/* ========================================
   SCREEN READER ONLY
   ======================================== */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    :root {
        --text-4xl: 2.25rem;
        --text-3xl: 1.875rem;
        --text-2xl: 1.5rem;
    }

    .section {
        padding-top: var(--space-3xl);
        padding-bottom: var(--space-3xl);
    }

    .container {
        padding-left: var(--space-md);
        padding-right: var(--space-md);
    }

    /* === HIDE PHONE NUMBER ON MOBILE === */
    .site-header__phone {
        display: none !important;
    }
}

@media (min-width: 1440px) {
    .container {
        max-width: 1320px;
    }
}
/* Add to style.css */

.site-header__logo {
    display: flex;
    align-items: center; /* This forces vertical centering */
    gap: 12px;           /* Space between icon and text */
    text-decoration: none;
}

.site-header__wordmark {
    font-weight: 700;
    font-size: 1.125rem; /* 18px */
    letter-spacing: -0.02em;
    color: var(--text-primary);
    line-height: 1;      /* Prevents text from sitting too high/low */
}