/* ===========================================
   NEW YORK AD AGENCY 2025 - REPLYGUY THEME
   Ultra-Premium, Enterprise-Grade Design
   =========================================== */

:root {
    /* New York Agency Color System - Premium Palette */
    --ny-primary: #0a0a0a;           /* NYC Midnight Black */
    --ny-secondary: #ffffff;         /* Pure White */
    --ny-accent: #ff6b35;            /* NYC Orange */
    --ny-accent-blue: #0066cc;       /* Corporate Blue */
    --ny-accent-green: #00c851;      /* Success Green */
    --ny-accent-purple: #6366f1;     /* Modern Purple */
    --ny-accent-pink: #ec4899;       /* Hot Pink */
    --ny-neutral-50: #fafafa;        /* Ultra Light */
    --ny-neutral-100: #f5f5f5;       /* Very Light Gray */
    --ny-neutral-200: #e5e5e5;       /* Lighter Gray */
    --ny-neutral-300: #d4d4d4;       /* Light Gray */
    --ny-neutral-400: #a3a3a3;       /* Medium Gray */
    --ny-neutral-500: #737373;       /* Text Gray */
    --ny-neutral-600: #525252;       /* Dark Text */
    --ny-neutral-700: #404040;       /* Darker Text */
    --ny-neutral-800: #262626;       /* Very Dark */
    --ny-neutral-900: #171717;       /* Almost Black */
    --ny-neutral-950: #0a0a0a;       /* Pure Black */

    /* Premium Typography - Agency Grade */
    --font-primary: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-display: 'Calibre', 'Inter', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', Monaco, 'Cascadia Code', Consolas, monospace;

    /* Advanced Typography Scale - Fluid Typography */
    --font-size-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --font-size-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
    --font-size-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
    --font-size-lg: clamp(1.125rem, 1rem + 0.625vw, 1.25rem);
    --font-size-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
    --font-size-2xl: clamp(1.5rem, 1.3rem + 1vw, 1.875rem);
    --font-size-3xl: clamp(1.875rem, 1.6rem + 1.375vw, 2.25rem);
    --font-size-4xl: clamp(2.25rem, 1.9rem + 1.75vw, 3rem);
    --font-size-5xl: clamp(3rem, 2.5rem + 2.5vw, 4rem);
    --font-size-6xl: clamp(3.75rem, 3rem + 3.75vw, 5rem);
    --font-size-7xl: clamp(4.5rem, 3.5rem + 5vw, 6rem);
    --font-size-8xl: clamp(6rem, 4.5rem + 7.5vw, 8rem);
    --font-size-9xl: clamp(8rem, 6rem + 10vw, 10rem);

    /* Premium Line Heights */
    --line-height-none: 1;
    --line-height-tight: 1.2;
    --line-height-snug: 1.35;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.65;
    --line-height-loose: 1.8;

    /* Advanced Spacing System - 8px Grid */
    --space-0: 0;
    --space-px: 1px;
    --space-0_5: 0.125rem;  /* 2px */
    --space-1: 0.25rem;     /* 4px */
    --space-1_5: 0.375rem;  /* 6px */
    --space-2: 0.5rem;      /* 8px */
    --space-2_5: 0.625rem;  /* 10px */
    --space-3: 0.75rem;     /* 12px */
    --space-3_5: 0.875rem;  /* 14px */
    --space-4: 1rem;        /* 16px */
    --space-5: 1.25rem;     /* 20px */
    --space-6: 1.5rem;      /* 24px */
    --space-7: 1.75rem;     /* 28px */
    --space-8: 2rem;        /* 32px */
    --space-9: 2.25rem;     /* 36px */
    --space-10: 2.5rem;     /* 40px */
    --space-11: 2.75rem;    /* 44px */
    --space-12: 3rem;       /* 48px */
    --space-14: 3.5rem;     /* 56px */
    --space-16: 4rem;       /* 64px */
    --space-20: 5rem;       /* 80px */
    --space-24: 6rem;       /* 96px */
    --space-28: 7rem;       /* 112px */
    --space-32: 8rem;       /* 128px */
    --space-36: 9rem;       /* 144px */
    --space-40: 10rem;      /* 160px */
    --space-44: 11rem;      /* 176px */
    --space-48: 12rem;      /* 192px */
    --space-52: 13rem;      /* 208px */
    --space-56: 14rem;      /* 224px */
    --space-60: 15rem;      /* 240px */
    --space-64: 16rem;      /* 256px */
    --space-72: 18rem;      /* 288px */
    --space-80: 20rem;      /* 320px */
    --space-96: 24rem;      /* 384px */

    /* Premium Border Radius */
    --radius-none: 0;
    --radius-sm: 0.125rem;
    --radius: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --radius-3xl: 1.5rem;
    --radius-4xl: 2rem;
    --radius-5xl: 2.5rem;
    --radius-6xl: 3rem;
    --radius-full: 9999px;

    /* Advanced Shadow System - Layered */
    --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-2xl: 0 50px 100px -20px rgb(0 0 0 / 0.25);
    --shadow-3xl: 0 75px 150px -30px rgb(0 0 0 / 0.3);
    --shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);
    --shadow-glow: 0 0 20px rgb(255 107 53 / 0.3);
    --shadow-glow-blue: 0 0 20px rgb(0 102 204 / 0.3);

    /* Premium Transitions */
    --transition-none: none;
    --transition-all: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-colors: color 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-opacity: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-transform: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-shadow: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Advanced Breakpoints */
    --breakpoint-xs: 320px;
    --breakpoint-sm: 640px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 1024px;
    --breakpoint-xl: 1280px;
    --breakpoint-2xl: 1536px;
    --breakpoint-3xl: 1920px;
    --breakpoint-4xl: 2560px;

    /* Z-Index Scale */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
    --z-toast: 1080;
    --z-notification: 1090;
}

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

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-normal);
    color: var(--ny-neutral-900);
    background: var(--ny-neutral-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: 'kern' 1, 'liga' 1;
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: var(--line-height-tight);
    color: var(--ny-neutral-900);
    margin-bottom: var(--space-4);
    font-family: var(--font-display);
}

h1 {
    font-size: var(--font-size-6xl);
    background: linear-gradient(135deg, var(--ny-accent), var(--ny-accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease infinite;
    font-weight: 900;
    letter-spacing: -0.05em;
}

h2 {
    font-size: var(--font-size-5xl);
    color: var(--ny-neutral-900);
    letter-spacing: -0.025em;
    font-weight: 800;
}

h3 {
    font-size: var(--font-size-3xl);
    color: var(--ny-accent-blue);
    font-weight: 700;
}

h4 {
    font-size: var(--font-size-2xl);
    color: var(--ny-neutral-800);
    font-weight: 600;
}

p {
    margin-bottom: var(--space-6);
    color: var(--ny-neutral-600);
    line-height: var(--line-height-relaxed);
    font-size: var(--font-size-base);
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    word-break: normal;
    text-align: justify;
    text-justify: inter-word;
}

a {
    color: var(--ny-accent-blue);
    text-decoration: none;
    transition: var(--transition-colors);
    font-weight: 500;
}

a:hover {
    color: var(--ny-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ===========================================
   NAVIGATION - NEW YORK AGENCY STANDARD
   =========================================== */

.hero-header {
    position: relative;
    background: linear-gradient(135deg, var(--ny-primary) 0%, var(--ny-neutral-900) 100%);
    color: var(--ny-secondary);
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.hero-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="60" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="60" cy="80" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="40" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    animation: float 20s ease-in-out infinite;
    z-index: 1;
}

.main-nav {
    position: relative;
    z-index: var(--z-sticky);
    padding: var(--space-8) 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-8);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: var(--font-size-2xl);
    font-weight: 900;
    color: var(--ny-secondary);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-family: var(--font-display);
    letter-spacing: -0.02em;
}

.logo i {
    color: var(--ny-accent);
    animation: pulse-glow 2s ease-in-out infinite;
    font-size: var(--font-size-3xl);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-8);
}

.nav-menu a {
    color: var(--ny-secondary);
    font-weight: 600;
    transition: var(--transition-colors);
    position: relative;
    font-size: var(--font-size-base);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--ny-secondary);
    background: rgba(255, 107, 53, 0.25);
    border-color: rgba(255, 107, 53, 0.5);
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.3);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--ny-accent), var(--ny-accent-blue));
    transition: var(--transition-all);
    border-radius: var(--radius-full);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: var(--space-1);
    padding: var(--space-2);
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--ny-secondary);
    transition: var(--transition-all);
    border-radius: var(--radius-full);
}

/* ===========================================
   HERO SECTION - NEW YORK AGENCY STANDARD
   =========================================== */

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-32) var(--space-8);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-24);
    align-items: center;
    min-height: calc(100vh - 120px);
    position: relative;
    z-index: 2;
}

.hero-text {
    animation: fade-in-up 1s ease-out;
}

.hero-subtitle {
    font-size: var(--font-size-3xl);
    color: var(--ny-neutral-300);
    margin-bottom: var(--space-12);
    font-weight: 400;
    line-height: var(--line-height-relaxed);
}

.hero-stats {
    display: flex;
    gap: var(--space-6);
    margin-bottom: var(--space-12);
    flex-wrap: wrap;
}

.hero-stats .stat {
    text-align: center;
    background: rgba(255, 255, 255, 0.08);
    padding: var(--space-6);
    border-radius: var(--radius-2xl);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex: 1;
    min-width: 140px;
}

.hero-stats .stat .number {
    display: block;
    font-size: var(--font-size-4xl);
    font-weight: 900;
    color: var(--ny-accent);
    margin-bottom: var(--space-2);
}

.hero-stats .stat .label {
    font-size: var(--font-size-sm);
    color: var(--ny-neutral-400);
    margin-top: var(--space-2);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    background: linear-gradient(135deg, var(--ny-accent), var(--ny-accent-blue));
    color: var(--ny-secondary);
    padding: var(--space-5) var(--space-8);
    border-radius: var(--radius-2xl);
    font-weight: 700;
    font-size: var(--font-size-lg);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition-all);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    font-family: var(--font-display);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: var(--transition-slow);
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-2xl), var(--shadow-glow);
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--ny-accent), var(--ny-accent-blue));
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--ny-accent-blue);
    color: var(--ny-secondary);
}

.hero-visual {
    position: relative;
    animation: fade-in-right 1.2s ease-out;
}

.floating-elements {
    position: relative;
    height: 500px;
}

.social-icon {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-3xl);
    color: var(--ny-secondary);
    box-shadow: var(--shadow-2xl);
    animation: float 6s ease-in-out infinite;
    backdrop-filter: blur(10px);
}

.social-icon.x {
    background: linear-gradient(135deg, #000000, #111827);
    top: 15%;
    left: 5%;
    animation-delay: 0s;
}

.social-icon.reddit {
    background: linear-gradient(135deg, #FF4500, #FF7139);
    top: 40%;
    left: 12%;
    animation-delay: 1.2s;
}

.social-icon.linkedin {
    background: linear-gradient(135deg, #0077B5, #006097);
    top: 55%;
    right: 15%;
    animation-delay: 2s;
}

.social-icon.instagram {
    background: linear-gradient(135deg, #E1306C, #F56040, #FCAF45);
    bottom: 25%;
    left: 25%;
    animation-delay: 4s;
}

.chat-bubble {
    position: absolute;
    background: var(--ny-secondary);
    padding: var(--space-6);
    border-radius: var(--radius-3xl);
    box-shadow: var(--shadow-2xl);
    top: 35%;
    right: 5%;
    animation: bounce 3s ease-in-out infinite;
    border: 1px solid var(--ny-neutral-200);
}

.chat-bubble::after {
    content: '';
    position: absolute;
    bottom: -12px;
    right: 40px;
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 12px solid var(--ny-secondary);
}

/* ===========================================
   BREADCRUMBS - NEW YORK AGENCY STANDARD
   =========================================== */

.breadcrumb {
    background: var(--ny-neutral-100);
    border-bottom: 1px solid var(--ny-neutral-200);
    padding: var(--space-6) 0;
    position: relative;
    z-index: 2;
}

.breadcrumb ol {
    display: flex;
    list-style: none;
    gap: var(--space-2);
    font-size: var(--font-size-sm);
    color: var(--ny-neutral-500);
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-8);
}

.breadcrumb li:not(:last-child)::after {
    content: '→';
    margin: 0 var(--space-2);
    color: var(--ny-neutral-400);
    font-weight: 400;
}

.breadcrumb a {
    color: var(--ny-accent-blue);
    font-weight: 500;
    transition: var(--transition-colors);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius);
}

.breadcrumb a:hover {
    color: var(--ny-accent);
    background: rgba(255, 107, 53, 0.1);
}

/* ===========================================
   CONTENT SECTIONS - NEW YORK AGENCY STANDARD
   =========================================== */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-8);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-24);
    position: relative;
}

.section-decoration {
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, var(--ny-accent), var(--ny-accent-blue), var(--ny-accent-green));
    margin: var(--space-8) auto;
    border-radius: var(--radius-full);
    position: relative;
    box-shadow: var(--shadow-sm);
}

.section-decoration::after {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--ny-accent), var(--ny-accent-blue), var(--ny-accent-green));
    border-radius: var(--radius-full);
    opacity: 0.6;
    animation: shimmer 2s ease-in-out infinite;
}

/* ===========================================
   CONTENT GRIDS & CARDS - NEW YORK AGENCY STANDARD
   =========================================== */

.content-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: var(--space-16);
    margin-bottom: var(--space-24);
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* Enhanced Visual Content Sections */
.visual-content-section {
    background: linear-gradient(135deg, var(--ny-neutral-50) 0%, rgba(255, 107, 53, 0.05) 100%);
    border-radius: var(--radius-4xl);
    padding: var(--space-16);
    margin: var(--space-12) 0;
    border: 1px solid rgba(255, 107, 53, 0.1);
    position: relative;
    overflow: hidden;
}

.visual-content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--ny-accent), var(--ny-accent-blue), var(--ny-accent-green));
    border-radius: var(--radius-4xl) var(--radius-4xl) 0 0;
}

.text-visualizer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
    margin: var(--space-12) 0;
}

.text-visualizer .text-content {
    font-size: var(--font-size-lg);
    line-height: var(--line-height-relaxed);
    color: var(--ny-neutral-700);
    font-weight: 400;
}

.text-visualizer .visual-element {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.visual-metric {
    background: var(--ny-secondary);
    padding: var(--space-6);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--ny-neutral-200);
    text-align: center;
    transition: var(--transition-all);
}

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

.visual-metric .metric-number {
    font-size: var(--font-size-4xl);
    font-weight: 900;
    background: linear-gradient(135deg, var(--ny-accent), var(--ny-accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: var(--space-2);
}

.visual-metric .metric-label {
    font-size: var(--font-size-sm);
    color: var(--ny-neutral-600);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.content-break {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--ny-accent-blue), var(--ny-accent), var(--ny-accent-green), transparent);
    margin: var(--space-16) auto;
    border-radius: var(--radius-full);
    max-width: 200px;
    opacity: 0.6;
}

.main-content {
    background: var(--ny-secondary);
    padding: var(--space-12);
    border-radius: var(--radius-3xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--ny-neutral-200);
    position: relative;
    overflow: hidden;
}

.main-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--ny-accent), var(--ny-accent-blue), var(--ny-accent-green));
    border-radius: var(--radius-3xl) var(--radius-3xl) 0 0;
}

.sidebar {
    position: sticky;
    top: var(--space-12);
}

.sidebar-widget {
    background: var(--ny-secondary);
    padding: var(--space-8);
    margin-bottom: var(--space-8);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--ny-neutral-200);
    transition: var(--transition-all);
}

.sidebar-widget:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-2px);
}

.sidebar-widget h4 {
    color: var(--ny-neutral-900);
    margin-bottom: var(--space-6);
    position: relative;
    font-size: var(--font-size-xl);
    font-weight: 700;
}

.sidebar-widget h4::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--ny-accent), var(--ny-accent-blue));
    border-radius: var(--radius-full);
}

/* ===========================================
   SPECIAL ELEMENTS - NEW YORK AGENCY STANDARD
   =========================================== */

.definition-box {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.08), rgba(0, 102, 204, 0.08));
    border: 2px solid var(--ny-neutral-200);
    padding: var(--space-12);
    border-radius: var(--radius-3xl);
    margin: var(--space-12) 0;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-all);
}

.definition-box:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-2px);
}

.definition-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,107,53,0.05) 0%, transparent 70%);
    animation: rotate-gradient 8s linear infinite;
}

.definition-box h3 {
    color: var(--ny-accent);
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-5);
    position: relative;
    z-index: 1;
    font-weight: 700;
}

.definition-box blockquote {
    position: relative;
    z-index: 1;
    font-style: italic;
    border-left: 4px solid var(--ny-accent-blue);
    padding-left: var(--space-8);
    font-size: var(--font-size-lg);
    line-height: var(--line-height-relaxed);
    color: var(--ny-neutral-700);
}

.highlight-box {
    background: linear-gradient(135deg, rgba(0, 198, 81, 0.08), rgba(99, 102, 241, 0.08));
    border: 2px solid var(--ny-accent-green);
    padding: var(--space-12);
    border-radius: var(--radius-2xl);
    margin: var(--space-12) 0;
    position: relative;
    box-shadow: var(--shadow-md);
}

.highlight-box i {
    color: var(--ny-accent-green);
    font-size: var(--font-size-3xl);
    margin-bottom: var(--space-5);
    display: block;
}

/* ===========================================
   FEATURES & CARDS - NEW YORK AGENCY STANDARD
   =========================================== */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-12);
    margin-bottom: var(--space-24);
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    background: var(--ny-secondary);
    padding: var(--space-12);
    border-radius: var(--radius-3xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--ny-neutral-200);
    transition: var(--transition-all);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--ny-accent), var(--ny-accent-blue), var(--ny-accent-green));
    border-radius: var(--radius-3xl) var(--radius-3xl) 0 0;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-3xl);
}

.feature-card.attention-card {
    background: radial-gradient(circle at top left, rgba(255, 107, 53, 0.25), rgba(0, 102, 204, 0.35));
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--ny-secondary);
    overflow: hidden;
}

.feature-card.attention-card .feature-icon {
    background: linear-gradient(135deg, var(--ny-accent), var(--ny-accent-blue));
    border-color: rgba(255, 255, 255, 0.3);
}

.feature-card.attention-card h3 {
    color: var(--ny-secondary);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.feature-card.attention-card p {
    color: rgba(255, 255, 255, 0.85);
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    max-width: 100%;
    overflow: hidden;
}

.feature-card.attention-card .feature-examples {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.feature-card.attention-card .example {
    background: rgba(255, 255, 255, 0.12);
    border-left-color: rgba(255, 255, 255, 0.6);
    color: rgba(255, 255, 255, 0.85);
}

.feature-card.attention-card .example small {
    color: var(--ny-secondary);
}

.feature-card.attention-card .example p {
    background: rgba(10, 10, 10, 0.3);
    color: var(--ny-secondary);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--ny-accent-blue), var(--ny-accent-purple));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-3xl);
    color: var(--ny-secondary);
    margin-bottom: var(--space-8);
    box-shadow: var(--shadow-xl);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.feature-examples {
    margin-top: var(--space-8);
    padding-top: var(--space-8);
    border-top: 1px solid var(--ny-neutral-200);
}

.example {
    background: var(--ny-neutral-100);
    padding: var(--space-5);
    border-radius: var(--radius-xl);
    font-size: var(--font-size-sm);
    color: var(--ny-neutral-700);
    position: relative;
    border-left: 3px solid var(--ny-accent-blue);
}

.example small {
    color: var(--ny-neutral-900);
    font-weight: 600;
    display: block;
    margin-bottom: var(--space-2);
    font-size: var(--font-size-base);
}

.example p {
    margin-bottom: 0;
    font-family: var(--font-mono);
    background: var(--ny-neutral-200);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius);
    font-size: var(--font-size-xs);
    color: var(--ny-neutral-800);
}

/* ===========================================
   STATISTICS & METRICS - NEW YORK AGENCY STANDARD
   =========================================== */

.stats-overview {
    display: flex;
    justify-content: center;
    gap: var(--space-12);
    margin-bottom: var(--space-24);
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.stat-circle {
    text-align: center;
    background: var(--ny-secondary);
    padding: var(--space-12);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-2xl);
    border: 4px solid transparent;
    background: linear-gradient(var(--ny-secondary), var(--ny-secondary)) padding-box,
                linear-gradient(135deg, var(--ny-accent), var(--ny-accent-blue)) border-box;
    position: relative;
    overflow: hidden;
    transition: var(--transition-all);
    flex: 1;
    min-width: 200px;
}

.stat-circle:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-3xl);
}

.stat-circle::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,107,53,0.05) 0%, transparent 70%);
    animation: rotate-gradient 6s linear infinite;
}

.stat-circle .circle-content {
    position: relative;
    z-index: 1;
}

.stat-number {
    display: block;
    font-size: var(--font-size-5xl);
    font-weight: 900;
    background: linear-gradient(135deg, var(--ny-accent), var(--ny-accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-3);
    font-family: var(--font-display);
}

.stat-label {
    font-size: var(--font-size-lg);
    color: var(--ny-neutral-600);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.stats-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--ny-secondary);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--ny-neutral-200);
}

.stats-table th,
.stats-table td {
    padding: var(--space-6);
    text-align: left;
    border-bottom: 1px solid var(--ny-neutral-200);
}

.stats-table th {
    background: linear-gradient(135deg, var(--ny-accent-blue), var(--ny-accent-purple));
    color: var(--ny-secondary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: var(--font-size-sm);
    letter-spacing: 0.1em;
}

.stats-table tr:nth-child(even) {
    background: var(--ny-neutral-50);
}

.stats-table tr:hover {
    background: rgba(255, 107, 53, 0.05);
    transition: var(--transition-colors);
}

/* ===========================================
   CTA SECTIONS - NEW YORK AGENCY STANDARD
   =========================================== */

.cta-section {
    background: linear-gradient(135deg, var(--ny-primary) 0%, var(--ny-neutral-900) 100%);
    color: var(--ny-secondary);
    padding: var(--space-32) 0;
    margin-top: var(--space-24);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="60" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="60" cy="80" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="40" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    animation: float 20s ease-in-out infinite;
    z-index: 1;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    color: var(--ny-secondary);
    margin-bottom: var(--space-8);
    font-size: var(--font-size-5xl);
    font-weight: 900;
}

.cta-content p {
    color: var(--ny-neutral-300);
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-12);
    line-height: var(--line-height-relaxed);
}

.cta-buttons {
    display: flex;
    gap: var(--space-6);
    justify-content: center;
    flex-wrap: wrap;
}

/* ===========================================
   FOOTER - NEW YORK AGENCY STANDARD
   =========================================== */

.main-footer {
    background: var(--ny-primary);
    color: var(--ny-neutral-300);
    padding: var(--space-32) 0 var(--space-16);
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-16);
    margin-bottom: var(--space-16);
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 var(--space-8);
}

.footer-section h4 {
    color: var(--ny-secondary);
    margin-bottom: var(--space-8);
    position: relative;
    font-size: var(--font-size-xl);
    font-weight: 700;
    font-family: var(--font-display);
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--ny-accent), var(--ny-accent-blue));
    border-radius: var(--radius-full);
}

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

.footer-section li {
    margin-bottom: var(--space-3);
}

.footer-section a {
    color: var(--ny-neutral-400);
    transition: var(--transition-colors);
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
}

.footer-section a:hover {
    color: var(--ny-accent);
}

.social-links {
    display: flex;
    gap: var(--space-6);
    margin-top: var(--space-8);
}

.social-links a {
    color: var(--ny-neutral-400);
    font-size: var(--font-size-xl);
    transition: var(--transition-all);
    padding: var(--space-3);
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.05);
}

.social-links a:hover {
    color: var(--ny-accent);
    background: rgba(255, 107, 53, 0.1);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.footer-bottom {
    border-top: 1px solid var(--ny-neutral-800);
    padding-top: var(--space-12);
    text-align: center;
    color: var(--ny-neutral-500);
    font-size: var(--font-size-sm);
    max-width: 1400px;
    margin: 0 auto;
    padding-left: var(--space-8);
    padding-right: var(--space-8);
}

.footer-bottom a {
    color: var(--ny-accent-blue);
    transition: var(--transition-colors);
}

.footer-bottom a:hover {
    color: var(--ny-accent);
}

/* ===========================================
   ANIMATIONS - NEW YORK AGENCY STANDARD
   =========================================== */

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 5px var(--ny-accent-blue);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 20px var(--ny-accent-blue), 0 0 30px var(--ny-accent-blue);
        transform: scale(1.05);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(var(--space-8));
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in-right {
    from {
        opacity: 0;
        transform: translateX(var(--space-8));
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes rotate-gradient {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes slide-in-up {
    from {
        opacity: 0;
        transform: translateY(var(--space-12));
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scale-in {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===========================================
   RESPONSIVE DESIGN - NEW YORK AGENCY STANDARD
   =========================================== */

@media (max-width: 1280px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-16);
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }

    .sidebar {
        position: static;
        margin-top: var(--space-16);
    }
}

@media (max-width: 1024px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-4);
    }

    .hero-stats .stat {
        flex: 1;
        min-width: 160px;
    }

    .stats-overview {
        flex-direction: column;
        align-items: center;
        gap: var(--space-8);
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: var(--space-8);
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-12);
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding: var(--space-20) var(--space-6);
        gap: var(--space-12);
    }

    .hero-subtitle {
        font-size: var(--font-size-2xl);
    }

    .hero-stats .stat {
        min-width: 140px;
        padding: var(--space-4);
    }

    .stat-number {
        font-size: var(--font-size-3xl);
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .feature-card {
        padding: var(--space-8);
    }

    .main-content {
        padding: var(--space-8);
    }

    .sidebar-widget {
        padding: var(--space-6);
    }

    .cta-content h2 {
        font-size: var(--font-size-4xl);
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: var(--space-4);
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 640px) {
    .hero-content {
        padding: var(--space-16) var(--space-4);
    }

    h1 {
        font-size: var(--font-size-4xl);
    }

    h2 {
        font-size: var(--font-size-3xl);
    }

    .section-decoration {
        width: 80px;
    }

    .stat-circle {
        min-width: 180px;
        margin-bottom: var(--space-6);
    }

    .social-icon {
        width: 80px;
        height: 80px;
    }

    .floating-elements {
        height: 400px;
    }

    .chat-bubble {
        display: none;
    }

    .container {
        padding: 0 var(--space-4);
    }

    .content-grid {
        gap: var(--space-8);
    }

    .main-content {
        padding: var(--space-6);
    }

    .sidebar-widget {
        padding: var(--space-4);
    }

    /* Responsive Visual Elements */
    .text-visualizer {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .visual-metric {
        padding: var(--space-4);
    }

    .visual-metric .metric-number {
        font-size: var(--font-size-3xl);
    }

    .content-break {
        max-width: 150px;
        margin: var(--space-12) auto;
    }

    .visual-content-section {
        padding: var(--space-12);
        margin: var(--space-8) 0;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: var(--space-12) var(--space-3);
    }

    .hero-stats .stat {
        min-width: 120px;
        padding: var(--space-3);
    }

    .stat-number {
        font-size: var(--font-size-2xl);
    }

    .stat-label {
        font-size: var(--font-size-xs);
    }

    .feature-card {
        padding: var(--space-6);
    }

    .main-content {
        padding: var(--space-4);
    }

    .section-header {
        margin-bottom: var(--space-16);
    }

    .cta-content h2 {
        font-size: var(--font-size-3xl);
    }

    .cta-content p {
        font-size: var(--font-size-lg);
    }
}

/* ===========================================
   ACCESSIBILITY - NEW YORK AGENCY STANDARD
   =========================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for better accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--ny-accent-blue);
    outline-offset: 2px;
    border-radius: var(--radius);
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --ny-neutral-600: #000000;
        --ny-neutral-300: #FFFFFF;
        --ny-neutral-500: #666666;
        --ny-accent-blue: #0000FF;
        --ny-accent: #FF6600;
    }
}

/* ===========================================
   DARK MODE SUPPORT - NEW YORK AGENCY STANDARD
   =========================================== */

@media (prefers-color-scheme: dark) {
    :root {
        --ny-neutral-50: #0a0a0a;
        --ny-neutral-100: #1a1a1a;
        --ny-neutral-200: #2a2a2a;
        --ny-neutral-300: #404040;
        --ny-neutral-400: #525252;
        --ny-neutral-500: #737373;
        --ny-neutral-600: #a3a3a3;
        --ny-neutral-700: #d4d4d4;
        --ny-neutral-800: #e5e5e5;
        --ny-neutral-900: #f5f5f5;
        --ny-primary: #ffffff;
        --ny-secondary: #0a0a0a;
    }

    body {
        background: var(--ny-neutral-50);
        color: var(--ny-neutral-900);
    }

    .main-content,
    .sidebar-widget,
    .feature-card {
        background: var(--ny-neutral-100);
        border-color: var(--ny-neutral-300);
    }

    .definition-box,
    .highlight-box {
        background: rgba(255, 107, 53, 0.05);
        border-color: var(--ny-neutral-300);
    }
}

/* ===========================================
   PRINT STYLES - NEW YORK AGENCY STANDARD
   =========================================== */

@media print {
    .hero-header,
    .cta-section,
    .main-footer {
        display: none !important;
    }

    body {
        background: var(--ny-secondary) !important;
        color: var(--ny-primary) !important;
    }

    .main-content,
    .sidebar-widget,
    .feature-card {
        box-shadow: none !important;
        border: 1px solid var(--ny-neutral-300) !important;
        background: var(--ny-secondary) !important;
    }

    h1, h2, h3 {
        color: var(--ny-primary) !important;
    }

    p {
        color: var(--ny-neutral-700) !important;
    }
}

/* ===========================================
   ADDITIONAL PREMIUM FEATURES - NEW YORK AGENCY STANDARD
   =========================================== */

/* Loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--ny-accent);
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Scroll animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(var(--space-8));
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Premium button styles */
.btn-ghost {
    background: transparent;
    border: 2px solid var(--ny-accent-blue);
    color: var(--ny-accent-blue);
}

.btn-ghost:hover {
    background: var(--ny-accent-blue);
    color: var(--ny-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--ny-neutral-300);
    color: var(--ny-neutral-700);
}

.btn-outline:hover {
    border-color: var(--ny-accent);
    color: var(--ny-accent);
    background: rgba(255, 107, 53, 0.05);
}

/* Card hover effects */
.card-lift {
    transition: var(--transition-all);
}

.card-lift:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-3xl);
}

/* Text selection */
::selection {
    background: var(--ny-accent);
    color: var(--ny-secondary);
}

::-moz-selection {
    background: var(--ny-accent);
    color: var(--ny-secondary);
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--ny-neutral-100);
}

::-webkit-scrollbar-thumb {
    background: var(--ny-neutral-400);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--ny-accent);
}

/* Premium form styles */
.form-input {
    width: 100%;
    padding: var(--space-4) var(--space-5);
    border: 2px solid var(--ny-neutral-200);
    border-radius: var(--radius-xl);
    font-size: var(--font-size-base);
    transition: var(--transition-all);
    background: var(--ny-secondary);
}

.form-input:focus {
    outline: none;
    border-color: var(--ny-accent-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-input::placeholder {
    color: var(--ny-neutral-400);
}

/* Premium gradients */
.gradient-text {
    background: linear-gradient(135deg, var(--ny-accent), var(--ny-accent-blue), var(--ny-accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-bg {
    background: linear-gradient(135deg, var(--ny-accent), var(--ny-accent-blue));
}

.gradient-border {
    position: relative;
    background: linear-gradient(var(--ny-secondary), var(--ny-secondary)) padding-box,
                linear-gradient(135deg, var(--ny-accent), var(--ny-accent-blue)) border-box;
    border: 2px solid transparent;
}

/* ===========================================
   UTILITY CLASSES - NEW YORK AGENCY STANDARD
   =========================================== */

/* Spacing utilities */
.m-0 { margin: 0; }
.m-1 { margin: var(--space-1); }
.m-2 { margin: var(--space-2); }
.m-3 { margin: var(--space-3); }
.m-4 { margin: var(--space-4); }
.m-5 { margin: var(--space-5); }
.m-6 { margin: var(--space-6); }
.m-8 { margin: var(--space-8); }

.p-0 { padding: 0; }
.p-1 { padding: var(--space-1); }
.p-2 { padding: var(--space-2); }
.p-3 { padding: var(--space-3); }
.p-4 { padding: var(--space-4); }
.p-5 { padding: var(--space-5); }
.p-6 { padding: var(--space-6); }
.p-8 { padding: var(--space-8); }

/* Text utilities */
.text-xs { font-size: var(--font-size-xs); }
.text-sm { font-size: var(--font-size-sm); }
.text-base { font-size: var(--font-size-base); }
.text-lg { font-size: var(--font-size-lg); }
.text-xl { font-size: var(--font-size-xl); }
.text-2xl { font-size: var(--font-size-2xl); }
.text-3xl { font-size: var(--font-size-3xl); }

.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }

.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

.text-primary { color: var(--ny-primary); }
.text-secondary { color: var(--ny-secondary); }
.text-accent { color: var(--ny-accent); }
.text-accent-blue { color: var(--ny-accent-blue); }
.text-muted { color: var(--ny-neutral-500); }

/* Flex utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }

.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }

.justify-center { justify-content: center; }
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }

.gap-1 { gap: var(--space-1); }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-5 { gap: var(--space-5); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

/* Border radius utilities */
.rounded-none { border-radius: 0; }
.rounded-sm { border-radius: var(--radius-sm); }
.rounded { border-radius: var(--radius); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-2xl { border-radius: var(--radius-2xl); }
.rounded-3xl { border-radius: var(--radius-3xl); }
.rounded-full { border-radius: var(--radius-full); }

/* Shadow utilities */
.shadow-none { box-shadow: none; }
.shadow-xs { box-shadow: var(--shadow-xs); }
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow { box-shadow: var(--shadow); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }
.shadow-2xl { box-shadow: var(--shadow-2xl); }
.shadow-3xl { box-shadow: var(--shadow-3xl); }

/* Display utilities */
.block { display: block; }
.inline-block { display: inline-block; }
.inline { display: inline; }
.hidden { display: none; }

.w-full { width: 100%; }
.h-full { height: 100%; }
.min-h-screen { min-height: 100vh; }

/* Position utilities */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }

/* Overflow utilities */
.overflow-hidden { overflow: hidden; }
.overflow-visible { overflow: visible; }
.overflow-auto { overflow: auto; }
.overflow-scroll { overflow: scroll; }

/* Animation utilities */
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
.animate-bounce { animation: bounce 1s infinite; }
.animate-spin { animation: spin 1s linear infinite; }
.animate-ping { animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite; }

@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Transform utilities */
.transform { transform: translateX(var(--tw-translate-x, 0)) translateY(var(--tw-translate-y, 0)) rotate(var(--tw-rotate, 0)) skewX(var(--tw-skew-x, 0)) skewY(var(--tw-skew-y, 0)) scaleX(var(--tw-scale-x, 1)) scaleY(var(--tw-scale-y, 1)); }
.transform-none { transform: none; }

.hover\:scale-105:hover { --tw-scale-x: 1.05; --tw-scale-y: 1.05; }
.hover\:scale-110:hover { --tw-scale-x: 1.1; --tw-scale-y: 1.1; }

.transition-all { transition: all 0.15s ease; }
.transition-colors { transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease; }
.transition-transform { transition: transform 0.15s ease; }

/* Background utilities */
.bg-transparent { background-color: transparent; }
.bg-white { background-color: var(--ny-secondary); }
.bg-gray-50 { background-color: var(--ny-neutral-50); }
.bg-gray-100 { background-color: var(--ny-neutral-100); }
.bg-gray-200 { background-color: var(--ny-neutral-200); }

/* Border utilities */
.border { border-width: 1px; }
.border-0 { border-width: 0; }
.border-2 { border-width: 2px; }
.border-t { border-top-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-l { border-left-width: 1px; }
.border-r { border-right-width: 1px; }

.border-gray-200 { border-color: var(--ny-neutral-200); }
.border-gray-300 { border-color: var(--ny-neutral-300); }
.border-blue-500 { border-color: var(--ny-accent-blue); }
.border-orange-500 { border-color: var(--ny-accent); }

/* Cursor utilities */
.cursor-pointer { cursor: pointer; }
.cursor-not-allowed { cursor: not-allowed; }
.cursor-default { cursor: default; }

/* Opacity utilities */
.opacity-0 { opacity: 0; }
.opacity-25 { opacity: 0.25; }
.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }
.opacity-100 { opacity: 1; }

/* Pointer events utilities */
.pointer-events-none { pointer-events: none; }
.pointer-events-auto { pointer-events: auto; }

/* Select utilities */
.select-none { user-select: none; }
.select-text { user-select: text; }
.select-all { user-select: all; }
.select-auto { user-select: auto; }

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus visible for better accessibility */
.focus\:outline-none:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
}

.focus\:ring:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.5);
}

/* 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: 0;
}

/* Not screen reader only */
.not-sr-only {
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
}

/* Truncate text */
.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Aspect ratio utilities */
.aspect-square {
    aspect-ratio: 1 / 1;
}

.aspect-video {
    aspect-ratio: 16 / 9;
}

/* Container queries (when supported) */
@container (min-width: 400px) {
    .container\:text-lg {
        font-size: var(--font-size-lg);
    }
}

/* Print utilities */
@media print {
    .print\:hidden {
        display: none !important;
    }

    .print\:block {
        display: block !important;
    }
}
