/* ===================================
   ZeroGaz - Ultra-Professional Design System
   =================================== */

:root {
    /* Colors */
    --color-primary: #2563eb;
    --color-primary-dark: #1e40af;
    --color-secondary: #10b981;
    --color-secondary-dark: #059669;
    --color-accent: #8b5cf6;

    --color-gray-50: #f9fafb;
    --color-gray-100: #f3f4f6;
    --color-gray-200: #e5e7eb;
    --color-gray-300: #d1d5db;
    --color-gray-600: #4b5563;
    --color-gray-700: #374151;
    --color-gray-900: #111827;

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===================================
   Base Styles
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    color: var(--color-gray-900);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===================================
   Animations
   =================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes blob {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.animation-delay-100 {
    animation-delay: 100ms;
}

.animation-delay-200 {
    animation-delay: 200ms;
}

.animation-delay-300 {
    animation-delay: 300ms;
}

.animation-delay-400 {
    animation-delay: 400ms;
}

.animation-delay-500 {
    animation-delay: 500ms;
}

.animation-delay-2000 {
    animation-delay: 2000ms;
}

.animate-blob {
    animation: blob 7s infinite;
}

/* ===================================
   Buttons
   =================================== */

.btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    font-weight: 600;
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-primary-large {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
    border-radius: var(--radius-xl);
    text-decoration: none;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-lg);
}

.btn-primary-large:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-2xl);
}

.btn-secondary-large {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: white;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.125rem;
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-xl);
    text-decoration: none;
    transition: all var(--transition-base);
}

.btn-secondary-large:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
    border: none;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-lg);
}

.btn-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-2xl);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ===================================
   Cards & Components
   =================================== */

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 1px solid var(--color-gray-100);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--color-primary);
}

.benefit-icon {
    width: 4rem;
    height: 4rem;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-lg);
}

.step-number {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

/* ===================================
   Forms
   =================================== */

.form-group {
    position: relative;
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--color-gray-700);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    transition: all var(--transition-base);
    background: white;
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-input.error {
    border-color: #10b981;
}

.form-input.success {
    border-color: var(--color-secondary);
}

.error-message {
    display: block;
    color: #10b981;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    min-height: 1.25rem;
}

.success-message {
    padding: 1rem;
    background: #d1fae5;
    border: 2px solid var(--color-secondary);
    border-radius: var(--radius-lg);
    color: #065f46;
    font-weight: 600;
    text-align: center;
}

.error-message-box {
    padding: 1rem;
    background: #ecfdf5;
    border: 2px solid #10b981;
    border-radius: var(--radius-lg);
    color: #991b1b;
    font-weight: 600;
    text-align: center;
}

/* ===================================
   Utilities
   =================================== */

.bg-grid-pattern {
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ===================================
   Responsive
   =================================== */

@media (max-width: 768px) {

    .btn-primary-large,
    .btn-secondary-large {
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
    }

    .benefit-card {
        padding: 1.5rem;
    }
}

/* ===================================
   Smooth Scrolling
   =================================== */

html {
    scroll-behavior: smooth;
}

/* ===================================
   Loading States
   =================================== */

.btn-loader {
    display: inline-flex;
    align-items: center;
}

/* .hidden {
    display: none !important;
} */

/* ===================================
   Accessibility
   =================================== */

:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* ===================================
   Mobile Hero Animations (Elegant Green)
   =================================== */

/* Main elegant floating animation */
@keyframes elegant-float {

    0%,
    100% {
        transform: translate(-50%, 0) scale(1);
        opacity: 0.5;
    }

    25% {
        transform: translate(-45%, -15px) scale(1.05);
        opacity: 0.6;
    }

    50% {
        transform: translate(-55%, -25px) scale(1.08);
        opacity: 0.55;
    }

    75% {
        transform: translate(-50%, -10px) scale(1.03);
        opacity: 0.58;
    }
}

.animate-elegant-float {
    animation: elegant-float 8s ease-in-out infinite;
}

/* Delayed elegant float for secondary wave */
@keyframes elegant-float-delay {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.4;
    }

    33% {
        transform: translate(-10px, -20px) scale(1.06);
        opacity: 0.5;
    }

    66% {
        transform: translate(10px, -15px) scale(1.04);
        opacity: 0.45;
    }
}

.animate-elegant-float-delay {
    animation: elegant-float-delay 10s ease-in-out infinite 1s;
}

/* Shimmer down effect */
@keyframes shimmer-down {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }

    50% {
        opacity: 0.3;
    }

    100% {
        transform: translateY(0);
        opacity: 0;
    }
}

.animate-shimmer-down {
    animation: shimmer-down 6s ease-in-out infinite;
}

/* Floating particles */
@keyframes float-particle-1 {

    0%,
    100% {
        transform: translate(0, 0);
        opacity: 0.6;
    }

    25% {
        transform: translate(15px, -30px);
        opacity: 0.8;
    }

    50% {
        transform: translate(-10px, -50px);
        opacity: 0.5;
    }

    75% {
        transform: translate(5px, -35px);
        opacity: 0.7;
    }
}

.animate-float-particle-1 {
    animation: float-particle-1 7s ease-in-out infinite;
}

@keyframes float-particle-2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }

    33% {
        transform: translate(-20px, -40px) scale(1.2);
        opacity: 0.7;
    }

    66% {
        transform: translate(10px, -60px) scale(0.9);
        opacity: 0.6;
    }
}

.animate-float-particle-2 {
    animation: float-particle-2 9s ease-in-out infinite 0.5s;
}

@keyframes float-particle-3 {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.55;
    }

    25% {
        transform: translate(10px, -25px) rotate(90deg);
        opacity: 0.75;
    }

    50% {
        transform: translate(-15px, -45px) rotate(180deg);
        opacity: 0.6;
    }

    75% {
        transform: translate(5px, -30px) rotate(270deg);
        opacity: 0.7;
    }
}

.animate-float-particle-3 {
    animation: float-particle-3 8s ease-in-out infinite 1.5s;
}

/* ===================================
   Print Styles
   =================================== */

@media print {
    .no-print {
        display: none;
    }
}

/* ===================================
   Button Loading Animation
   =================================== */

.btn-loading {
    animation: btnPulse 1.5s ease-in-out infinite;
    pointer-events: none;
    position: relative;
}

@keyframes btnPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
    }

    50% {
        box-shadow: 0 0 0 15px rgba(59, 130, 246, 0);
    }
}

/* Spinner Animation for Button Loader */
.btn-loader svg {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* --- ULTRA DESIGN SYSTEM --- */

.ultra-glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

@media (max-width: 768px) {
    .ultra-glass {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
}

.ultra-card {
    background: white;
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.ultra-card:hover {
    transform: translateY(-5px) scale(1.01);
    border-color: #10B981;
    box-shadow: 0 20px 40px -10px rgba(16, 185, 129, 0.15);
}

.shimmer-bg::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent,
            rgba(255, 255, 255, 0.1),
            transparent);
    transform: rotate(45deg);
    transition: 0.8s;
    pointer-events: none;
    opacity: 0;
}

.shimmer-bg:hover::after {
    left: 100%;
    top: 100%;
    opacity: 1;
}

.reveal-anim {
    animation: revealUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    opacity: 0;
}

@keyframes revealUp {
    0% {
        transform: translateY(20px) scale(0.98);
        opacity: 0;
    }

    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.glide-in {
    animation: glideRight 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    opacity: 0;
}

@keyframes glideRight {
    0% {
        transform: translateX(-10px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.premium-shadow {
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.05);
}

.glow-step {
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.perspective-1000 {
    perspective: 1000px;
}

.font-outfit {
    font-family: 'Outfit', sans-serif;
}

.font-inter {
    font-family: 'Inter', sans-serif;
}