/*
Theme Name: Attention Theory
Theme URI: https://attention-theory.com
Description: Custom WordPress theme matching Next.js design system. Features vibrant neon aesthetics with dark mode, modern typography, and seamless integration with pre-rendered content.
Version: 1.2.0
Author: Attention Theory
Author URI: https://attention-theory.com
Text Domain: attention-theory
Tags: dark, modern, neon, business, marketing, minimal
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@300;400;500;600;700&family=Caveat:wght@400;500;600;700&display=swap');

/* CSS Variables - Attention-Theory Color Palette */
:root {
    /* Foundation Colors */
    --color-black: #0A0A0A;
    --color-white: #FFFFFF;
    --color-dark-gray: #1A1A1A;
    --color-medium-gray: #2A2A2A;
    --color-light-gray: #E5E5E5;

    /* Vibrant Accent Colors */
    --color-neon-green: #39FF14;
    --color-bright-yellow: #FFED00;
    --color-electric-cyan: #00F0FF;
    --color-hot-magenta: #FF006E;

    /* Semantic Colors */
    --color-primary: var(--color-neon-green);
    --color-secondary: var(--color-bright-yellow);
    --color-accent: var(--color-electric-cyan);
    --color-highlight: var(--color-hot-magenta);

    /* Typography */
    --font-primary: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-accent: 'Caveat', cursive;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-pill: 999px;

    /* Shadows & Glows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
    --glow-green: 0 0 20px rgba(57, 255, 20, 0.5);
    --glow-yellow: 0 0 20px rgba(255, 237, 0, 0.5);
    --glow-cyan: 0 0 20px rgba(0, 240, 255, 0.5);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-white);
    background-color: var(--color-black);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Typography Styles */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 2rem);
}

h5 {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
}

h6 {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
}

p {
    margin-bottom: var(--spacing-md);
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.7;
}

a {
    color: var(--color-neon-green);
    text-decoration: none;
    transition: all var(--transition-base);
}

a:hover {
    color: var(--color-bright-yellow);
    text-shadow: var(--glow-yellow);
}

/* WordPress Specific Alignments */
.alignleft {
    float: left;
    margin-right: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.alignright {
    float: right;
    margin-left: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--spacing-md);
}

/* Utility Classes */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.site-content {
    padding-top: 80px;
    /* Account for fixed header */
    min-height: calc(100vh - 400px);
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-md);
        max-width: 100%;
        overflow-x: hidden;
    }

    .site-content {
        padding-top: 60px;
    }
}