/*
Theme Name: INNOVALIA25
Theme URI: https://innovalia25.it
Author: INNOVALIA25 Team
Author URI: https://innovalia25.it
Description: Tema WordPress innovativo e luminoso per INNOVALIA25 - Startup Factory. Design audace con glassmorphism, gradienti fluidi, micro-animazioni e layout dinamici.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: innovalia25
Tags: one-column, custom-background, custom-logo, custom-menu, featured-images, full-width-template

INNOVALIA25 - Dove le persone diventano imprese, insieme.
*/

/* =============================================
   CSS CUSTOM PROPERTIES - LIGHT CREATIVE THEME
   ============================================= */
:root {
    /* Primary Palette - Vibrant & Fresh */
    --color-primary: #6366F1;          /* Indigo vivace */
    --color-primary-light: #818CF8;
    --color-primary-dark: #4F46E5;
    
    --color-secondary: #06B6D4;        /* Cyan energetico */
    --color-secondary-light: #22D3EE;
    
    --color-accent: #F59E0B;           /* Amber caldo */
    --color-accent-hot: #EF4444;       /* Rosso energia */
    --color-accent-green: #10B981;     /* Verde successo */
    --color-accent-pink: #EC4899;      /* Pink creativo */
    
    /* Light Theme Base */
    --color-bg: #FAFBFF;               /* Bianco con sfumatura blu */
    --color-bg-warm: #FFFBF5;          /* Bianco caldo */
    --color-bg-cool: #F0F9FF;          /* Bianco freddo */
    --color-surface: #FFFFFF;
    --color-surface-elevated: #FFFFFF;
    
    /* Text */
    --color-text: #1E293B;             /* Slate scuro */
    --color-text-secondary: #64748B;
    --color-text-muted: #94A3B8;
    --color-text-inverse: #FFFFFF;
    
    /* Gradienti Creativi */
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --gradient-sunrise: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
    --gradient-ocean: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    --gradient-aurora: linear-gradient(135deg, #6366F1 0%, #06B6D4 50%, #10B981 100%);
    --gradient-sunset: linear-gradient(135deg, #F59E0B 0%, #EF4444 50%, #EC4899 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%);
    --gradient-mesh: 
        radial-gradient(at 40% 20%, hsla(240,100%,74%,0.3) 0px, transparent 50%),
        radial-gradient(at 80% 0%, hsla(189,100%,56%,0.3) 0px, transparent 50%),
        radial-gradient(at 0% 50%, hsla(355,100%,93%,0.3) 0px, transparent 50%),
        radial-gradient(at 80% 50%, hsla(340,100%,76%,0.3) 0px, transparent 50%),
        radial-gradient(at 0% 100%, hsla(22,100%,77%,0.3) 0px, transparent 50%),
        radial-gradient(at 80% 100%, hsla(242,100%,70%,0.3) 0px, transparent 50%);
    
    /* Typography */
    --font-display: 'Clash Display', 'Space Grotesk', sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', 'DM Sans', sans-serif;
    
    /* Spacing */
    --section-padding: 140px;
    --container-max: 1440px;
    --container-padding: 48px;
    
    /* Effects */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
    --shadow-xl: 0 25px 80px rgba(0,0,0,0.1);
    --shadow-glow: 0 0 60px rgba(99, 102, 241, 0.3);
    --shadow-colored: 0 20px 60px rgba(99, 102, 241, 0.25);
    
    /* Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-blur: 20px;
    
    /* Transitions */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Border Radius */
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --radius-xl: 48px;
    --radius-full: 9999px;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Animated Background Mesh */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-mesh);
    z-index: -1;
    animation: meshMove 20s ease infinite;
}

@keyframes meshMove {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

::selection {
    background: var(--color-primary);
    color: white;
}

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.15;
    color: var(--color-text);
    letter-spacing: -0.02em;
}

h1 { 
    font-size: clamp(3rem, 8vw, 6rem); 
    font-weight: 700;
}

h2 { 
    font-size: clamp(2.25rem, 5vw, 4rem); 
    margin-bottom: 32px;
}

h3 { 
    font-size: clamp(1.5rem, 3vw, 2.25rem); 
    margin-bottom: 16px;
}

h4 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    margin-bottom: 12px;
}

p {
    margin-bottom: 1.25rem;
    color: var(--color-text-secondary);
    font-size: 1.0625rem;
}

.lead {
    font-size: 1.375rem;
    font-weight: 500;
    color: var(--color-text);
    line-height: 1.5;
}

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

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

/* Text Utilities */
.text-gradient {
    background: var(--gradient-aurora);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-sunset {
    background: var(--gradient-sunset);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =============================================
   CONTAINER
   ============================================= */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.container-narrow {
    max-width: 900px;
}

/* =============================================
   SECTION LABEL - Creative Badge
   ============================================= */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.section-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--gradient-aurora);
    border-radius: 50%;
    animation: pulse 2s ease infinite;
}

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

/* =============================================
   BUTTONS - Glassmorphism Style
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 36px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--transition-medium);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::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: left var(--transition-slow);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-aurora);
    color: white;
    box-shadow: var(--shadow-colored);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 30px 80px rgba(99, 102, 241, 0.4);
    color: white;
}

.btn-secondary {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 2px solid rgba(99, 102, 241, 0.2);
    color: var(--color-primary);
}

.btn-secondary:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
    transform: translateY(-4px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-text);
    color: var(--color-text);
}

.btn-outline:hover {
    background: var(--color-text);
    color: white;
    transform: translateY(-4px);
}

.btn-large {
    padding: 22px 48px;
    font-size: 1.125rem;
}

.btn-icon {
    width: 56px;
    height: 56px;
    padding: 0;
    border-radius: 50%;
}

/* =============================================
   NAVIGATION - Floating Glass Nav
   ============================================= */
.main-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: calc(100% - 48px);
    max-width: 1200px;
    padding: 16px 32px;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-medium);
}

.main-nav.scrolled {
    top: 12px;
    padding: 12px 28px;
    background: rgba(255, 255, 255, 0.95);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.site-logo img,
.logo-image {
    height: 70px;
    width: auto;
    transition: transform var(--transition-fast);
}

.site-logo:hover img,
.site-logo:hover .logo-image {
    transform: scale(1.05);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.02em;
}

.logo-text span {
    color: #00a5a5;
}

/* Footer Logo */
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo-image {
    height: 70px;
    width: auto;
}

.footer-logo .logo-text {
    font-size: 1.375rem;
}

/* Old logo mark styles - kept for backwards compatibility */
.logo-mark {
    width: 44px;
    height: 44px;
    background: var(--gradient-aurora);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    color: white;
    transition: transform var(--transition-bounce);
}

.site-logo:hover .logo-mark {
    transform: rotate(-5deg) scale(1.05);
}

/* Mobile Logo */
@media (max-width: 768px) {
    .site-logo img,
    .logo-image {
        height: 50px;
    }
    
    .logo-text {
        font-size: 1.125rem;
    }
    
    .footer-logo-image {
        height: 55px;
    }
    
    .footer-logo .logo-text {
        font-size: 1rem;
    }
}

/* Primary Menu */
.primary-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.primary-menu li a {
    display: block;
    padding: 10px 18px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.primary-menu li a:hover,
.primary-menu li.current-menu-item a {
    color: var(--color-primary);
    background: rgba(99, 102, 241, 0.08);
}

.nav-cta {
    background: var(--gradient-aurora) !important;
    color: white !important;
    padding: 12px 24px !important;
}

.nav-cta:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-colored);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.08);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.mobile-menu-toggle:hover {
    background: rgba(99, 102, 241, 0.15);
}

.mobile-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--color-text);
    position: relative;
    transition: all var(--transition-fast);
}

.mobile-menu-toggle span::before,
.mobile-menu-toggle span::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    left: 0;
    transition: all var(--transition-fast);
}

.mobile-menu-toggle span::before { top: -6px; }
.mobile-menu-toggle span::after { top: 6px; }

/* =============================================
   HERO SECTION - Immersive & Dynamic
   ============================================= */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 160px 0 100px;
    overflow: hidden;
}

/* Animated Shapes Background */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 20s ease-in-out infinite;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: rgba(99, 102, 241, 0.3);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: rgba(6, 182, 212, 0.3);
    bottom: -100px;
    left: -100px;
    animation-delay: -5s;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: rgba(236, 72, 153, 0.25);
    top: 50%;
    left: 50%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(50px, -50px) rotate(5deg); }
    50% { transform: translate(0, -100px) rotate(0deg); }
    75% { transform: translate(-50px, -50px) rotate(-5deg); }
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-content {
    max-width: 650px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 8px 8px 20px;
    background: white;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
    margin-bottom: 32px;
    animation: slideInLeft 0.8s ease;
}

.hero-badge-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text);
}

.hero-badge-tag {
    padding: 6px 14px;
    background: var(--gradient-aurora);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-title {
    margin-bottom: 28px;
    animation: slideInUp 0.8s ease 0.1s both;
}

.hero-title .line {
    display: block;
}

.hero-title .highlight {
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    height: 12px;
    background: rgba(99, 102, 241, 0.2);
    z-index: -1;
    border-radius: 4px;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    margin-bottom: 40px;
    animation: slideInUp 0.8s ease 0.2s both;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 60px;
    animation: slideInUp 0.8s ease 0.3s both;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 48px;
    animation: slideInUp 0.8s ease 0.4s both;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    animation: slideInRight 1s ease 0.2s both;
}

.hero-visual-main {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform var(--transition-slow);
}

.hero-visual:hover .hero-visual-main {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

.hero-visual-main img,
.hero-visual-main video {
    width: 100%;
    height: auto;
    display: block;
}

/* Floating Cards around Hero Visual */
.hero-float-card {
    position: absolute;
    background: white;
    border-radius: var(--radius-md);
    padding: 16px 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: floatCard 6s ease-in-out infinite;
}

.hero-float-card-1 {
    top: 20%;
    left: -60px;
    animation-delay: 0s;
}

.hero-float-card-2 {
    bottom: 20%;
    right: -40px;
    animation-delay: -2s;
}

.hero-float-card-3 {
    top: -20px;
    right: 20%;
    animation-delay: -4s;
}

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

.float-card-icon {
    width: 44px;
    height: 44px;
    background: var(--gradient-aurora);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.float-card-content {
    line-height: 1.3;
}

.float-card-title {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--color-text);
}

.float-card-sub {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* =============================================
   SECTION BASE STYLES
   ============================================= */
.inno-section {
    position: relative;
    padding: var(--section-padding) 0;
    overflow: hidden;
}

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

.inno-section--cool {
    background: var(--color-bg-cool);
}

.inno-section--gradient {
    background: var(--gradient-ocean);
}

/* Section Background */
.section-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

.section-bg__video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.section-bg__image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.section-bg__image--fixed {
    background-attachment: fixed;
}

@media (max-width: 768px) {
    .section-bg__image--fixed {
        background-attachment: scroll;
    }
}

.section-bg__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

/* Sections with custom background need relative positioning */
.inno-section.has-custom-bg {
    position: relative;
}

.inno-section.has-custom-bg .section-content,
.inno-section.has-custom-bg > .container {
    position: relative;
    z-index: 2;
}

/* Adjust text colors for sections with dark backgrounds */
.inno-section.has-custom-bg {
    color: white;
}

.inno-section.has-custom-bg h1,
.inno-section.has-custom-bg h2,
.inno-section.has-custom-bg h3,
.inno-section.has-custom-bg h4,
.inno-section.has-custom-bg p,
.inno-section.has-custom-bg .lead {
    color: white;
}

.inno-section.has-custom-bg .section-badge {
    background: rgba(255,255,255,0.15);
    color: white;
    border-color: rgba(255,255,255,0.3);
}

.inno-section.has-custom-bg .text-gradient {
    background: linear-gradient(135deg, #06B6D4 0%, #22D3EE 50%, #67E8F9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-bg img,
.section-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-bg--overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(250,251,255,0.95) 0%, rgba(250,251,255,0.85) 100%);
}

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

/* =============================================
   CARDS - Glass Morphism
   ============================================= */
.inno-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.inno-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-aurora);
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.inno-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(99, 102, 241, 0.2);
}

.inno-card:hover::before {
    opacity: 1;
}

/* Card Variants */
.inno-card--solid {
    background: white;
    backdrop-filter: none;
}

.inno-card--gradient {
    background: var(--gradient-aurora);
    border: none;
    color: white;
}

.inno-card--gradient h3,
.inno-card--gradient h4,
.inno-card--gradient p {
    color: white;
}

.inno-card--bordered {
    border: 2px solid rgba(99, 102, 241, 0.15);
    background: white;
}

/* Card Icon */
.card-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-aurora);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 20px;
    transition: transform var(--transition-bounce);
}

.inno-card:hover .card-icon {
    transform: scale(1.1) rotate(-5deg);
}

/* =============================================
   GRIDS
   ============================================= */
.inno-grid {
    display: grid;
    gap: 32px;
}

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

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 24px;
}

.bento-item--wide { grid-column: span 2; }
.bento-item--tall { grid-row: span 2; }
.bento-item--large { grid-column: span 2; grid-row: span 2; }

/* =============================================
   TAGS & BADGES
   ============================================= */
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tag-item {
    padding: 10px 20px;
    background: white;
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text);
    transition: all var(--transition-fast);
}

.tag-item:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
    transform: translateY(-2px);
}

.tag-item--filled {
    background: var(--gradient-aurora);
    border-color: transparent;
    color: white;
}

/* =============================================
   PROCESS STEPS - Timeline
   ============================================= */
.process-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 40px 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary), var(--color-accent-green));
    border-radius: 2px;
    transform: translateY(-50%);
}

.process-step {
    position: relative;
    text-align: center;
    z-index: 1;
}

.process-step-marker {
    width: 80px;
    height: 80px;
    background: white;
    border: 4px solid var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-medium);
}

.process-step:hover .process-step-marker {
    background: var(--gradient-aurora);
    border-color: transparent;
    color: white;
    transform: scale(1.1);
}

.process-step-label {
    font-weight: 600;
    color: var(--color-text);
}

/* =============================================
   QUOTE / FEATURE BANNER
   ============================================= */
.feature-banner {
    background: var(--gradient-aurora);
    border-radius: var(--radius-xl);
    padding: 60px 80px;
    position: relative;
    overflow: hidden;
}

.feature-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.feature-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}

.feature-banner-content {
    position: relative;
    z-index: 1;
}

.feature-banner h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 16px;
}

.feature-banner p {
    color: rgba(255,255,255,0.9);
    font-size: 1.25rem;
    margin-bottom: 0;
}

/* =============================================
   VIDEO PLACEHOLDER
   ============================================= */
.video-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    cursor: pointer;
    aspect-ratio: 16/9;
}

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

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

.video-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.4) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.video-play-btn {
    width: 88px;
    height: 88px;
    background: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    transition: all var(--transition-medium);
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    z-index: 10;
}

.video-play-btn svg {
    width: 32px;
    height: 32px;
    fill: var(--color-primary);
    margin-left: 4px;
}

.video-card:hover .video-play-btn {
    transform: scale(1.15);
    box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}

.video-label {
    padding: 10px 20px;
    background: rgba(255,255,255,0.95);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* =============================================
   VIDEO PLAYER - Inline Player Component
   ============================================= */
.video-player {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: #000;
    aspect-ratio: 16/9;
}

.video-player__poster {
    position: absolute;
    inset: 0;
    cursor: pointer;
    z-index: 2;
}

.video-player__poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-player__poster:hover img {
    transform: scale(1.05);
}

.video-player__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
    z-index: 1;
}

.video-player__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.5) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    z-index: 3;
}

.video-player__poster:hover .video-play-btn {
    transform: scale(1.15);
}

/* =============================================
   GALLERY - Masonry Style
   ============================================= */
.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item:nth-child(1) { grid-row: span 2; }
.gallery-item:nth-child(4) { grid-column: span 2; }
.gallery-item:nth-child(7) { grid-row: span 2; }

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

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(99, 102, 241, 0.8) 100%);
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.gallery-item:hover::after {
    opacity: 1;
}

/* =============================================
   ACCORDION
   ============================================= */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.accordion-item {
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid rgba(99, 102, 241, 0.1);
    overflow: hidden;
    transition: all var(--transition-medium);
}

.accordion-item:hover,
.accordion-item.active {
    box-shadow: var(--shadow-md);
    border-color: rgba(99, 102, 241, 0.2);
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    cursor: pointer;
}

.accordion-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text);
    margin: 0;
}

.accordion-icon {
    width: 40px;
    height: 40px;
    background: rgba(99, 102, 241, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--color-primary);
    transition: all var(--transition-medium);
}

.accordion-item.active .accordion-icon {
    background: var(--gradient-aurora);
    color: white;
    transform: rotate(45deg);
}

.accordion-content {
    padding: 0 28px 24px;
    display: none;
}

.accordion-item.active .accordion-content {
    display: block;
}

/* =============================================
   CONTACT CTA
   ============================================= */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 48px 32px;
    background: white;
    border-radius: var(--radius-lg);
    border: 2px solid transparent;
    text-decoration: none;
    transition: all var(--transition-medium);
}

.contact-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.contact-card--primary {
    background: var(--gradient-aurora);
}

.contact-card--primary:hover {
    border-color: transparent;
    transform: translateY(-8px) scale(1.02);
}

.contact-card-icon {
    width: 72px;
    height: 72px;
    background: rgba(99, 102, 241, 0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 20px;
    transition: all var(--transition-medium);
}

.contact-card--primary .contact-card-icon {
    background: rgba(255,255,255,0.2);
}

.contact-card:hover .contact-card-icon {
    transform: scale(1.1) rotate(-5deg);
}

.contact-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text);
}

.contact-card--primary .contact-card-title {
    color: white;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
    background: white;
    padding: 80px 0 40px;
    border-top: 1px solid rgba(99, 102, 241, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand-text {
    font-size: 1rem;
    color: var(--color-text-secondary);
    margin-top: 16px;
    max-width: 300px;
}

.footer-title {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a {
    color: var(--color-text-secondary);
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
}

.footer-menu a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(99, 102, 241, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* =============================================
   ANIMATIONS
   ============================================= */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.stagger-children > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.4s; }

.stagger-children.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1200px) {
    :root {
        --container-padding: 32px;
        --section-padding: 100px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .hero-float-card {
        display: none;
    }
    
    .inno-grid--5 { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 992px) {
    .primary-menu { display: none; }
    .mobile-menu-toggle { display: flex; }
    
    .main-nav {
        width: calc(100% - 32px);
        padding: 12px 20px;
    }
    
    .inno-grid--2,
    .inno-grid--3,
    .inno-grid--4 { grid-template-columns: repeat(2, 1fr); }
    
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    
    .process-timeline {
        flex-direction: column;
        gap: 32px;
    }
    
    .process-timeline::before {
        width: 4px;
        height: 100%;
        top: 0;
        left: 40px;
        transform: none;
    }
    
    .process-step {
        text-align: left;
        display: flex;
        align-items: center;
        gap: 24px;
    }
    
    .process-step-marker {
        margin: 0;
        flex-shrink: 0;
    }
    
    .contact-cards { grid-template-columns: 1fr; }
    .gallery-masonry { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 20px;
        --section-padding: 80px;
    }
    
    .inno-grid--2,
    .inno-grid--3,
    .inno-grid--4,
    .inno-grid--5 { grid-template-columns: 1fr; }
    
    .bento-grid { 
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }
    
    .bento-item--wide,
    .bento-item--tall,
    .bento-item--large { 
        grid-column: auto; 
        grid-row: auto; 
    }
    
    .feature-banner {
        padding: 40px 32px;
    }
    
    .hero-cta-group {
        flex-direction: column;
    }
    
    .hero-cta-group .btn {
        width: 100%;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
    
    .gallery-masonry { grid-template-columns: 1fr; }
    .gallery-item:nth-child(n) { grid-row: auto; grid-column: auto; }
}

/* =============================================
   WORDPRESS SPECIFICS
   ============================================= */
body.admin-bar .main-nav {
    top: 52px;
}

@media (max-width: 782px) {
    body.admin-bar .main-nav {
        top: 66px;
    }
}

/* Screen Reader */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}
