/*
Theme Name: Vishaal Trading Theme
Theme URI: https://example.com/vishaal-theme
Author: Vishaal
Author URI: https://example.com
Description: A premium, production-ready WordPress theme for electronic components trading company. Features glassmorphic design, smooth animations, and enterprise-level security.
Version: 1.0.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vishaal-theme
Tags: corporate, business, one-page, custom-colors, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ==========================================================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ========================================================================== */

:root {
    /* Colors */
    --primary: #FEFEFE;
    --secondary: #F8F9FA;
    --accent: #6366F1;
    --accent-light: #818CF8;
    --text-primary: #1A1A1A;
    --text-secondary: #6B7280;
    --text-muted: #9CA3AF;
    --surface: #FFFFFF;
    --surface-light: #F9FAFB;
    --border: #E5E7EB;
    --success: #10B981;
    --error: #EF4444;
    --warning: #F59E0B;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 4rem;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 6rem;
    --spacing-5xl: 8rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    --radius-full: 50px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    --shadow-accent: 0 20px 40px rgba(99, 102, 241, 0.3);
    --shadow-card-hover: 0 20px 40px rgba(0, 0, 0, 0.3);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.4s ease;
    --transition-slower: 0.8s ease;

    /* Z-index */
    --z-header: 1000;
    --z-modal: 1100;
    --z-tooltip: 1200;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: var(--accent);
    color: white;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
}

ul,
ol {
    list-style: none;
}

/* Accessibility - Focus styles */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--accent);
    color: white;
    padding: var(--spacing-sm) var(--spacing-md);
    z-index: var(--z-tooltip);
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: 0;
}

/* 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;
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}

.section {
    padding: var(--spacing-5xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-badge {
    display: inline-block;
    background: var(--surface-light);
    border: 1px solid var(--border);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    color: var(--accent);
    margin-bottom: var(--spacing-md);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-description {
    font-size: var(--font-size-xl);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Accent text with gradient */
.accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(254, 254, 254, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: var(--z-header);
    transition: all var(--transition-base);
}

.header.scrolled {
    background: rgba(254, 254, 254, 0.95);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo a {
    color: inherit;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: var(--spacing-xl);
}

.nav-links li a {
    color: var(--text-secondary);
    font-weight: 400;
    font-size: var(--font-size-sm);
    transition: all var(--transition-base);
    position: relative;
    padding: var(--spacing-sm) 0;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition-base);
}

.nav-links li a:hover,
.nav-links li a:focus {
    color: var(--text-primary);
}

.nav-links li a:hover::after,
.nav-links li a:focus::after {
    width: 100%;
}

.nav-links li.current-menu-item a {
    color: var(--text-primary);
}

.nav-links li.current-menu-item a::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: var(--font-size-2xl);
    cursor: pointer;
    padding: var(--spacing-sm);
    line-height: 1;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}

.menu-toggle:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.menu-toggle[aria-expanded="true"] .hamburger-icon {
    display: none;
}

.menu-toggle[aria-expanded="true"] .close-icon {
    display: block;
}

.menu-toggle .close-icon {
    display: none;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(129, 140, 248, 0.08) 0%, transparent 50%);
    transition: background 0.5s ease;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    z-index: 2;
    position: relative;
    padding: var(--spacing-xl);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: var(--surface-light);
    border: 1px solid var(--border);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
    letter-spacing: -0.02em;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.hero p {
    font-size: var(--font-size-xl);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-2xl);
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.6s forwards;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-group {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.8s forwards;
}

/* Floating Elements */
.floating-element {
    position: absolute;
    opacity: 0.1;
    font-size: 3rem;
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
    user-select: none;
}

.floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn-primary {
    background: var(--accent);
    color: white;
    padding: var(--spacing-md) var(--spacing-xl);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    transition: all var(--transition-base);
    font-size: var(--font-size-base);
    min-height: 44px;
    cursor: pointer;
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    padding: var(--spacing-md) var(--spacing-xl);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    transition: all var(--transition-base);
    font-size: var(--font-size-base);
    min-height: 44px;
    cursor: pointer;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: var(--surface-light);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.btn-secondary:active {
    transform: translateY(0);
}

/* ==========================================================================
   STATS
   ========================================================================== */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-2xl);
    margin: var(--spacing-5xl) 0;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: var(--font-size-5xl);
    font-weight: 700;
    color: var(--accent);
    margin-bottom: var(--spacing-sm);
    line-height: 1;
}

.stat-label {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ==========================================================================
   PRODUCT CARDS
   ========================================================================== */

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.product-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-slow);
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: var(--shadow-card-hover);
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-icon {
    width: 60px;
    height: 60px;
    background: var(--accent);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-lg);
}

.product-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.product-list li {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-size-sm);
    position: relative;
    padding-left: var(--spacing-md);
}

.product-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* ==========================================================================
   PARTNER CARDS
   ========================================================================== */

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
}

.partner-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    position: relative;
    transition: all var(--transition-slow);
}

.partner-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
}

.partner-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.partner-logo {
    width: 50px;
    height: 50px;
    background: var(--accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--font-size-xl);
    color: white;
}

.partner-name {
    font-size: 1.3rem;
    font-weight: 600;
}

.partner-card>p {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    line-height: 1.7;
}

.certification-badges {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
    flex-wrap: wrap;
}

.badge {
    background: var(--surface-light);
    border: 1px solid var(--border);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    color: var(--success);
    font-weight: 500;
}

/* ==========================================================================
   SERVICE CARDS
   ========================================================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-2xl);
}

.service-card {
    background: linear-gradient(135deg, var(--surface) 0%, var(--surface-light) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-2xl);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-slow);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--accent);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto var(--spacing-xl);
    position: relative;
    z-index: 1;
}

.service-card h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    position: relative;
    z-index: 1;
}

.service-card p {
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   NETWORK SECTION
   ========================================================================== */

.network-section {
    background: var(--surface);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-3xl);
    text-align: center;
    margin: var(--spacing-3xl) 0;
    border: 1px solid var(--border);
}

.network-badges {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
    flex-wrap: wrap;
}

.network-badge {
    background: var(--primary);
    border: 1px solid var(--accent);
    padding: var(--spacing-lg) var(--spacing-xl);
    border-radius: var(--radius-lg);
    font-weight: 600;
    color: var(--accent);
    min-width: 200px;
    transition: all var(--transition-base);
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.network-badge:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: start;
}

.contact-info {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
}

.contact-info h3 {
    margin-bottom: var(--spacing-xl);
    font-size: var(--font-size-2xl);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xl);
}

.contact-item h4 {
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.contact-item p {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

/* Contact Form */
.form-container {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
}

.form-group {
    margin-bottom: var(--spacing-xl);
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

.form-input {
    width: 100%;
    background: var(--primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    color: var(--text-primary);
    font-size: var(--font-size-base);
    font-family: inherit;
    transition: all var(--transition-base);
    min-height: 44px;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Form Messages */
.form-message {
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-sm);
}

.form-message.success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--success);
    color: var(--success);
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--error);
    color: var(--error);
}

.form-submit-btn {
    width: 100%;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
    border-top: 1px solid var(--border);
    padding: var(--spacing-xl) 0;
    text-align: center;
    color: var(--text-muted);
    font-size: var(--font-size-sm);
}

.footer a {
    color: var(--accent);
    transition: color var(--transition-fast);
}

.footer a:hover {
    color: var(--accent-light);
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.1);
    }
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all var(--transition-slower);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--surface);
        flex-direction: column;
        padding: var(--spacing-md);
        border: 1px solid var(--border);
        border-top: none;
        border-radius: 0 0 var(--radius-md) var(--radius-md);
        box-shadow: var(--shadow-lg);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li a {
        padding: var(--spacing-md);
        display: block;
    }

    .menu-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .cta-group {
        flex-direction: column;
        align-items: center;
    }

    .cta-group .btn-primary,
    .cta-group .btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .services-grid,
    .products-grid,
    .partners-grid {
        grid-template-columns: 1fr;
    }

    .network-badges {
        flex-direction: column;
        align-items: center;
    }

    .network-badge {
        width: 100%;
        max-width: 300px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-xl);
    }
}

@media (max-width: 480px) {

    .nav-container,
    .container {
        padding: 0 var(--spacing-md);
    }

    .section {
        padding: var(--spacing-3xl) 0;
    }

    .hero {
        padding-top: 60px;
    }

    .hero-content {
        padding: var(--spacing-md);
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .service-card,
    .contact-info,
    .form-container {
        padding: var(--spacing-xl);
    }

    .section-header {
        margin-bottom: var(--spacing-2xl);
    }

    .section-title {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .network-section {
        padding: var(--spacing-xl);
    }
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */

@media print {

    .header,
    .menu-toggle,
    .cta-group,
    .floating-element {
        display: none !important;
    }

    .hero {
        min-height: auto;
        padding: var(--spacing-xl) 0;
    }

    .section {
        padding: var(--spacing-xl) 0;
    }

    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .hero-badge,
    .hero h1,
    .hero p,
    .cta-group {
        opacity: 1;
        animation: none;
    }
}

/* ==========================================================================
   HIGH CONTRAST MODE
   ========================================================================== */

@media (prefers-contrast: high) {
    :root {
        --border: #000000;
        --text-secondary: #333333;
    }

    .product-card,
    .partner-card,
    .service-card {
        border-width: 2px;
    }
}

/* ==========================================================================
   WORDPRESS SPECIFIC STYLES
   ========================================================================== */

/* Admin bar adjustment */
.admin-bar .header {
    top: 32px;
}

.alignright {
    float: right;
    margin-left: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* WordPress captions */
.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    text-align: center;
    margin-top: var(--spacing-sm);
}

/* WordPress galleries */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.gallery-item {
    margin: 0;
}

/* Screen reader text (WordPress default class) */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: var(--surface);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    clip: auto !important;
    color: var(--text-primary);
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 600;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: var(--spacing-md);
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* ==========================================================================
   CONTACT FORM 7 STYLING
   ========================================================================== */

.wpcf7 {
    width: 100%;
}

.wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.wpcf7-form p {
    margin: 0;
}

.wpcf7-form label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

.wpcf7-form-control:not(.wpcf7-submit) {
    width: 100%;
    background: var(--primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    color: var(--text-primary);
    font-size: var(--font-size-base);
    font-family: inherit;
    transition: all var(--transition-base);
    min-height: 44px;
}

.wpcf7-form-control:not(.wpcf7-submit):focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.wpcf7-form-control:not(.wpcf7-submit)::placeholder {
    color: var(--text-muted);
}

.wpcf7-textarea {
    resize: vertical;
    min-height: 120px;
}

.wpcf7-submit {
    background: var(--accent);
    color: white;
    padding: var(--spacing-md) var(--spacing-xl);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: var(--font-size-base);
    cursor: pointer;
    transition: all var(--transition-base);
    min-height: 44px;
    width: 100%;
}

.wpcf7-submit:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent);
}

.wpcf7-submit:active {
    transform: translateY(0);
}

/* CF7 Response Messages */
.wpcf7-response-output {
    margin: var(--spacing-md) 0 0 0 !important;
    padding: var(--spacing-md) !important;
    border-radius: var(--radius-md) !important;
    font-size: var(--font-size-sm);
    text-align: center;
}

.wpcf7-mail-sent-ok,
.wpcf7 form.sent .wpcf7-response-output {
    background: rgba(16, 185, 129, 0.1) !important;
    border: 1px solid var(--success) !important;
    color: var(--success) !important;
}

.wpcf7-validation-errors,
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
    background: rgba(239, 68, 68, 0.1) !important;
    border: 1px solid var(--error) !important;
    color: var(--error) !important;
}

.wpcf7-not-valid-tip {
    color: var(--error);
    font-size: var(--font-size-xs);
    margin-top: var(--spacing-xs);
}

.wpcf7-not-valid {
    border-color: var(--error) !important;
}

/* Spinner */
.wpcf7-spinner {
    display: none;
}