:root {
    --primary-color: #05092b;
    --secondary-color: #142978;
    --accent-color: #ffcc00;
    --light-bg: #f8fafc;
    --text-dark: #05092b;
    --text-muted: #64748b;
    --border-color: #05092B;
}

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

html, body {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    background-color: #ffffff;
    line-height: 1.7;
}

/* Remove number input arrows */
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.qty-input {
    width: 130px;
}
.qty-input input {
    text-align: center;
}

.bg-primary-dark {
    background-color: #05092b !important;
}

/* Header Styling */
header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    box-shadow: 0 2px 8px rgba(5, 9, 43, 0.2);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    color: #ffffff !important;
}

.navbar-brand span {
    color: var(--accent-color);
}

.nav-link {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9) !important;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link:focus {
    color: var(--accent-color) !important;
}

.dropdown-menu {
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-custom {
    background: var(--accent-color);
    color: var(--primary-color);
    font-weight: 600;
    border-radius: 30px;
    padding: 8px 22px;
    border: none;
    transition: all 0.3s ease;
}

.btn-custom:hover {
    background: #e6b800;
    color: #05092b;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(180deg, var(--light-bg) 0%, #ffffff 100%);
    padding: 4rem 0;
    border-bottom: 1px solid var(--border-color);
}

.hero-section h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

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

.badge-seo {
    background-color: rgba(5, 9, 43, 0.08);
    color: var(--primary-color);
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
}

/* Search Box */
.search-wrapper {
    max-width: 650px;
    margin: 2rem auto;
    display: flex;
    gap: 8px;
    background: #fff;
    padding: 6px;
    border-radius: 40px;
    border: 2px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.search-wrapper input {
    border: none;
    outline: none;
    padding: 10px 20px;
    width: 100%;
    font-size: 1rem;
    border-radius: 30px;
}

/* Main Content & Section Headlines */
section {
    padding: 4rem 0;
    border-bottom: 1px solid var(--border-color);
}

h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 1rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

/* Cards and Grids */
.tool-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.8rem;
    height: 100%;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(5, 9, 43, 0.12);
}

.tool-icon {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.free-badge {
    background-color: #dcfce7;
    color: #15803d;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
}

.feature-box {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-color);
    border-top: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-box:hover {
    box-shadow: 0 4px 12px rgba(5, 9, 43, 0.1);
    transform: translateY(-2px);
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 3rem 0;
    border-radius: 12px;
    margin: 2rem 0;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
}

/* FAQ Accordion */
.accordion-item {
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
    border-radius: 8px !important;
    overflow: hidden;
}

.accordion-button {
    font-weight: 600;
    color: var(--text-dark);
}

.accordion-button:not(.collapsed) {
    background-color: var(--light-bg);
    color: var(--primary-color);
}

/* Footer */
footer {
    background: var(--primary-color);
    color: #cbd5e1;
    padding: 40px 0 20px;
}

footer a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.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);
    margin-right: 8px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-color);
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.75rem;
    }
    .search-wrapper {
        flex-direction: column;
        border-radius: 12px;
        padding: 10px;
    }
    .search-wrapper input {
        text-align: center;
    }
}
