/* ============================================
   BIOCLINIC - SLIM CARE PROJECT
   Stile principale per tutte le pagine
   ============================================ */

/* === VARIABILI CSS === */
:root {
    /* Colori Brand BioClinic */
    --primary-color: #0066cc;
    --secondary-color: #00a651;
    --accent-color: #ff6b35;
    --dark-blue: #003d7a;
    --light-blue: #e6f2ff;
    
    /* Colori di supporto */
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --border-color: #e0e0e0;
    
    /* Gradienti */
    --gradient-primary: linear-gradient(135deg, #0066cc 0%, #003d7a 100%);
    --gradient-success: linear-gradient(135deg, #00a651 0%, #007a3d 100%);
    
    /* Ombre */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 20px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.2);
    
    /* Spaziature */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    /* Font */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Poppins', sans-serif;
}

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

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

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

/* === TIPOGRAFIA === */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-blue);
    margin-bottom: var(--spacing-sm);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-light);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

/* === LAYOUT === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.container-fluid {
    width: 100%;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-xl) 0;
}

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

/* === HEADER E NAVIGAZIONE === */
.header {
    background: var(--white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    transition: opacity 0.3s ease;
}

.logo img:hover {
    opacity: 0.8;
}

/* Fallback per logo testuale se immagine non carica */
.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.logo-text span {
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background-color: var(--light-blue);
    color: var(--primary-color);
}

.nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Menu mobile */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* === HERO SECTION === */
.hero {
    background: var(--gradient-primary);
    color: var(--white);
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><path d="M0,300 Q300,150 600,300 T1200,300 L1200,600 L0,600 Z" fill="rgba(255,255,255,0.05)"/></svg>') no-repeat center;
    background-size: cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.hero h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero p {
    color: rgba(255,255,255,0.95);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1.1rem;
}

.hero-feature i {
    color: var(--secondary-color);
    font-size: 1.3rem;
}

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    text-decoration: none;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.8s ease-out, height 0.8s ease-out;
    z-index: -1;
}

.btn:hover::before {
    width: 400px;
    height: 400px;
}

.btn-primary {
    background: var(--gradient-success);
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 20px 40px rgba(0, 166, 81, 0.5);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 20px 40px rgba(0, 102, 204, 0.5);
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* === CARDS === */
.card {
    background: var(--white);
    border-radius: 15px;
    padding: var(--spacing-md);
    box-shadow: var(--shadow-md);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: visible;
    margin-bottom: var(--spacing-md);
    position: relative;
}

.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(0,102,204,0.1) 0%, rgba(0,166,81,0.1) 100%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
    z-index: 0;
}

.card:hover {
    transform: translateY(-12px) scale(1.03) rotate(1deg);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

.card:hover::after {
    opacity: 1;
}

.card > * {
    position: relative;
    z-index: 1;
}

.card-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.card-title {
    font-size: 1.3rem;
    color: var(--dark-blue);
    margin-bottom: var(--spacing-sm);
}

.card-text {
    color: var(--text-light);
    line-height: 1.6;
}

/* === GRID SYSTEM === */
.grid {
    display: grid;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    align-items: stretch;
    clear: both;
}

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

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

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

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

/* Fix overlapping sections */
.section {
    position: relative;
    clear: both;
    overflow: visible;
}

.section + .section {
    clear: both;
}

/* Ensure proper spacing for dosage grids */
.grid-4 > div,
.grid-5 > div {
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--spacing-sm);
}

/* Fix for inline pricing boxes */
.text-center > div {
    margin: var(--spacing-md) auto;
    display: inline-block;
    max-width: 100%;
}

/* Prevent content overflow in comparison tables */
.comparison-table {
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    width: 100%;
    overflow-x: auto;
}

/* === PRICE CARDS === */
.price-card {
    background: var(--white);
    border-radius: 15px;
    padding: var(--spacing-md);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    margin-bottom: var(--spacing-md);
    min-height: 500px;
}

.price-card.featured {
    border: 3px solid var(--secondary-color);
    transform: scale(1.05);
}

.price-card.featured::before {
    content: 'PIÙ POPOLARE';
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: 700;
}

.price-card:hover {
    transform: translateY(-15px) scale(1.05) rotate(-1deg);
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

.price-header {
    margin-bottom: var(--spacing-md);
}

.price-title {
    font-size: 1.5rem;
    color: var(--dark-blue);
    margin-bottom: var(--spacing-xs);
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.price-currency {
    font-size: 1.5rem;
    vertical-align: super;
}

.price-period {
    font-size: 1rem;
    color: var(--text-light);
}

.price-discount {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: var(--spacing-xs);
}

.price-features {
    list-style: none;
    margin: var(--spacing-md) 0;
    text-align: left;
}

.price-features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-xs);
}

.price-features li:last-child {
    border-bottom: none;
}

.price-features i {
    color: var(--secondary-color);
    margin-top: 0.2rem;
    font-size: 1.1rem;
}

/* === TIMELINE === */
.timeline {
    position: relative;
    padding: var(--spacing-md) 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-content {
    width: 45%;
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border: 4px solid var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

/* === FORM STYLES === */
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.form-label.required::after {
    content: '*';
    color: var(--accent-color);
    margin-left: 0.3rem;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    font-family: var(--font-primary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

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

.form-select {
    appearance: none;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%230066cc"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    background-size: 1.5rem;
    padding-right: 2.5rem;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.form-checkbox input[type="checkbox"] {
    margin-top: 0.3rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-error {
    color: var(--accent-color);
    font-size: 0.9rem;
    margin-top: 0.3rem;
    display: none;
}

.form-success {
    background: #d4edda;
    color: #155724;
    padding: var(--spacing-sm);
    border-radius: 8px;
    margin-bottom: var(--spacing-md);
    display: none;
}

/* === COMPARISON TABLE === */
.comparison-table {
    width: 100%;
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th {
    background: var(--gradient-primary);
    color: var(--white);
    padding: var(--spacing-sm);
    text-align: left;
    font-weight: 600;
}

.comparison-table td {
    padding: var(--spacing-sm);
    border-bottom: 1px solid var(--border-color);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:hover {
    background-color: var(--light-blue);
}

/* === TESTIMONIALS === */
.testimonial {
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    position: relative;
    margin-top: var(--spacing-md);
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 5rem;
    color: var(--light-blue);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.testimonial-info {
    flex: 1;
}

.testimonial-name {
    font-weight: 600;
    color: var(--dark-blue);
}

.testimonial-meta {
    font-size: 0.9rem;
    color: var(--text-light);
}

.testimonial-rating {
    color: #ffc107;
}

/* === FAQ === */
.faq-item {
    background: var(--white);
    border-radius: 10px;
    margin-bottom: var(--spacing-sm);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--white);
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-blue);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--light-blue);
}

.faq-question.active {
    background: var(--light-blue);
    color: var(--primary-color);
}

.faq-icon {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.faq-question.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 var(--spacing-md);
}

.faq-answer.active {
    max-height: 500px;
    padding: var(--spacing-sm) var(--spacing-md) var(--spacing-md);
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.6;
}

/* === BADGES === */
.badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.badge-success {
    background: var(--secondary-color);
    color: var(--white);
}

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

.badge-warning {
    background: var(--accent-color);
    color: var(--white);
}

/* === STATS === */
.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    text-align: center;
}

.stat-item {
    padding: var(--spacing-md);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-heading);
    display: block;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* === FOOTER === */
.footer {
    background: var(--dark-blue);
    color: var(--white);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* === CONTACT INFO === */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--light-blue);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* === ANIMATIONS === */
/* === ENHANCED ANIMATIONS === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(80px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

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

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.7) rotate(-5deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

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

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

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

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

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

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-180deg) scale(0.5);
    }
    to {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

/* Animation classes */
.fade-in-up {
    animation: fadeInUp 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

.fade-in-down {
    animation: fadeInDown 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

.fade-in-left {
    animation: fadeInLeft 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

.fade-in-right {
    animation: fadeInRight 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

.scale-in {
    animation: scaleIn 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

.slide-in-up {
    animation: slideInUp 1s ease-out both;
}

.bounce-in {
    animation: bounceIn 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) both;
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

.shake {
    animation: shake 0.5s ease-in-out;
}

.float {
    animation: float 3s ease-in-out infinite;
}

.rotate-in {
    animation: rotateIn 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

/* Stagger delays for sequential animations */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }
.delay-7 { animation-delay: 0.7s; }
.delay-8 { animation-delay: 0.8s; }
.delay-9 { animation-delay: 0.9s; }
.delay-10 { animation-delay: 1s; }

/* === UTILITY CLASSES === */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }

.pt-4 { padding-top: var(--spacing-lg); }
.pb-4 { padding-bottom: var(--spacing-lg); }

/* === RESPONSIVE DESIGN === */
@media (max-width: 992px) {
    .grid-3,
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 70px;
    }
    
    .timeline-item:nth-child(even) {
        flex-direction: column;
    }
    
    .timeline-content {
        width: 100%;
    }
    
    .timeline-marker {
        left: 30px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: var(--spacing-sm);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .grid-2,
    .grid-3,
    .grid-4,
    .grid-5 {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .price-card.featured {
        transform: scale(1);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .comparison-table {
        overflow-x: auto;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .hero {
        padding: var(--spacing-md) 0;
    }
    
    .section {
        padding: var(--spacing-md) 0;
    }
}