﻿/* ======================================
   NEXETOOLS - COMPLETE STYLESHEET
   ====================================== */

/* ======================================
   OVERRIDE BOOTSTRAP BODY MARGIN
====================================== */

/* Remove Bootstrap default body margin */
body {
    margin: 0 !important;
    padding: 0 !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Also remove from html */
html {
    margin: 0 !important;
    padding: 0 !important;
}

/* Remove space from container */
.container {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Navbar - flush with top */
.navbar-custom {
    margin-top: 0 !important;
    padding-top: 12px !important;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Remove space from first element */
body > *:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* ======================================
   RESET
====================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    margin: 0 !important;
    padding: 0 !important;
    scroll-behavior: smooth;
}

body {
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/*==================================================
  NexeTools Design System v2
==================================================*/

:root {
    /* Brand */
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #4f46e5;
    --accent: #06b6d4;

    /* Status */
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;

    /* Background */
    --bg: #f8fafc;
    --surface: #ffffff;
    --surface-2: #f1f5f9;

    /* Text */
    --text: #0f172a;
    --text-light: #475569;
    --border: #e2e8f0;

    /* Radius */
    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 26px;
    --radius-xl: 40px;

    /* Shadows */
    --shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.05);
    --shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 25px 60px rgba(37, 99, 235, 0.18);

    /* Transition */
    --transition: 0.35s ease;

    /* Width */
    --container: 1400px;
}

/*==================================================
  CONTAINER
==================================================*/

.container {
    width: min(95%, 1400px);
    margin: auto;
}

/*==================================================
  SECTIONS
==================================================*/

section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 46px;
    font-weight: 800;
    margin-bottom: 18px;
}

.section-subtitle {
    font-size: 20px;
    color: var(--text-light);
    max-width: 700px;
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    color: transparent;
}

/*==================================================
  BUTTONS
==================================================*/

.btn-primary {
    background: var(--primary);
    color: white;
    padding: 15px 34px;
    border-radius: 999px;
    display: inline-flex;
    gap: 12px;
    align-items: center;
    transition: 0.35s;
    font-weight: 700;
}

.btn-primary:hover {
    transform: translateY(-4px);
    background: var(--primary-dark);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    border: 2px solid var(--border);
    padding: 15px 34px;
    border-radius: 999px;
    transition: 0.35s;
    color: var(--text);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/*==================================================
  CARDS & BADGES
==================================================*/

.card-ui {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 28px;
    transition: 0.35s;
    box-shadow: var(--shadow-sm);
}

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

.badge-ui {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e0f2fe;
    color: #0284c7;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 700;
}

/*==================================================
  NAVBAR
==================================================*/

.navbar-custom {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid var(--border);
    transition: 0.35s;
}

.navbar-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 28px;
    font-weight: 800;
}

.logo-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
}

.nav-menu {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    font-weight: 600;
    transition: 0.3s;
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    gap: 18px;
    align-items: center;
}

/*==================================================
  THEME TOGGLE
==================================================*/

.theme-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: var(--surface-2);
    color: var(--text);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.theme-btn:hover {
    background: var(--border);
    transform: scale(1.05);
}

/*==================================================
  MOBILE MENU
==================================================*/

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text);
    cursor: pointer;
    padding: 4px 8px;
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
}

.mobile-menu-content {
    position: fixed;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 320px;
    height: 100%;
    background: var(--bg);
    padding: 24px;
    animation: slideIn 0.3s ease;
    overflow-y: auto;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.mobile-close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text);
    cursor: pointer;
}

.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-menu li {
    margin-bottom: 4px;
}

.mobile-nav-menu li a {
    display: block;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.mobile-nav-menu li a:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.mobile-menu-actions {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.w-100 {
    width: 100% !important;
}

.text-center {
    text-align: center !important;
}

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

@keyframes slideIn {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

/*==================================================
  HERO
==================================================*/

.hero {
    position: relative;
    overflow: hidden;
    min-height: 92vh;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, #f8fbff, #ffffff);
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: center;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: #e0f2fe;
    color: #0284c7;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 700;
    margin-bottom: 25px;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-description {
    font-size: 20px;
    color: var(--text-light);
    max-width: 650px;
    line-height: 1.8;
    margin-bottom: 35px;
}

.hero-search {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 18px;
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 25px;
}

.hero-search i {
    padding: 0 20px;
    font-size: 20px;
}

.hero-search input {
    flex: 1;
    border: none;
    outline: none;
    padding: 22px;
    background: none;
    color: var(--text);
}

.hero-search button {
    border: none;
    background: var(--primary);
    color: white;
    padding: 22px 34px;
    font-weight: 700;
}

.popular-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 35px;
}

.popular-tags a {
    background: var(--surface-2);
    padding: 8px 16px;
    border-radius: 999px;
    transition: 0.3s;
}

.popular-tags a:hover {
    background: var(--primary);
    color: white;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 60px;
}

.hero-stats h3 {
    font-size: 38px;
    color: var(--primary);
}

.hero-stats p {
    color: var(--text-light);
}

.hero-image {
    position: relative;
    height: 650px;
}

.main-card {
    position: absolute;
    right: 0;
    top: 60px;
    width: 420px;
    padding: 35px;
}

.dashboard-card {
    background: white;
    border-radius: 26px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.1);
}

.card-header {
    display: flex;
    gap: 8px;
    margin-bottom: 25px;
}

.card-header span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
}

.progress-line {
    height: 10px;
    border-radius: 999px;
    background: #e5e7eb;
    overflow: hidden;
    margin: 25px 0;
}

.progress-fill {
    width: 78%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.floating-card {
    position: absolute;
    background: white;
    padding: 20px;
    border-radius: 18px;
    box-shadow: var(--shadow);
    animation: float 5s infinite ease-in-out;
}

.floating-one {
    left: 20px;
    top: 40px;
}

.floating-two {
    right: 20px;
    bottom: 90px;
}

.floating-three {
    left: 120px;
    bottom: 20px;
}

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

/*==================================================
  CATEGORIES
==================================================*/

.categories-section {
    background: var(--surface-2);
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-tag {
    display: inline-block;
    padding: 10px 22px;
    background: #dbeafe;
    color: #2563eb;
    border-radius: 999px;
    font-weight: 700;
    margin-bottom: 18px;
}

.section-description {
    max-width: 700px;
    margin: auto;
    color: var(--text-light);
    font-size: 18px;
}

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

.category-card {
    background: var(--surface);
    padding: 35px;
    border-radius: 24px;
    transition: 0.35s;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

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

.category-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 30px;
    margin-bottom: 25px;
}

.blue {
    background: #2563eb;
}
.purple {
    background: #7c3aed;
}
.green {
    background: #16a34a;
}
.orange {
    background: #ea580c;
}
.red {
    background: #dc2626;
}
.cyan {
    background: #0891b2;
}

.category-card h3 {
    font-size: 26px;
    margin-bottom: 12px;
}

.category-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.category-card span {
    color: var(--primary);
    font-weight: 700;
}

/*==================================================
  FEATURED TOOLS
==================================================*/

.featured-tools {
    background: var(--bg);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
}

.tool-card {
    background: var(--surface);
    border-radius: 24px;
    border: 1px solid var(--border);
    padding: 30px;
    transition: 0.35s;
    position: relative;
    overflow: hidden;
}

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

.tool-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: 0.35s;
}

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

.tool-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.tool-icon {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 30px;
}

.tool-badge {
    background: #fef3c7;
    color: #92400e;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.tool-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.tool-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 25px;
}

.tool-meta {
    display: flex;
    justify-content: space-between;
    color: var(--text-light);
    margin-bottom: 30px;
}

.tool-button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    background: var(--primary);
    color: #fff;
    padding: 16px;
    border-radius: 14px;
    font-weight: 700;
    transition: 0.35s;
}

.tool-button:hover {
    background: var(--primary-dark);
}

.view-all-tools {
    text-align: center;
    margin-top: 70px;
}

/*==================================================
  WHY SECTION
==================================================*/

.why-section {
    background: var(--surface-2);
}

.why-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-list {
    margin-top: 40px;
}

.why-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.why-item i {
    width: 55px;
    height: 55px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 22px;
    flex-shrink: 0;
}

.why-item h4 {
    font-size: 22px;
    margin-bottom: 6px;
}

.why-item p {
    color: var(--text-light);
}

.large {
    padding: 45px;
    margin-bottom: 30px;
}

.large i {
    font-size: 52px;
    color: var(--primary);
    margin-bottom: 20px;
}

.mini-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 35px;
    box-shadow: var(--shadow-sm);
    transition: 0.35s;
}

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

.feature-card h3 {
    font-size: 34px;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-light);
}

/*==================================================
  STATISTICS
==================================================*/

.stats-section {
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
}

.stat-box {
    text-align: center;
}

.stat-box h2 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 15px;
}

.stat-box p {
    opacity: 0.9;
    font-size: 18px;
}

/*==================================================
  COLLECTIONS
==================================================*/

.collections-section {
    background: var(--bg);
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.collection-card {
    border-radius: 30px;
    padding: 45px;
    color: white;
    transition: 0.4s;
}

.collection-card:hover {
    transform: translateY(-12px);
}

.blue-card {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}
.green-card {
    background: linear-gradient(135deg, #10b981, #059669);
}
.orange-card {
    background: linear-gradient(135deg, #f97316, #ea580c);
}

.collection-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 25px;
}

.collection-card h3 {
    font-size: 30px;
    margin-bottom: 15px;
}

.collection-card p {
    opacity: 0.95;
    line-height: 1.8;
    margin-bottom: 25px;
}

.collection-card span {
    font-weight: 700;
}

/*==================================================
  BLOG
==================================================*/

.blog-section {
    background: var(--surface-2);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.blog-card {
    background: var(--surface);
    border-radius: 24px;
    overflow: hidden;
    transition: 0.35s;
    border: 1px solid var(--border);
}

.blog-card:hover {
    transform: translateY(-10px);
}

.blog-image {
    height: 220px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 60px;
}

.blog-content {
    padding: 30px;
}

.blog-category {
    display: inline-block;
    background: #dbeafe;
    color: #2563eb;
    padding: 8px 15px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 18px;
}

.blog-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.blog-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

/*==================================================
  TESTIMONIALS
==================================================*/

.testimonials-section {
    background: var(--surface-2);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.testimonial-card {
    background: var(--surface);
    padding: 35px;
    border-radius: 24px;
    border: 1px solid var(--border);
    transition: 0.35s;
}

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

.stars {
    color: #f59e0b;
    font-size: 22px;
    margin-bottom: 20px;
}

.user {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
}

.user img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

/*==================================================
  NEWSLETTER
==================================================*/

.newsletter {
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    color: #fff;
}

.newsletter-box {
    padding: 70px;
    text-align: center;
}

.newsletter form {
    margin-top: 35px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.newsletter input {
    width: 420px;
    padding: 18px;
    border: none;
    border-radius: 12px;
}

.newsletter button {
    padding: 18px 40px;
    border: none;
    background: #fff;
    color: #2563eb;
    font-weight: 700;
    border-radius: 12px;
}

/*==================================================
  FOOTER
==================================================*/

.footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 90px 0 30px;
    margin-top: 100px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #3b82f6, #8b5cf6, transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 30px;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
    margin-bottom: 25px;
}

.footer-logo i {
    color: #3b82f6;
    font-size: 34px;
}

.footer-text {
    color: #94a3b8;
    line-height: 1.9;
    margin-bottom: 30px;
}

.footer-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.footer-features span {
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 14px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    color: white;
    text-decoration: none;
    transition: 0.35s;
}

.footer-social a:hover {
    background: #2563eb;
    transform: translateY(-6px);
}

.footer-column h4 {
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 25px;
    font-weight: 700;
}

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

.footer-column li {
    margin-bottom: 16px;
}

.footer-column a {
    color: #94a3b8;
    text-decoration: none;
    transition: 0.3s;
}

.footer-column a:hover {
    color: #ffffff;
    padding-left: 8px;
}

.newsletter-text {
    color: #94a3b8;
    margin-bottom: 20px;
    line-height: 1.8;
}

.footer-newsletter {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-newsletter input {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 14px;
    background: #1e293b;
    color: white;
    outline: none;
}

.footer-newsletter input::placeholder {
    color: #94a3b8;
}

.footer-newsletter button {
    border: none;
    padding: 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: white;
    font-weight: 700;
    cursor: pointer;
    transition: 0.35s;
}

.footer-newsletter button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.35);
}

.footer-divider {
    border: none;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 70px 0 30px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    margin: 0;
    color: #94a3b8;
}

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #ffffff;
}

/*==================================================
  DARK MODE
==================================================*/

[data-theme="dark"] .navbar-custom {
    background: rgba(15, 23, 42, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .hero {
    background: #020617;
}

[data-theme="dark"] .card-ui,
[data-theme="dark"] .category-card,
[data-theme="dark"] .tool-card,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .blog-card,
[data-theme="dark"] .dashboard-card {
    background: #1e293b;
    border-color: #334155;
}

[data-theme="dark"] .footer {
    background: #020617;
}

[data-theme="dark"] .section-tag {
    background: rgba(37, 99, 235, 0.2);
    color: #60a5fa;
}

[data-theme="dark"] .hero-badge {
    background: rgba(37, 99, 235, 0.2);
    color: #60a5fa;
}

[data-theme="dark"] .stats-section {
    background: linear-gradient(135deg, #1d4ed8, #4338ca);
}

[data-theme="dark"] .floating-card {
    background: #1e293b;
    border: 1px solid #334155;
}

[data-theme="dark"] .search-box {
    background: #1f2937;
    border-color: #334155;
}

[data-theme="dark"] .search-box input {
    color: #fff;
}

[data-theme="dark"] .search-box input::placeholder {
    color: #94a3b8;
}

[data-theme="dark"] .btn-outline {
    border-color: #334155;
    color: #e2e8f0;
}

[data-theme="dark"] .btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

[data-theme="dark"] .blog-category {
    background: rgba(37, 99, 235, 0.2);
    color: #60a5fa;
}

[data-theme="dark"] .newsletter {
    background: linear-gradient(135deg, #1d4ed8, #4338ca);
}

[data-theme="dark"] .badge-ui {
    background: rgba(37, 99, 235, 0.2);
    color: #60a5fa;
}

[data-theme="dark"] .footer {
    background: #020617;
}

/*==================================================
  RESPONSIVE
==================================================*/

@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-wrapper,
    .why-wrapper,
    .collection-grid,
    .blog-grid,
    .testimonial-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 52px;
    }
    .hero-image {
        height: 450px;
    }
    .main-card {
        position: relative;
        right: auto;
        top: auto;
        width: 100%;
        margin-top: 30px;
    }
    .floating-card {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .nav-actions .btn-primary {
        display: none;
    }
    .hero {
        padding-top: 0 !important;
        min-height: 70vh;
    }
    .hero-title {
        font-size: 42px;
    }
    .hero-wrapper {
        gap: 40px;
    }
    .hero-stats {
        gap: 30px;
    }
    .hero-stats h3 {
        font-size: 28px;
    }
    .hero-image {
        height: 350px;
    }
    .section-title {
        font-size: 38px;
    }
    .section {
        padding: 60px 0;
    }
    .newsletter-box {
        padding: 40px 20px;
    }
    .newsletter input {
        width: 100%;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer {
        padding: 70px 0 25px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }
    .footer-logo {
        justify-content: center;
    }
    .footer-text {
        text-align: center;
    }
    .footer-features {
        justify-content: center;
    }
    .footer-social {
        justify-content: center;
    }
    .search-box {
        flex-direction: column;
        border-radius: 20px;
    }
    .search-box i {
        display: none;
    }
    .search-box input {
        width: 100%;
        padding: 18px;
    }
    .search-box button {
        width: 100%;
        border-radius: 0 0 20px 20px;
    }
    .collection-grid {
        grid-template-columns: 1fr;
    }
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    .tools-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 34px;
    }
    .section-title {
        font-size: 30px;
    }
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    .hero-stats {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    .category-grid {
        grid-template-columns: 1fr 1fr;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    .logo-text {
        font-size: 1.2rem;
    }
    .logo-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    .navbar-wrapper {
        height: 60px;
    }
    .nav-actions {
        gap: 10px;
    }
    .theme-btn {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
}

/*==================================================
  SEARCH BOX
==================================================*/

.hero-search {
    margin: 45px 0;
}

.search-box {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 70px;
    overflow: hidden;
    max-width: 720px;
    width: 100%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    transition: 0.35s;
}

.search-box:hover {
    box-shadow: 0 25px 60px rgba(37, 99, 235, 0.18);
    transform: translateY(-2px);
}

.search-box i {
    font-size: 22px;
    color: #2563eb;
    padding-left: 28px;
}

.search-box input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 22px 18px;
    font-size: 16px;
    font-weight: 500;
}

.search-box input::placeholder {
    color: #94a3b8;
}

.search-box button {
    border: none;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    color: #fff;
    padding: 20px 34px;
    font-weight: 700;
    transition: 0.3s;
}

.search-box button:hover {
    background: linear-gradient(135deg, #1d4ed8, #4338ca);
}


/* ============================================
   COMPLETE RESPONSIVE DESIGN SYSTEM
   Mobile First - All Devices
   ============================================ */

/* ===== MOBILE FIRST (Default) ===== */
/* Already in your CSS */

/* ===== SMALL PHONES (320px - 480px) ===== */
@media (max-width: 480px) {
    /* Typography */
    .hero-title {
        font-size: 28px !important;
        line-height: 1.2;
    }
    .section-title {
        font-size: 24px !important;
    }
    .hero-description {
        font-size: 16px !important;
    }
    .section-description {
        font-size: 15px !important;
    }
    
    /* Hero Section */
    .hero {
        min-height: 60vh !important;
        padding: 40px 0 !important;
    }
    .hero-wrapper {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    .hero-content {
        text-align: center !important;
    }
    .hero-badge {
        font-size: 12px !important;
        padding: 6px 14px !important;
    }
    .hero-stats {
        gap: 15px !important;
        justify-content: center !important;
    }
    .hero-stats h3 {
        font-size: 24px !important;
    }
    .hero-buttons {
        flex-direction: column !important;
        gap: 12px !important;
        align-items: center !important;
    }
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100% !important;
        justify-content: center !important;
        padding: 12px 24px !important;
        font-size: 14px !important;
    }
    
    /* Hero Image / Floating Cards */
    .hero-image {
        height: 250px !important;
        display: none !important;
    }
    .main-card {
        position: relative !important;
        right: auto !important;
        top: auto !important;
        width: 100% !important;
        padding: 20px !important;
    }
    .floating-card {
        display: none !important;
    }
    
    /* Search Box */
    .search-box {
        flex-direction: column !important;
        border-radius: 16px !important;
    }
    .search-box i {
        display: none !important;
    }
    .search-box input {
        width: 100% !important;
        padding: 14px !important;
        font-size: 14px !important;
        border-radius: 16px 16px 0 0 !important;
    }
    .search-box button {
        width: 100% !important;
        border-radius: 0 0 16px 16px !important;
        padding: 14px !important;
        font-size: 14px !important;
    }
    
    /* Categories */
    .category-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    .category-card {
        padding: 20px 12px !important;
    }
    .category-icon {
        width: 48px !important;
        height: 48px !important;
        font-size: 20px !important;
    }
    .category-card h3 {
        font-size: 14px !important;
    }
    .category-card p {
        font-size: 12px !important;
    }
    .category-card span {
        font-size: 12px !important;
    }
    
    /* Tools Grid */
    .tools-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .tool-card {
        padding: 20px !important;
    }
    .tool-icon {
        width: 48px !important;
        height: 48px !important;
        font-size: 20px !important;
    }
    .tool-card h3 {
        font-size: 18px !important;
    }
    
    /* Why Section */
    .why-wrapper {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    .why-item {
        flex-direction: column !important;
        text-align: center !important;
        gap: 10px !important;
    }
    .why-item i {
        margin: 0 auto !important;
    }
    .mini-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
    }
    .feature-card {
        padding: 20px !important;
    }
    .feature-card h3 {
        font-size: 24px !important;
    }
    
    /* Collections */
    .collection-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .collection-card {
        padding: 25px !important;
    }
    .collection-card h3 {
        font-size: 22px !important;
    }
    
    /* Blog */
    .blog-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .blog-image {
        height: 140px !important;
        font-size: 40px !important;
    }
    .blog-content {
        padding: 16px !important;
    }
    .blog-content h3 {
        font-size: 18px !important;
    }
    
    /* Testimonials */
    .testimonial-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .testimonial-card {
        padding: 20px !important;
    }
    
    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
    .stat-box h2 {
        font-size: 32px !important;
    }
    .stat-box p {
        font-size: 14px !important;
    }
    
    /* Newsletter */
    .newsletter-box {
        padding: 30px 16px !important;
    }
    .newsletter-box h2 {
        font-size: 24px !important;
    }
    .newsletter form {
        flex-direction: column !important;
        gap: 10px !important;
    }
    .newsletter input {
        width: 100% !important;
        padding: 14px !important;
    }
    .newsletter button {
        width: 100% !important;
        padding: 14px !important;
    }
    
    /* FAQ */
    .accordion-button {
        font-size: 14px !important;
        padding: 12px 16px !important;
    }
    .accordion-body {
        font-size: 14px !important;
        padding: 12px 16px !important;
    }
    
    /* Footer */
    .footer {
        padding: 40px 0 20px !important;
    }
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        text-align: center !important;
    }
    .footer-logo {
        justify-content: center !important;
    }
    .footer-social {
        justify-content: center !important;
    }
    .footer-features {
        justify-content: center !important;
    }
    .footer-bottom {
        flex-direction: column !important;
        text-align: center !important;
    }
    .footer-links {
        justify-content: center !important;
        flex-wrap: wrap !important;
    }
    
    /* Navbar */
    .navbar-wrapper {
        height: 60px !important;
    }
    .logo-text {
        font-size: 18px !important;
    }
    .logo-icon {
        width: 32px !important;
        height: 32px !important;
        font-size: 14px !important;
    }
    .nav-menu {
        display: none !important;
    }
    .mobile-menu-btn {
        display: block !important;
    }
    .nav-actions .btn-primary {
        display: none !important;
    }
    .theme-btn {
        width: 36px !important;
        height: 36px !important;
        font-size: 14px !important;
    }
    
    /* Section Padding */
    section {
        padding: 40px 0 !important;
    }
    .section-header {
        margin-bottom: 30px !important;
    }
    .section-tag {
        font-size: 12px !important;
        padding: 6px 14px !important;
    }
    
    /* Popular Tags */
    .popular-tags {
        gap: 8px !important;
    }
    .popular-tags a {
        font-size: 12px !important;
        padding: 4px 12px !important;
    }
}

/* ===== MEDIUM PHONES (481px - 768px) ===== */
@media (min-width: 481px) and (max-width: 768px) {
    .hero-title {
        font-size: 32px !important;
    }
    .hero-wrapper {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
    .hero-image {
        height: 300px !important;
    }
    .main-card {
        position: relative !important;
        right: auto !important;
        top: auto !important;
        width: 100% !important;
    }
    .floating-card {
        display: none !important;
    }
    .hero-buttons {
        flex-direction: row !important;
        justify-content: center !important;
    }
    .category-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    .tools-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .why-wrapper {
        grid-template-columns: 1fr !important;
    }
    .collection-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .blog-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .nav-menu {
        display: none !important;
    }
    .mobile-menu-btn {
        display: block !important;
    }
    .nav-actions .btn-primary {
        display: none !important;
    }
}

/* ===== TABLETS (769px - 1024px) ===== */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-title {
        font-size: 42px !important;
    }
    .hero-wrapper {
        grid-template-columns: 1fr 1fr !important;
        gap: 50px !important;
    }
    .hero-image {
        height: 400px !important;
    }
    .main-card {
        width: 100% !important;
        padding: 20px !important;
    }
    .floating-card {
        padding: 12px 16px !important;
        font-size: 12px !important;
    }
    .floating-card .bi {
        font-size: 16px !important;
    }
    .category-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    .tools-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .why-wrapper {
        grid-template-columns: 1fr 1fr !important;
        gap: 40px !important;
    }
    .collection-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    .blog-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    .testimonial-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    .stats-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
    .footer-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    .mobile-menu-btn {
        display: none !important;
    }
    .nav-menu {
        display: flex !important;
    }
}

/* ===== DESKTOPS (1025px - 1440px) ===== */
@media (min-width: 1025px) and (max-width: 1440px) {
    .hero-title {
        font-size: 52px !important;
    }
    .hero-wrapper {
        grid-template-columns: 1.1fr 1fr !important;
        gap: 60px !important;
    }
    .category-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    .tools-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    .mobile-menu-btn {
        display: none !important;
    }
    .nav-menu {
        display: flex !important;
    }
}

/* ===== LARGE DESKTOPS (1441px+) ===== */
@media (min-width: 1441px) {
    .container {
        max-width: 1400px !important;
        margin: 0 auto !important;
    }
    .hero-title {
        font-size: 64px !important;
    }
    .category-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
    .tools-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
    .mobile-menu-btn {
        display: none !important;
    }
    .nav-menu {
        display: flex !important;
    }
}

/* ============================================
   MOBILE MENU FIXES
   ============================================ */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text);
    cursor: pointer;
    padding: 4px 8px;
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
}

.mobile-menu-content {
    position: fixed;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 320px;
    height: 100%;
    background: var(--bg);
    padding: 24px;
    animation: slideIn 0.3s ease;
    overflow-y: auto;
    box-shadow: -10px 0 40px rgba(0,0,0,0.1);
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.mobile-close-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text);
    cursor: pointer;
    padding: 4px 8px;
}

.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-menu li {
    margin-bottom: 4px;
}

.mobile-nav-menu li a {
    display: block;
    padding: 14px 16px;
    border-radius: 12px;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: var(--transition);
}

.mobile-nav-menu li a:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.mobile-menu-actions {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

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

@keyframes slideIn {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}