/* ========================================
   PicShift - COMPLETE STYLESHEET
   COLOR: #299ACE | RECTANGULAR DROPDOWN
   ======================================== */

:root {
    /* Custom Color - #299ACE */
    --primary-main: #299ACE;
    --primary-dark: #1E7BA3;
    --primary-light: #5BB5E0;
    --primary-bg: rgba(41, 154, 206, 0.1);
    
    /* Dark Background for Header/Footer */
    --header-bg: #299ACE;
    --footer-bg: #299ACE;
    
    /* Background Colors */
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    --bg-gray: #F1F5F9;
    
    /* Text Colors */
    --text-dark: #0F172A;
    --text-gray: #475569;
    --text-light: #64748B;
    --text-white: #FFFFFF;
    
    /* Border Colors */
    --border-light: #E2E8F0;
    --border-gray: #CBD5E1;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.5;
    min-height: 100vh;
}

/* ========================================
   HEADER - #299ACE THEME
   ======================================== */

.nav-desktop {
    background: #299ACE;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.8rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    width: 38px;
    height: 38px;
    background: white;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.logo-icon i {
    font-size: 1.4rem;
    color: #299ACE;
}

.logo span {
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.5px;
}

/* Navigation Links */
.nav-links {
    display: flex;
    list-style: none;
    gap: 0.3rem;
    align-items: center;
    flex-wrap: wrap;
}

.nav-links a {
    text-decoration: none;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
}

.nav-links a:hover,
.nav-links a.active {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Dropdown - RECTANGULAR */
.dropdown {
    position: relative;
}

.dropdown > a {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown-menu {
    position: absolute;
    top: 45px;
    right: 0;
    background: white;
    width: 560px;
    border-radius: 12px;
    padding: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 1001;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-xl);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.dropdown-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}

.dropdown-category h4 {
    color: var(--text-light);
    font-size: 0.7rem;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
    letter-spacing: 1px;
    font-weight: 700;
}

.dropdown-category a {
    display: block;
    color: var(--text-dark);
    padding: 0.4rem 0;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.dropdown-category a:hover {
    color: #299ACE;
    transform: translateX(4px);
}

/* ========================================
   MOBILE HEADER - TOP FIXED
   ======================================== */

.nav-mobile {
    display: none;
    background: #299ACE;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.7rem 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.mobile-logo-icon {
    width: 32px;
    height: 32px;
    background: white;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-logo-icon i {
    font-size: 1.2rem;
    color: #299ACE;
}

.mobile-logo span {
    font-size: 1.2rem;
    font-weight: 800;
    color: white;
}

.mobile-menu-icons {
    display: flex;
    gap: 0.3rem;
}

.mobile-menu-icons a {
    color: white;
    text-decoration: none;
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    font-weight: 500;
}

.mobile-menu-icons a i {
    font-size: 1rem;
}

.mobile-menu-icons a.active,
.mobile-menu-icons a:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ========================================
   MAIN CONTAINER & CONTENT
   ======================================== */

.main-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem;
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 2.5rem;
}

.hero-badge {
    display: inline-block;
    background: rgba(41, 154, 206, 0.1);
    color: #299ACE;
    padding: 0.3rem 1rem;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: 2.3rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.hero p {
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
    font-size: 0.95rem;
}

/* Stats Bar */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.stat-card {
    background: white;
    padding: 0.6rem 1.5rem;
    border-radius: 40px;
    border: 1px solid var(--border-light);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.stat-number {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-dark);
}

.stat-label {
    font-size: 0.7rem;
    color: var(--text-light);
}

/* Search Box */
.search-box {
    max-width: 450px;
    margin: 0 auto 2rem;
    position: relative;
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.search-box input {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 2.8rem;
    border: 1px solid var(--border-light);
    border-radius: 48px;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
    background: white;
}

.search-box input:focus {
    border-color: #299ACE;
    box-shadow: 0 0 0 3px rgba(41, 154, 206, 0.1);
}

/* Tool Grid */
.tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.tool-card {
    background: white;
    padding: 1.3rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    box-shadow: var(--shadow-sm);
}

.tool-card:hover {
    transform: translateY(-4px);
    border-color: #299ACE;
    box-shadow: 0 12px 24px -12px rgba(41, 154, 206, 0.25);
}

.tool-icon {
    width: 45px;
    height: 45px;
    background: rgba(41, 154, 206, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
}

.tool-icon i {
    font-size: 1.6rem;
    color: #299ACE;
}

.tool-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: var(--text-dark);
}

.tool-card p {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* Trust Badge */
.trust-badge {
    background: var(--bg-gray);
    padding: 1.5rem;
    border-radius: var(--radius-xl);
    text-align: center;
    margin: 1.5rem 0;
    border: 1px solid var(--border-light);
}

.trust-badge h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.feature-list {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 0.8rem;
}

.feature-list span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--text-gray);
}

/* ========================================
   FOOTER - #299ACE THEME
   ======================================== */

.footer {
    background: #299ACE;
    color: white;
    padding: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    list-style: none;
    margin-bottom: 1.2rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    opacity: 0.9;
}

.footer-links a:hover {
    opacity: 1;
    text-decoration:none;
}

.footer-bottom {
    font-size: 1.1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    opacity: 0.8;
}

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

@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }
    
    .nav-mobile {
        display: block;
    }
    
    .main-container {
        padding: 1rem;
    }
    
    .hero h1 {
        font-size: 1.4rem;
    }
    
    .hero p {
        font-size: 0.85rem;
    }
    
    .tool-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .stats-bar {
        gap: 0.6rem;
    }
    
    .stat-card {
        padding: 0.4rem 1rem;
    }
    
    .stat-number {
        font-size: 1rem;
    }
    
    .feature-list {
        gap: 0.8rem;
    }
    
    .footer-links {
        gap: 1rem;
    }
    
    /* Dropdown becomes full width on mobile */
    .dropdown-menu {
        position: fixed;
        left: 1rem;
        right: 1rem;
        width: auto;
        top: auto;
        bottom: 70px;
    }
}

@media (min-width: 769px) {
    .nav-mobile {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0.8rem 1rem;
    }
    
    .hero h1 {
        font-size: 1.2rem;
    }
}

/* No Results */
.no-results {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    color: var(--text-light);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-gray);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #299ACE;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1E7BA3;
}