/*
Theme Name: How You Create
Theme URI: https://howyoucreate.com
Author: How You Create
Author URI: https://howyoucreate.com
Description: Professional theme for How You Create - Web Design Agency
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: howyoucreate
Tags: business, portfolio, custom-colors, custom-logo, featured-images, theme-options
*/

/* ================================================
   DESIGN SYSTEM - HOW YOU CREATE
   ================================================ */

:root {
    /* Brand Colors */
    --hyc-slate: #2d3748;
    --hyc-slate-dark: #1a202c;
    --hyc-slate-light: #4a5568;
    --hyc-emerald: #10b981;
    --hyc-emerald-dark: #059669;
    --hyc-emerald-light: #34d399;
    --hyc-teal: #14b8a6;
    
    /* Neutrals */
    --hyc-white: #ffffff;
    --hyc-off-white: #f7fafc;
    --hyc-gray-50: #f9fafb;
    --hyc-gray-100: #f3f4f6;
    --hyc-gray-200: #e5e7eb;
    --hyc-gray-300: #d1d5db;
    --hyc-gray-400: #9ca3af;
    --hyc-gray-500: #6b7280;
    --hyc-gray-600: #4b5563;
    --hyc-gray-700: #374151;
    --hyc-gray-800: #1f2937;
    --hyc-gray-900: #111827;
    
    /* Accent Colors */
    --hyc-amber: #f59e0b;
    --hyc-rose: #f43f5e;
    --hyc-violet: #8b5cf6;
    --hyc-sky: #0ea5e9;
    
    /* Typography */
    --font-display: 'DM Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Spacing */
    --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;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-glow: 0 0 40px rgba(16, 185, 129, 0.3);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
    
    /* Container */
    --container-max: 1280px;
    --container-narrow: 800px;
    --container-wide: 1440px;
}

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

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

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

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--hyc-gray-700);
    background: var(--hyc-white);
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

button {
    font-family: inherit;
    cursor: pointer;
}

ul, ol {
    list-style: none;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--hyc-slate);
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1.5rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--hyc-emerald) 0%, var(--hyc-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

.container--narrow {
    max-width: var(--container-narrow);
}

.container--wide {
    max-width: var(--container-wide);
}

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

.section--sm {
    padding: var(--space-3xl) 0;
}

.section--lg {
    padding: calc(var(--space-5xl) * 1.5) 0;
}

.section--dark {
    background: var(--hyc-slate);
    color: var(--hyc-white);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
    color: var(--hyc-white);
}

.section--gray {
    background: var(--hyc-gray-50);
}

.section--gradient {
    background: linear-gradient(135deg, var(--hyc-slate) 0%, var(--hyc-slate-dark) 100%);
    color: var(--hyc-white);
}

/* ================================================
   HEADER & NAVIGATION
   ================================================ */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--hyc-gray-100);
    transition: all var(--transition-base);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    gap: var(--space-xl);
}

.site-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-shrink: 0;
}

.site-logo img {
    height: 45px;
    width: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.main-nav > a,
.main-nav .nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
    font-size: 0.9375rem;
    color: var(--hyc-gray-600);
    position: relative;
    padding: var(--space-sm) 0;
    text-decoration: none;
    white-space: nowrap;
}

.main-nav > a::after,
.main-nav .nav-dropdown-trigger::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--hyc-emerald);
    transition: width var(--transition-fast);
}

.main-nav > a:hover,
.main-nav > a.current,
.main-nav .nav-dropdown-trigger:hover {
    color: var(--hyc-slate);
}

.main-nav > a:hover::after,
.main-nav > a.current::after,
.nav-dropdown:hover .nav-dropdown-trigger::after {
    width: 100%;
}

/* Nav Chevron - CSS Triangle */
.nav-chevron {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    margin-left: 4px;
    transition: transform var(--transition-fast);
}

.nav-dropdown:hover .nav-chevron {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--hyc-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--hyc-gray-100);
    padding: var(--space-sm);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
    display: block;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    color: var(--hyc-gray-600);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.nav-dropdown-menu a:hover {
    background: var(--hyc-gray-50);
    color: var(--hyc-slate);
}

.nav-dropdown-menu a::after {
    display: none;
}

.nav-dropdown-menu .nav-view-all {
    color: var(--hyc-emerald);
    font-weight: 600;
    border-top: 1px solid var(--hyc-gray-100);
    margin-top: var(--space-xs);
    padding-top: var(--space-sm);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-shrink: 0;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: var(--space-sm);
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--hyc-slate);
    transition: all var(--transition-fast);
}

/* Mobile Responsive Navigation */
@media (max-width: 1024px) {
    .header-inner {
        height: 70px;
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--hyc-white);
        flex-direction: column;
        padding: var(--space-lg);
        box-shadow: var(--shadow-lg);
        gap: 0;
        border-top: 1px solid var(--hyc-gray-100);
    }
    
    .main-nav.active {
        display: flex;
    }
    
    .main-nav > a,
    .main-nav .nav-dropdown-trigger {
        padding: var(--space-md) 0;
        width: 100%;
        border-bottom: 1px solid var(--hyc-gray-100);
    }
    
    .main-nav > a::after,
    .main-nav .nav-dropdown-trigger::after {
        display: none;
    }
    
    .nav-dropdown {
        width: 100%;
    }
    
    .nav-dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0 0 var(--space-md) var(--space-lg);
        opacity: 1;
        visibility: visible;
        min-width: auto;
        display: none;
    }
    
    .nav-dropdown.active .nav-dropdown-menu {
        display: block;
    }
    
    .nav-dropdown.active .nav-chevron {
        transform: rotate(180deg);
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-cta {
        display: none;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.875rem 1.75rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: var(--radius-lg);
    border: 2px solid transparent;
    transition: all var(--transition-base);
    white-space: nowrap;
    text-decoration: none;
}

.btn--primary {
    background: var(--hyc-emerald);
    color: var(--hyc-white);
    border-color: var(--hyc-emerald);
}

.btn--primary:hover {
    background: var(--hyc-emerald-dark);
    border-color: var(--hyc-emerald-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn--secondary {
    background: var(--hyc-slate);
    color: var(--hyc-white);
    border-color: var(--hyc-slate);
}

.btn--secondary:hover {
    background: var(--hyc-slate-dark);
    border-color: var(--hyc-slate-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--outline {
    background: transparent;
    color: var(--hyc-slate);
    border-color: var(--hyc-gray-300);
}

.btn--outline:hover {
    border-color: var(--hyc-emerald);
    color: var(--hyc-emerald);
}

.btn--ghost {
    background: transparent;
    color: var(--hyc-emerald);
    border-color: transparent;
    padding-left: 0;
    padding-right: 0;
}

.btn--ghost:hover {
    color: var(--hyc-emerald-dark);
}

.btn--white {
    background: var(--hyc-white);
    color: var(--hyc-slate);
    border-color: var(--hyc-white);
}

.btn--white:hover {
    background: var(--hyc-gray-50);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--lg {
    padding: 1.125rem 2.25rem;
    font-size: 1rem;
}

.btn--sm {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

.btn--full {
    width: 100%;
}

.btn svg {
    width: 18px;
    height: 18px;
}

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

.card {
    background: var(--hyc-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-base);
}

.card--shadow {
    box-shadow: var(--shadow-md);
}

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

.card--border {
    border: 1px solid var(--hyc-gray-200);
}

.card--border:hover {
    border-color: var(--hyc-emerald);
}

.card__image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.card:hover .card__image img {
    transform: scale(1.05);
}

.card__body {
    padding: var(--space-xl);
}

.card__tag {
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    background: var(--hyc-emerald-light);
    color: var(--hyc-emerald-dark);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-md);
}

.card__title {
    margin-bottom: var(--space-sm);
}

.card__excerpt {
    color: var(--hyc-gray-500);
    margin-bottom: var(--space-md);
}

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

.pricing-card {
    background: var(--hyc-white);
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
    border: 2px solid var(--hyc-gray-200);
    transition: all var(--transition-base);
    position: relative;
}

.pricing-card:hover {
    border-color: var(--hyc-emerald);
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.pricing-card--featured {
    border-color: var(--hyc-emerald);
    background: linear-gradient(to bottom, var(--hyc-white) 0%, rgba(16, 185, 129, 0.03) 100%);
}

.pricing-card--featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--hyc-emerald) 0%, var(--hyc-teal) 100%);
    color: var(--hyc-white);
    padding: var(--space-xs) var(--space-lg);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 600;
}

.pricing-card__header {
    text-align: center;
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--hyc-gray-200);
    margin-bottom: var(--space-xl);
}

.pricing-card__name {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.pricing-card__price {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--hyc-slate);
    line-height: 1;
}

.pricing-card__price span {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--hyc-gray-500);
}

.pricing-card__desc {
    color: var(--hyc-gray-500);
    margin-top: var(--space-sm);
}

.pricing-card__features {
    margin-bottom: var(--space-xl);
}

.pricing-card__feature {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
}

.pricing-card__feature svg {
    width: 20px;
    height: 20px;
    color: var(--hyc-emerald);
    flex-shrink: 0;
    margin-top: 2px;
}

.pricing-card__feature--disabled {
    color: var(--hyc-gray-400);
    text-decoration: line-through;
}

.pricing-card__feature--disabled svg {
    color: var(--hyc-gray-300);
}

/* ================================================
   HERO SECTIONS
   ================================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero--centered {
    text-align: center;
}

.hero--centered .hero__content {
    max-width: 800px;
    margin: 0 auto;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero__bg--gradient {
    background: linear-gradient(135deg, var(--hyc-slate) 0%, var(--hyc-slate-dark) 100%);
}

.hero__bg--pattern {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2310b981' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--hyc-emerald);
    margin-bottom: var(--space-lg);
}

.hero--dark .hero__badge {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--hyc-emerald-light);
}

.hero__title {
    margin-bottom: var(--space-lg);
}

.hero--dark .hero__title {
    color: var(--hyc-white);
}

.hero__subtitle {
    font-size: 1.25rem;
    color: var(--hyc-gray-600);
    margin-bottom: var(--space-xl);
    max-width: 600px;
}

.hero--dark .hero__subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.hero--centered .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
}

.hero__actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.hero--centered .hero__actions {
    justify-content: center;
}

.hero__image {
    position: relative;
}

.hero__image img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
}

.hero__decoration {
    position: absolute;
    pointer-events: none;
}

/* ================================================
   FEATURES
   ================================================ */

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

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

.feature__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(20, 184, 166, 0.1) 100%);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
    color: var(--hyc-emerald);
}

.feature__icon svg {
    width: 28px;
    height: 28px;
}

.feature__title {
    margin-bottom: var(--space-sm);
}

.feature__desc {
    color: var(--hyc-gray-500);
    margin-bottom: 0;
}

/* ================================================
   TESTIMONIALS
   ================================================ */

.testimonial {
    background: var(--hyc-white);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-md);
}

.testimonial__stars {
    display: flex;
    gap: var(--space-xs);
    margin-bottom: var(--space-lg);
    color: var(--hyc-amber);
}

.testimonial__text {
    font-size: 1.125rem;
    color: var(--hyc-slate);
    margin-bottom: var(--space-xl);
    font-style: italic;
}

.testimonial__author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.testimonial__avatar {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--hyc-emerald) 0%, var(--hyc-teal) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hyc-white);
    font-weight: 700;
    font-size: 1.25rem;
}

.testimonial__name {
    font-weight: 600;
    color: var(--hyc-slate);
    margin-bottom: 2px;
}

.testimonial__role {
    font-size: 0.875rem;
    color: var(--hyc-gray-500);
}

/* ================================================
   STATS
   ================================================ */

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

@media (max-width: 768px) {
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

.stat {
    text-align: center;
}

.stat__number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--hyc-emerald);
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.stat__label {
    color: var(--hyc-gray-500);
    font-size: 0.9375rem;
}

/* ================================================
   CTA SECTIONS
   ================================================ */

.cta-box {
    background: linear-gradient(135deg, var(--hyc-slate) 0%, var(--hyc-slate-dark) 100%);
    border-radius: var(--radius-2xl);
    padding: var(--space-4xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cta-box__title {
    color: var(--hyc-white);
    margin-bottom: var(--space-md);
    position: relative;
}

.cta-box__text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    margin-bottom: var(--space-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.cta-box__actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    position: relative;
}

/* ================================================
   FOOTER
   ================================================ */

.site-footer {
    background: var(--hyc-slate-dark);
    color: var(--hyc-gray-300);
    padding: var(--space-5xl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: var(--space-3xl);
    padding-bottom: var(--space-3xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-brand {
    max-width: 300px;
}

.footer-brand img {
    height: 40px;
    margin-bottom: var(--space-lg);
    filter: brightness(0) invert(1);
}

.footer-brand p {
    margin-bottom: var(--space-lg);
    font-size: 0.9375rem;
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--hyc-emerald);
    color: var(--hyc-white);
}

.footer-nav h4 {
    color: var(--hyc-white);
    font-size: 1rem;
    margin-bottom: var(--space-lg);
}

.footer-nav a {
    display: block;
    padding: var(--space-xs) 0;
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
}

.footer-nav a:hover {
    color: var(--hyc-emerald);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-xl);
    font-size: 0.875rem;
}

.footer-bottom a {
    margin-left: var(--space-lg);
}

.footer-bottom a:hover {
    color: var(--hyc-emerald);
}

@media (max-width: 640px) {
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
    
    .footer-bottom a {
        margin-left: var(--space-sm);
    }
}

/* ================================================
   FORMS
   ================================================ */

.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    font-weight: 500;
    color: var(--hyc-slate);
    margin-bottom: var(--space-sm);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    color: var(--hyc-slate);
    background: var(--hyc-white);
    border: 2px solid var(--hyc-gray-200);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--hyc-emerald);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

@media (max-width: 640px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================================
   BLOG
   ================================================ */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* Single Post Styles */
.single-post__header {
    padding: var(--space-5xl) 0 var(--space-3xl);
    background: linear-gradient(135deg, var(--hyc-slate) 0%, var(--hyc-slate-dark) 100%);
    color: var(--hyc-white);
    margin-top: 80px;
}

.single-post__meta {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
    font-size: 0.9375rem;
}

.single-post__category {
    background: var(--hyc-emerald);
    color: var(--hyc-white);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-weight: 500;
}

.single-post__date {
    color: rgba(255, 255, 255, 0.7);
}

.single-post__title {
    font-size: clamp(2rem, 4vw, 3rem);
    max-width: 900px;
    color: var(--hyc-white);
    font-weight: 700;
    line-height: 1.2;
}

.single-post__content {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-3xl) var(--space-lg);
}

/* ================================================
   ENHANCED BLOG CONTENT STYLING
   ================================================ */
.post-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--hyc-gray-700);
}

/* Headings with visual flair */
.post-content h2 {
    margin-top: var(--space-4xl);
    margin-bottom: var(--space-xl);
    padding-top: var(--space-2xl);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--hyc-slate);
    position: relative;
}

.post-content h2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--hyc-emerald) 0%, var(--hyc-teal) 100%);
    border-radius: 2px;
}

.post-content h3 {
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--hyc-slate);
    padding-left: var(--space-md);
    border-left: 3px solid var(--hyc-emerald);
}

.post-content h4 {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-sm);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--hyc-slate-light);
}

/* First paragraph after h2 - drop cap effect */
.post-content h2 + p::first-letter {
    font-size: 3.5rem;
    font-weight: 700;
    float: left;
    line-height: 1;
    margin-right: var(--space-sm);
    margin-top: 4px;
    color: var(--hyc-emerald);
}

.post-content p {
    margin-bottom: var(--space-lg);
}

/* Lead paragraph styling */
.post-content > p:first-child {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--hyc-gray-600);
    font-weight: 400;
}

/* Enhanced lists */
.post-content ul,
.post-content ol {
    margin-bottom: var(--space-xl);
    padding-left: 0;
    list-style: none;
}

.post-content li {
    margin-bottom: var(--space-md);
    padding-left: var(--space-2xl);
    position: relative;
}

.post-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--hyc-emerald);
    border-radius: 50%;
}

.post-content ol {
    counter-reset: list-counter;
}

.post-content ol li {
    counter-increment: list-counter;
}

.post-content ol li::before {
    content: counter(list-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--hyc-emerald) 0%, var(--hyc-teal) 100%);
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Nested lists */
.post-content ul ul,
.post-content ol ol,
.post-content ul ol,
.post-content ol ul {
    margin-top: var(--space-md);
    margin-bottom: 0;
}

.post-content ul ul li::before {
    width: 6px;
    height: 6px;
    background: var(--hyc-gray-400);
}

/* Blockquotes - pull quotes style */
.post-content blockquote {
    margin: var(--space-3xl) 0;
    padding: var(--space-2xl);
    background: linear-gradient(135deg, var(--hyc-slate) 0%, var(--hyc-slate-dark) 100%);
    border-left: none;
    border-radius: var(--radius-xl);
    font-size: 1.375rem;
    font-style: normal;
    font-weight: 500;
    color: var(--hyc-white);
    position: relative;
    text-align: center;
}

.post-content blockquote::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 30px;
    font-size: 6rem;
    font-family: Georgia, serif;
    color: var(--hyc-emerald);
    line-height: 1;
    opacity: 0.5;
}

.post-content blockquote p {
    margin: 0;
    position: relative;
    z-index: 1;
}

.post-content blockquote cite {
    display: block;
    margin-top: var(--space-lg);
    font-size: 1rem;
    font-style: normal;
    color: rgba(255, 255, 255, 0.7);
}

/* Images with captions */
.post-content img {
    border-radius: var(--radius-xl);
    margin: var(--space-2xl) 0;
    box-shadow: var(--shadow-lg);
}

.post-content figure {
    margin: var(--space-3xl) 0;
}

.post-content figure img {
    margin-bottom: var(--space-md);
}

.post-content figcaption {
    text-align: center;
    font-size: 0.9375rem;
    color: var(--hyc-gray-500);
    font-style: italic;
}

/* Links */
.post-content a {
    color: var(--hyc-emerald);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 2px solid rgba(16, 185, 129, 0.3);
    transition: all 0.2s ease;
}

.post-content a:hover {
    color: var(--hyc-emerald-dark);
    border-bottom-color: var(--hyc-emerald);
}

/* Code styling */
.post-content code {
    background: var(--hyc-gray-100);
    padding: 0.2em 0.5em;
    border-radius: var(--radius-sm);
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Code', monospace;
    font-size: 0.9em;
    color: var(--hyc-slate);
}

.post-content pre {
    background: var(--hyc-slate-dark);
    color: var(--hyc-gray-100);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    overflow-x: auto;
    margin: var(--space-2xl) 0;
    box-shadow: var(--shadow-lg);
}

.post-content pre code {
    background: none;
    padding: 0;
    color: inherit;
}

/* Tables */
.post-content table {
    width: 100%;
    margin: var(--space-2xl) 0;
    border-collapse: collapse;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.post-content thead {
    background: linear-gradient(135deg, var(--hyc-slate) 0%, var(--hyc-slate-dark) 100%);
    color: white;
}

.post-content th {
    padding: var(--space-md) var(--space-lg);
    text-align: left;
    font-weight: 600;
}

.post-content td {
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid var(--hyc-gray-200);
}

.post-content tbody tr:hover {
    background: var(--hyc-gray-50);
}

.post-content tbody tr:last-child td {
    border-bottom: none;
}

/* Horizontal rule - section divider */
.post-content hr {
    margin: var(--space-4xl) 0;
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--hyc-gray-300), transparent);
}

/* Key Takeaways / Summary Box */
.post-content .key-takeaways,
.post-content .summary-box {
    margin: var(--space-3xl) 0;
    padding: var(--space-2xl);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(20, 184, 166, 0.08) 100%);
    border: 2px solid var(--hyc-emerald);
    border-radius: var(--radius-xl);
}

.post-content .key-takeaways h3,
.post-content .summary-box h3 {
    margin-top: 0;
    padding-left: 0;
    border-left: none;
    color: var(--hyc-emerald-dark);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.post-content .key-takeaways h3::before,
.post-content .summary-box h3::before {
    content: '✓';
    width: 28px;
    height: 28px;
    background: var(--hyc-emerald);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}

.post-content .key-takeaways ul li::before {
    background: var(--hyc-emerald-dark);
}

/* Callout Boxes */
.post-content .callout {
    margin: var(--space-2xl) 0;
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.post-content .callout-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.25rem;
}

.post-content .callout--tip {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.post-content .callout--tip .callout-icon {
    background: var(--hyc-emerald);
    color: white;
}

.post-content .callout--warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.post-content .callout--warning .callout-icon {
    background: var(--hyc-amber);
    color: white;
}

.post-content .callout--info {
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.3);
}

.post-content .callout--info .callout-icon {
    background: var(--hyc-sky);
    color: white;
}

.post-content .callout--danger {
    background: rgba(244, 63, 94, 0.1);
    border: 1px solid rgba(244, 63, 94, 0.3);
}

.post-content .callout--danger .callout-icon {
    background: var(--hyc-rose);
    color: white;
}

/* Stats/Numbers highlight */
.post-content .stat-highlight {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: linear-gradient(135deg, var(--hyc-emerald) 0%, var(--hyc-teal) 100%);
    color: white;
    font-weight: 700;
    border-radius: var(--radius-md);
}

/* Table of Contents */
.post-content .toc {
    margin: var(--space-2xl) 0;
    padding: var(--space-xl);
    background: var(--hyc-gray-50);
    border-radius: var(--radius-xl);
    border: 1px solid var(--hyc-gray-200);
}

.post-content .toc h4 {
    margin-top: 0;
    margin-bottom: var(--space-md);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--hyc-gray-500);
}

.post-content .toc ul {
    margin: 0;
}

.post-content .toc li {
    padding-left: var(--space-lg);
}

.post-content .toc li::before {
    width: 6px;
    height: 6px;
    top: 12px;
}

.post-content .toc a {
    border-bottom: none;
    color: var(--hyc-gray-600);
}

.post-content .toc a:hover {
    color: var(--hyc-emerald);
}

/* Featured/Highlight box */
.post-content .highlight-box {
    margin: var(--space-3xl) calc(var(--space-2xl) * -1);
    padding: var(--space-2xl);
    background: var(--hyc-slate);
    color: white;
    border-radius: var(--radius-xl);
}

.post-content .highlight-box h3 {
    color: white;
    border-left-color: var(--hyc-emerald);
}

.post-content .highlight-box p {
    color: rgba(255, 255, 255, 0.9);
}

.post-content .highlight-box a {
    color: var(--hyc-emerald-light);
    border-bottom-color: rgba(52, 211, 153, 0.3);
}

/* Definition list styling */
.post-content dl {
    margin: var(--space-2xl) 0;
}

.post-content dt {
    font-weight: 700;
    color: var(--hyc-slate);
    margin-top: var(--space-lg);
}

.post-content dd {
    margin-left: var(--space-xl);
    padding-left: var(--space-md);
    border-left: 2px solid var(--hyc-gray-200);
    color: var(--hyc-gray-600);
}

/* Mobile adjustments for blog content */
@media (max-width: 768px) {
    .post-content h2::before {
        width: 40px;
    }
    
    .post-content h2 + p::first-letter {
        font-size: 2.5rem;
    }
    
    .post-content blockquote {
        padding: var(--space-xl);
        font-size: 1.125rem;
    }
    
    .post-content blockquote::before {
        font-size: 4rem;
        top: -10px;
        left: 15px;
    }
    
    .post-content .highlight-box {
        margin-left: calc(var(--space-lg) * -1);
        margin-right: calc(var(--space-lg) * -1);
    }
    
    .post-content ol li::before {
        width: 24px;
        height: 24px;
        font-size: 0.75rem;
    }
}

/* ================================================
   PAGE TEMPLATES
   ================================================ */

.page-header {
    padding: calc(var(--space-5xl) + 80px) 0 var(--space-4xl);
    background: linear-gradient(135deg, var(--hyc-slate) 0%, var(--hyc-slate-dark) 100%);
    color: var(--hyc-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header__content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.page-header__breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
}

.page-header__breadcrumb a:hover {
    color: var(--hyc-emerald);
}

.page-header__title {
    margin-bottom: var(--space-md);
}

.page-header__desc {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

/* Legal Pages */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-4xl) var(--space-lg);
}

.legal-content h2 {
    margin-top: var(--space-3xl);
    margin-bottom: var(--space-lg);
}

.legal-content h3 {
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
}

.legal-content p,
.legal-content ul,
.legal-content ol {
    margin-bottom: var(--space-lg);
}

.legal-content ul li,
.legal-content ol li {
    margin-bottom: var(--space-sm);
    padding-left: var(--space-sm);
}

.legal-content ul li {
    list-style: disc;
}

.legal-content ol li {
    list-style: decimal;
}

.legal-content ul,
.legal-content ol {
    padding-left: var(--space-xl);
}

/* ================================================
   PROCESS STEPS
   ================================================ */

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    counter-reset: step;
}

@media (max-width: 1024px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .process-steps {
        grid-template-columns: 1fr;
    }
}

.process-step {
    position: relative;
    padding: var(--space-xl);
    background: var(--hyc-white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--hyc-gray-200);
}

.process-step::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    top: -16px;
    left: var(--space-xl);
    width: 32px;
    height: 32px;
    background: var(--hyc-emerald);
    color: var(--hyc-white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.process-step__title {
    margin-bottom: var(--space-sm);
}

.process-step__desc {
    color: var(--hyc-gray-500);
    margin-bottom: 0;
    font-size: 0.9375rem;
}

/* ================================================
   NICHE PAGES
   ================================================ */

.niche-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

@media (max-width: 1024px) {
    .niche-hero {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .niche-hero .hero__actions {
        justify-content: center;
    }
}

.niche-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

@media (max-width: 640px) {
    .niche-benefits {
        grid-template-columns: 1fr;
    }
}

.niche-benefit {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.niche-benefit__icon {
    width: 24px;
    height: 24px;
    color: var(--hyc-emerald);
    flex-shrink: 0;
    margin-top: 2px;
}

/* ================================================
   ANIMATIONS
   ================================================ */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-slide-in-left {
    animation: slideInLeft 0.6s ease forwards;
}

/* Staggered animations */
.stagger > * {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.stagger > *:nth-child(1) { animation-delay: 0.1s; }
.stagger > *:nth-child(2) { animation-delay: 0.2s; }
.stagger > *:nth-child(3) { animation-delay: 0.3s; }
.stagger > *:nth-child(4) { animation-delay: 0.4s; }
.stagger > *:nth-child(5) { animation-delay: 0.5s; }
.stagger > *:nth-child(6) { animation-delay: 0.6s; }

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

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

.text-slate { color: var(--hyc-slate); }
.text-emerald { color: var(--hyc-emerald); }
.text-white { color: var(--hyc-white); }
.text-muted { color: var(--hyc-gray-500); }

.bg-white { background: var(--hyc-white); }
.bg-gray { background: var(--hyc-gray-50); }
.bg-slate { background: var(--hyc-slate); }
.bg-emerald { background: var(--hyc-emerald); }

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }
.mb-3xl { margin-bottom: var(--space-3xl); }

.mt-0 { margin-top: 0; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mt-3xl { margin-top: var(--space-3xl); }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }

.grid { display: grid; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .lg\:grid-2 { grid-template-columns: repeat(2, 1fr); }
    .lg\:grid-1 { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .grid-2 { grid-template-columns: 1fr; }
    .grid-3 { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .sm\:grid-1 { grid-template-columns: 1fr; }
}
}

.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;
}

/* ================================================
   MOBILE RESPONSIVE FIXES
   ================================================ */

/* Pricing cards mobile */
@media (max-width: 768px) {
    .pricing-card__price {
        font-size: 2.5rem;
    }
    
    .pricing-card {
        padding: var(--space-xl);
    }
}

/* Stats mobile - single column on very small screens */
@media (max-width: 480px) {
    .stats {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .stat__number {
        font-size: 2.25rem;
    }
}

/* CTA box mobile */
@media (max-width: 768px) {
    .cta-box {
        padding: var(--space-2xl);
    }
    
    .cta-box__title {
        font-size: 1.5rem;
    }
}

/* Testimonials mobile */
@media (max-width: 768px) {
    .testimonial {
        padding: var(--space-lg);
    }
    
    .testimonial__text {
        font-size: 1rem;
    }
}

/* Hero mobile */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }
    
    .hero__title {
        font-size: 2rem;
    }
    
    .hero__subtitle {
        font-size: 1rem;
    }
    
    .hero__actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero__actions .btn {
        text-align: center;
        justify-content: center;
    }
    
    .niche-benefits {
        flex-direction: column;
        gap: var(--space-sm);
    }
}

/* Two-column layouts (used in starter/professional/premium pages) */
@media (max-width: 1024px) {
    .service-page-layout {
        grid-template-columns: 1fr !important;
        gap: var(--space-2xl) !important;
    }
    
    .service-page-sidebar {
        position: static !important;
        order: -1;
    }
}

/* Feature grid in service pages */
@media (max-width: 768px) {
    .feature-grid-2col {
        grid-template-columns: 1fr !important;
    }
}

/* Page header mobile */
@media (max-width: 768px) {
    .page-header {
        padding: 100px 0 40px;
    }
    
    .page-header__title {
        font-size: 1.75rem;
    }
    
    .page-header__desc {
        font-size: 1rem;
    }
}

/* Container padding mobile */
@media (max-width: 640px) {
    .container {
        padding-left: var(--space-lg);
        padding-right: var(--space-lg);
    }
    
    .section {
        padding: var(--space-2xl) 0;
    }
}

/* Feature comparison table mobile */
@media (max-width: 768px) {
    .comparison-table-wrapper {
        margin: 0 calc(-1 * var(--space-lg));
        padding: 0 var(--space-lg);
    }
    
    .comparison-table-wrapper table {
        min-width: 600px;
    }
}

/* Buttons mobile */
@media (max-width: 480px) {
    .btn--lg {
        padding: var(--space-md) var(--space-lg);
        font-size: 0.9375rem;
    }
}
