/* ========================================
   RESET E CONFIGURAÇÕES GERAIS
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Cores principais - Nova paleta para SwiftPDF */
    --primary-color: #1e40af;
    --primary-dark: #1e3a8a;
    --primary-light: #3b82f6;
    --secondary-color: #059669;
    --accent-color: #f59e0b;
    
    /* Cores neutras */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    /* Gradientes - Novos gradientes para SwiftPDF */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    --gradient-hero: linear-gradient(135deg, #1e40af 0%, #059669 50%, #3b82f6 100%);
    
    /* Sombras */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Tipografia */
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    
    /* Espaçamentos */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Transições */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
}

/* Generic button styles (added) */
.btn { display:inline-flex; align-items:center; gap:.5rem; font-weight:600; text-decoration:none; cursor:pointer; border-radius:.65rem; border:1px solid transparent; line-height:1; transition:var(--transition-fast); font-size:.85rem; }
.btn i { font-size: .9em; }
.btn-primary { background: var(--gradient-primary, linear-gradient(135deg,#6366f1 0%, #4f46e5 100%)); color:#fff; padding:.65rem 1.05rem; box-shadow: var(--shadow-sm); }
.btn-primary:hover { filter:brightness(1.07); box-shadow: var(--shadow-md); }
.btn-secondary { background: var(--gray-800, #1e293b); color:#fff; padding:.65rem 1.05rem; }
.btn-secondary:hover { background: var(--gray-900, #0f172a); }
.btn-outline { background:#ffffff; color: var(--primary-color, #4f46e5); border-color: var(--primary-color, #4f46e5); padding:.6rem 1rem; }
.btn-outline:hover { background: var(--primary-color); color:#fff; }
.btn:focus { outline:2px solid var(--primary-light); outline-offset:2px; }
.btn:disabled { opacity:.55; cursor:not-allowed; }
.btn-small { font-size:.72rem; padding:.5rem .9rem; border-radius:.6rem; }

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

/* ========================================
   HEADER E NAVEGAÇÃO
======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    transition: var(--transition-normal);
}

.navbar {
    padding: var(--spacing-md) 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Ensure logo and menu are perfectly aligned horizontally */
.nav-container{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: var(--spacing-lg);
    min-height: 56px; /* keeps consistent header height */
}

/* Generic logo alignment (works for header across pages) */
.logo{
    display:flex;
    align-items:center;
    gap: var(--spacing-sm);
    text-decoration:none;
    color: var(--gray-900);
}
.logo img{ display:block; height:28px; }

.nav-brand .logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-fast);
}

.nav-brand .logo:hover {
    color: var(--primary-dark);
    transform: scale(1.05);
}

.nav-brand .logo i {
    font-size: var(--font-size-2xl);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
}

/* Primary nav menu (desktop) */
.nav-menu{
    display:flex;
    align-items:center;
    gap: var(--spacing-md); /* tighter so items don't break into two lines */
    flex-wrap: nowrap; /* keep single line on desktop */
}

.nav-link {
    color: var(--gray-600);
    text-decoration: none;
    font-weight: 500;
    padding: var(--spacing-sm) 0.75rem; /* reduce horizontal padding to avoid wrapping */
    line-height: 1; /* vertically centers text better next to the logo */
    white-space: nowrap; /* prevent two-line labels like "Format Conversion" */
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
    background-color: var(--gray-100);
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--gray-700);
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
}

/* ========================================
   HERO SECTION
======================================== */
.hero {
    background: var(--gradient-hero);
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: var(--font-size-5xl);
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--spacing-lg);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-3xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-3xl);
    margin-top: var(--spacing-3xl);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stat-label {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ========================================
   SECTIONS
======================================== */
.tools-section {
    padding: var(--spacing-3xl) 0;
}

.section-alt {
    background-color: var(--gray-50);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
}

.section-title i {
    color: var(--primary-color);
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   TOOLS GRID
======================================== */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.tool-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition-slow);
}

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

.tool-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.tool-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-lg);
    background: var(--gradient-primary);
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

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

.tool-icon i {
    font-size: var(--font-size-3xl);
    color: var(--white);
}

.tool-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: var(--spacing-md);
}

.tool-description {
    color: var(--gray-600);
    margin-bottom: var(--spacing-xl);
    line-height: 1.6;
}

.tool-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: var(--gradient-primary);
    color: var(--white);
    text-decoration: none;
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-md);
}

.tool-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: var(--gradient-secondary);
}

.tool-btn i {
    transition: var(--transition-fast);
}

.tool-btn:hover i {
    transform: translateX(4px);
}

/* ========================================
   FEATURES SECTION
======================================== */
.features {
    padding: var(--spacing-3xl) 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-2xl);
}

.feature {
    text-align: center;
    padding: var(--spacing-xl);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--spacing-lg);
    background: var(--gradient-secondary);
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.feature:hover .feature-icon {
    transform: scale(1.1);
}

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

.feature h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: var(--spacing-md);
}

.feature p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* ========================================
   CTA SECTION
======================================== */
.cta {
    padding: var(--spacing-3xl) 0;
    background: var(--gradient-hero);
    text-align: center;
}

.cta-content h2 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--spacing-lg);
}

.cta-content p {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-2xl);
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    padding: var(--spacing-lg) var(--spacing-2xl);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: var(--font-size-lg);
    transition: var(--transition-fast);
    box-shadow: var(--shadow-xl);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 25px 35px -5px rgba(0, 0, 0, 0.2);
}

.btn-cta i {
    transition: var(--transition-fast);
}

.btn-cta:hover i {
    transform: translateX(6px);
}

/* ========================================
   FOOTER
======================================== */
.footer {
    background-color: var(--gray-900);
    color: var(--gray-300);
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

.footer-section h3,
.footer-section h4 {
    color: var(--white);
    margin-bottom: var(--spacing-lg);
    font-weight: 600;
}

.footer-section h3 {
    font-size: var(--font-size-xl);
}

.footer-section p {
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: var(--spacing-sm);
}

.footer-section ul li a {
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-section ul li a:hover {
    color: var(--white);
    padding-left: var(--spacing-xs);
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--gray-800);
    color: var(--gray-400);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition-fast);
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--gray-800);
    color: var(--gray-500);
}

/* ========================================
   ANIMAÇÕES PERSONALIZADAS
======================================== */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.animate__animated {
    animation-duration: 0.8s;
    animation-fill-mode: both;
}

.animate__animated[data-delay="0.1s"] { animation-delay: 0.1s; }
.animate__animated[data-delay="0.2s"] { animation-delay: 0.2s; }
.animate__animated[data-delay="0.3s"] { animation-delay: 0.3s; }
.animate__animated[data-delay="0.4s"] { animation-delay: 0.4s; }
.animate__animated[data-delay="0.5s"] { animation-delay: 0.5s; }
.animate__animated[data-delay="0.6s"] { animation-delay: 0.6s; }
.animate__animated[data-delay="0.7s"] { animation-delay: 0.7s; }
.animate__animated[data-delay="0.8s"] { animation-delay: 0.8s; }

/* ========================================
   RESPONSIVIDADE
======================================== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: var(--transition-normal);
        box-shadow: var(--shadow-lg);
        padding: var(--spacing-xl) 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero-title {
        font-size: var(--font-size-3xl);
    }

    .hero-subtitle {
        font-size: var(--font-size-lg);
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-xl);
    }

    .section-title {
        font-size: var(--font-size-3xl);
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .tools-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .cta-content h2 {
        font-size: var(--font-size-3xl);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: var(--font-size-2xl);
    }

    .hero-subtitle {
        font-size: var(--font-size-base);
    }

    .tools-section,
    .features,
    .cta {
        padding: var(--spacing-2xl) 0;
    }

    .tool-card {
        padding: var(--spacing-lg);
    }

    .tool-icon {
        width: 60px;
        height: 60px;
    }

    .tool-icon i {
        font-size: var(--font-size-2xl);
    }
}

/* ========================================
   LOADING E ESTADOS
======================================== */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 32px;
    height: 32px;
    margin: -16px 0 0 -16px;
    border: 3px solid var(--gray-300);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========================================
   UTILITÁRIOS
======================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }

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

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

/* ========================================
   BOTÕES UNIFICADOS PARA FERRAMENTAS
======================================== */
.tool-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    background: linear-gradient(135deg,#2563eb,#1d4ed8);
    color: #fff;
    border: none;
    padding: 0.9rem 1.8rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-md);
}
.tool-action-btn:hover { filter: brightness(1.1); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.tool-action-btn:active { transform: translateY(0); box-shadow: var(--shadow-sm); }
.tool-action-btn.is-red { background: linear-gradient(135deg,#dc2626,#991b1b); }
.tool-action-btn.is-green { background: linear-gradient(135deg,#059669,#047857); }
.tool-action-btn.is-amber { background: linear-gradient(135deg,#d97706,#b45309); }
.tool-action-btn.is-neutral { background: linear-gradient(135deg,#6b7280,#374151); }
.download-btn { display:inline-flex;align-items:center;gap:.5rem;background:linear-gradient(135deg,#059669,#047857);color:#fff;padding:.85rem 1.5rem;border-radius:var(--radius-lg);text-decoration:none;font-weight:600;box-shadow:var(--shadow-md); }
.download-btn:hover { filter:brightness(1.1); }
/* ========================================
    COOKIE CONSENT BANNER & TUTORIAL CARD
======================================== */
.cookie-consent-banner { position:fixed; z-index:2500; left:0; right:0; bottom:0; background:rgba(17,24,39,0.92); color:#f9fafb; padding:14px 18px; display:flex; flex-wrap:wrap; gap:12px; align-items:center; font-size:13px; box-shadow:0 -2px 12px -2px rgba(0,0,0,.35); backdrop-filter:blur(6px); }
.cookie-consent-banner p { flex:1 1 260px; margin:0; line-height:1.4; }
.cookie-consent-actions { display:flex; gap:8px; }
.cookie-btn { border:none; cursor:pointer; font-size:12px; font-weight:600; padding:8px 14px; border-radius:8px; letter-spacing:.3px; display:inline-flex; align-items:center; gap:6px; transition:.25s; }
.cookie-btn-primary { background:var(--primary-color); color:#fff; box-shadow:0 4px 10px -3px rgba(59,130,246,.5); }
.cookie-btn-primary:hover { background:var(--primary-dark); }
.cookie-btn-outline { background:rgba(255,255,255,0.08); color:#f3f4f6; }
.cookie-btn-outline:hover { background:rgba(255,255,255,0.15); }
.cookie-preferences-link { color:#93c5fd; text-decoration:underline; cursor:pointer; font-size:11px; }

.tool-tutorial { margin-top:2.5rem; background:#fff; border-radius:1rem; padding:1.75rem 1.5rem 1.9rem; box-shadow:0 6px 18px -4px rgba(0,0,0,.12); position:relative; overflow:hidden; }
.tool-tutorial:before { content:""; position:absolute; inset:0; background:linear-gradient(135deg, rgba(59,130,246,0.07), rgba(16,185,129,0.06)); opacity:.9; pointer-events:none; }
.tool-tutorial h2 { margin:0 0 .9rem; font-size:1.35rem; color:var(--gray-800); display:flex; align-items:center; gap:.6rem; }
.tool-tutorial h2 i { color:var(--primary-color); }
.tool-tutorial .tutorial-grid { display:grid; gap:1.1rem; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); margin-top:.25rem; }
.tool-tutorial .step { background:#fff; border:1px solid var(--gray-200); border-radius:.85rem; padding:.9rem .95rem .95rem; position:relative; box-shadow:0 2px 4px rgba(0,0,0,.05); transition:.25s; }
.tool-tutorial .step:hover { transform:translateY(-3px); box-shadow:0 8px 18px -6px rgba(0,0,0,.15); }
.tool-tutorial .step-number { width:30px; height:30px; border-radius:50%; background:var(--gradient-primary); color:#fff; font-weight:600; display:flex; align-items:center; justify-content:center; font-size:.8rem; margin-bottom:.55rem; box-shadow:0 4px 10px -3px rgba(59,130,246,.5); }
.tool-tutorial .step h3 { margin:0 0 .35rem; font-size:.95rem; color:var(--gray-700); }
.tool-tutorial .step p { margin:0; font-size:.76rem; line-height:1.3; color:var(--gray-600); }
.tool-tutorial .tips { margin-top:1.4rem; font-size:.72rem; color:var(--gray-600); display:flex; flex-direction:column; gap:.45rem; }
.tool-tutorial .tips strong { color:var(--gray-700); }
@media (max-width:640px){ .cookie-consent-banner { font-size:12px; } .cookie-consent-actions { width:100%; justify-content:flex-end; } .tool-tutorial .tutorial-grid { grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); } }

.lazy-placeholder { background:linear-gradient(90deg,#f3f4f6,#e5e7eb,#f3f4f6); background-size:400% 100%; animation:lazyPulse 2s ease-in-out infinite; }
@keyframes lazyPulse { 0%{background-position:0 0;} 50%{background-position:100% 0;} 100%{background-position:0 0;} }