/* ============================================
   HACCPGO PUBLIC WEB - STILE PROFESSIONALE
   Design Moderno con Animazioni
   Colori: Viola/Blu (#667eea, #764ba2)
   ============================================ */

/* === CSS VARIABLES === */
:root {
    /* Colori HaccpGo */
    --primary: #667eea;
    --secondary: #764ba2;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-reverse: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    --gradient-dark: linear-gradient(135deg, #1a1f36 0%, #252d48 100%);

    /* Colori Accento */
    --accent-cyan: #00D4FF;
    --accent-gold: #FFD700;

    /* Testi */
    --text-dark: #1a1a2e;
    --text-medium: #4a5568;
    --text-light: #718096;
    --text-muted: #a0aec0;
    --white: #FFFFFF;

    /* Background */
    --bg-main: #f4f6f9;
    --bg-card: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;

    /* Ombre */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
    --shadow-primary: 0 4px 20px rgba(102, 126, 234, 0.35);
    --shadow-glow: 0 0 40px rgba(102, 126, 234, 0.3);

    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* === ANIMAZIONI KEYFRAMES === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

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

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.4);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(102, 126, 234, 0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* === CLASSI ANIMAZIONE === */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.animate-on-scroll[data-delay="1"] { transition-delay: 0.1s; }
.animate-on-scroll[data-delay="2"] { transition-delay: 0.2s; }
.animate-on-scroll[data-delay="3"] { transition-delay: 0.3s; }
.animate-on-scroll[data-delay="4"] { transition-delay: 0.4s; }
.animate-on-scroll[data-delay="5"] { transition-delay: 0.5s; }

/* === NAVBAR === */
.navbar {
    background: rgba(26, 31, 54, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all var(--transition-normal);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInDown 0.6s ease;
}

.navbar.scrolled {
    background: rgba(26, 31, 54, 0.98);
    box-shadow: var(--shadow-lg);
    padding: 0.75rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--white) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform var(--transition-fast);
}

.navbar-brand:hover {
    transform: scale(1.02);
}

.navbar-brand i {
    font-size: 1.75rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-brand .brand-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    padding: 0.5rem 1.25rem !important;
    transition: all var(--transition-fast);
    border-radius: var(--radius-sm);
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: all var(--transition-fast);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover {
    color: var(--white) !important;
}

.navbar-nav .nav-link:hover::after {
    width: 60%;
}

/* Tasto Vai al tool */
.navbar .btn-tool {
    background: var(--gradient-primary);
    color: white !important;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-full);
    border: none;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-primary);
    position: relative;
    overflow: hidden;
}

.navbar .btn-tool::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 0.5s ease;
}

.navbar .btn-tool:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.5);
}

.navbar .btn-tool:hover::before {
    left: 100%;
}

.navbar .btn-light {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: var(--white) !important;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-normal);
}

.navbar .btn-light:hover {
    background: var(--white);
    color: var(--primary) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* === HERO SECTION === */
.hero-section {
    background: var(--gradient-dark);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 2rem 80px;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.3) 0%, transparent 70%);
    top: -300px;
    right: -200px;
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(118, 75, 162, 0.25) 0%, transparent 70%);
    bottom: -200px;
    left: -150px;
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

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

.hero-content {
    max-width: 900px;
    text-align: center;
    z-index: 2;
    position: relative;
    animation: fadeInUp 0.8s ease;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-full);
    color: var(--white);
    font-weight: 500;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInDown 0.6s ease 0.2s backwards;
}

.hero-badge i {
    font-size: 1.25rem;
    color: var(--accent-gold);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.15;
    animation: fadeInUp 0.8s ease 0.3s backwards;
}

.gradient-text {
    background: linear-gradient(135deg, #00D4FF 0%, #667eea 50%, #764ba2 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientFlow 4s ease infinite;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 3rem;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease 0.5s backwards;
}

.hero-buttons .btn {
    padding: 1rem 2.5rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-full);
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.hero-buttons .btn-primary {
    background: var(--white);
    color: var(--primary);
    border: none;
    box-shadow: var(--shadow-lg);
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    color: var(--secondary);
}

.hero-buttons .btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.hero-buttons .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-4px);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

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

.stat-number {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.3), transparent);
}

/* Hero Floating Cards */
.hero-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.25rem 1.75rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: float 6s ease-in-out infinite;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
}

.floating-card:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.15);
}

.floating-card i {
    font-size: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-1 {
    top: 22%;
    right: 8%;
    animation-delay: 0s;
}

.card-2 {
    top: 55%;
    left: 5%;
    animation-delay: 1s;
}

.card-3 {
    bottom: 18%;
    right: 12%;
    animation-delay: 2s;
}

/* === FEATURES SECTION === */
.features-section {
    padding: 120px 2rem;
    background: var(--bg-main);
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
    color: var(--primary);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(102, 126, 234, 0.3);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-primary);
}

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

.feature-icon i {
    font-size: 2rem;
    color: var(--white);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--text-light);
    line-height: 1.7;
}

/* === PRICING TEASER SECTION === */
.pricing-teaser-section {
    padding: 100px 0;
    background: var(--gradient-primary);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

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

.pricing-teaser-content-single {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.pricing-teaser-text .section-title {
    color: var(--white);
    margin-bottom: 20px;
}

.pricing-teaser-text .section-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.pricing-teaser-text .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    margin-bottom: 30px;
}

.pricing-highlights {
    margin-bottom: 30px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 16px;
}

.highlight-item i {
    font-size: 22px;
    color: var(--accent-gold);
}

.pricing-teaser-card-single {
    display: flex;
    justify-content: center;
}

.quick-price-card-large {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: 40px;
    text-align: center;
    transition: all var(--transition-normal);
    border: 2px solid rgba(255, 255, 255, 0.2);
    min-width: 320px;
}

.quick-price-card-large:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.quick-price-card-large.featured {
    background: var(--white);
    color: var(--text-dark);
    border-color: var(--white);
    box-shadow: var(--shadow-xl);
}

.quick-price-badge-large {
    background: var(--gradient-primary);
    padding: 8px 24px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 20px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.quick-price-large {
    margin: 25px 0;
}

.quick-price-large .currency {
    font-size: 28px;
    font-weight: 700;
    vertical-align: top;
    color: var(--primary);
}

.quick-price-large .amount {
    font-size: 72px;
    font-weight: 800;
    line-height: 1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.quick-price-large .period {
    font-size: 18px;
    color: var(--text-light);
    font-weight: 500;
}

.quick-price-desc {
    font-size: 15px;
    color: var(--text-medium);
    margin: 0;
}

/* === CONTACT SECTION === */
.contact-section {
    padding: 120px 2rem;
    background: var(--white);
}

.contact-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.contact-info .section-subtitle {
    text-align: left;
    margin-bottom: 3rem;
}

.contact-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

.contact-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-dark);
    font-weight: 500;
}

.contact-feature i {
    color: var(--primary);
    font-size: 1.25rem;
}

.contact-direct {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-main);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-fast);
}

.contact-method:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.contact-method i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-top: 0.25rem;
}

.method-label {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.method-value {
    font-weight: 600;
    color: var(--text-dark);
}

.contact-form-wrapper {
    background: var(--bg-main);
    padding: 3rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.form-control {
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: all var(--transition-fast);
    background: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15);
}

.form-control::placeholder {
    color: var(--text-muted);
}

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

/* === BUTTONS === */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-primary);
}

.btn-primary::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 0.5s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.5);
    color: white;
}

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

/* === FOOTER === */
.footer {
    background: var(--gradient-dark);
    color: var(--white);
    padding: 4rem 2rem 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto 3rem;
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
}

.footer-brand .brand-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-brand .brand-logo i {
    font-size: 1.75rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: var(--white);
}

.footer-column ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-column a:hover {
    color: var(--white);
    transform: translateX(4px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all var(--transition-normal);
}

.footer-social a:hover {
    background: var(--gradient-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-primary);
}

/* === PRICING PAGE STYLES === */
.pricing-hero-section {
    padding: 120px 0 60px;
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.pricing-hero-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    border-radius: 50%;
}

.pricing-section {
    padding: 80px 0;
    background: var(--bg-main);
}

.pricing-grid-single {
    max-width: 1000px;
    margin: 0 auto 60px;
}

.pricing-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 50px 40px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
    border: 2px solid transparent;
}

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

.pricing-card.featured {
    border-color: var(--primary);
}

.popular-badge {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 10px 28px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-primary);
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
}

.plan-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.plan-name {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.plan-description {
    color: var(--text-light);
    font-size: 16px;
}

.pricing-price {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 0;
    border-bottom: 2px solid var(--gray-100);
}

.price-currency {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    vertical-align: top;
}

.price-amount {
    font-size: 80px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.price-period {
    font-size: 18px;
    color: var(--text-light);
    font-weight: 500;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

.feature-category {
    background: var(--bg-main);
    padding: 25px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary);
}

.feature-category h5 {
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-category h5 i {
    color: var(--primary);
    font-size: 20px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    padding: 10px 0;
    color: var(--text-medium);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li i {
    color: var(--primary);
    font-size: 16px;
    flex-shrink: 0;
}

.pricing-faq {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

.faq-item {
    margin-bottom: 30px;
}

.faq-item h5 {
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-item h5 i {
    color: var(--primary);
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

/* === CHECKOUT PAGE STYLES === */
.checkout-section {
    padding: 120px 0 80px;
    background: var(--bg-main);
    min-height: 100vh;
}

.checkout-container {
    max-width: 900px;
    margin: 0 auto;
}

.checkout-card {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.checkout-header {
    background: var(--gradient-primary);
    color: white;
    padding: 30px 40px;
    text-align: center;
}

.checkout-header h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.checkout-header p {
    opacity: 0.9;
    margin: 0;
}

.checkout-body {
    padding: 40px;
}

.step-indicator {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.step {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-weight: 500;
}

.step.active {
    color: var(--primary);
}

.step.completed {
    color: #38a169;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.step.active .step-number {
    background: var(--gradient-primary);
    color: white;
}

.step.completed .step-number {
    background: #38a169;
    color: white;
}

/* === TOAST NOTIFICATIONS === */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: white;
    backdrop-filter: blur(20px);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    max-width: 400px;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-left: 4px solid var(--primary);
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    border-left-color: #38a169;
}

.toast.error {
    border-left-color: #e53e3e;
}

.toast.warning {
    border-left-color: #dd6b20;
}

/* === RESPONSIVE === */

/* Tablet */
@media (max-width: 992px) {
    .contact-wrapper,
    .footer-content,
    .pricing-teaser-content-single {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .features-container {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .pricing-teaser-text {
        text-align: center;
    }

    .pricing-highlights {
        display: inline-block;
        text-align: left;
    }
}

/* Mobile */
@media (max-width: 768px) {
    /* Navbar Mobile */
    .navbar {
        padding: 0.75rem 0;
    }

    .navbar-brand {
        font-size: 1.25rem;
    }

    .navbar-collapse {
        background: rgba(26, 31, 54, 0.98);
        margin: 0.5rem -1rem 0;
        padding: 1rem;
        border-radius: var(--radius-md);
    }

    .navbar-nav {
        padding: 0.5rem 0;
        gap: 0.25rem;
    }

    .navbar-nav .nav-link {
        text-align: center;
        padding: 0.75rem 1rem !important;
        border-radius: var(--radius-sm);
    }

    .navbar-nav .nav-link:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    .navbar .btn-tool {
        margin: 0.75rem 0 0.25rem;
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1.5rem;
    }

    /* Hero Mobile */
    .hero-section {
        padding: 100px 1rem 60px;
        min-height: auto;
    }

    .hero-content {
        padding: 0 0.5rem;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-title {
        font-size: 1.75rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
        line-height: 1.7;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 2.5rem;
    }

    .hero-buttons .btn {
        width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .stat-item {
        width: 100%;
        padding: 1rem;
        background: rgba(255, 255, 255, 0.1);
        border-radius: var(--radius-md);
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    .stat-divider {
        display: none;
    }

    .floating-card {
        display: none;
    }

    /* Sections Mobile */
    .features-section,
    .contact-section {
        padding: 60px 1rem;
    }

    .pricing-teaser-section {
        padding: 60px 1rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }

    .section-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    /* Features Mobile */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 1rem;
    }

    .feature-icon i {
        font-size: 1.5rem;
    }

    .feature-title {
        font-size: 1.1rem;
    }

    .feature-description {
        font-size: 0.9rem;
    }

    /* Pricing Teaser Mobile */
    .quick-price-card-large {
        min-width: auto;
        width: 100%;
        padding: 2rem 1.5rem;
    }

    .quick-price-large .amount {
        font-size: 48px;
    }

    .quick-price-large .currency {
        font-size: 20px;
    }

    .quick-price-large .period {
        font-size: 14px;
    }

    .highlight-item {
        font-size: 0.9rem;
    }

    .highlight-item i {
        font-size: 1.1rem;
    }

    /* Contact Mobile */
    .contact-wrapper {
        gap: 2rem;
    }

    .contact-info .section-title,
    .contact-info .section-subtitle {
        text-align: center;
    }

    .contact-features {
        align-items: center;
    }

    .contact-direct {
        align-items: stretch;
    }

    .contact-form {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .form-group label {
        font-size: 0.85rem;
    }

    .form-control {
        padding: 0.75rem;
        font-size: 16px; /* Previene zoom su iOS */
    }

    .btn-primary {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }

    /* Footer Mobile */
    .footer {
        padding: 3rem 1rem 1.5rem;
    }

    .footer-content {
        gap: 2rem;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-brand .brand-logo {
        justify-content: center;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-column h4 {
        margin-bottom: 0.75rem;
    }

    .footer-column ul {
        gap: 0.5rem;
    }

    .footer-column a {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-bottom p {
        font-size: 0.85rem;
    }

    /* Pricing Page Mobile */
    .pricing-hero-section {
        padding: 100px 1rem 40px;
    }

    .pricing-section {
        padding: 40px 1rem;
    }

    .pricing-grid-single {
        margin-bottom: 40px;
    }

    .pricing-card {
        padding: 2rem 1.25rem;
        margin: 0 -0.25rem;
    }

    .popular-badge {
        font-size: 0.7rem;
        padding: 0.5rem 1rem;
        top: -14px;
    }

    .pricing-header {
        padding-top: 10px;
    }

    .plan-name {
        font-size: 1.4rem;
    }

    .plan-description {
        font-size: 0.9rem;
    }

    .pricing-price {
        padding: 1.5rem 0;
        margin-bottom: 1.5rem;
    }

    .price-amount {
        font-size: 56px;
    }

    .price-currency {
        font-size: 20px;
    }

    .price-period {
        font-size: 14px;
    }

    .features-container {
        gap: 1rem;
    }

    .feature-category {
        padding: 1.25rem;
    }

    .feature-category h5 {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .pricing-features li {
        font-size: 0.85rem;
        padding: 0.5rem 0;
    }

    .pricing-faq {
        padding: 1.5rem 1.25rem;
        margin: 0 -0.25rem;
    }

    .pricing-faq h3 {
        font-size: 1.25rem;
    }

    .faq-item h5 {
        font-size: 0.95rem;
    }

    .faq-item p {
        font-size: 0.9rem;
    }

    /* Toast Mobile */
    .toast-container {
        left: 1rem;
        right: 1rem;
        top: auto;
        bottom: 1rem;
    }

    .toast {
        min-width: auto;
        max-width: none;
        width: 100%;
    }
}

/* Small Mobile */
@media (max-width: 375px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.35rem;
    }

    .price-amount {
        font-size: 48px;
    }

    .quick-price-large .amount {
        font-size: 40px;
    }

    .pricing-card {
        padding: 1.5rem 1rem;
    }

    .feature-category {
        padding: 1rem;
    }
}

/* === UTILITY CLASSES === */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient {
    background: var(--gradient-primary);
}

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