/* ==================== VARIABILI COLORI MODERNI ==================== */
:root {
    --primary-blue: #667eea;
    --primary-blue-light: #764ba2;
    --primary-green: #059669;
    --primary-green-light: #10b981;
    --accent-yellow: #FFD700;
    --accent-dark: #0f172a;
    --accent-light: #f8fafc;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
    --success: #22c55e;
    --error: #ef4444;
    --warning: #f59e0b;
    --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);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(102, 126, 234, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(102, 126, 234, 0.6);
    }
}

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

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    color: var(--text-primary);
    background-color: #ffffff;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== HEADER ==================== */
.header {
    background: #fff7d1;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 0;
    z-index: 100;
    animation: slideInDown 0.5s ease-out;
    display: block !important;
    visibility: visible !important;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo h1 {
    font-size: 26px;
    font-weight: 800;
    color: #4a90e2;
    letter-spacing: -0.5px;
}

.logo .tagline {
    font-size: 11px;
    color: #0f172a;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav {
    display: flex !important;
    gap: 28px;
    align-items: center;
    flex-wrap: wrap;
}

.nav-link {
    text-decoration: none;
    color: #f5a6c9;
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition);
    position: relative;
    padding: 10px 14px;
    border-radius: 10px;
    display: inline-block !important;
    visibility: visible !important;
}

.nav-link:hover {
    color: #0f172a;
    background: #e3f2fd;
    transform: translateY(-1px);
}

.nav-link::after {
    display: none;
}

.cart-count {
    background: linear-gradient(135deg, var(--error) 0%, #dc2626 100%);
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: 700;
    margin-left: 4px;
    display: inline-block;
}

/* ==================== HERO SECTION ==================== */
.hero {
    padding: 100px 20px 80px;
    text-align: center;
    color: #0f172a;
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out;
}

/* ==================== BLOCCHI PASTELLO ==================== */
.block {
    padding: 80px 20px;
}

.block .container {
    max-width: 1100px;
}

.block h2 {
    font-size: 36px;
.block-blue h2 {
    color: #f5a6c9;
}
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.block p {
    font-size: 17px;
    line-height: 1.7;
}

.block-pink {

.block-blue h2 {
    color: #f5a6c9;
}
    background: #fde2e4;
}

.block-blue {
    background: #e3f2fd;
}

.block-yellow {
    background: #fff7d1;
}

.hero-content h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;
    color: #4a90e2;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 24px;
    opacity: 0.95;
    font-weight: 300;
}

/* ==================== PULSANTI ==================== */
.btn {
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    text-decoration: none;
    text-align: center;
}


.btn-primary {
    background: #0f172a;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 215, 0, 0.2);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

.btn-secondary {
    background-color: transparent;
    color: #0f172a;
    border: 2px solid #0f172a;
}

.btn-secondary:hover {
    background-color: #0f172a;
    color: white;
    transform: translateY(-2px);
}

.btn-small {
    padding: 8px 16px;
    font-size: 12px;
}

/* ==================== BOTTONI PDF ==================== */
.pdf-btn {
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #f5a6c9;
    color: white;
    box-shadow: 0 4px 15px rgba(245, 166, 201, 0.3);
}

.pdf-btn:hover {
    background: #4a90e2;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

.pdf-view-btn {
    background: #f5a6c9;
    color: white;
    box-shadow: 0 4px 15px rgba(245, 166, 201, 0.3);
}

.pdf-view-btn:hover {
    background: #4a90e2;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

.pdf-email-btn {
    background: #f5a6c9;
    color: white;
    box-shadow: 0 4px 15px rgba(245, 166, 201, 0.3);
}

.pdf-email-btn:hover {
    background: #4a90e2;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

.pdf-buy-btn {
    background: #f5a6c9;
    color: white;
    box-shadow: 0 4px 15px rgba(245, 166, 201, 0.3);
}

.pdf-buy-btn:hover {
    background: #4a90e2;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

/* ==================== SEZIONE PRODOTTI ==================== */
.products-section {
    padding: 80px 20px;
    background-color: var(--accent-light);
}

.products-section h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 48px;
    text-align: center;
    letter-spacing: -0.5px;
}

/* Filtri */
.filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group label {
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

.filter-group select,
.filter-group input {
    padding: 10px 14px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    transition: var(--transition);
    font-family: inherit;
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

#prezzoDisplay {
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 14px;
}

/* Griglia Prodotti */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

/* ==================== PRODUCT CARD ==================== */
.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.product-image {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
    padding: 40px 20px;
    font-size: 48px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
}

.product-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-type {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
    margin-bottom: 8px;
}

.product-type.digitale {
    background-color: #dbeafe;
    color: var(--primary-blue);
}

.product-type.fisico {
    background-color: #dcfce7;
    color: var(--primary-green);
}

.product-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.product-materia {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.product-description {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 16px;
        flex: 1;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.product-price {
    font-size: 18px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.add-to-cart-btn {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.add-to-cart-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

/* ==================== SEZIONE VANTAGGI ==================== */
.benefits-section {
    padding: 80px 20px;
    background: white;
}

.benefits-section h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 48px;
    text-align: center;
    letter-spacing: -0.5px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.benefit-card {
    text-align: center;
    padding: 32px 24px;
    border-radius: 12px;
    background: var(--accent-light);
    transition: var(--transition);
}

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

.benefit-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}

.benefit-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.benefit-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==================== SEZIONE HOW IT WORKS ==================== */
.how-it-works {
    padding: 80px 20px;
    background: var(--accent-light);
}

.how-it-works h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 48px;
    text-align: center;
    letter-spacing: -0.5px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
}

.step-card {
    background: white;
    padding: 32px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.step-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 20px;
    margin: 0 auto 16px;
}

.step-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.step-card p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ==================== MODAL ==================== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
}

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

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: linear-gradient(135deg, #fde2e4 0%, #fff7d1 100%);
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(245, 166, 201, 0.3);
    border: 3px solid #f5a6c9;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

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

.modal-content.modal-lg {
    max-width: 600px;
}

.modal-content h2 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 24px;
    color: #4a90e2;
}

.close {
    color: var(--text-secondary);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    margin-top: -12px;
}

.close:hover {
    color: var(--text-primary);
}

/* ==================== FORM ==================== */
.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group select {
    padding: 12px 14px;
    border: 2px solid #f5a6c9;
    border-radius: 8px;
    font-size: 14px;
    transition: var(--transition);
    font-family: inherit;
    background: white;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
}

/* ==================== CARRELLO ==================== */
.cart-items {
    margin-bottom: 24px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 16px;
    background: var(--accent-light);
    border-radius: 8px;
    margin-bottom: 12px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-title {
    font-weight: 600;
    font-size: 14px;
}

.cart-item-price {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.cart-item-actions button {
    background-color: var(--error);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.cart-item-actions button:hover {
    background-color: #dc2626;
}

.cart-summary {
    border-top: 2px solid var(--border-color);
    padding-top: 16px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 16px;
}

.total-price {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.empty-message {
    text-align: center;
    color: var(--text-secondary);
    padding: 40px 20px;
}

/* ==================== AUTENTICAZIONE ==================== */
.auth-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    border-bottom: 2px solid #f5a6c9;
}

.auth-tab {
    padding: 12px 24px;
    background: none;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
    color: #0f172a;
    border-radius: 8px 8px 0 0;
}

.auth-tab:hover {
    background: rgba(255, 255, 255, 0.5);
}

.auth-tab.active {
    color: white;
    background: #f5a6c9;
    border-bottom-color: #f5a6c9;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* ==================== PRODUCT DETAIL ==================== */
.detail-image {
    font-size: 80px;
    text-align: center;
    margin-bottom: 20px;
}

.detail-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
}

.detail-price {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.detail-description {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.detail-specs {
    background: var(--accent-light);
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.detail-specs p {
    margin-bottom: 12px;
    font-size: 14px;
}

.detail-specs p:last-child {
    margin-bottom: 0;
}

.quantity-selector {
    margin-bottom: 20px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.quantity-selector label {
    font-weight: 600;
}

.quantity-selector input {
    width: 60px;
    padding: 8px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    text-align: center;
}

/* ==================== FOOTER ==================== */
footer {
    background: var(--accent-dark);
    color: white;
    padding: 48px 20px 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.footer-section h3 {
    font-weight: 700;
    margin-bottom: 16px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-section p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 13px;
    transition: var(--transition);
}

.footer-link:hover {
    color: white;
}

.footer-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 24px;
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

/* ==================== NOTIFICHE ==================== */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    animation: slideInRight 0.3s ease;
    z-index: 9999;
}

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

.notification.success {
    border-left: 4px solid var(--success);
}

.notification.error {
    border-left: 4px solid var(--error);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    /* Header mobile */
    .header {
        position: sticky;
        top: 0;
    }

    .header-content {
        flex-direction: column;
        gap: 16px;
        padding: 12px 0;
    }

    .logo h1 {
        font-size: 24px;
    }

    .logo .tagline {
        font-size: 10px;
    }

    .nav {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        width: 100%;
    }

    .nav-link {
        font-size: 12px;
        padding: 8px 12px;
    }

    /* Hero mobile */
    .hero {
        padding: 60px 15px 50px;
    }

    .hero-content h2 {
        font-size: 28px;
        line-height: 1.3;
    }

    .hero-content p {
        font-size: 15px;
        line-height: 1.6;
    }

    .hero-content img {
        max-width: 100%;
        margin-bottom: 20px !important;
    }

    /* Blocchi mobile */
    .block {
        padding: 50px 15px;
    }

    .block h2 {
        font-size: 26px;
        line-height: 1.3;
    }

    .block h3 {
        font-size: 20px;
    }

    .block p, .block li {
        font-size: 15px;
    }

    /* Products grid */
    .products-section h2,
    .benefits-section h2,
    .how-it-works h2 {
        font-size: 28px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Filters */
    .filters {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    /* Modal */
    .modal-content {
        padding: 20px;
        margin: 20px;
        max-width: calc(100% - 40px);
    }

    .modal-header h2 {
        font-size: 22px;
    }

    /* Cart */
    .cart-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .cart-item-info {
        width: 100%;
    }

    .cart-summary {
        padding: 20px;
    }

    /* Auth modal */
    .auth-tabs {
        gap: 10px;
    }

    .auth-tab {
        font-size: 14px;
        padding: 10px 20px;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    /* Buttons */
    .btn {
        font-size: 14px;
        padding: 12px 24px;
    }

    /* PDF viewer */
    .pdf-container {
        padding: 15px;
    }

    #pdf-canvas {
        max-width: 100%;
        height: auto !important;
    }

    .pdf-controls {
        flex-wrap: wrap;
        gap: 8px;
    }

    .pdf-controls button {
        font-size: 12px;
        padding: 8px 12px;
    }
}

@media (max-width: 480px) {
    /* Logo ultra-small */
    .logo h1 {
        font-size: 20px;
    }

    .logo .tagline {
        font-size: 9px;
    }

    /* Navigation ultra-small */
    .nav {
        gap: 6px;
    }

    .nav-link {
        font-size: 11px;
        padding: 6px 10px;
    }

    /* Hero ultra-small */
    .hero {
        padding: 50px 10px 40px;
    }

    .hero-content h2 {
        font-size: 24px;
    }

    .hero-content p {
        font-size: 14px;
    }

    /* Blocchi ultra-small */
    .block {
        padding: 40px 10px;
    }

    .block h2 {
        font-size: 22px;
    }

    .block h3 {
        font-size: 18px;
    }

    /* Buttons full width on very small screens */
    .btn {
        width: 100%;
        font-size: 13px;
        padding: 10px 20px;
    }

    /* Products section */
    .products-section,
    .benefits-section,
    .how-it-works {
        padding: 50px 10px;
    }

    /* Modal ultra-small */
    .modal-content {
        padding: 15px;
        margin: 10px;
    }

    /* Form inputs */
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 14px;
    }

    /* Card adjustments */
    .product-card {
        padding: 15px;
    }

    .product-title {
        font-size: 16px;
    }

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

/* Landscape orientation fixes for mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 40px 15px;
    }

    .block {
        padding: 40px 15px;
    }

    .modal-content {
        max-height: 90vh;
        overflow-y: auto;
    }
}
