/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #8b5cf6;
    --accent-color: #06b6d4;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-dark: #111827;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--primary-color));
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Modern Navigation System */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.08);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* Brand Section */
.nav-brand {
    flex-shrink: 0;
}

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

.logo-symbol {
    position: relative;
    width: 52px;
    height: 52px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    overflow: hidden;
}

.logo-symbol:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.logo-pulse {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    animation: logoPulse 2s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { opacity: 0; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
    line-height: 1;
    letter-spacing: -0.02em;
}

.brand-subtitle {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 2px;
}

/* Main Navigation */
.nav-main {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
}

.nav-link:hover::before,
.nav-link.active::before {
    opacity: 0.1;
}

.nav-icon {
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.nav-text {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.nav-link:hover .nav-icon,
.nav-link.active .nav-icon {
    opacity: 1;
    color: var(--primary-color);
}

.nav-link:hover .nav-text,
.nav-link.active .nav-text {
    color: var(--primary-color);
}

.nav-indicator {
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 24px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover .nav-indicator,
.nav-link.active .nav-indicator {
    transform: translateX(-50%) scaleX(1);
}

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

.dropdown-arrow {
    margin-left: 4px;
    font-size: 0.8rem;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.nav-dropdown:hover .dropdown-arrow {
    opacity: 1;
    transform: rotate(180deg);
}

.dropdown-panel {
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.1);
    min-width: 480px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    display: none;
}

.nav-dropdown:hover .dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-content {
    padding: 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.dropdown-category {
    display: flex;
    flex-direction: column;
}

.category-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.category-title i {
    font-size: 1rem;
    color: var(--primary-color);
}

.category-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
}

.dropdown-link:hover {
    background: rgba(99, 102, 241, 0.08);
    color: var(--primary-color);
    transform: translateX(4px);
}

.dropdown-link:active {
    transform: translateX(2px);
}

.dropdown-link i {
    font-size: 1rem;
    width: 18px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.dropdown-link:hover i {
    opacity: 1;
}

/* Navigation Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.search-container {
    position: relative;
}

.search-toggle {
    width: 44px;
    height: 44px;
    border: none;
    background: var(--bg-secondary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-secondary);
}

.search-toggle:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.search-panel {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
    min-width: 320px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    padding: 20px;
}

.search-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    width: 100%;
    height: 48px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 0 48px 0 16px;
    font-size: 1rem;
    background: var(--bg-secondary);
    transition: all 0.3s ease;
    outline: none;
}

.search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.search-clear {
    position: absolute;
    right: 12px;
    width: 24px;
    height: 24px;
    border: none;
    background: none;
    cursor: pointer;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.search-clear:hover {
    background: var(--bg-primary);
    color: var(--text-primary);
}

.search-results {
    margin-top: 16px;
    max-height: 300px;
    overflow-y: auto;
}

.theme-switcher {
    width: 44px;
    height: 44px;
    border: none;
    background: var(--bg-secondary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.theme-switcher:hover {
    background: var(--primary-color);
    transform: scale(1.05);
}

.theme-icon {
    position: relative;
    width: 20px;
    height: 20px;
}

.light-icon,
.dark-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.light-icon {
    opacity: 1;
    color: var(--text-secondary);
}

.dark-icon {
    opacity: 0;
    color: white;
    transform: translate(-50%, -50%) rotate(180deg);
}

.theme-switcher:hover .light-icon {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(-180deg);
}

.theme-switcher:hover .dark-icon {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(0deg);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-primary);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
    position: relative;
    overflow: hidden;
}

.nav-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.nav-cta:hover::before {
    left: 100%;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
}

.cta-text {
    position: relative;
    z-index: 1;
}

.cta-icon {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.nav-cta:hover .cta-icon {
    transform: translateX(4px);
}

/* Mobile Navigation */
.mobile-toggle {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-toggle:hover {
    background: var(--bg-secondary);
}

.toggle-line {
    width: 24px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-toggle.active .toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-toggle.active .toggle-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.mobile-toggle.active .toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.toggle-text {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 2px;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: white;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.mobile-nav-overlay.active .mobile-nav-content {
    transform: translateX(0);
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
}

.mobile-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-brand .logo-symbol {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
}

.mobile-brand .brand-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.mobile-close {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--bg-secondary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.mobile-close:hover {
    background: var(--primary-color);
    color: white;
}

.mobile-nav-body {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    overflow-y: auto;
}

.mobile-search {
    position: relative;
}

.mobile-search .search-input-wrapper {
    position: relative;
}

.mobile-search-input {
    width: 100%;
    height: 52px;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 0 48px 0 20px;
    font-size: 1.1rem;
    background: var(--bg-secondary);
    transition: all 0.3s ease;
    outline: none;
}

.mobile-search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.mobile-search .search-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 1.2rem;
}

.mobile-nav-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 16px;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
}

.mobile-nav-link i {
    font-size: 1.3rem;
    width: 24px;
    opacity: 0.8;
}

.mobile-nav-link:hover i,
.mobile-nav-link.active i {
    opacity: 1;
}

.mobile-nav-group {
    display: flex;
    flex-direction: column;
}

.mobile-dropdown-toggle {
    justify-content: space-between;
}

.mobile-dropdown-toggle i:last-child {
    transition: transform 0.3s ease;
}

.mobile-nav-group.active .mobile-dropdown-toggle i:last-child {
    transform: rotate(180deg);
}

.mobile-dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-left: 40px;
}

.mobile-nav-group.active .mobile-dropdown-content {
    max-height: 300px;
    margin-top: 8px;
}

.mobile-dropdown-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.3s ease;
    margin-bottom: 4px;
}

.mobile-dropdown-link:hover {
    background: rgba(99, 102, 241, 0.08);
    color: var(--primary-color);
}

.mobile-nav-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-theme-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--bg-secondary);
    border: none;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-theme-toggle:hover {
    background: var(--primary-color);
    color: white;
}

.mobile-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--gradient-primary);
    color: white;
    padding: 18px 24px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.mobile-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
    padding-top: 70px;
    /* Add padding to account for fixed navbar */
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stats .stat-item {
    text-align: center;
    color: white;
}

.hero-stats .stat-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stats .stat-label {
    font-size: 0.875rem;
    opacity: 1;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
}

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

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Code Window */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.code-window {
    background: var(--bg-dark);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 500px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.window-header {
    background: #2d3748;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.window-controls {
    display: flex;
    gap: 8px;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control.close {
    background: #ff5f56;
}

.control.minimize {
    background: #ffbd2e;
}

.control.maximize {
    background: #27ca3f;
}

.window-title {
    color: #a0aec0;
    font-size: 0.875rem;
    font-weight: 500;
}

.code-content {
    padding: 20px;
    font-family: 'Fira Code', monospace;
    font-size: 0.875rem;
    line-height: 1.6;
}

.code-line {
    margin-bottom: 8px;
    animation: typewriter 0.5s ease-in-out;
}

.keyword {
    color: #c792ea;
}

.variable {
    color: #82aaff;
}

.string {
    color: #c3e88d;
}

.function {
    color: #ffcb6b;
}

.comment {
    color: #546e7a;
}

/* Sections */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Trust Indicators Section */
.trust-indicators {
    padding: 80px 0;
    background: white;
    border-top: 1px solid var(--border-color);
}

.trust-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.trust-item {
    text-align: center;
    padding: 1.5rem;
}

.trust-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

.trust-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.trust-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}



/* Features Section Enhanced */
.features {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(99,102,241,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.5;
}

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

.features-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.feature-stat {
    text-align: center;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.feature-stat .stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.feature-stat .stat-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.feature-card.enhanced {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    min-height: 420px;
}

.feature-card.enhanced:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.feature-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    overflow: hidden;
}

.feature-pattern {
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

.feature-pattern.pattern-1 {
    background: linear-gradient(45deg, #667eea, #764ba2);
}

.feature-pattern.pattern-2 {
    background: linear-gradient(45deg, #f093fb, #f5576c);
}

.feature-pattern.pattern-3 {
    background: linear-gradient(45deg, #4facfe, #00f2fe);
}

.feature-pattern.pattern-4 {
    background: linear-gradient(45deg, #43e97b, #38f9d7);
}

.feature-pattern.pattern-5 {
    background: linear-gradient(45deg, #fa709a, #fee140);
}

.feature-pattern.pattern-6 {
    background: linear-gradient(45deg, #a8edea, #fed6e3);
}

.feature-content {
    padding: 2rem;
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.feature-icon i {
    font-size: 1.75rem;
    color: white;
    z-index: 2;
}

.icon-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: 18px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.feature-card.enhanced:hover .icon-glow {
    opacity: 0.3;
    animation: pulse 2s infinite;
}

.feature-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-badge {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.feature-badge.developer {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    color: white;
}

.feature-badge.security {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: white;
}

.feature-badge.analytics {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
    color: white;
}

.feature-badge.utility {
    background: linear-gradient(135deg, #fa709a, #fee140);
    color: white;
}

.feature-badge.advanced {
    background: linear-gradient(135deg, #a8edea, #fed6e3);
    color: #333;
}

.feature-card.enhanced h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card.enhanced p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.feature-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tool-tag {
    padding: 0.4rem 0.8rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.tool-tag:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-1px);
}



.feature-action {
    margin-top: auto;
}

.feature-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.feature-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.feature-btn i {
    transition: transform 0.3s ease;
}

.feature-btn:hover i {
    transform: translateX(3px);
}

/* Features Showcase Section */
.features-showcase {
    padding: 100px 0;
    background: var(--bg-dark);
    color: white;
}

.features-showcase .section-header h2,
.features-showcase .section-header p {
    color: white;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 20px;
}

.showcase-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.showcase-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.showcase-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.showcase-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.showcase-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.stat-card.animated .stat-number {
    animation: countUp 2s ease-out;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.stat-icon i {
    font-size: 1.5rem;
    color: white;
}

.stat-info .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-info .stat-label {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.stat-change {
    font-size: 0.875rem;
    font-weight: 500;
}

.stat-change.positive {
    color: #10b981;
}

.stat-change.negative {
    color: #ef4444;
}

/* Featured Tools */
.featured-tools {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.featured-tools h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
    color: white;
}

.tool-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tool-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.tool-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

.tool-name {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    color: white;
}

.tool-name i {
    width: 20px;
    color: var(--primary-color);
}

.tool-description {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}



/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-text p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.cta-feature i {
    color: #10b981;
    font-size: 1.125rem;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
    font-weight: 600;
}

/* Tools Section Enhanced */
.tools {
    padding: 120px 0;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    position: relative;
}

.tools::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid-tools" width="25" height="25" patternUnits="userSpaceOnUse"><path d="M 25 0 L 0 0 0 25" fill="none" stroke="rgba(99,102,241,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid-tools)"/></svg>');
}

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

.tools-header {
    margin-bottom: 3rem;
}

.tools-search-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    gap: 2rem;
    flex-wrap: wrap;
}

.search-container {
    position: relative;
    flex: 1;
    max-width: 400px;
}

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

#tools-search {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    background: white;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

#tools-search:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
    display: none;
}

.suggestion-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background 0.2s ease;
    border-bottom: 1px solid var(--border-color);
}

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

.suggestion-item:hover {
    background: var(--bg-secondary);
}

.tools-stats {
    display: flex;
    gap: 2rem;
}

.tools-stats .stat-item {
    text-align: center;
    padding: 0.75rem 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.tools-stats .stat-number {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.tools-stats .stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tools-header {
    margin-bottom: 3rem;
}

.tools-search-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    gap: 2rem;
    flex-wrap: wrap;
}

.search-container {
    position: relative;
    flex: 1;
    max-width: 400px;
}

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

#tools-search {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    background: white;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

#tools-search:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
    display: none;
}

.suggestion-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background 0.2s ease;
    border-bottom: 1px solid var(--border-color);
}

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

.suggestion-item:hover {
    background: var(--bg-secondary);
}

.tools-stats {
    display: flex;
    gap: 2rem;
}

.tools-stats .stat-item {
    text-align: center;
    padding: 0.75rem 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.tools-stats .stat-number {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.tools-stats .stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tools-categories {
    max-width: 1200px;
    margin: 0 auto;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

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

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #5b6cf2 0%, #4f46e5 100%);
}

.back-to-top:active {
    transform: translateY(-1px);
}

/* Mobile responsive for back to top button */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
}



.category-tabs-container {
    position: relative;
    margin-bottom: 3rem;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    background: white;
    padding: 0.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    position: relative;
    min-width: 140px;
}

.tab-btn:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.tab-btn.active {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.tab-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.tab-btn.active .tab-icon {
    background: rgba(255, 255, 255, 0.3);
}

.tab-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.tab-title {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.2;
}

.tab-count {
    font-size: 0.75rem;
    opacity: 0.8;
    line-height: 1;
}

.tab-indicator {
    position: absolute;
    bottom: -2px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.tools-grid-container {
    position: relative;
    min-height: 400px;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.tool-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    border-radius: 20px 20px 0 0;
}

.tool-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.03) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

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

.tool-card:hover::after {
    opacity: 1;
}

.tool-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
}

.tool-card h3 {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    z-index: 1;
}

.tool-card h3 i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
    color: white;
    border-radius: 12px;
    font-size: 1.125rem;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.tool-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.tool-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 1;
}

.tool-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tool-card-badge i {
    font-size: 0.625rem;
}



.tool-actions {
    display: flex;
    gap: 0.5rem;
}

.tool-action-btn {
    width: 28px;
    height: 28px;
    border: none;
    background: var(--bg-secondary);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.tool-action-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-1px);
}

.no-results {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
}

.no-results-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.no-results-icon i {
    font-size: 2rem;
    color: var(--text-light);
}

.no-results h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}



/* Tool Interface */
.tool-interface {
    padding: 100px 0;
    background: var(--bg-secondary);
    min-height: 100vh;
}

.tool-interface.hidden {
    display: none;
}

.tool-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 8px 16px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.tool-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.input-section,
.output-section {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
}

.input-header,
.output-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.input-header h3,
.output-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.input-actions,
.output-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-small {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 6px 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.btn-small:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

#input-text,
#output-text {
    width: 100%;
    min-height: 300px;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Fira Code', monospace;
    font-size: 0.875rem;
    line-height: 1.5;
    resize: vertical;
    background: var(--bg-secondary);
}

#input-text:focus,
#output-text:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.tool-options {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.output-stats {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo i {
    margin-right: 8px;
    color: var(--primary-color);
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-tagline {
    color: #9ca3af;
    font-size: 0.9rem;
    margin: 0.5rem 0 1.5rem 0;
    line-height: 1.5;
}

.footer-features {
    margin: 1.5rem 0;
}

.footer-feature {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: #9ca3af;
    font-size: 0.9rem;
}

.footer-feature i {
    color: var(--primary-color);
    margin-right: 0.75rem;
    width: 16px;
    text-align: center;
}

.footer-social {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #9ca3af;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}



.footer-bottom {
    text-align: left;
    padding-top: 1rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .hero-stats .stat-number {
        font-size: 1.5rem;
    }

    .trust-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }



    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }



    .cta-features {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn-large {
        width: 100%;
        max-width: 300px;
    }

    .tool-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .tools-search-bar {
        flex-direction: column;
        gap: 1rem;
    }

    .search-container {
        max-width: none;
    }

    .tools-stats {
        justify-content: center;
        width: 100%;
    }

    .tools-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 1.5rem;
    }

    .tool-card {
        padding: 2rem;
    }

    .tool-card h3 {
        font-size: 1.25rem;
    }

    .tool-card h3 i {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        max-width: 800px;
    }

    .category-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 1rem;
        gap: 0.25rem;
    }

    .tab-btn {
        min-width: 120px;
        padding: 0.75rem 1rem;
        gap: 0.5rem;
    }

    .tab-content {
        align-items: center;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }

    .features-container {
        grid-template-columns: 1fr;
    }

    .features-stats {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .feature-stat {
        width: 100%;
        max-width: 200px;
    }

    .feature-card.enhanced {
        min-height: auto;
    }

    .feature-tools {
        justify-content: center;
    }


}

@media (max-width: 480px) {
    .features-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-content {
        padding: 1.5rem;
    }

    .feature-card.enhanced h3 {
        font-size: 1.25rem;
    }

    .features-stats {
        gap: 0.5rem;
    }

    .feature-stat {
        padding: 0.75rem 1rem;
    }

    .feature-stat .stat-number {
        font-size: 1.25rem;
    }
}


@media (max-width: 480px) {
    .footer-bottom {
        text-align: center;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .hero-stats .stat-number {
        font-size: 1.25rem;
    }

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

    .tools-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .tool-card {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .tool-card h3 {
        font-size: 1.125rem;
        gap: 0.5rem;
    }

    .tool-card h3 i {
        width: 32px;
        height: 32px;
        font-size: 0.875rem;
        border-radius: 10px;
    }

    .tool-card p {
        font-size: 0.875rem;
        margin-bottom: 1rem;
    }

    .cta-text h2 {
        font-size: 2rem;
    }

    .cta-text p {
        font-size: 1.125rem;
    }

    .stat-card {
        padding: 1.5rem;
    }

    .stat-info .stat-number {
        font-size: 2rem;
    }

    .featured-tools {
        padding: 1.5rem;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 400px;
    }

    .showcase-item {
        padding: 1.5rem;
    }

    /* About page small screen styles */
    .about-hero-content h1 {
        font-size: 2rem;
    }

    .philosophy-item {
        padding: 1.5rem;
    }

    .philosophy-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .tech-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .info-item {
        padding: 1.25rem;
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: scale(0.5);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fillBar {
    from {
        width: 0;
    }

    to {
        width: var(--target-width, 100%);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
    }

    50% {
        box-shadow: 0 0 30px rgba(99, 102, 241, 0.6);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

.pulse-animation {
    animation: pulse 2s infinite;
}

.glow-effect {
    animation: glow 3s infinite;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

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

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

/* About Page Styles */
.about-hero {
    padding: 120px 0 80px;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.about-hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Mission Section Enhancements */
.mission-highlights {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(99, 102, 241, 0.05);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: rgba(99, 102, 241, 0.1);
    transform: translateX(5px);
}

.highlight-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    min-width: 20px;
}

.highlight-item span {
    font-weight: 500;
    color: var(--text-primary);
}

.mission {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mission-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.mission-text p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.stats-grid {
    display: grid;
    /* grid-template-columns: 1fr 1fr; */
    gap: 1.5rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.values {
    padding: 100px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.value-icon i {
    font-size: 1.5rem;
    color: white;
}

.value-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.value-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.team {
    padding: 100px 0;
    background: var(--bg-secondary);
}

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

.team-member {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.member-avatar {
    margin-bottom: 1.5rem;
}

.member-avatar i {
    font-size: 4rem;
    color: var(--primary-color);
}

.team-member h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.member-role {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.member-bio {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* About Page Styles */
.philosophy {
    padding: 100px 0;
    background: var(--bg-light);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.philosophy-item {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.philosophy-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.philosophy-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.philosophy-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.philosophy-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.technology {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.tech-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.tech-item span {
    font-weight: 500;
    color: var(--text-primary);
}

.open-source {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.open-source-content {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.open-source-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 900px;
    width: 100%;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.info-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.info-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}



/* Active nav link */
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    width: 100%;
}

/* Responsive adjustments for About page */
@media (max-width: 768px) {
    .about-hero-content h1 {
        font-size: 2.5rem;
    }

    .mission-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .philosophy-item {
        padding: 2rem;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .open-source-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .info-item {
        padding: 1.5rem;
    }
}

/* Legal Pages Styles */
.legal-page {
    padding: 120px 0 80px;
    background: var(--bg-secondary);
    min-height: 100vh;
}

.legal-header {
    text-align: center;
    margin-bottom: 4rem;
}

.legal-header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.last-updated {
    color: var(--text-secondary);
    font-size: 1rem;
    font-style: italic;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-summary,
.terms-summary {
    margin-bottom: 3rem;
}

.summary-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.summary-card h2 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.summary-card h2 i {
    font-size: 1.25rem;
}

.privacy-highlights,
.terms-highlights {
    list-style: none;
    padding: 0;
}

.privacy-highlights li,
.terms-highlights li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.privacy-highlights li i,
.terms-highlights li i {
    color: #10b981;
    font-size: 0.875rem;
}

.legal-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.legal-section h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.legal-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 1.5rem 0 1rem 0;
}

.legal-section p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-section ul {
    margin: 1rem 0 1.5rem 1.5rem;
    color: var(--text-secondary);
}

.legal-section ul li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.contact-info {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.legal-footer {
    background: var(--primary-color);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 2rem;
}

.legal-footer p {
    margin: 0;
    font-size: 1.125rem;
    line-height: 1.6;
}

/* Responsive adjustments for legal pages */
@media (max-width: 768px) {
    .legal-header h1 {
        font-size: 2.5rem;
    }

    .legal-section {
        padding: 1.5rem;
    }

    .legal-section h2 {
        font-size: 1.5rem;
    }

    .legal-section h3 {
        font-size: 1.125rem;
    }

    .summary-card {
        padding: 1.5rem;
    }
}

/* Enhanced Contact Section Styles */
.contact-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-intro h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.contact-intro p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.response-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.5rem;
    background: rgba(99, 102, 241, 0.05);
    border-radius: 6px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.response-time i {
    color: var(--primary-color);
    font-size: 0.8rem;
}

.contact-additional {
    margin-top: 3rem;
    text-align: center;
}

.contact-note {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(6, 182, 212, 0.05);
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
    max-width: 800px;
    margin: 0 auto;
}

.contact-note i {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-top: 0.2rem;
    min-width: 20px;
}

.contact-note p {
    margin: 0;
    color: var(--text-primary);
    line-height: 1.6;
}

/* Enhanced Feedback Section Styles */
.feedback-intro {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(99, 102, 241, 0.05);
    border-radius: 12px;
}

.feedback-intro p {
    font-size: 1.1rem;
    color: var(--text-primary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.feedback-methods {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.method-tag {
    background: var(--primary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.feedback-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 12px;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* Enhanced Footer Styles */
.footer-contact-info {
    margin: 1.5rem 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    color: var(--text-light);
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1rem;
    min-width: 16px;
}

.footer-copyright {
    text-align: center;
}

.footer-disclaimer {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.5rem;
    font-style: italic;
}

.footer-legal {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.footer-legal a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--primary-color);
}

.separator {
    color: var(--text-light);
}

/* Responsive Navigation Design */
@media (max-width: 1200px) {
    .nav-container {
        padding: 0 24px;
    }

    .dropdown-panel {
        min-width: 420px;
    }

    .dropdown-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .nav-container {
        padding: 0 20px;
    }

    .brand-name {
        font-size: 1.6rem;
    }

    .brand-subtitle {
        font-size: 0.75rem;
    }

    .nav-list {
        gap: 4px;
    }

    .nav-link {
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    .dropdown-panel {
        min-width: 360px;
    }

    .dropdown-content {
        padding: 20px;
        gap: 20px;
    }

    .nav-actions {
        gap: 12px;
    }

    .search-toggle,
    .theme-switcher {
        width: 40px;
        height: 40px;
    }

    .nav-cta {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        height: 70px;
        padding: 0 16px;
    }

    .logo-symbol {
        width: 44px;
        height: 44px;
        font-size: 1.3rem;
        border-radius: 12px;
    }

    .brand-name {
        font-size: 1.4rem;
    }

    .brand-subtitle {
        font-size: 0.7rem;
    }

    .nav-main,
    .nav-actions {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero {
        padding-top: 70px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 12px;
    }

    .brand-logo {
        gap: 12px;
    }

    .logo-symbol {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .brand-name {
        font-size: 1.3rem;
    }

    .mobile-nav-content {
        max-width: 100%;
    }

    .mobile-nav-header,
    .mobile-nav-body {
        padding: 20px;
    }

    .mobile-search-input {
        height: 48px;
        font-size: 1rem;
    }

    .mobile-nav-link {
        padding: 14px 16px;
        font-size: 1rem;
    }
}

/* Contact Methods Styles */
.contact-methods {
    margin: 3rem 0;
}

.address {
    margin-top: 1rem;
}

.address p {
    line-height: 1.6;
    color: var(--text-primary);
    margin: 0;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Privacy Policy Styles */
.privacy-policy {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.privacy-intro {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.privacy-intro h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.privacy-sections {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.privacy-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.privacy-section h4 {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.privacy-section h4 i {
    font-size: 1.5rem;
}

.privacy-details ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.privacy-details li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.privacy-contact {
    margin-top: 3rem;
}

.contact-box {
    background: var(--primary-color);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.contact-box h4 {
    margin-bottom: 1rem;
}

.contact-details {
    margin-top: 1.5rem;
}

.contact-details a {
    color: white;
    text-decoration: underline;
}

/* Copyright Information Styles */
.copyright-info {
    padding: 100px 0;
    background: var(--bg-primary);
}

.copyright-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.copyright-section {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.copyright-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.copyright-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.copyright-details p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.copyright-details a {
    color: var(--primary-color);
    text-decoration: none;
}

.copyright-details a:hover {
    text-decoration: underline;
}

.legal-notice {
    margin: 3rem 0;
}

.notice-box {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid #ffc107;
    border-radius: 12px;
    padding: 2rem;
}

.notice-box h4 {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #856404;
    margin-bottom: 1rem;
}

.notice-box h4 i {
    color: #ffc107;
}

.contact-legal {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.legal-contact-info {
    margin-top: 1rem;
}

.legal-contact-info p {
    margin-bottom: 0.5rem;
}

.legal-contact-info a {
    color: var(--primary-color);
    text-decoration: none;
}

.legal-contact-info a:hover {
    text-decoration: underline;
}

/* Responsive styles for enhanced about page */
@media (max-width: 768px) {
    .mission-highlights {
        gap: 0.8rem;
    }

    .highlight-item {
        padding: 0.8rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .highlight-item:hover {
        transform: none;
    }

    .contact-intro h3 {
        font-size: 1.3rem;
    }

    .contact-intro p {
        font-size: 1rem;
    }

    .contact-note {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .feedback-intro {
        padding: 1.5rem;
    }

    .feedback-intro p {
        font-size: 1rem;
    }

    .feedback-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .footer-legal {
        flex-direction: column;
        gap: 0.5rem;
    }

    .contact-item {
        justify-content: center;
    }

    .copyright-grid {
        grid-template-columns: 1fr;
    }

    .copyright-section {
        padding: 1.5rem;
    }

    .copyright-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .privacy-intro {
        padding: 1.5rem;
    }

    .privacy-section {
        padding: 1.5rem;
    }

    .contact-box {
        padding: 1.5rem;
    }

    .notice-box {
        padding: 1.5rem;
    }

    .contact-legal {
        padding: 1.5rem;
    }

    .social-links {
        align-items: flex-start;
    }
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.contact-content {
    margin-top: 60px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2rem;
    color: white;
}

.contact-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
}

.contact-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 24px;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.contact-btn i {
    transition: transform 0.3s ease;
}

.contact-btn:hover i {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .contact {
        padding: 60px 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-card {
        padding: 30px 20px;
    }
}