/*
Theme Name: Installateur Climatisation
Theme URI: https://installateur-climatisation.fr
Author: M'info
Author URI: https://minfo.fr
Description: Thème WordPress pour site de climatisation avec design moderne
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: installateur-climatisation
*/

:root {
    --background: 210 40% 98%;
    --foreground: 215 25% 15%;
    --card: 0 0% 100%;
    --card-foreground: 215 25% 15%;
    --popover: 0 0% 100%;
    --popover-foreground: 215 25% 15%;
    --primary: 195 85% 45%;
    --primary-foreground: 0 0% 100%;
    --secondary: 200 30% 96%;
    --secondary-foreground: 215 25% 15%;
    --muted: 210 20% 96%;
    --muted-foreground: 215 15% 50%;
    --accent: 24 95% 55%;
    --accent-foreground: 0 0% 100%;
    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 210 40% 98%;
    --border: 210 20% 90%;
    --input: 210 20% 90%;
    --ring: 195 85% 45%;
    --radius: 1rem;
    --glacier: 195 85% 45%;
    --glacier-light: 195 80% 95%;
    --glacier-dark: 200 75% 35%;
    --coral: 24 95% 55%;
    --coral-light: 24 90% 65%;
    --frost: 200 30% 98%;
    --ice: 200 40% 92%;
    --gradient-hero: linear-gradient(135deg, hsl(195 85% 45%) 0%, hsl(200 75% 35%) 100%);
    --gradient-cta: linear-gradient(135deg, hsl(24 95% 55%) 0%, hsl(15 90% 50%) 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%);
    --gradient-frost: linear-gradient(180deg, hsl(200 30% 98%) 0%, hsl(200 40% 92%) 100%);
    --shadow-sm: 0 2px 8px -2px hsl(215 25% 15% / 0.08);
    --shadow-md: 0 8px 24px -8px hsl(215 25% 15% / 0.12);
    --shadow-lg: 0 16px 48px -12px hsl(215 25% 15% / 0.18);
    --shadow-glow: 0 8px 32px -8px hsl(195 85% 45% / 0.3);
    --shadow-cta: 0 8px 32px -8px hsl(24 95% 55% / 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border-color: hsl(var(--border));
}

body {
    font-family: 'Inter', sans-serif;
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.gradient-hero {
    background: var(--gradient-hero);
}

.gradient-cta {
    background: var(--gradient-cta);
}

.shadow-glow {
    box-shadow: var(--shadow-glow);
}

.shadow-cta {
    box-shadow: var(--shadow-cta);
}

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

.glass-card {
    background: hsl(var(--card) / 0.8);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: var(--shadow-md);
}

/* ========================================
   HEADER
======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: white;
    border-bottom: 1px solid hsl(var(--border) / 0.5);
    box-shadow: var(--shadow-sm);
    animation: slideDown 0.6s ease-out;
      padding: 1rem 0;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
}

@media (min-width: 1024px) {
    .header-container {
        height: 80px;
    }
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.2s;
}

.logo-link:hover {
    transform: scale(1.02);
}

.logo-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
}

.logo-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text-main {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    color: hsl(var(--foreground));
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.logo-text-sub {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    color: hsl(var(--glacier));
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 40px;
}

@media (min-width: 1024px) {
    .nav-desktop {
        display: flex;
    }
}

.nav-link {
    position: relative;
    color: hsl(var(--foreground) / 0.7);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.nav-link:hover,
.nav-link.current-menu-item {
    color: hsl(var(--foreground));
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-hero);
    border-radius: 9999px;
    transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.current-menu-item::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* ========================================
   BUTTONS
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px hsl(var(--ring));
}

.btn-hero {
    background: var(--gradient-cta);
    color: hsl(var(--accent-foreground));
    box-shadow: var(--shadow-cta);
    font-weight: 700;
    font-size: 1rem;
}

.btn-hero:hover {
    box-shadow: var(--shadow-lg);
    transform: scale(1.02);
}

.btn-hero:active {
    transform: scale(0.98);
}

.btn-lg {
    height: 48px;
    padding: 12px 24px;
    font-size: 1rem;
}

.btn-xl {
    height: 56px;
    padding: 16px 32px;
    font-size: 1.125rem;
    border-radius: 12px;
}

.btn-desktop {
    display: none;
}

@media (min-width: 640px) {
    .btn-desktop {
        display: inline-flex;
    }
}

/* ========================================
   MOBILE MENU
======================================== */
.mobile-menu-btn {
    display: block;
    padding: 8px;
    border-radius: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.mobile-menu-btn:hover {
    background: hsl(var(--muted));
}

@media (min-width: 1024px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu-btn svg {
    width: 24px;
    height: 24px;
    color: hsl(var(--foreground));
}

.mobile-menu {
    display: none;
    padding-bottom: 16px;
    border-top: 1px solid hsl(var(--border) / 0.5);
}

.mobile-menu.open {
    display: block;
    animation: fadeIn 0.3s ease-out;
}

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

@media (min-width: 1024px) {
    .mobile-menu {
        display: none !important;
    }
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 16px;
}

.mobile-nav-link {
    padding: 12px 16px;
    border-radius: 8px;
    color: hsl(var(--foreground) / 0.7);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.mobile-nav-link:hover {
    color: hsl(var(--foreground));
    background: hsl(var(--muted));
}

.mobile-nav-cta {
    padding: 16px;
    padding-top: 8px;
}

.mobile-nav-cta .btn {
    width: 100%;
}

/* ========================================
   HERO SECTION
======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: hsl(var(--background));
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-bg-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, hsl(var(--glacier) / 0.05), transparent, hsl(var(--coral) / 0.05));
}

.hero-bg-blob-1 {
    position: absolute;
    top: 0;
    right: 0;
    width: 800px;
    height: 800px;
    background: hsl(var(--glacier) / 0.1);
    border-radius: 9999px;
    filter: blur(48px);
    transform: translateY(-50%) translateX(33%);
}

.hero-bg-blob-2 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 600px;
    height: 600px;
    background: hsl(var(--coral) / 0.1);
    border-radius: 9999px;
    filter: blur(48px);
    transform: translateY(50%) translateX(-33%);
}

.hero-container {
    position: relative;
    z-index: 10;
    padding: 48px 0;
}

@media (min-width: 1024px) {
    .hero-container {
        padding: 80px 0;
    }
}

.hero-grid {
    display: grid;
    gap: 48px;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }
}

.hero-content {
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

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

@media (min-width: 1024px) {
    .hero-content {
        text-align: left;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 9999px;
    background: hsl(var(--glacier) / 0.1);
    border: 1px solid hsl(var(--glacier) / 0.2);
    margin-bottom: 32px;
    animation: fadeInScale 0.4s ease-out 0.2s both;
}

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

.hero-badge-dot {
    position: relative;
    width: 10px;
    height: 10px;
}

.hero-badge-dot-ping {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 9999px;
    background: hsl(var(--coral));
    opacity: 0.75;
    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

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

.hero-badge-dot-solid {
    position: relative;
    width: 10px;
    height: 10px;
    border-radius: 9999px;
    background: hsl(var(--coral));
}

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

.hero-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 900;
    font-size: 2.25rem;
    color: hsl(var(--foreground));
    line-height: 1.05;
    margin-bottom: 32px;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

@media (min-width: 1280px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

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

.hero-title-underline {
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
}

.hero-title-underline path {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: drawLine 0.8s ease-out 1s forwards;
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

.hero-description {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 40px;
    max-width: 512px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

@media (min-width: 640px) {
    .hero-description {
        font-size: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .hero-description {
        margin-left: 0;
        margin-right: 0;
    }
}

.hero-description strong {
    color: hsl(var(--foreground));
    font-weight: 600;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
    margin-bottom: 48px;
}

@media (min-width: 640px) {
    .hero-cta {
        flex-direction: row;
    }
}

@media (min-width: 1024px) {
    .hero-cta {
        justify-content: flex-start;
    }
}

.hero-cta .btn {
    width: 100%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

@media (min-width: 640px) {
    .hero-cta .btn {
        width: auto;
    }
}

.hero-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 448px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .hero-benefits {
        margin: 0;
    }
}

.hero-benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border) / 0.5);
    animation: fadeInLeft 0.5s ease-out both;
}

.hero-benefit:nth-child(1) { animation-delay: 0.5s; }
.hero-benefit:nth-child(2) { animation-delay: 0.6s; }
.hero-benefit:nth-child(3) { animation-delay: 0.7s; }
.hero-benefit:nth-child(4) { animation-delay: 0.8s; }

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

.hero-benefit-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: hsl(var(--glacier) / 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-benefit-icon svg {
    width: 20px;
    height: 20px;
    color: hsl(var(--glacier));
}

.hero-benefit-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: hsl(var(--foreground));
}

.hero-image-wrapper {
    position: relative;
    animation: fadeInScale 0.8s ease-out 0.3s both;
}

.hero-image-container {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.hero-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

@media (min-width: 1024px) {
    .hero-image {
        height: 600px;
    }
}

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, hsl(var(--foreground) / 0.2), transparent, transparent);
}

.hero-floating-card {
    position: absolute;
    bottom: -24px;
    left: -24px;
    background: hsl(var(--card));
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid hsl(var(--border) / 0.5);
    animation: floatUp 0.5s ease-out 1s both;
}

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

.hero-floating-card-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero-floating-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.hero-floating-card-text h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    color: hsl(var(--foreground));
}

.hero-floating-card-text p {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

.hero-decor-1 {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 96px;
    height: 96px;
    background: hsl(var(--coral) / 0.2);
    border-radius: 9999px;
    filter: blur(32px);
}

.hero-decor-2 {
    position: absolute;
    bottom: -32px;
    right: 80px;
    width: 128px;
    height: 128px;
    background: hsl(var(--glacier) / 0.2);
    border-radius: 9999px;
    filter: blur(32px);
}

/* ========================================
   SECTIONS COMMON
======================================== */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 9999px;
    margin-bottom: 24px;
}

.section-badge-glacier {
    background: hsl(var(--glacier) / 0.1);
    border: 1px solid hsl(var(--glacier) / 0.2);
}

.section-badge-coral {
    background: hsl(var(--coral) / 0.1);
    border: 1px solid hsl(var(--coral) / 0.2);
}

.section-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 9999px;
}

.section-badge-dot-glacier {
    background: hsl(var(--glacier));
}

.section-badge-dot-coral {
    background: hsl(var(--coral));
}

.section-badge-text {
    font-size: 0.875rem;
    font-weight: 600;
}

.section-badge-text-glacier {
    color: hsl(var(--glacier));
}

.section-badge-text-coral {
    color: hsl(var(--coral));
}

.section-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 1.875rem;
    color: hsl(var(--foreground));
    margin-bottom: 20px;
}

@media (min-width: 640px) {
    .section-title {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-description {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    max-width: 672px;
    margin: 0 auto;
}

/* ========================================
   FEATURES SECTION
======================================== */
.features {
    padding: 96px 0;
    background: hsl(var(--background));
    position: relative;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .features {
        padding: 128px 0;
    }
}

.features-bg-1 {
    position: absolute;
    top: 0;
    right: 0;
    width: 600px;
    height: 600px;
    background: hsl(var(--glacier) / 0.05);
    border-radius: 9999px;
    filter: blur(48px);
    transform: translateY(-50%);
}

.features-bg-2 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 500px;
    height: 500px;
    background: hsl(var(--coral) / 0.05);
    border-radius: 9999px;
    filter: blur(48px);
    transform: translateY(50%);
}

.features-header {
    text-align: center;
    margin-bottom: 64px;
}

@media (min-width: 1024px) {
    .features-header {
        margin-bottom: 80px;
    }
}

.features-grid {
    display: grid;
    gap: 24px;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

.feature-card {
    height: 100%;
    padding: 32px;
    border-radius: 24px;
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border) / 0.5);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    transition: all 0.5s;
}

@media (min-width: 1024px) {
    .feature-card {
        padding: 40px;
    }
}

.feature-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: hsl(var(--glacier) / 0.3);
    transform: translateY(-8px);
}

.feature-card-decor {
    position: absolute;
    top: 0;
    right: 0;
    width: 160px;
    height: 160px;
    border-radius: 9999px;
    filter: blur(48px);
    transform: translateY(-50%) translateX(50%);
    transition: transform 0.5s;
}

.feature-card:hover .feature-card-decor {
    transform: translateY(-50%) translateX(50%) scale(1.5);
}

.feature-card-decor-glacier {
    background: hsl(var(--glacier) / 0.1);
}

.feature-card-decor-coral {
    background: hsl(var(--coral) / 0.1);
}

.feature-card-inner {
    position: relative;
}

.feature-card-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.feature-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-icon-glacier {
    background: var(--gradient-hero);
    box-shadow: var(--shadow-glow);
}

.feature-icon-coral {
    background: var(--gradient-cta);
    box-shadow: var(--shadow-cta);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    color: hsl(var(--primary-foreground));
}

.feature-content {
    flex: 1;
}

.feature-highlight {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.feature-highlight-glacier {
    background: hsl(var(--glacier) / 0.1);
    color: hsl(var(--glacier));
}

.feature-highlight-coral {
    background: hsl(var(--coral) / 0.1);
    color: hsl(var(--coral));
}

.feature-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: hsl(var(--foreground));
    margin-bottom: 16px;
    transition: color 0.3s;
}

@media (min-width: 1024px) {
    .feature-title {
        font-size: 1.5rem;
    }
}

.feature-card:hover .feature-title {
    color: hsl(var(--glacier));
}

.feature-description {
    color: hsl(var(--muted-foreground));
    line-height: 1.7;
    font-size: 1rem;
}

/* ========================================
   ARTICLES SECTION
======================================== */
.articles {
    padding: 96px 0;
    background: hsl(var(--muted) / 0.3);
    position: relative;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .articles {
        padding: 128px 0;
    }
}

.articles-bg {
    position: absolute;
    inset: 0;
}

.articles-bg-1 {
    position: absolute;
    top: 80px;
    left: 40px;
    width: 288px;
    height: 288px;
    background: hsl(var(--glacier) / 0.05);
    border-radius: 9999px;
    filter: blur(48px);
}

.articles-bg-2 {
    position: absolute;
    bottom: 80px;
    right: 40px;
    width: 384px;
    height: 384px;
    background: hsl(var(--coral) / 0.05);
    border-radius: 9999px;
    filter: blur(48px);
}

.articles-header {
    text-align: center;
    margin-bottom: 64px;
}

.articles-grid {
    display: grid;
    gap: 24px;
}

@media (min-width: 640px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .articles-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 32px;
    }
}

.article-card {
    height: 100%;
    background: hsl(var(--card));
    border-radius: 16px;
    border: 1px solid hsl(var(--border) / 0.5);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.5s;
}

.article-card:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border-color: hsl(var(--glacier) / 0.3);
    transform: translateY(-8px);
}

.article-image-wrapper {
    position: relative;
    height: 192px;
    overflow: hidden;
}

.article-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.article-card:hover .article-image {
    transform: scale(1.1);
}

.article-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, hsl(var(--foreground) / 0.6), hsl(var(--foreground) / 0.2), transparent);
}

.article-category {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 12px;
    border-radius: 9999px;
    background: hsl(var(--card) / 0.9);
    backdrop-filter: blur(8px);
    color: hsl(var(--glacier));
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.article-read-time {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: hsl(var(--primary-foreground) / 0.9);
    font-size: 0.75rem;
}

.article-read-time svg {
    width: 14px;
    height: 14px;
}

.article-content {
    padding: 20px;
}

.article-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: hsl(var(--foreground));
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s;
}

.article-card:hover .article-title {
    color: hsl(var(--glacier));
}

.article-excerpt {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 16px;
}

.article-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: hsl(var(--glacier));
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
}

.article-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s;
}

.article-card:hover .article-link svg {
    transform: translateX(8px);
}

/* ========================================
   CTA SECTION
======================================== */
.cta {
    padding: 96px 0;
    position: relative;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .cta {
        padding: 128px 0;
    }
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

.cta-decor {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.cta-decor-1 {
    position: absolute;
    top: -160px;
    left: -160px;
    width: 320px;
    height: 320px;
    background: hsl(var(--primary-foreground) / 0.1);
    border-radius: 9999px;
    filter: blur(48px);
}

.cta-decor-2 {
    position: absolute;
    bottom: -160px;
    right: -160px;
    width: 384px;
    height: 384px;
    background: hsl(var(--glacier-dark) / 0.3);
    border-radius: 9999px;
    filter: blur(48px);
}

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

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 9999px;
    background: hsl(var(--primary-foreground) / 0.1);
    border: 1px solid hsl(var(--primary-foreground) / 0.2);
    backdrop-filter: blur(8px);
    margin-bottom: 40px;
}

.cta-badge-emoji {
    font-size: 1.5rem;
}

.cta-badge-text {
    color: hsl(var(--primary-foreground) / 0.9);
    font-weight: 600;
}

.cta-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 900;
    font-size: 1.875rem;
    color: hsl(var(--primary-foreground));
    line-height: 1.1;
    margin-bottom: 32px;
}

@media (min-width: 640px) {
    .cta-title {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .cta-title {
        font-size: 3rem;
    }
}

@media (min-width: 1280px) {
    .cta-title {
        font-size: 3.75rem;
    }
}

.cta-description {
    font-size: 1.125rem;
    color: hsl(var(--primary-foreground) / 0.8);
    margin-bottom: 48px;
    max-width: 672px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 640px) {
    .cta-description {
        font-size: 1.25rem;
    }
}

.cta-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 48px;
}

@media (min-width: 640px) {
    .cta-benefits {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
}

.cta-benefit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-radius: 16px;
    background: hsl(var(--primary-foreground) / 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid hsl(var(--primary-foreground) / 0.1);
}

.cta-benefit svg {
    width: 28px;
    height: 28px;
    color: hsl(var(--coral));
}

.cta-benefit-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: hsl(var(--primary-foreground));
    text-align: center;
}

.cta-button-wrapper {
    display: inline-block;
    transition: transform 0.2s;
}

.cta-button-wrapper:hover {
    transform: scale(1.03);
}

.cta-button-wrapper:active {
    transform: scale(0.97);
}

.cta .btn-hero {
    font-size: 1.125rem;
    padding: 16px 48px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.cta-footer-text {
    margin-top: 32px;
    color: hsl(var(--primary-foreground) / 0.6);
    font-size: 0.875rem;
}

/* ========================================
   FOOTER
======================================== */
.footer {
    background: hsl(var(--foreground));
    padding: 64px 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
}

.footer-logo-icon svg {
    width: 24px;
    height: 24px;
    color: hsl(var(--primary-foreground));
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
}

.footer-logo-text-main {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    color: hsl(var(--primary-foreground));
    line-height: 1.1;
}

.footer-logo-text-sub {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    color: hsl(var(--glacier));
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 0.875rem;
}

@media (min-width: 640px) {
    .footer-nav {
        gap: 32px;
    }
}

.footer-nav a {
    color: hsl(var(--muted-foreground));
    text-decoration: none;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: hsl(var(--primary-foreground));
    text-decoration: underline;
    text-underline-offset: 4px;
}

.footer-nav-separator {
    display: none;
    color: hsl(var(--muted-foreground) / 0.3);
}

@media (min-width: 640px) {
    .footer-nav-separator {
        display: block;
    }
}

.footer-divider {
    width: 96px;
    height: 1px;
    background: hsl(var(--muted-foreground) / 0.2);
}

.footer-copyright {
    color: hsl(var(--muted-foreground) / 0.6);
    font-size: 0.875rem;
}

/* ========================================
   SINGLE POST / PAGE
======================================== */
.single-header {
    padding-top: 120px;
    padding-bottom: 60px;
    background: hsl(var(--background));
    position: relative;
    overflow: hidden;
}

.single-header-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, hsl(var(--glacier) / 0.05), transparent, hsl(var(--coral) / 0.05));
}

.single-header-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
}

.single-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

.single-breadcrumb a {
    color: hsl(var(--glacier));
    text-decoration: none;
    transition: color 0.2s;
}

.single-breadcrumb a:hover {
    color: hsl(var(--glacier-dark));
}

.single-breadcrumb svg {
    width: 16px;
    height: 16px;
}

.single-category {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 9999px;
    background: hsl(var(--glacier) / 0.1);
    color: hsl(var(--glacier));
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.single-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 900;
    font-size: 2rem;
    color: hsl(var(--foreground));
    line-height: 1.2;
    margin-bottom: 24px;
}

@media (min-width: 640px) {
    .single-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .single-title {
        font-size: 3rem;
    }
}

.single-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
}

.single-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.single-meta-item svg {
    width: 16px;
    height: 16px;
    color: hsl(var(--glacier));
}

.single-featured-image {
    margin-bottom: 48px;
}

.single-featured-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

@media (min-width: 1024px) {
    .single-featured-image img {
        height: 500px;
    }
}

/* ========================================
   CONTENT AREA WITH SIDEBAR
======================================== */
.content-area {
    padding: 60px 0 96px;
    background: hsl(var(--background));
}

.content-grid {
    display: grid;
    gap: 48px;
}

@media (min-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr 380px;
        gap: 64px;
    }
}

.main-content {
    min-width: 0;
}

/* ========================================
   ARTICLE CONTENT
======================================== */
.article-body {
    background: hsl(var(--card));
    border-radius: 24px;
    padding: 32px;
    border: 1px solid hsl(var(--border) / 0.5);
    box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
    .article-body {
        padding: 48px;
    }
}

.article-body h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: hsl(var(--foreground));
    margin-top: 48px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid hsl(var(--glacier) / 0.2);
}

@media (min-width: 768px) {
    .article-body h2 {
        font-size: 1.75rem;
    }
}

.article-body h2:first-child {
    margin-top: 0;
}

.article-body h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: hsl(var(--foreground));
    margin-top: 32px;
    margin-bottom: 16px;
}

.article-body h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 1.125rem;
    color: hsl(var(--foreground));
    margin-top: 24px;
    margin-bottom: 12px;
}

.article-body p {
    color: hsl(var(--foreground));
    line-height: 1.8;
    margin-bottom: 20px;
}

.article-body a {
    color: hsl(var(--glacier));
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s;
}

.article-body a:hover {
    color: hsl(var(--glacier-dark));
}

.article-body ul,
.article-body ol {
    margin-bottom: 20px;
    padding-left: 24px;
}

.article-body li {
    color: hsl(var(--foreground));
    line-height: 1.8;
    margin-bottom: 8px;
}

.article-body ul li {
    list-style-type: disc;
}

.article-body ul li::marker {
    color: hsl(var(--glacier));
}

.article-body ol li {
    list-style-type: decimal;
}

.article-body ol li::marker {
    color: hsl(var(--glacier));
    font-weight: 600;
}

.article-body blockquote {
    margin: 32px 0;
    padding: 24px 32px;
    background: hsl(var(--glacier) / 0.05);
    border-left: 4px solid hsl(var(--glacier));
    border-radius: 0 16px 16px 0;
}

.article-body blockquote p {
    font-size: 1.125rem;
    font-style: italic;
    color: hsl(var(--foreground));
    margin-bottom: 0;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 32px 0;
    box-shadow: var(--shadow-md);
}

.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 32px 0;
    border-radius: 12px;
    overflow: hidden;
}

.article-body th,
.article-body td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid hsl(var(--border));
}

.article-body th {
    background: hsl(var(--glacier) / 0.1);
    font-weight: 600;
    color: hsl(var(--foreground));
}

.article-body td {
    color: hsl(var(--foreground));
}

.article-body tr:last-child td {
    border-bottom: none;
}

.article-body code {
    background: hsl(var(--muted));
    padding: 2px 8px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.875em;
}

.article-body pre {
    background: hsl(var(--foreground));
    color: hsl(var(--primary-foreground));
    padding: 24px;
    border-radius: 12px;
    overflow-x: auto;
    margin: 32px 0;
}

.article-body pre code {
    background: transparent;
    padding: 0;
    color: inherit;
}

/* ========================================
   SIDEBAR
======================================== */
.sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background: hsl(var(--card));
    border-radius: 20px;
    padding: 28px;
    border: 1px solid hsl(var(--border) / 0.5);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}

.sidebar-widget:last-child {
    margin-bottom: 0;
}

.sidebar-widget-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 1.125rem;
    color: hsl(var(--foreground));
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid hsl(var(--glacier) / 0.2);
}

/* Sidebar Form Widget */
.sidebar-form-widget {
    background: var(--gradient-hero);
    border: none;
}

.sidebar-form-widget .sidebar-widget-title {
    color: hsl(var(--primary-foreground));
    border-bottom-color: hsl(var(--primary-foreground) / 0.2);
}

.sidebar-form-intro {
    color: hsl(var(--primary-foreground) / 0.9);
    font-size: 0.9375rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.sidebar-form .form-group {
    margin-bottom: 16px;
}

.sidebar-form label {
    display: block;
    color: hsl(var(--primary-foreground));
    font-weight: 500;
    font-size: 0.875rem;
    margin-bottom: 6px;
}

.sidebar-form input[type="text"],
.sidebar-form input[type="email"],
.sidebar-form input[type="tel"],
.sidebar-form select,
.sidebar-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid hsl(var(--primary-foreground) / 0.2);
    border-radius: 10px;
    background: hsl(var(--primary-foreground) / 0.1);
    color: hsl(var(--primary-foreground));
    font-size: 0.9375rem;
    transition: all 0.2s;
}

.sidebar-form input::placeholder,
.sidebar-form textarea::placeholder {
    color: hsl(var(--primary-foreground) / 0.5);
}

.sidebar-form input:focus,
.sidebar-form select:focus,
.sidebar-form textarea:focus {
    outline: none;
    border-color: hsl(var(--primary-foreground) / 0.5);
    background: hsl(var(--primary-foreground) / 0.15);
}

.sidebar-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.sidebar-form select option {
    background: hsl(var(--foreground));
    color: hsl(var(--primary-foreground));
}

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

.sidebar-form button[type="submit"] {
    width: 100%;
    padding: 14px 24px;
    background: var(--gradient-cta);
    color: hsl(var(--accent-foreground));
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: var(--shadow-cta);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.sidebar-form button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px -8px hsl(24 95% 55% / 0.5);
}

.sidebar-form button[type="submit"]:active {
    transform: translateY(0);
}

.sidebar-form-footer {
    margin-top: 16px;
    text-align: center;
    font-size: 0.75rem;
    color: hsl(var(--primary-foreground) / 0.6);
}

/* Sidebar Related Posts */
.sidebar-related-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sidebar-related-item {
    display: flex;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.2s;
}

.sidebar-related-item:hover {
    transform: translateX(4px);
}

.sidebar-related-image {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.sidebar-related-content {
    flex: 1;
    min-width: 0;
}

.sidebar-related-title {
    font-weight: 600;
    font-size: 0.875rem;
    color: hsl(var(--foreground));
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 4px;
    transition: color 0.2s;
}

.sidebar-related-item:hover .sidebar-related-title {
    color: hsl(var(--glacier));
}

.sidebar-related-date {
    font-size: 0.75rem;
    color: hsl(var(--muted-foreground));
}

/* Sidebar Categories */
.sidebar-categories {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-category-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 10px;
    background: hsl(var(--muted) / 0.5);
    color: hsl(var(--foreground));
    font-weight: 500;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.2s;
}

.sidebar-category-link:hover {
    background: hsl(var(--glacier) / 0.1);
    color: hsl(var(--glacier));
}

.sidebar-category-count {
    background: hsl(var(--glacier) / 0.1);
    color: hsl(var(--glacier));
    padding: 2px 10px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ========================================
   POST NAVIGATION
======================================== */
.post-navigation {
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid hsl(var(--border));
}

.post-navigation-grid {
    display: grid;
    gap: 24px;
}

@media (min-width: 640px) {
    .post-navigation-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.post-nav-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: hsl(var(--card));
    border-radius: 16px;
    border: 1px solid hsl(var(--border) / 0.5);
    text-decoration: none;
    transition: all 0.3s;
}

.post-nav-link:hover {
    border-color: hsl(var(--glacier) / 0.3);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.post-nav-link.next {
    text-align: right;
    flex-direction: row-reverse;
}

.post-nav-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: hsl(var(--glacier) / 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.post-nav-icon svg {
    width: 20px;
    height: 20px;
    color: hsl(var(--glacier));
}

.post-nav-content {
    flex: 1;
    min-width: 0;
}

.post-nav-label {
    font-size: 0.75rem;
    color: hsl(var(--muted-foreground));
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.post-nav-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 0.9375rem;
    color: hsl(var(--foreground));
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-nav-link:hover .post-nav-title {
    color: hsl(var(--glacier));
}

/* ========================================
   ARCHIVE / BLOG PAGE
======================================== */
.archive-header {
    padding-top: 120px;
    padding-bottom: 60px;
    background: hsl(var(--background));
    text-align: center;
    position: relative;
    overflow: hidden;
}

.archive-header-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, hsl(var(--glacier) / 0.05), transparent, hsl(var(--coral) / 0.05));
}

.archive-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 900;
    font-size: 2.5rem;
    color: hsl(var(--foreground));
    margin-bottom: 16px;
}

@media (min-width: 1024px) {
    .archive-title {
        font-size: 3.5rem;
    }
}

.archive-description {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   PAGINATION
======================================== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.2s;
}

.pagination a {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border) / 0.5);
    color: hsl(var(--foreground));
}

.pagination a:hover {
    border-color: hsl(var(--glacier) / 0.3);
    color: hsl(var(--glacier));
}

.pagination .current {
    background: var(--gradient-hero);
    color: hsl(var(--primary-foreground));
    border: none;
}

.pagination .dots {
    color: hsl(var(--muted-foreground));
}

/* ========================================
   404 PAGE
======================================== */
.error-404 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px;
    text-align: center;
}

.error-404-content {
    max-width: 600px;
}

.error-404-code {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 900;
    font-size: 8rem;
    line-height: 1;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
}

.error-404-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    color: hsl(var(--foreground));
    margin-bottom: 16px;
}

.error-404-text {
    color: hsl(var(--muted-foreground));
    margin-bottom: 32px;
}

/* ========================================
   WORDPRESS SPECIFIC
======================================== */
.alignleft {
    float: left;
    margin-right: 24px;
    margin-bottom: 16px;
}

.alignright {
    float: right;
    margin-left: 24px;
    margin-bottom: 16px;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    max-width: 100%;
    margin-bottom: 24px;
}

.wp-caption-text {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    text-align: center;
    padding-top: 8px;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Admin bar fix */
body.admin-bar .header {
    top: 32px;
}

@media (max-width: 782px) {
    body.admin-bar .header {
        top: 46px;
    }
}

/* ========================================
   FORMS (Contact Form 7 / WPForms compatibility)
======================================== */
.wpcf7-form,
.wpforms-form {
    margin: 0;
}

.wpcf7-form p,
.wpforms-field {
    margin-bottom: 16px;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form textarea,
.wpcf7-form select,
.wpforms-field input,
.wpforms-field textarea,
.wpforms-field select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid hsl(var(--border));
    border-radius: 10px;
    background: hsl(var(--card));
    color: hsl(var(--foreground));
    font-size: 0.9375rem;
    transition: all 0.2s;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus,
.wpforms-field input:focus,
.wpforms-field textarea:focus,
.wpforms-field select:focus {
    outline: none;
    border-color: hsl(var(--glacier));
}

.wpcf7-form input[type="submit"],
.wpforms-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--gradient-cta);
    color: hsl(var(--accent-foreground));
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: var(--shadow-cta);
}

.wpcf7-form input[type="submit"]:hover,
.wpforms-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px -8px hsl(24 95% 55% / 0.5);
}

.wpcf7-not-valid-tip {
    color: hsl(var(--destructive));
    font-size: 0.8125rem;
    margin-top: 4px;
}

.wpcf7-response-output {
    padding: 16px 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.wpcf7-mail-sent-ok {
    background: hsl(142 76% 36% / 0.1);
    border: 1px solid hsl(142 76% 36% / 0.3);
    color: hsl(142 76% 36%);
}

.wpcf7-validation-errors {
    background: hsl(var(--destructive) / 0.1);
    border: 1px solid hsl(var(--destructive) / 0.3);
    color: hsl(var(--destructive));
}

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

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