/* assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Premium Color Palette */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #ec4899;
    /* Pinker popup color */
    --accent: #f59e0b;

    --bg-body: #f8fafc;
    --bg-glass: rgba(255, 255, 255, 0.8);

    --text-main: #0f172a;
    --text-muted: #64748b;

    --gradient-hero: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #db2777 100%);
    --gradient-card: linear-gradient(145deg, #ffffff, #f8fafc);

    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.3);

    --radius-lg: 1rem;
    --radius-xl: 1.5rem;

    --transition: cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

/* Base Setup */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--text-main);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.5), 0 0 15px rgba(99, 102, 241, 0.3);
    /* Neon Glow */
    background: #0f172a;
}

.btn-white {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-main);
}

.logo i {
    color: var(--primary);
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--text-main);
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Menu Button */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}

/* HERO SECTION - Premium Mesh Gradient */
.hero {
    position: relative;
    padding: 2.5rem 0 2.5rem;
    /* Reduced padding */
    background-color: #f8fafc;
    background-image:
        radial-gradient(at 0% 0%, hsla(253, 16%, 7%, 1) 0, transparent 50%),
        radial-gradient(at 50% 0%, hsla(225, 39%, 30%, 1) 0, transparent 50%),
        radial-gradient(at 100% 0%, hsla(339, 49%, 30%, 1) 0, transparent 50%);
    background:
        radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.15) 0, transparent 50%),
        radial-gradient(at 50% 100%, rgba(236, 72, 153, 0.15) 0, transparent 50%),
        radial-gradient(at 100% 0%, rgba(124, 58, 237, 0.15) 0, transparent 50%);
    background-size: 200% 200%;
    animation: mesh-gradient 15s ease infinite alternate;
    overflow: hidden;
}

@keyframes mesh-gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 50% 100%;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    background: rgba(99, 102, 241, 0.08);
    color: var(--primary);
    padding: 0.3rem 0.8rem;
    /* Reduced padding */
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.75rem;
    /* Reduced size */
    display: inline-block;
    margin-bottom: 0.8rem;
    border: 1px solid rgba(99, 102, 241, 0.15);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 2rem;
    /* Reduced from 2.5rem */
    line-height: 1.1;
    margin-bottom: 0.8rem;
    color: var(--text-main);
    letter-spacing: -1px;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.05rem;
    /* Reduced from 1.2rem */
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Glass Search Bar - Refined */
.hero-search {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 0.4rem;
    /* Reduced padding */
    border-radius: 100px;
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.08);
    display: flex;
    max-width: 450px;
    /* Reduced width */
    margin: 0 auto 2.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.hero-search:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px -12px rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
}

.hero-search input {
    flex: 1;
    border: none;
    padding: 0 1.2rem;
    font-size: 0.95rem;
    /* Reduced size */
    outline: none;
    background: transparent;
    font-family: inherit;
    color: var(--text-main);
}

.hero-search button {
    width: 40px;
    /* Reduced size */
    height: 40px;
    /* Reduced size */
    border-radius: 50px;
    background: var(--primary);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
    display: grid;
    place-items: center;
}

.hero-search button:hover {
    background: var(--primary-dark);
    transform: rotate(10deg);
}

/* Trust Section - Clean Grid */
.trust-section {
    padding: 2rem 0;
    /* Reduced padding */
    background: white;
    border-bottom: 1px solid #f1f5f9;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.6rem;
    padding: 1rem;
    /* Reduced padding */
    border-radius: var(--radius-lg);
    background: transparent;
    transition: var(--transition);
    border: 1px solid transparent;
}

.trust-item:hover {
    background: #f8fafc;
    border-color: #f1f5f9;
    transform: translateY(-2px);
}

.trust-icon {
    font-size: 1.2rem;
    /* Reduced size */
    color: var(--primary);
    background: rgba(99, 102, 241, 0.08);
    width: 40px;
    /* Reduced size */
    height: 40px;
    /* Reduced size */
    border-radius: 50px;
}

.trust-text {
    font-weight: 600;
    font-size: 0.85rem;
    /* Reduced size */
    color: var(--text-main);
}

/* Sections */
.section {
    padding: 3.5rem 0;
    /* Reduced padding from 5rem */
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
    /* Reduced margin */
}

.section-title {
    font-size: 1.8rem;
    /* Reduced from 2.2rem */
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.section-desc {
    font-size: 0.95rem;
    /* Reduced size */
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Tool & Category Cards with 3D Hover */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    /* slightly smaller card min width */
    gap: 1.5rem;
    perspective: 1000px;
}

.tool-card,
.category-card {
    background: white;
    border-radius: 20px;
    /* Slightly less rounded */
    padding: 2rem 1.5rem;
    /* Reduced padding */
    border: 1px solid #f1f5f9;
    box-shadow: 0 5px 20px -10px rgba(0, 0, 0, 0.05);
    /* Lighter shadow */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transform-style: preserve-3d;
}

.tool-card:hover,
.category-card:hover {
    transform: translateY(-8px) rotateX(2deg) rotateY(2deg);
    box-shadow: 0 20px 40px -12px rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.4);
}

.tool-icon-wrapper {
    width: 50px;
    /* Reduced size */
    height: 50px;
    /* Reduced size */
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 1.3rem;
    /* Reduced size */
    margin-bottom: 1.2rem;
    transition: var(--transition);
}

.tool-card:hover .tool-icon-wrapper {
    background: var(--primary);
    color: white;
    transform: translateZ(20px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.tool-title {
    font-size: 1.15rem;
    /* Reduced size */
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--text-main);
}

.tool-desc {
    font-size: 0.9rem;
    /* Reduced size */
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    flex-grow: 1;
}

.tool-link {
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    /* Reduced size */
}

.tool-link i {
    transition: var(--transition);
}

.tool-card:hover .tool-link i {
    transform: translateX(5px);
}

.category-card {
    text-align: center;
    align-items: center;
    justify-content: center;
}

.category-icon {
    font-size: 2.5rem;
    /* Reduced size */
    margin-bottom: 1.2rem;
    color: var(--primary);
    transition: var(--transition);
    filter: drop-shadow(0 4px 6px rgba(99, 102, 241, 0.2));
}

.category-card:hover .category-icon {
    transform: scale(1.1) translateZ(20px);
    color: var(--secondary);
    filter: drop-shadow(0 8px 12px rgba(236, 72, 153, 0.3));
}

.category-name {
    font-weight: 800;
    font-size: 1.1rem;
    /* Reduced size */
    color: var(--text-main);
    letter-spacing: -0.5px;
}

/* How It Works */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.step-card {
    padding: 1.5rem;
    /* Reduced padding */
}

.step-number {
    font-size: 3rem;
    /* Reduced from 4rem */
    font-weight: 800;
    color: #f1f5f9;
    line-height: 1;
    margin-bottom: 0.8rem;
}

.step-card:hover .step-number {
    color: #e0e7ff;
}

/* Footer */
.footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 5rem 0 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand h2 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.footer-heading {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-title {
        font-size: 3rem;
    }

    .steps-grid,
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 5rem 2rem;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        transition: 0.4s;
    }

    .nav-menu.active {
        right: 0;
    }

    .mobile-toggle {
        display: block;
        z-index: 1001;
    }

    .hero {
        padding-top: 4rem;
    }
}

/* Post Content Typography */
.page-content,
.post-content {
    color: #000000 !important;
    font-size: 1.15rem;
    line-height: 1.8;
}

.page-content p {
    color: #000000 !important;
    margin-bottom: 1.5rem;
}

.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4 {
    color: #000000 !important;
    font-weight: 800;
    margin-top: 2rem;
    margin-bottom: 1rem;
}