/* ===================================
   HELP TOOLS - MAIN STYLESHEET
   Optimized & Organized Version
   =================================== */

/* ===== CSS VARIABLES ===== */
:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #4fd1c7;
    
    /* Grays */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #cbd5e1;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ===== GLOBAL STYLES ===== */
body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: #2d3748;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* ===== NAVBAR ===== */
.navbar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 1rem 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.main-logo {
    width: 230px;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: white !important;
}

.navbar-brand i {
    margin-right: 8px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    margin: 0 10px;
    transition: all var(--transition-base);
}

.nav-link:hover {
    color: white !important;
    transform: translateY(-2px);
}

.btn-tertiary {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    color: #333;
}

/* ===== DROPDOWN ===== */
.dropdown-item i {
    width: 20px;
    text-align: center;
}

.text-indigo { color: #6366f1; }
.text-success { color: #10b981; }
.text-pink { color: #ec4899; }

/* ===== BREADCRUMB ===== */
.breadcrumb-section {
    background: #f8fafc;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 0.95rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: #94a3b8;
    font-weight: bold;
    font-size: 1.2rem;
    margin-top: -4px;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-fast);
    padding: 4px 6px;
    border-radius: 4px;
}

.breadcrumb-item a:hover {
    color: var(--secondary-color);
    background: rgba(102, 126, 234, 0.1);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #475569;
    font-weight: 500;
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="white" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Popular Tools Badges */
.popular-tools .tool-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-base);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.popular-tools .tool-badge:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.popular-tools .tool-badge i {
    font-size: 0.9em;
}

/* CTA Button in Hero */
.hero-section .btn-primary {
    background: white;
    color: var(--primary-color);
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-base);
}

.hero-section .btn-primary:hover {
    background: #f0f4ff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Search Box (if needed) */
.search-box {
    max-width: 600px;
    margin: 2rem auto;
}

.search-box input {
    border-radius: 50px;
    padding: 15px 25px;
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.search-box button {
    border-radius: 50px;
    padding: 15px 30px;
}

/* ===== TOOL HEADER ===== */
.tool-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 40px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tool-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.tool-header::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite reverse;
}

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

.tool-header .container {
    position: relative;
    z-index: 1;
}

.tool-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.tool-header p {
    font-size: 1.2rem;
    opacity: 0.95;
}

.tool-icon-large {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: scaleIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

/* ===== TOOL CONTAINER ===== */
.tool-container {
    padding: 50px 0;
}

.tool-box {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.tool-box h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #2d3748;
    margin-bottom: 20px;
}

.tool-box .lead {
    font-size: 1.2rem;
    color: #718096;
    line-height: 1.7;
}

/* ===== TOOL CARDS ===== */
.tool-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    transition: all var(--transition-base);
    border: 1px solid #e2e8f0;
    height: 100%;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.tool-card:hover::before {
    transform: scaleX(1);
}

.tool-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.tool-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: white;
    transition: transform var(--transition-base);
}

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

.tool-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2d3748;
}

.tool-card p {
    color: #718096;
    margin-bottom: 12px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.category-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 12px;
}

.tool-stats {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    color: #718096;
    margin-top: 12px;
}

.tool-stats span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.tool-stats i {
    color: var(--primary-color);
}

/* ===== INFO CARDS ===== */
.info-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
    transition: all var(--transition-base);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.15);
    border-color: var(--primary-color);
}

.info-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #2d3748;
}

.info-card p {
    color: #718096;
    line-height: 1.7;
    margin: 0;
}

/* ===== FEATURE LIST ===== */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.feature-list li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 16px;
    color: #718096;
    line-height: 1.7;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.feature-list li strong {
    color: #2d3748;
    font-weight: 600;
}

/* ===== GUIDE SECTIONS ===== */
.seo-guide,
.dev-guide {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.seo-guide h2,
.dev-guide h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #2d3748;
    margin-bottom: 30px;
}

.guide-section {
    background: #f7fafc;
    border-left: 4px solid var(--primary-color);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    transition: all var(--transition-base);
}

.guide-section:hover {
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transform: translateX(5px);
}

.guide-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.guide-section p {
    color: #718096;
    line-height: 1.7;
    margin-bottom: 16px;
}

.guide-section ul {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

.guide-section ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: #718096;
    line-height: 1.6;
}

.guide-section ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.guide-section ul li strong,
.guide-section ul li code {
    color: #2d3748;
    font-weight: 600;
}

.guide-section code {
    background: #f3f4f6;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.9em;
}

.guide-section .text-muted {
    background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
    border-left: 4px solid #f59e0b;
    padding: 16px 20px;
    border-radius: 10px;
    margin-top: 16px;
}

.guide-section .text-muted strong {
    color: #92400e;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
}

/* ===== USE CASE CARDS ===== */
.use-case-card {
    background: #f7fafc;
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    border: 2px solid #e2e8f0;
    transition: all var(--transition-base);
}

.use-case-card:hover {
    background: white;
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.1);
    transform: translateY(-5px);
}

.use-case-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #2d3748;
}

.use-case-card .scenario,
.use-case-card .solution {
    margin-bottom: 12px;
    line-height: 1.6;
}

.use-case-card strong {
    color: #2d3748;
    font-weight: 600;
}

/* ===== TIPS & BEST PRACTICES ===== */
.tips {
    background: linear-gradient(135deg, #fef5e7 0%, #fed7aa 100%);
    padding: 25px;
    border-radius: 15px;
    margin-top: 30px;
    border-left: 5px solid #f6ad55;
}

.tips h2,
.tips h3 {
    color: #744210;
    margin-bottom: 15px;
    font-size: 1.4em;
}

.tips ul {
    color: #744210;
    line-height: 1.6;
}

.tips li {
    margin-bottom: 8px;
}

.tip-item {
    background: #f7fafc;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    border: 2px solid transparent;
    transition: all var(--transition-base);
}

.tip-item:hover {
    background: white;
    border-color: var(--primary-color);
    transform: translateX(8px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.1);
}

.tip-item h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2d3748;
}

.tip-item p {
    color: #718096;
    line-height: 1.6;
    margin: 0;
}

/* ===== STEPS CONTAINER (SIDEBAR) ===== */
.steps-container {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.steps-container h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #2d3748;
    text-align: center;
    margin-bottom: 30px;
}

.step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e2e8f0;
}

.step-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 20px;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.step-content h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #2d3748;
}

.step-content p {
    color: #718096;
    margin: 0;
}

/* ===== STATS BOX (SIDEBAR) ===== */
.stats-box {
    background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border: 2px solid #c4b5fd;
}

.stats-box h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #2d3748;
    text-align: center;
    margin-bottom: 24px;
}

.stat-item {
    text-align: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-item .stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-item .stat-label {
    color: #4a5568;
    font-size: 0.95rem;
    font-weight: 600;
}

/* ===== RELATED TOOLS (SIDEBAR) ===== */
.related-tools {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.related-tools h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #2d3748;
    margin-bottom: 20px;
}

.related-tool-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 10px;
    transition: all var(--transition-base);
    text-decoration: none;
    color: inherit;
}

.related-tool-item:hover {
    background: #f7fafc;
    transform: translateX(5px);
}

.related-tool-icon {
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.2rem;
}

.related-tool-item h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 2px;
}

.related-tool-item small {
    color: #718096;
    font-size: 0.85rem;
}

/* ===== COMPARISON TABLE ===== */
.comparison-table {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.comparison-table thead {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.comparison-table thead th {
    padding: 20px;
    font-weight: 700;
    border: none;
}

.comparison-table tbody td {
    padding: 18px;
    vertical-align: middle;
    border-color: #e2e8f0;
}

.comparison-table tbody tr:hover {
    background: #f7fafc;
}

.comparison-table i.fa-check-circle {
    font-size: 1.4rem;
}

.comparison-table i.fa-times-circle {
    font-size: 1.4rem;
}

.comparison-table strong {
    font-weight: 700;
}

/* ===== FAQ ACCORDION ===== */
.accordion-item {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    overflow: hidden;
    transition: all var(--transition-base);
    margin-bottom: 15px;
}

.accordion-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.1);
}

.accordion-header {
    margin: 0;
}

.accordion-button {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2d3748;
    padding: 20px 24px;
    background: white;
    border: none;
    transition: all var(--transition-base);
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    color: #065f46;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23667eea'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    width: 1.5rem;
    height: 1.5rem;
}

.accordion-body {
    padding: 24px;
    background: white;
    color: #718096;
    line-height: 1.7;
}

.accordion-body p {
    margin-bottom: 12px;
}

.accordion-body p:last-child {
    margin-bottom: 0;
}

.accordion-body strong {
    color: #2d3748;
    font-weight: 600;
}

/* ===== PROCESS CARDS (How It Works) ===== */
.how-it-works-section {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    overflow: hidden;
}

.how-it-works-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.how-it-works-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(118, 75, 162, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite reverse;
}

.process-card {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(102, 126, 234, 0.1);
    overflow: hidden;
    margin-bottom: 30px;
}

.process-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-card:hover::before {
    transform: scaleX(1);
}

.process-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.15);
}

.process-number {
    position: absolute;
    top: -20px;
    right: 30px;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    animation: scaleIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) backwards;
}

.process-card:nth-child(1) .process-number { 
    background: linear-gradient(135deg, #667eea, #764ba2);
    animation-delay: 0.1s;
}
.process-card:nth-child(2) .process-number { 
    background: linear-gradient(135deg, #ec4899, #f43f5e);
    animation-delay: 0.2s;
}
.process-card:nth-child(3) .process-number { 
    background: linear-gradient(135deg, #10b981, #14b8a6);
    animation-delay: 0.3s;
}
.process-card:nth-child(4) .process-number { 
    background: linear-gradient(135deg, #f59e0b, #f97316);
    animation-delay: 0.4s;
}

.process-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 16px;
    margin-top: 20px;
}

.process-card > p {
    font-size: 1rem;
    color: #718096;
    margin-bottom: 20px;
    line-height: 1.7;
}

.process-card ul {
    list-style: none;
    margin: 20px 0;
    padding: 0;
}

.process-card ul li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 14px;
    color: #718096;
    font-size: 0.95rem;
    line-height: 1.6;
    transition: all var(--transition-base);
}

.process-card ul li:hover {
    color: var(--primary-color);
    transform: translateX(4px);
}

.process-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.process-card:nth-child(2) ul li::before {
    background: linear-gradient(135deg, #f472b6, #ec4899);
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.2);
}

.process-card:nth-child(3) ul li::before {
    background: linear-gradient(135deg, #34d399, #10b981);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.process-card:nth-child(4) ul li::before {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

.process-card .text-muted {
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    padding: 20px;
    border-radius: 12px;
    margin-top: 24px;
    border-left: 4px solid var(--primary-color);
}

.process-card .text-muted strong {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.process-card .small {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #4a5568;
}

/* ===== FEATURES & STATS SECTION ===== */
.features-section {
    padding: 60px 0;
    background: white;
}

.feature-box {
    text-align: center;
    padding: 30px;
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.feature-box h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2d3748;
}

.feature-box p {
    color: #718096;
    line-height: 1.6;
}

.stats-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 60px 0;
}

.stats-section .stat-box {
    text-align: center;
    padding: 20px;
}

.stats-section .stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.stats-section .stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

.stat-description {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 8px;
}

/* ===== SECTION TITLE ===== */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.1rem;
    color: #718096;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    overflow: hidden;
    padding: 60px 0;
    color: white;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.cta-section .lead {
    font-size: 1.3rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.cta-section .btn-light {
    background: white;
    color: var(--primary-color);
    font-weight: 700;
    border: none;
    padding: 16px 48px;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all var(--transition-base);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.cta-section .btn-light:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: #f0f4ff;
}

/* ===== FOOTER ===== */
.footer {
    background: #2d3748;
    color: white;
    padding: 50px 0 20px;
}

.footer h5 {
    font-weight: 600;
    margin-bottom: 20px;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--transition-base);
}

.footer a:hover {
    color: white;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    margin-right: 10px;
    transition: all var(--transition-base);
}

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

/* ===== LOADING SCREEN ===== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-icon {
    font-size: 3rem;
    color: var(--primary-color);
    animation: rotateTool 2s linear infinite;
}

@keyframes rotateTool {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

/* ===== SCROLL TO TOP BUTTON ===== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    z-index: 1000;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

/* ===== UTILITY CLASSES ===== */
.bg-light {
    background: #f8f9fa !important;
}

.bg-white {
    background: white !important;
}

.text-muted {
    color: #718096 !important;
}

.text-success {
    color: #10b981 !important;
}

.text-danger {
    color: #ef4444 !important;
}

.text-warning {
    color: #f59e0b !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.hidden {
    display: none;
}

.spinner {
    border: 3px solid rgba(102, 126, 234, 0.2);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-right: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .tool-header h1 {
        font-size: 2rem;
    }
    
    .seo-guide h2,
    .dev-guide h2,
    .tool-box h2 {
        font-size: 1.8rem;
    }
    
    .guide-section h3 {
        font-size: 1.3rem;
    }
    
    .process-card {
        padding: 30px;
    }
    
    .process-number {
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
        top: -15px;
        right: 20px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .tool-box,
    .seo-guide,
    .dev-guide,
    .tips {
        padding: 30px 20px;
    }
    
    .guide-section {
        padding: 20px;
    }
    
    .steps-container,
    .stats-box,
    .related-tools {
        padding: 20px;
    }
    
    .stat-item .stat-number {
        font-size: 2rem;
    }
    
    .cta-section h2 {
        font-size: 1.8rem;
    }
    
    .cta-section .lead {
        font-size: 1.1rem;
    }
    
    .how-it-works-section {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .breadcrumb {
        font-size: 0.85rem;
    }

    .breadcrumb-item + .breadcrumb-item::before {
        padding: 0 6px;
        font-size: 1.1rem;
    }
    
    .tool-stats {
        flex-direction: column;
        gap: 8px;
    }
    
    .accordion-button {
        font-size: 1rem;
        padding: 16px;
    }
    
    .accordion-body {
        padding: 16px;
    }
    
    .process-card {
        padding: 25px;
    }
    
    .process-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        top: -10px;
        right: 15px;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
}
.language-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.lang-btn {
    padding: 10px 16px;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    background: #fff;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease-in-out;
    font-size: 14px;
}

/* Hover */
.lang-btn:hover {
    border-color: #0d6efd;
    background: #f5f9ff;
    transform: translateY(-1px);
}

/* Active state */
.lang-btn.active {
    background: #0d6efd;
    color: #fff;
    border-color: #0d6efd;
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.2);
}

/* Icons inside */
.lang-btn i {
    font-size: 16px;
}

/* Responsive */
@media (max-width: 576px) {
    .language-selector {
        justify-content: center;
    }

    .lang-btn {
        flex: 1 1 45%;
        justify-content: center;
    }
}