/* ============================================
   PromptsVault - Main Stylesheet
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600;700;800&display=swap');

/* ============================================
   CSS Variables
   ============================================ */
:root {
    --color-bg: #0a0a0a;
    --color-bg-secondary: #141414;
    --color-bg-tertiary: #1a1a1a;
    --color-bg-alt: #1a1a1a;
    --color-text: #f5f5f5;
    --color-text-muted: #999;
    --color-text-light: #ccc;
    --color-primary: #ff4757;
    --color-primary-dark: #e63946;
    --color-secondary: #1e90ff;
    --color-success: #2ecc71;
    --color-accent: #ffc107;
    --color-border: rgba(255, 255, 255, 0.1);
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
    --shadow-primary: 0 4px 20px rgba(255, 71, 87, 0.3);
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ============================================
   Layout
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   Header / Navbar
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px 0;
    z-index: 1000;
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition-base);
}

.navbar.scrolled {
    padding: 12px 0;
    box-shadow: var(--shadow-md);
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: var(--transition-fast);
}

.logo-wrapper:hover {
    opacity: 0.9;
}

.logo-image {
    width: 70px;
    height: 80px;
    border-radius: 10px;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-text);
}

.logo-text span {
    color: var(--color-primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text-muted);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
    color: var(--color-text);
}

.nav-link.nav-cta {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    font-weight: 600;
    margin-left: 8px;
    text-align: center;
}

.nav-link.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: var(--transition-fast);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: var(--transition-base);
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 71, 87, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text);
    border: 2px solid var(--color-secondary);
}

.btn-secondary:hover {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
}

.btn-outline {
    background: transparent;
    color: var(--color-text);
    border: 2px solid var(--color-border);
}

.btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-primary);
}

.btn-large {
    padding: 18px 48px;
    font-size: 18px;
}

.btn-small {
    padding: 10px 20px;
    font-size: 14px;
}

.btn-block {
    width: 100%;
}

/* ============================================
   Sections
   ============================================ */
.section {
    padding: 100px 0;
}

.section-sm {
    padding: 60px 0;
}

.section-lg {
    padding: 140px 0;
}

.section-alt {
    background: var(--color-bg-secondary);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-header p {
    font-size: 18px;
    color: var(--color-text-muted);
}

.section-label {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 71, 87, 0.1);
    border: 1px solid rgba(255, 71, 87, 0.3);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    padding: 160px 50px 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    height: 100%;
    background: radial-gradient(ellipse at center top, rgba(255, 71, 87, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
}

.hero-content {
    animation: fadeInUp 0.8s ease;
}

.hero-content h1 {
    font-family: var(--font-display);
    font-size: clamp(40px, 5vw, 60px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-content h1 .highlight {
    background: linear-gradient(135deg, var(--color-primary), #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 20px;
    color: var(--color-text-muted);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.hero-note {
    font-size: 14px;
    color: var(--color-text-muted);
}

.hero-image {
    animation: fadeInRight 0.8s ease 0.2s both;
}

.hero-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   Trust Bar
   ============================================ */
.trust-bar {
    background: var(--color-bg-secondary);
    padding: 40px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.trust-bar .container {
    text-align: center;
}

.trust-bar p {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.model-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.model-logo {
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-muted);
    border: 1px solid var(--color-border);
    transition: var(--transition-fast);
}

.model-logo:hover {
    border-color: var(--color-primary);
    color: var(--color-text);
}

.model-logo.featured {
    color: var(--color-text);
    border-color: var(--color-primary);
    background: rgba(255, 71, 87, 0.1);
}

/* Models Showcase */
.models-showcase {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.model-category {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    padding: 20px 0;
    border-bottom: 1px solid var(--color-border);
}

.model-category:last-child {
    border-bottom: none;
}

.model-category h3 {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text);
    font-style: italic;
    min-width: 220px;
    margin: 0;
}

.model-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.model-badge {
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    transition: var(--transition-fast);
}

.model-badge:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.model-badge.primary {
    background: rgba(255, 71, 87, 0.1);
    border-color: rgba(255, 71, 87, 0.3);
    color: var(--color-text);
}

.model-badge.primary:hover {
    background: rgba(255, 71, 87, 0.15);
    border-color: rgba(255, 71, 87, 0.5);
}

.model-badge.secondary {
    background: rgba(30, 144, 255, 0.1);
    border-color: rgba(30, 144, 255, 0.3);
    color: var(--color-text-light);
}

.model-badge.secondary:hover {
    background: rgba(30, 144, 255, 0.15);
    border-color: rgba(30, 144, 255, 0.5);
}

/* ============================================
   Stats Bar
   ============================================ */
.stats-bar {
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item h3 {
    font-family: var(--font-display);
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.stat-item p {
    color: var(--color-text-muted);
    font-size: 15px;
}

/* ============================================
   Feature Cards
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: var(--color-bg-secondary);
    padding: 36px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    transition: var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-primary);
    box-shadow: 0 12px 40px rgba(255, 71, 87, 0.15);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--color-text-muted);
    font-size: 15px;
    line-height: 1.6;
}

/* ============================================
   Comparison Cards
   ============================================ */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.comparison-card {
    background: var(--color-bg);
    padding: 40px;
    border-radius: var(--radius-lg);
    position: relative;
}

.comparison-card.problem {
    border: 2px solid rgba(255, 71, 87, 0.3);
}

.comparison-card.solution {
    border: 2px solid rgba(46, 204, 113, 0.3);
}

.comparison-card h3 {
    font-family: var(--font-display);
    font-size: 22px;
    margin-bottom: 24px;
}

.comparison-card ul {
    list-style: none;
}

.comparison-card li {
    padding: 14px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--color-text-muted);
    border-bottom: 1px solid var(--color-border);
}

.comparison-card li:last-child {
    border-bottom: none;
}

/* ============================================
   Pricing Cards
   ============================================ */
.pricing-comparison {
    text-align: left;
    margin-bottom: 40px;
    max-width: 800px;
}

.pricing-comparison h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-text);
}

.pricing-comparison p {
    color: var(--color-text-muted);
    font-size: 15px;
    margin: 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--color-bg);
    padding: 40px 28px;
    border-radius: var(--radius-lg);
    border: 2px solid var(--color-border);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: var(--transition-base);
}

.pricing-card:hover {
    border-color: rgba(255, 71, 87, 0.5);
}

.pricing-card.featured {
    border-color: var(--color-primary);
    box-shadow: 0 20px 60px rgba(255, 71, 87, 0.25);
    transform: scale(1.03);
}

.pricing-card .badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: white;
    padding: 8px 24px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.pricing-card h3 {
    font-family: var(--font-display);
    font-size: 24px;
    text-align: center;
    margin-bottom: 8px;
}

.pricing-card .price {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    color: var(--color-primary);
    text-align: center;
    margin: 16px 0 24px;
}

.pricing-card .price span {
    font-size: 16px;
    color: var(--color-text-muted);
    font-weight: 400;
    display: block;
    margin-top: 4px;
}

.pricing-card ul {
    list-style: none;
    margin: 20px 0;
    flex-grow: 1;
}

.pricing-card li {
    padding: 12px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.5;
    border-bottom: 1px solid var(--color-border);
}

.pricing-card li:last-child {
    border-bottom: none;
}

.pricing-card li.disabled {
    opacity: 0.4;
    text-decoration: line-through;
}

.pricing-card .target {
    background: rgba(255, 255, 255, 0.03);
    padding: 14px;
    border-radius: var(--radius-sm);
    margin: 20px 0;
    text-align: center;
    font-size: 13px;
    color: var(--color-text-muted);
    font-style: italic;
}

/* Stili per elementi specifici della pagina sales.html e index.html */
.download-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.download-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--color-bg-alt);
    border-radius: 16px;
    text-decoration: none;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: left;
    width: 100%;
}

.emoji-large {
    font-size: 48px;
}

.download-title {
    font-size: 20px;
    margin-bottom: 4px;
    color: var(--color-text);
}

.download-desc {
    color: var(--color-text-muted);
    margin: 0;
}

.installation-instructions {
    max-width: 600px;
    margin: 40px auto 0;
    padding: 24px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.instructions-title {
    margin-bottom: 12px;
}

.instructions-list {
    margin: 0;
    padding-left: 20px;
    color: var(--color-text-muted);
}

.tutorial-button {
    margin-left: 8px;
    padding: 4px 12px;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.code-inline {
    background: rgba(0,0,0,0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

.instructions-note {
    margin-top: 16px;
    font-size: 14px;
    opacity: 0.8;
}

.security-info {
    margin-top: 16px;
    padding: 12px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.security-info p {
    margin: 0;
    font-size: 13px;
    color: var(--color-text-muted);
}

.install-tutorial-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    padding: 20px;
}

.install-tutorial-content {
    background: var(--color-bg);
    border-radius: 16px;
    padding: 32px;
    max-width: 700px;
    width: 95%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    position: relative;
    margin: auto;
}

.modal-close-button {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--color-text-muted);
    line-height: 1;
}

.payment-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.payment-modal-content {
    background: var(--color-bg);
    border-radius: 16px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    position: relative;
}

.modal-header {
    margin-bottom: 12px;
    font-size: 28px;
    text-align: center;
}

.modal-center-text {
    text-align: center;
    color: var(--color-text-muted);
    margin-bottom: 32px;
}

.payment-options-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--color-bg-alt);
    border: 2px solid var(--color-border);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
}

.payment-option:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
}

.payment-option-emoji {
    font-size: 32px;
}

.payment-option-content {
    flex: 1;
    text-align: left;
}

.payment-option-title {
    font-size: 18px;
    margin-bottom: 4px;
    color: var(--color-text);
}

.payment-option-desc {
    font-size: 14px;
    color: var(--color-text-muted);
    margin: 0;
}

.payment-option-arrow {
    font-size: 20px;
    color: var(--color-text-muted);
}

.payment-center-text {
    text-align: center;
    font-size: 12px;
    color: var(--color-text-muted);
    margin-top: 24px;
}

.download-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.download-modal-content {
    background: var(--color-bg);
    border-radius: 16px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    position: relative;
}

.download-modal-center {
    text-align: center;
    margin-bottom: 24px;
}

.download-os-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.download-modal-title {
    margin-bottom: 8px;
    font-size: 24px;
}

.download-modal-subtitle {
    color: var(--color-text-muted);
    margin: 0;
}

.download-submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.download-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.download-center-text {
    text-align: center;
    font-size: 12px;
    color: var(--color-text-muted);
    margin-top: 16px;
    margin-bottom: 0;
}

.toast-notification {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    z-index: 10000;
    font-size: 14px;
    max-width: 350px;
    animation: slideIn 0.3s ease;
}

.toast-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.toast-message strong {
    display: block;
    margin-bottom: 4px;
}

.toast-message span {
    opacity: 0.9;
}

/* Toast Animation */
@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Stili per la sezione hero */
.hero-section {
    padding-top: 160px;
    padding-bottom: 60px;
}

.image-with-effects {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    margin-top: 40px;
}

/* Stili per le sezioni informative */
.section-alt {
    background: var(--color-bg-secondary);
}

.section-header {
    max-width: 900px;
}

.pricing-promo-box {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
    padding: 32px;
    background: rgba(255, 199, 7, 0.1);
    border-radius: 16px;
    border: 1px solid rgba(255, 199, 7, 0.3);
}

.pricing-promo-title {
    font-size: 24px;
    margin-bottom: 12px;
}

.pricing-promo-text {
    color: var(--color-text-muted);
}

.download-btn-full {
    width: 100%;
}

.payment-btn-full {
    width: 100%;
    cursor: pointer;
}

.badge-complete {
    background: linear-gradient(135deg, #ffc107, #ff9800);
}

.cta-final-text {
    margin-top: 24px;
    opacity: 0.8;
    font-size: 14px;
}

/* Stili per i passaggi di installazione */
.install-step {
    margin-bottom: 24px;
    padding: 20px;
    background: var(--color-bg-alt);
    border-radius: 12px;
    border: 1px solid var(--color-border);
}

.step-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.step-number {
    background: var(--color-primary);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

.step-title {
    margin: 0;
    font-size: 16px;
}

.step-image {
    width: 100%;
    border-radius: 8px;
    border: 1px solid var(--color-border);
}

.warning-box {
    padding: 16px;
    background: rgba(255, 199, 7, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 199, 7, 0.3);
}

.warning-box p {
    margin: 0;
    font-size: 14px;
    color: var(--color-text-muted);
}

.finish-install-btn {
    margin-top: 24px;
    width: 100%;
    padding: 14px;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hover-effect {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

/* Stili per il toast di notifica */
.toast-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.toast-message strong {
    display: block;
    margin-bottom: 4px;
}

.toast-message span {
    opacity: 0.9;
}

/* Stili per il file about.html */
.about-hero {
    padding-top: 180px;
}

.about-hero-title {
    font-size: clamp(36px, 5vw, 56px);
    margin-bottom: 24px;
}

.about-hero-subtitle {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto;
}

.rounded-medium {
    border-radius: 15px;
}

.about-intro {
    /* Aggiungi stili se necessario */
}

.about-image img {
    width: 60%;
    border-radius: 15px;
}

/* ============================================
   Testimonials
   ============================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    background: var(--color-bg-secondary);
    padding: 36px;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--color-primary);
    transition: var(--transition-base);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.testimonial-author strong {
    font-weight: 600;
}

.testimonial-author span {
    color: var(--color-text-muted);
    font-size: 14px;
}

/* ============================================
   FAQ
   ============================================ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-bg-secondary);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    border: 1px solid var(--color-border);
    transition: var(--transition-fast);
    overflow: hidden;
}

.faq-item:hover {
    border-color: rgba(255, 71, 87, 0.3);
}

.faq-item h3 {
    font-family: var(--font-display);
    font-size: 18px;
    margin: 0;
    padding: 28px;
    color: var(--color-primary);
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item h3::after {
    content: '+';
    font-size: 24px;
    transition: transform 0.3s ease;
}

.faq-item.active h3::after {
    content: '−';
}

.faq-item p {
    color: var(--color-text-muted);
    line-height: 1.7;
    padding: 0 28px 28px;
    margin: 0;
    display: none;
}

.faq-item.active p {
    display: block;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-final {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-final::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");
    pointer-events: none;
}

.cta-final .container {
    position: relative;
}

.cta-final h2 {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-final p {
    font-size: 20px;
    margin-bottom: 36px;
    opacity: 0.95;
}

.cta-final .btn-primary {
    background: white;
    color: var(--color-primary);
}

.cta-final .btn-primary:hover {
    background: var(--color-bg);
    color: white;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--color-bg-secondary);
    padding: 80px 0 40px;
    border-top: 1px solid var(--color-border);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo-image {
    width: 35px;
    height: 40px;
    border-radius: 8px;
}

.footer-logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-logo-text span {
    color: var(--color-primary);
}

.footer-tagline {
    color: var(--color-text-muted);
    font-size: 14px;
    line-height: 1.6;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text);
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    color: var(--color-text-muted);
    font-size: 14px;
    padding: 8px 0;
    transition: var(--transition-fast);
}

.footer-col a:hover {
    color: var(--color-primary);
    transform: translateX(4px);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding-top: 40px;
    border-top: 1px solid var(--color-border);
}

.footer-bottom p {
    color: var(--color-text-muted);
    font-size: 14px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--color-text-muted);
    transition: var(--transition-fast);
}

.social-link:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-3px);
}

/* ============================================
   Modals
   ============================================ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-container {
    background: var(--color-bg-secondary);
    border-radius: var(--radius-xl);
    max-width: 700px;
    width: 100%;
    max-height: 85vh;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    animation: modalSlideIn 0.3s ease;
}

.modal-container.modal-contact {
    max-width: 800px;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: var(--color-text-muted);
    transition: var(--transition-fast);
    z-index: 10;
}

.modal-close:hover {
    background: var(--color-primary);
    color: white;
}

.modal-content {
    padding: 50px 40px;
    max-height: 85vh;
    overflow-y: auto;
}

.modal-content h2 {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-primary);
}

.modal-last-update {
    color: var(--color-text-muted);
    font-size: 14px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--color-border);
}

.modal-content section {
    margin-bottom: 28px;
}

.modal-content section h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--color-text);
}

.modal-content section p {
    color: var(--color-text-muted);
    line-height: 1.7;
    font-size: 15px;
}

/* Contact Modal Specific */
.contact-intro {
    color: var(--color-text-muted);
    font-size: 18px;
    margin-bottom: 40px;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.contact-card {
    background: var(--color-bg);
    padding: 28px;
    border-radius: var(--radius-md);
    text-align: center;
    border: 1px solid var(--color-border);
    transition: var(--transition-base);
}

.contact-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
}

.contact-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 71, 87, 0.1);
    border-radius: 50%;
    color: var(--color-primary);
}

.contact-card h3 {
    font-family: var(--font-display);
    font-size: 16px;
    margin-bottom: 8px;
}

.contact-card p {
    color: var(--color-text-muted);
    font-size: 13px;
    margin-bottom: 16px;
}

.contact-link {
    color: var(--color-secondary);
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition-fast);
}

.contact-link:hover {
    color: var(--color-primary);
}

.contact-info-footer {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
    flex-wrap: wrap;
}

.info-item {
    text-align: center;
}

.info-item strong {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
    margin-bottom: 4px;
}

.info-item span {
    font-size: 14px;
    color: var(--color-text);
}

/* ============================================
   Blog Cards
   ============================================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.blog-card {
    background: var(--color-bg-secondary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: var(--transition-base);
}

.blog-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-primary);
    box-shadow: 0 12px 40px rgba(255, 71, 87, 0.15);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--color-bg-tertiary), var(--color-bg));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

.blog-card-content {
    padding: 28px;
}

.blog-card-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
}

.blog-card-meta span {
    font-size: 12px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card-meta .category {
    /* Mantiene il bianco su sfondo rosso - non override */
    color: #ffffff;
    background: var(--color-primary);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.blog-card h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.3;
}

.blog-card p {
    color: var(--color-text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.blog-card .read-more {
    color: var(--color-secondary);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-fast);
}

.blog-card .read-more:hover {
    color: var(--color-primary);
    gap: 12px;
}

/* Featured Blog Post */
.blog-featured {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
    padding: 48px;
    background: var(--color-bg-secondary);
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
}

.blog-featured-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--color-bg-tertiary), var(--color-bg));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
}

.blog-featured-content .blog-card-meta {
    margin-bottom: 20px;
}

.blog-featured-content h2 {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.blog-featured-content p {
    color: var(--color-text-muted);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 24px;
}

/* Blog Post Styles */
.blog-post {
    max-width: 800px;
    margin: 4rem auto;
    padding: 0 1.5rem;
}

/* Fix for fixed header overlapping content */
.main-content {
    margin-top: 140px;
}

.blog-post-header {
    margin-bottom: 3rem;
    text-align: center;
    padding-top: 40px;
}

.blog-post-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-align: center;
}

.blog-post-meta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.category {
    background: var(--color-primary);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
}

.date {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.excerpt {
    font-size: 1.25rem;
    color: var(--color-text-light);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

/* Fix for fixed header overlapping content - Blog Articles */
.blog-article {
    padding-top: 120px;
}

/* Deprecated - keeping for backward compatibility */
.main-content {
    margin-top: 140px;
}

/* Article Header Styles */
.article-header {
    background: var(--color-bg-secondary);
    padding: 140px 0 60px;
    border-bottom: 1px solid var(--color-border);
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.back-link {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.back-link:hover {
    color: var(--color-primary);
}

.meta-info {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.article-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-top: 1rem;
    font-weight: 400;
}

/* ============================================
   Squeeze Page Specific
   ============================================ */
.squeeze-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 50px 60px;
    position: relative;
}

.squeeze-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at top left, rgba(255, 71, 87, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(30, 144, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.squeeze-container {
    max-width: 600px;
    text-align: center;
    position: relative;
}

.squeeze-badge {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(255, 71, 87, 0.15);
    border: 1px solid rgba(255, 71, 87, 0.4);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 32px;
    margin-top: 32px;
}

.squeeze-container h1 {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 24px;
}

.squeeze-container h1 span {
    color: var(--color-primary);
}

.squeeze-container > p {
    font-size: 18px;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    line-height: 1.7;
}

.squeeze-form {
    background: var(--color-bg-secondary);
    padding: 40px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    margin-bottom: 32px;
}

.squeeze-form .form-group {
    margin-bottom: 20px;
}

.squeeze-form input {
    width: 100%;
    padding: 16px 20px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--color-text);
    transition: var(--transition-fast);
}

.squeeze-form input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.1);
}

.squeeze-form input::placeholder {
    color: var(--color-text-muted);
}

.squeeze-form .btn {
    width: 100%;
    padding: 18px;
    font-size: 17px;
}

.squeeze-benefits {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.squeeze-benefit {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--color-text-muted);
}

.squeeze-benefit svg {
    color: var(--color-success);
}

/* ============================================
   About Page Specific
   ============================================ */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-intro-content h2 {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.about-intro-content p {
    color: var(--color-text-muted);
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--color-bg-tertiary), var(--color-bg));
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image img {
    width: 80%;
    height: auto;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.value-card {
    background: var(--color-bg);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    text-align: center;
    transition: var(--transition-base);
}

.value-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 71, 87, 0.1);
    border-radius: 50%;
    font-size: 36px;
}

.value-card h3 {
    font-family: var(--font-display);
    font-size: 20px;
    margin-bottom: 12px;
}

.value-card p {
    color: var(--color-text-muted);
    font-size: 15px;
    line-height: 1.6;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-border);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    gap: 60px;
    margin-bottom: 60px;
    position: relative;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--color-primary);
    border-radius: 50%;
    border: 4px solid var(--color-bg);
}

.timeline-content {
    flex: 1;
    background: var(--color-bg-secondary);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
}

.timeline-content h3 {
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.timeline-content h4 {
    font-size: 20px;
    margin-bottom: 12px;
}

.timeline-content p {
    color: var(--color-text-muted);
    font-size: 15px;
    line-height: 1.6;
}

/* ============================================
   Utilities
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }
.text-muted { color: var(--color-text-muted); }

.mt-0 { margin-top: 0; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease both;
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease both;
}

/* ============================================
   Categories Accordion
   ============================================ */
.categories-accordion {
    max-width: 1000px;
    margin: 0 auto;
}

.category-item {
    background: var(--color-bg);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    border: 1px solid var(--color-border);
    overflow: hidden;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.category-header:hover {
    background: rgba(255, 255, 255, 0.03);
}

.category-title {
    display: flex;
    align-items: center;
    gap: 16px;
}

.category-icon {
    font-size: 32px;
}

.category-title h3 {
    font-family: var(--font-display);
    font-size: 18px;
    margin: 0;
    color: var(--color-text);
}

.category-header .arrow {
    font-size: 16px;
    color: var(--color-text-muted);
    transition: transform var(--transition-base);
}

.category-header.active .arrow {
    transform: rotate(180deg);
}

.category-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.category-content.active {
    max-height: 1000px;
    transition: max-height 0.5s ease-in;
}

.paragraphs-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 0 24px 24px 24px;
}

.paragraph-badge {
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.1) 0%, rgba(30, 144, 255, 0.1) 100%);
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
    border: 1px solid var(--color-border);
    transition: var(--transition-fast);
}

.paragraph-badge:hover {
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.2) 0%, rgba(30, 144, 255, 0.2) 100%);
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 71, 87, 0.2);
}

.paragraph-badge.special {
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.15) 0%, rgba(30, 144, 255, 0.15) 100%);
    border: 2px solid var(--color-primary);
    font-weight: 600;
    font-size: 15px;
    padding: 12px 24px;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 968px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--color-bg);
        padding: 24px;
        flex-direction: column;
        border-bottom: 1px solid var(--color-border);
        display: none;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-link {
        width: 100%;
        text-align: center;
        padding: 16px;
    }
    
    .nav-link.nav-cta {
        margin-left: 0;
        margin-top: 8px;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid,
    .comparison-grid,
    .testimonials-grid,
    .values-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    
    .blog-featured {
        grid-template-columns: 1fr;
        padding: 32px;
    }
    
    .about-intro {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(even) {
        flex-direction: column;
        padding-left: 50px;
    }
    
    .timeline-marker {
        left: 20px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .btn-large {
        padding: 16px 32px;
        font-size: 16px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-links-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .squeeze-benefits {
        flex-direction: column;
        align-items: center;
    }

    .modal-content {
        padding: 32px 24px;
    }

    .contact-info-footer {
        flex-direction: column;
        gap: 20px;
    }

    /* hero-cta mobile */
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta a {
        width: 100%;
        max-width: 320px;
        text-align: center;
    }

    /* two-tools-grid single column */
    .two-tools-grid {
        grid-template-columns: 1fr !important;
    }

    /* skills how-it-works grid single column */
    .skills-how-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Blog Post Styles */
.blog-post {
    max-width: 800px;
    margin: 4rem auto;
    padding: 0 1.5rem;
}

/* Fix for fixed header overlapping content */
.main-content {
    margin-top: 140px;
}

.blog-post-header {
    margin-bottom: 3rem;
    text-align: center;
}

.blog-post-meta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.category {
    background: var(--color-primary);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
}

.date {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.blog-post-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.excerpt {
    font-size: 1.25rem;
    color: var(--color-text-light);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

.lead {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

.blog-post-content {
    margin-top: 2rem;
}

.blog-post-body h2 {
    font-size: 1.8rem;
    margin: 2.5rem 0 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-border);
}

.blog-post-body h3 {
    font-size: 1.4rem;
    margin: 2rem 0 1rem;
}

.blog-post-body p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--color-text-light);
}

.blog-post-body ul,
.blog-post-body ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.blog-post-body li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.article-cta-box {
    background: linear-gradient(135deg, var(--color-bg-tertiary), #1e1e1e);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin: 3rem 0;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.article-cta-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.article-cta-box p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.article-cta-box .btn {
    margin: 0.5rem;
}

.article-cta-box .btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.cta-separator {
    position: relative;
    text-align: center;
    margin: 1.5rem 0;
}

.cta-separator span {
    background: var(--color-bg-tertiary);
    padding: 0 1rem;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.cta-separator:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--color-border);
    z-index: -1;
}

.article-cta-box-highlight {
    border: 2px solid var(--color-primary);
    background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
    position: relative;
    overflow: hidden;
}

.article-cta-box-highlight:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color-primary);
}

.related-articles {
    margin: 4rem 0;
    padding: 3rem 0;
    border-top: 1px solid var(--color-border);
}

.related-articles h2 {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 2rem;
}

.blog-grid-small {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .main-content {
        margin-top: 120px;
    }
    
    .blog-post {
        margin: 2rem auto;
        padding: 0 1rem;
    }
    
    .blog-post-header h1 {
        font-size: 2rem;
    }
    
    .excerpt {
        font-size: 1.1rem;
    }
    
    .lead {
        font-size: 1.1rem;
    }
    
    .blog-post-body h2 {
        font-size: 1.5rem;
    }
    
    .blog-post-body h3 {
        font-size: 1.25rem;
    }
    
    .article-cta-box {
        padding: 1.5rem;
    }
    
    .blog-grid-small {
        grid-template-columns: 1fr;
    }
    
    /* Mobile Menu */
    .mobile-menu-toggle {
        padding: 6px;
    }

    .mobile-menu-toggle span {
        width: 20px;
        height: 2px;
    }
}

/* Nuova media query per schermi inferiori a 480px */
@media (max-width: 480px) {
    .main-content {
        margin-top: 140px;
    }
    
    .blog-post {
        margin-top: 20px;
    }
    
    .blog-post-header {
        padding-top: 20px;
    }
    
    /* Navbar: logo a sinistra, burger a destra */
    .navbar-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        gap: 8px;
    }
    
    /* Logo wrapper non deve espandersi troppo */
    .logo-wrapper {
        flex: 0 1 auto;
        max-width: calc(100% - 50px);
        overflow: hidden;
    }
    
    .logo-image {
        width: 36px;
        height: 44px;
        border-radius: 6px;
        flex-shrink: 0;
    }
    
    .logo-text {
        font-size: 2rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    /* Burger menu SEMPRE visibile a destra */
    .mobile-menu-toggle {
        display: flex !important;
        flex-shrink: 0;
        margin-left: auto;
        padding: 10px;
        z-index: 1001;
    }

    .mobile-menu-toggle span {
        width: 22px;
        height: 2px;
    }
    
    .container {
        padding: 0 12px;
    }
    
    .blog-post {
        padding: 0 1rem;
    }
    
    .blog-post-header h1 {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .blog-post-body h2 {
        font-size: 1.3rem;
    }
    
    .blog-post-body h3 {
        font-size: 1.1rem;
    }
}

/* ============================================
   Cookie Banner & Cookie Modal
   ============================================ */

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    padding: 24px;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.cookie-banner-text {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex: 1;
}

.cookie-icon {
    font-size: 32px;
    line-height: 1;
    flex-shrink: 0;
}

.cookie-banner-text h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-text);
}

.cookie-banner-text p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin: 0;
}

.cookie-banner-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.cookie-banner-actions .btn {
    white-space: nowrap;
    padding: 12px 24px;
    font-size: 14px;
}

.btn-text {
    background: transparent;
    color: var(--color-text-light);
    border: 1px solid var(--color-border);
}

.btn-text:hover {
    background: var(--color-bg-tertiary);
    border-color: var(--color-text-muted);
}

/* Cookie Modal Styles */
.cookie-category {
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 20px;
}

.cookie-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    gap: 16px;
}

.cookie-category-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.cookie-category-info h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: var(--color-text);
}

.cookie-badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    background: var(--color-bg);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cookie-badge.cookie-required {
    background: var(--color-success);
    color: white;
}

.cookie-category-description {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

/* Cookie Toggle Switch */
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 56px;
    height: 28px;
    cursor: pointer;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-bg);
    border: 2px solid var(--color-border);
    transition: var(--transition-base);
    border-radius: 34px;
}

.cookie-toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 2px;
    background-color: var(--color-text-muted);
    transition: var(--transition-base);
    border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.cookie-toggle input:checked + .cookie-toggle-slider:before {
    transform: translateX(28px);
    background-color: white;
}

.cookie-toggle-disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Cookie Details */
.cookie-details {
    margin-top: 16px;
}

.cookie-details summary {
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cookie-details summary::-webkit-details-marker {
    display: none;
}

.cookie-details summary:before {
    content: "▶";
    font-size: 10px;
    transition: transform var(--transition-fast);
}

.cookie-details[open] summary:before {
    transform: rotate(90deg);
}

.cookie-list {
    list-style: none;
    padding-left: 0;
    margin-top: 12px;
}

.cookie-list li {
    padding: 8px 0;
    font-size: 13px;
    color: var(--color-text-light);
    border-top: 1px solid var(--color-border);
}

.cookie-list li:first-child {
    border-top: none;
}

.cookie-list li strong {
    color: var(--color-text);
    font-family: 'Courier New', monospace;
    font-size: 12px;
}

/* Cookie Info Box */
.cookie-info-box {
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.1) 0%, rgba(30, 144, 255, 0.1) 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 20px;
    margin: 24px 0;
}

.cookie-info-box p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-light);
}

/* Cookie Modal Actions */
.cookie-modal-actions {
    display: flex;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.cookie-modal-actions .btn {
    flex: 1;
    min-width: 200px;
}

/* Mobile Responsive - Cookie Banner */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 20px 16px;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
    }
    
    .cookie-banner-text {
        flex-direction: column;
        gap: 12px;
    }
    
    .cookie-icon {
        font-size: 24px;
    }
    
    .cookie-banner-text h3 {
        font-size: 16px;
    }
    
    .cookie-banner-text p {
        font-size: 13px;
    }
    
    .cookie-banner-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-banner-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-category {
        padding: 16px;
    }
    
    .cookie-category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .cookie-category-info {
        flex-wrap: wrap;
    }
    
    .cookie-modal-actions {
        flex-direction: column;
    }
    
    .cookie-modal-actions .btn {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 16px 12px;
    }
    
    .cookie-banner-text h3 {
        font-size: 15px;
    }
    
    .cookie-banner-text p {
        font-size: 12px;
    }
}

/* ============================================
   Animations for Cookie Notifications
   ============================================ */
@keyframes slideInUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideOutDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100px);
        opacity: 0;
    }
}

/* ============================================
   ===== SKILLS PAGE =====
   ============================================ */

.skills-hero {
    padding-top: 160px;
    padding-bottom: 80px;
    text-align: center;
}

.skills-badge {
    display: inline-block;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.4);
    color: #a5b4fc;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.requirements-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 24px;
    margin: 32px 0 0;
}

.req-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text-muted);
    font-size: 14px;
}

.req-item .check {
    color: #4ade80;
    font-weight: 700;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.step-card {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
}

.step-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.step-card p {
    color: var(--color-text-muted);
    font-size: 15px;
    margin: 0;
}

/* Skills page step circles — override global .step-number */
.step-card .step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin: 0 auto 20px;
}

.skills-explainer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 48px;
}

.explainer-card {
    border-radius: 16px;
    padding: 32px;
    border: 1px solid var(--color-border);
}

.explainer-card.old {
    background: rgba(239, 68, 68, 0.05);
    border-color: rgba(239, 68, 68, 0.2);
}

.explainer-card.new {
    background: rgba(99, 102, 241, 0.05);
    border-color: rgba(99, 102, 241, 0.3);
}

.explainer-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.explainer-card.old .explainer-label { color: #f87171; }
.explainer-card.new .explainer-label { color: #a5b4fc; }

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.pricing-name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.pricing-price {
    font-size: 48px;
    font-weight: 800;
    color: #a5b4fc;
    line-height: 1;
    margin: 16px 0 4px;
}

.pricing-price span {
    font-size: 22px;
    font-weight: 600;
    vertical-align: top;
    margin-top: 8px;
    display: inline-block;
}

.pricing-once {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 6px 0;
    font-size: 13px;
    color: var(--color-text-muted);
    border-bottom: 1px solid var(--color-border);
}

.pricing-features li:last-child { border-bottom: none; }

.pricing-features li .icon {
    color: #4ade80;
    flex-shrink: 0;
    margin-top: 1px;
}

.pricing-btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-stripe {
    display: block;
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: opacity 0.2s;
}

.btn-stripe:hover { opacity: 0.9; }
.btn-stripe:disabled { opacity: 0.6; cursor: not-allowed; }

.btn-paypal {
    display: block;
    width: 100%;
    padding: 14px;
    background: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: border-color 0.2s;
}

.btn-paypal:hover { border-color: #6366f1; }
.btn-paypal:disabled { opacity: 0.6; cursor: not-allowed; }

.faq-list {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-question {
    width: 100%;
    background: var(--color-bg-alt);
    border: none;
    padding: 20px 24px;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
    transition: background 0.2s;
    min-height: 44px;
}

.faq-question:hover { background: var(--color-bg); }

.faq-arrow {
    font-size: 20px;
    transition: transform 0.3s;
    color: var(--color-text-muted);
}

.faq-item.open .faq-arrow { transform: rotate(180deg); }

.faq-answer {
    display: none;
    padding: 0 24px 20px;
    color: var(--color-text-muted);
    line-height: 1.7;
    font-size: 15px;
}

.faq-item.open .faq-answer { display: block; }

.payment-error {
    display: none;
    margin-top: 10px;
    padding: 10px 14px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    color: #f87171;
    font-size: 13px;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 40px;
}

.cat-card {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s;
}

.cat-card:hover { border-color: rgba(99, 102, 241, 0.5); }
.cat-card.open { border-color: #6366f1; }

.cat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    user-select: none;
    min-height: 44px;
}

.cat-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cat-emoji { font-size: 22px; }

.cat-name {
    font-size: 14px;
    font-weight: 700;
}

.cat-count {
    font-size: 11px;
    background: rgba(99, 102, 241, 0.15);
    color: #a5b4fc;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
}

.cat-arrow {
    font-size: 12px;
    color: var(--color-text-muted);
    transition: transform 0.25s;
}

.cat-card.open .cat-arrow { transform: rotate(180deg); }

.cat-body {
    display: none;
    padding: 0 18px 16px;
    border-top: 1px solid var(--color-border);
}

.cat-card.open .cat-body { display: block; }

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.skill-tag {
    font-size: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    padding: 4px 10px;
    border-radius: 20px;
}

.skill-tag.strategy {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.3);
    color: #a5b4fc;
    font-weight: 600;
}

/* Skills pricing grid base */
.skills-pricing-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    margin-top: 48px;
    align-items: start;
}

.skills-pricing-card {
    flex: 1;
    min-width: 0;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 24px 18px;
    position: relative;
    transition: transform 0.2s, border-color 0.2s;
}

.skills-pricing-card:hover {
    transform: translateY(-4px);
}

.skills-pricing-card.featured {
    border-color: #6366f1;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.08));
}

@media (max-width: 968px) {
    .skills-pricing-grid {
        flex-wrap: wrap !important;
    }
}

@media (max-width: 768px) {
    .skills-hero {
        padding-top: 100px !important;
        padding-bottom: 40px !important;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .skills-explainer {
        grid-template-columns: 1fr;
    }

    .skills-pricing-grid {
        flex-direction: column !important;
        flex-wrap: wrap !important;
    }

    .skills-pricing-card {
        width: 100% !important;
        min-width: unset !important;
        flex: none !important;
        margin-bottom: 1rem;
    }

    .btn-stripe,
    .btn-paypal {
        width: 100% !important;
        min-height: 44px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cat-name { font-size: 13px !important; }
    .cat-header { padding: 1rem !important; }

    .faq-question {
        padding: 16px 20px;
        min-height: 52px;
    }

    .skill-tag {
        padding: 6px 10px !important;
        font-size: 0.75rem !important;
        margin: 3px !important;
    }
}

@media (max-width: 480px) {
    .catalog-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   FASE 5 — Mobile-First: remaining pages
   ============================================ */

/* --- hero-section (sales.html) --- */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 100px;
        padding-bottom: 40px;
    }

    .hero-title {
        font-size: clamp(28px, 6vw, 40px);
    }

    .hero-subtitle {
        font-size: 16px;
    }

    /* pricing grid: 1 column on mobile */
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* pricing promo box */
    .pricing-promo-box {
        padding: 20px 16px;
        margin-bottom: 32px;
    }

    .pricing-promo-title {
        font-size: 18px;
    }

    /* download options grid: 1 column on small screens */
    .download-options-grid {
        grid-template-columns: 1fr;
    }

    /* installation instructions */
    .installation-instructions {
        padding: 16px;
        margin-top: 24px;
    }

    /* cta-final */
    .cta-final {
        padding: 60px 0;
    }

    .cta-final h2 {
        font-size: clamp(24px, 6vw, 36px);
    }

    .cta-final p {
        font-size: 16px;
    }

    /* Buttons min tap target */
    .btn,
    .btn-primary,
    .btn-secondary,
    .btn-outline,
    .download-card,
    .payment-btn-full,
    .download-btn-full,
    .tutorial-button {
        min-height: 44px;
    }

    /* faq-question already has min-height, ensure consistent */
    .faq-question {
        font-size: 15px;
    }
}

/* --- squeeze.html --- */
@media (max-width: 768px) {
    .squeeze-hero {
        padding: 100px 16px 40px;
        min-height: auto;
    }

    .squeeze-form {
        padding: 24px 16px;
    }

    .squeeze-form .btn {
        min-height: 44px;
        font-size: 16px;
    }
}

/* --- about.html --- */
@media (max-width: 768px) {
    .about-intro {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-image img {
        width: 80%;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .value-card {
        padding: 24px;
    }
}

/* --- blog.html --- */
@media (max-width: 768px) {
    .blog-featured {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px;
        margin-bottom: 40px;
    }

    .blog-featured-image {
        height: 200px;
        aspect-ratio: auto;
    }

    .blog-featured-content h2 {
        font-size: 22px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    /* Newsletter section inside blog */
    .newsletter-section {
        padding: 40px 16px;
    }
}

/* --- Blog post pages --- */
@media (max-width: 768px) {
    .article-header {
        padding: 100px 0 40px;
    }

    .article-meta {
        flex-direction: column;
        gap: 12px;
    }

    .blog-post-header h1 {
        font-size: clamp(22px, 5vw, 32px);
    }

    .blog-post-body p {
        font-size: 1rem;
    }

    .article-cta-box {
        padding: 20px 16px;
    }

    .article-cta-box .btn {
        display: block;
        width: 100%;
        min-height: 44px;
    }

    .related-articles .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* --- stripe-success.html, upgrade.html, capture-upgrade.html --- */
@media (max-width: 768px) {
    .hero[style*="padding-top"] {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* Ensure body never overflows horizontally (all pages) */
body {
    overflow-x: hidden;
}

/* Minimum tap target for all interactive elements */
a.btn,
button.btn,
.btn {
    min-height: 44px;
}

/* nav-link tap target */
.nav-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* blog-card-link: make sure cards stack on mobile */
@media (max-width: 768px) {
    .blog-card-link {
        display: block;
    }

    /* Ensure body text is readable on mobile */
    .blog-post-body p,
    .blog-post-body li,
    .feature-card p,
    .value-card p,
    .testimonial-card p,
    .pricing-card li,
    .faq-answer p {
        font-size: 1rem;
        line-height: 1.7;
    }
}
