/* Landing Page Styles - Premium Professional Design */

/* Prevent horizontal overflow on mobile */
html,
body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Premium Typography */
.hero-content h1,
.section-header h2,
.all-tools-section h2,
.howto-section h2,
.why-section h2,
.faq-section-home h2 {
    font-family: 'Playfair Display', Georgia, serif;
}

body,
.hero-subtitle,
.section-subtitle,
p {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.btn-primary-large,
.btn-trial,
.tool-card h3,
.howto-cta {
    font-family: 'DM Sans', sans-serif;
}

/* Floating Blob Decorations */
@keyframes float-blob {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(30px, -30px) rotate(5deg);
    }

    66% {
        transform: translate(-20px, 20px) rotate(-5deg);
    }
}

@keyframes float-blob-reverse {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(-25px, 25px) rotate(-3deg);
    }

    66% {
        transform: translate(25px, -25px) rotate(3deg);
    }
}

.hero-blob {
    position: absolute;
    border-radius: 40% 60% 50% 50%;
    opacity: 0.08;
    pointer-events: none;
    filter: blur(40px);
}

.hero-blob-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    top: 10%;
    left: -5%;
    animation: float-blob 20s ease-in-out infinite;
}

.hero-blob-2 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
    bottom: 15%;
    right: -5%;
    animation: float-blob-reverse 18s ease-in-out infinite;
}

@media (max-width: 768px) {
    .hero-blob {
        animation: none !important;
        opacity: 0.05;
    }
}

/* Hero Section - Unified Background */
.hero {
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Same gradient as tools section for unified look */
    background: linear-gradient(180deg,
            #ffffff 0%,
            #f8fafc 50%,
            #eff6ff 100%);
    position: relative;
    padding: 60px 20px 200px;
    /* Extra bottom padding for wave space */
    text-align: center;
    overflow: hidden;
    /* Clip waves to prevent horizontal scroll */
}

/* Wavy Bottom SVG - Seamless Infinite Wave Effect */
.hero-wave {
    position: absolute;
    bottom: -50px;
    /* Extend BELOW hero to overlap with tools section */
    left: -7.5%;
    /* Center the overwidth */
    width: 115%;
    /* Wider than viewport to prevent gaps during animation */
    height: 300px;
    line-height: 0;
    z-index: 1;
    overflow: visible;
    pointer-events: none;
}

.wave-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 300px;
}

/* Wave 0 - Orange Back layer (visible at peaks) */
.wave-0 {
    z-index: 0;
    animation: wave-flow-0 20s ease-in-out infinite;
    opacity: 0.9;
}

/* Wave 1 - Front layer (fastest) */
.wave-1 {
    z-index: 3;
    animation: wave-flow-1 10s ease-in-out infinite;
}

/* Wave 2 - Middle layer */
.wave-2 {
    z-index: 2;
    animation: wave-flow-2 12s ease-in-out infinite;
    opacity: 0.85;
}

/* Wave 3 - Back layer */
.wave-3 {
    z-index: 1;
    animation: wave-flow-3 14s ease-in-out infinite;
    opacity: 0.7;
}

/* Wave Animations - Only horizontal movement, NO vertical to prevent gap */
@keyframes wave-flow-0 {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(30px);
    }
}

@keyframes wave-flow-1 {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-35px);
    }
}

@keyframes wave-flow-2 {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(25px);
    }
}

@keyframes wave-flow-3 {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-20px);
    }
}

/* Mobile Wave Adjustments */
@media (max-width: 768px) {
    .hero-wave {
        height: 180px;
        bottom: -30px;
        /* Wider to prevent gaps during animation */
        width: 120%;
        left: -10%;
    }

    .wave-layer {
        height: 180px;
        width: 120%;
    }

    /* NO horizontal animation on mobile to prevent gaps */
    .wave-0,
    .wave-1,
    .wave-2,
    .wave-3 {
        animation: none !important;
    }
}

@media (max-width: 480px) {
    .hero-wave {
        height: 120px;
        bottom: -20px;
        width: 130%;
        left: -15%;
    }

    .wave-layer {
        height: 120px;
        width: 130%;
    }
}

/* Decorative Dotted Patterns - Premium Style */
.hero-decoration {
    position: absolute;
    width: 220px;
    height: 220px;
    background-image: radial-gradient(circle, rgba(37, 99, 235, 0.12) 2px, transparent 2px);
    background-size: 24px 24px;
    border-radius: 50%;
    opacity: 0.7;
    z-index: 0;
    animation: float-blob 15s ease-in-out infinite;
}

.hero-decoration.decoration-left {
    top: 15%;
    left: 5%;
}

.hero-decoration.decoration-right {
    bottom: 20%;
    right: 8%;
    background-image: radial-gradient(circle, rgba(249, 115, 22, 0.12) 2px, transparent 2px);
}

@media (max-width: 768px) {
    .hero-decoration {
        animation: none !important;
    }
}

/* Hero Content */
.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--secondary);
    margin-bottom: 20px;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -1.5px;
    background: linear-gradient(135deg, #1e293b 0%, #2563eb 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #f97316;
    /* Orange for CTA */
    margin-bottom: 40px;
    font-weight: 500;
    line-height: 1.7;
    letter-spacing: -0.3px;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    /* Stack button and text vertically */
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.btn-primary-large {
    background: linear-gradient(135deg, var(--primary) 0%, #3b82f6 100%);
    color: white;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 600;
    padding: 16px 36px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.25), 0 0 40px rgba(37, 99, 235, 0.1);
    position: relative;
    overflow: hidden;
}

.btn-primary-large::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary-large:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.35), 0 0 60px rgba(37, 99, 235, 0.15);
}

.btn-secondary-large {
    display: none;
    /* Hide secondary button for clean look */
}

.hero-features {
    display: none;
    /* Hide old features features for now to match clean look */
}

/* Tools Grid Section - Unified with Hero */
.tools-section {
    padding: 60px 20px 120px;
    /* Continuous gradient from hero section */
    background: linear-gradient(180deg,
            #eff6ff 0%,
            /* Light blue - matches hero bottom */
            #f8fafc 20%,
            /* Very light slate */
            #ffffff 50%
            /* Fade to white */
        );
    position: relative;
    overflow: hidden;
    margin-top: -80px;
    /* Pull up to blend under waves */
    padding-top: 160px;
    /* MORE TOP PADDING to push content below waves */
    z-index: 0;
    /* Below waves */
}

/* Subtle decorative background pattern */
/* SVG Shape Background Decoration */
.tools-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><path d="M0,300 Q300,200 600,300 T1200,300 L1200,0 L0,0 Z" fill="rgba(37,99,235,0.03)"/></svg>'),
        radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.03) 0%, transparent 50%);
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-position: top center, bottom left, top right;
    background-size: 100% 400px, 600px 600px, 500px 500px;
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 10;
    /* Above waves */
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 16px;
    font-weight: 700;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #1e293b 0%, #2563eb 70%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.tools-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    position: relative;
    z-index: 1;
}

.tool-card {
    background: #FFFFFF;
    padding: 36px 28px;
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

/* Subtle gradient overlay on hover */
.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.03) 0%, rgba(249, 115, 22, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.tool-card:hover::before {
    opacity: 1;
}

.tool-card:hover {
    transform: translateY(-10px) scale(1.015);
    box-shadow: 0 24px 48px rgba(37, 99, 235, 0.12), 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: rgba(37, 99, 235, 0.3);
}

.tool-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 1.8rem;
    color: white;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15), 0 0 30px rgba(251, 191, 36, 0.1);
}

.tool-icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: -1;
}

.tool-card:hover .tool-icon {
    transform: scale(1.12) rotate(-3deg);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2), 0 0 40px rgba(251, 191, 36, 0.2);
}

.tool-card:hover .tool-icon::after {
    opacity: 1;
}

.tool-card h3 {
    font-size: 1.25rem;
    color: var(--secondary);
    margin-bottom: 12px;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.tool-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.coming-soon-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent) 0%, #fb923c 100%);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 10px;
    margin-top: 12px;
    letter-spacing: 0.5px;
}

/* Professional Multi-Column Footer */
.site-footer {
    background: linear-gradient(135deg, #f0f9ff 0%, #fff7ed 100%);
    /* Removed border-top as waves will provide the transition */
    padding: 20px 20px 20px;
    /* Reduced top padding as waves take space */
    color: #64748b;
    font-size: 0.95rem;
    position: relative;
    z-index: 10;
    margin-top: 100px;
    /* Add margin to prevent overlap with content */
}

.footer-wave {
    position: absolute;
    top: -150px;
    left: 0;
    width: 100%;
    height: 151px;
    /* Overlap slightly by 1px */
    overflow: hidden;
    line-height: 0;
    /* Removed transform: rotate(180deg) as we want the bottom-filled wave to sit mainly at the bottom of this container, touching the footer */
    pointer-events: none;
}

.footer-wave .wave-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    color: #64748b;
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--primary);
}

.brand-area {
    padding-right: 40px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 16px;
    text-decoration: none;
}

.brand-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #64748b;
    margin-bottom: 24px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    color: #94a3b8;
    font-size: 1.2rem;
    transition: color 0.2s;
}

.social-links a:hover {
    color: var(--primary);
}

@media (max-width: 768px) {
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn-primary-large {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 1rem;
    }

    /* 2-COLUMN TOOLS GRID like Sejda */
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .section-header h2 {
        font-size: 1.5rem;
        margin-bottom: 24px;
    }

    .tools-section {
        padding: 40px 16px 60px;
        margin-top: -60px;
        padding-top: 120px;
    }

    .section-header {
        margin-bottom: 32px;
    }

    .tool-card {
        padding: 20px 14px;
        border-radius: 12px;
    }

    .tool-icon {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
        border-radius: 12px;
        margin-bottom: 12px;
    }

    .tool-card h3 {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }

    .tool-card p {
        font-size: 0.75rem;
        line-height: 1.4;
    }

    .tool-badge {
        font-size: 0.6rem;
        padding: 2px 6px;
    }

    /* Hero adjustments */
    .hero {
        min-height: 400px;
        padding: 40px 16px 150px;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 24px;
    }

    .hero-decoration {
        display: none;
    }
}

/* Very small screens - still 2 columns but smaller */
@media (max-width: 420px) {
    .tools-grid {
        gap: 10px;
    }

    .tool-card {
        padding: 16px 10px;
    }

    .tool-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .tool-card h3 {
        font-size: 0.8rem;
    }

    .tool-card p {
        font-size: 0.7rem;
    }
}

/* ===================
   SEO CONTENT SECTIONS
   =================== */

/* Container utility */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    text-align: center;
    margin-bottom: 48px;
}

/* All Tools Section */
.all-tools-section {
    padding: 90px 20px;
    background: linear-gradient(180deg, #faf8f3 0%, #f8fafc 100%);
    position: relative;
}

/* SVG Shape Background Decoration */
.all-tools-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><circle cx="100" cy="100" r="80" fill="rgba(249,115,22,0.04)"/><circle cx="1100" cy="500" r="120" fill="rgba(37,99,235,0.04)"/><path d="M800,0 L1000,200 L800,400 L600,200 Z" fill="rgba(37,99,235,0.02)"/></svg>'),
        radial-gradient(circle at 15% 85%, rgba(37, 99, 235, 0.02) 0%, transparent 40%),
        radial-gradient(circle at 85% 15%, rgba(249, 115, 22, 0.02) 0%, transparent 40%);
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-position: center, bottom left, top right;
    background-size: 100% 100%, 600px 600px, 500px 500px;
    pointer-events: none;
}

.all-tools-section h2 {
    font-size: 2rem;
    color: #1e293b;
    text-align: center;
    margin-bottom: 12px;
    font-weight: 700;
}

/* All Tools Grid - Individual Cards */
.all-tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Individual Tool Item Card */
.tool-item-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 24px 20px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.tool-item-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.02) 0%, rgba(249, 115, 22, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.tool-item-card:hover::before {
    opacity: 1;
}

.tool-item-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.3);
}

/* Tool Item Icon */
.tool-item-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 16px;
    transition: transform 0.3s;
}

.tool-item-card:hover .tool-item-icon {
    transform: scale(1.08);
}

/* Icon color variants */
.tool-item-icon.purple {
    background: #f3e8ff;
    color: #7c3aed;
}

.tool-item-icon.orange {
    background: #fff7ed;
    color: #ea580c;
}

.tool-item-icon.teal {
    background: #f0fdfa;
    color: #0d9488;
}

.tool-item-icon.pink {
    background: #fdf2f8;
    color: #db2777;
}

.tool-item-icon.blue {
    background: #eff6ff;
    color: #2563eb;
}

.tool-item-icon.green {
    background: #f0fdf4;
    color: #16a34a;
}

.tool-item-icon.red {
    background: #fef2f2;
    color: #dc2626;
}

/* Tool Item Text */
.tool-item-card h3 {
    font-size: 1.05rem;
    color: #1e293b;
    margin-bottom: 8px;
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
    letter-spacing: -0.2px;
}

.tool-item-card p {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* Responsive - Mobile 2x2 grid */
@media (max-width: 768px) {
    .all-tools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .tool-item-card {
        padding: 18px 14px;
    }

    .tool-item-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        margin-bottom: 12px;
    }

    .tool-item-card h3 {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }

    .tool-item-card p {
        font-size: 0.75rem;
        line-height: 1.4;
    }
}

/* OLD STYLES - Keep for backward compatibility if needed */
.tools-categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.tool-category {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
}

.tool-category:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.3);
}

.tool-category h3 {
    font-size: 0.85rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Category header icon badges */
.cat-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 0.85rem;
}

.cat-icon i {
    color: white;
}

/* Small tool icon badges */
.tool-icon-sm {
    width: 24px;
    height: 24px;
    min-width: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 0.75rem;
    margin-right: 10px;
    vertical-align: middle;
}

.tool-icon-sm i {
    transition: all 0.2s ease;
}

/* Color variants for icons - Light background with colored icon (matching navigation) */
.cat-icon.purple {
    background: #f3e8ff;
}

.cat-icon.purple i {
    color: #7c3aed;
}

.tool-icon-sm.purple {
    background: #f3e8ff;
}

.tool-icon-sm.purple i {
    color: #7c3aed;
}

.cat-icon.orange {
    background: #fff7ed;
}

.cat-icon.orange i {
    color: #ea580c;
}

.tool-icon-sm.orange {
    background: #fff7ed;
}

.tool-icon-sm.orange i {
    color: #ea580c;
}

.cat-icon.teal {
    background: #f0fdfa;
}

.cat-icon.teal i {
    color: #0d9488;
}

.tool-icon-sm.teal {
    background: #f0fdfa;
}

.tool-icon-sm.teal i {
    color: #0d9488;
}

.cat-icon.pink {
    background: #fdf2f8;
}

.cat-icon.pink i {
    color: #db2777;
}

.tool-icon-sm.pink {
    background: #fdf2f8;
}

.tool-icon-sm.pink i {
    color: #db2777;
}

.cat-icon.blue {
    background: #eff6ff;
}

.cat-icon.blue i {
    color: #2563eb;
}

.tool-icon-sm.blue {
    background: #eff6ff;
}

.tool-icon-sm.blue i {
    color: #2563eb;
}

.cat-icon.green {
    background: #f0fdf4;
}

.cat-icon.green i {
    color: #16a34a;
}

.tool-icon-sm.green {
    background: #f0fdf4;
}

.tool-icon-sm.green i {
    color: #16a34a;
}

.cat-icon.red {
    background: #fef2f2;
}

.cat-icon.red i {
    color: #dc2626;
}

.tool-icon-sm.red {
    background: #fef2f2;
}

.tool-icon-sm.red i {
    color: #dc2626;
}

.tool-category h3 i {
    color: #2563eb;
}

.tool-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tool-category li {
    margin-bottom: 12px;
}

.tool-category a {
    color: #334155;
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.5;
    display: flex;
    align-items: center;
    transition: all 0.2s;
    padding: 6px 0;
}

.tool-category a:hover {
    color: #2563eb;
}

.tool-category a:hover .tool-icon-sm {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.tool-category a strong {
    color: #1e293b;
}

/* How-to Guides Section */
.howto-section {
    padding: 90px 20px;
    background: linear-gradient(180deg, #ffffff 0%, #faf8f3 100%);
    position: relative;
}

/* SVG Background Shapes */
.howto-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><polygon points="100,0 200,100 100,200 0,100" fill="rgba(37,99,235,0.03)"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    opacity: 0.6;
}

.howto-section h2 {
    font-size: 2rem;
    color: #1e293b;
    text-align: center;
    margin-bottom: 12px;
    font-weight: 700;
}

.howto-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.howto-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 36px 28px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
}

.howto-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(37, 99, 235, 0.1), 0 8px 16px rgba(0, 0, 0, 0.08);
    border-color: rgba(37, 99, 235, 0.3);
}

/* How-to card icon badge - Light background with colored icon (matching navigation) */
.howto-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 1.4rem;
    margin-bottom: 20px;
    transition: all 0.2s ease;
}

.howto-icon.blue {
    background: #eff6ff;
}

.howto-icon.blue i {
    color: #2563eb;
}

.howto-icon.purple {
    background: #f3e8ff;
}

.howto-icon.purple i {
    color: #7c3aed;
}

.howto-icon.orange {
    background: #fff7ed;
}

.howto-icon.orange i {
    color: #ea580c;
}

.howto-icon.pink {
    background: #fdf2f8;
}

.howto-icon.pink i {
    color: #db2777;
}

.howto-icon.teal {
    background: #f0fdfa;
}

.howto-icon.teal i {
    color: #0d9488;
}

.howto-icon.green {
    background: #f0fdf4;
}

.howto-icon.green i {
    color: #16a34a;
}

.howto-card i {
    font-size: 2rem;
    color: #2563eb;
    margin-bottom: 16px;
    display: block;
}

.howto-card h3 {
    font-size: 1.15rem;
    color: #1e293b;
    margin-bottom: 14px;
    font-weight: 600;
    letter-spacing: -0.3px;
    font-family: 'Playfair Display', Georgia, serif;
}

.howto-card p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 16px;
}

/* How-to call-to-action */
.howto-cta {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2563eb;
    margin-top: auto;
    display: inline-block;
    transition: transform 0.2s;
}

.howto-card:hover .howto-cta {
    transform: translateX(4px);
}

.howto-card:hover .howto-icon {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

/* Why Choose Us Section */
.why-section {
    padding: 100px 20px;
    background: linear-gradient(180deg, #eff6ff 0%, #f8fafc 40%, #faf8f3 100%);
    position: relative;
}

/* Geometric accent line divider */
.why-section::before {
    content: '';
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg,
            rgba(37, 99, 235, 0.6) 0%,
            rgba(249, 115, 22, 0.6) 100%);
    border-radius: 3px;
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.3);
}

.why-section h2 {
    font-size: 2rem;
    color: #1e293b;
    text-align: center;
    margin-bottom: 12px;
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-item {
    text-align: center;
    padding: 24px;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.25);
}

.feature-icon i {
    font-size: 1.5rem;
    color: white;
}

.feature-item h3 {
    font-size: 1.15rem;
    color: #1e293b;
    margin-bottom: 10px;
    font-weight: 600;
}

.feature-item p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.7;
}

/* Trust Signals Section */
.trust-section {
    padding: 60px 20px;
    background: #1e293b;
}

.trust-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.9rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Home FAQ Section */
.faq-section-home {
    padding: 80px 20px;
    background: white;
}

.faq-section-home h2 {
    font-size: 2rem;
    color: #1e293b;
    text-align: center;
    margin-bottom: 48px;
    font-weight: 700;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-list details {
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    margin-bottom: 16px;
    background: #FFFFFF;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.faq-list details:hover {
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.3);
}

.faq-list summary {
    padding: 20px 24px;
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.2s;
}

.faq-list summary:hover {
    background: #f8fafc;
}

.faq-list summary::after {
    content: '+';
    font-size: 1.5rem;
    color: #64748b;
    font-weight: 400;
}

.faq-list details[open] summary::after {
    content: '−';
}

.faq-list details p {
    padding: 0 24px 20px;
    color: #64748b;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Mobile Responsive for SEO Sections */
@media (max-width: 1024px) {
    .tools-categories {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .all-tools-section,
    .howto-section,
    .why-section,
    .faq-section-home {
        padding: 50px 16px;
    }

    .all-tools-section h2,
    .howto-section h2,
    .why-section h2,
    .faq-section-home h2 {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 32px;
    }

    .tools-categories {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .tool-category {
        padding: 20px;
    }

    .howto-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .howto-card {
        padding: 24px 20px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .feature-item {
        padding: 16px;
    }

    .feature-icon {
        width: 52px;
        height: 52px;
    }

    .feature-icon i {
        font-size: 1.2rem;
    }

    .trust-stats {
        gap: 32px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .faq-list summary {
        padding: 16px 18px;
        font-size: 0.95rem;
    }

    .faq-list details p {
        padding: 0 18px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .trust-stats {
        flex-direction: column;
        gap: 24px;
    }
}