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

:root {
    --primary-color: #2563eb;
    --secondary-color: #3b82f6;
    --accent-color: #06b6d4;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --border-color: #e2e8f0;
    --shadow-light: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 10px 25px rgba(0, 0, 0, 0.15);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-accent: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
    color: var(--text-primary);
    line-height: 1.6;
}

/* Subtle background pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(6, 182, 212, 0.05) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Header */
.header {
    display: flex;
    justify-content: center;
    padding: 2rem 0 4rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
}

.logo:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--gradient-accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-light);
}

.logo-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
}

.logo-text {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

/* Main Content */
.main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.search-container {
    width: 100%;
    max-width: 600px;
}

.search-form {
    position: relative;
}

.search-box {
    position: relative;
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
    overflow: hidden;
}

.search-box:hover {
    border-color: var(--accent-color);
    box-shadow: var(--shadow-heavy);
    transform: translateY(-2px);
}

.search-box:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1), var(--shadow-heavy);
    transform: translateY(-2px);
}

.search-input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 1.125rem;
    font-weight: 400;
    padding: 1.25rem 1.5rem;
    padding-right: 4.5rem;
    color: var(--text-primary);
    background: transparent;
    font-family: inherit;
}

.search-input::placeholder {
    color: var(--text-light);
}

.search-button {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: var(--gradient-accent);
    border: none;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
}

.search-button:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: var(--shadow-medium);
}

.search-button:active {
    transform: translateY(-50%) scale(0.95);
}

.search-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: white;
}

/* Footer */
.footer {
    margin-top: 4rem;
    padding: 2rem 0;
    text-align: center;
    background: var(--bg-secondary);
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.footer-link:hover {
    color: var(--primary-color);
    background: var(--bg-primary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-light);
}

.copyright {
    color: var(--text-light);
    font-size: 0.75rem;
    font-weight: 400;
}

/* Page Styles */
.page-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow-medium);
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.company-info {
    background: var(--bg-tertiary);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
    font-size: 0.875rem;
    line-height: 1.6;
}

.section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

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

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

.section ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.section li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-accent);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    margin-top: 2rem;
    box-shadow: var(--shadow-light);
}

.back-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .header {
        padding: 1rem 0 2rem 0;
    }
    
    .logo {
        padding: 0.75rem 1.5rem;
        gap: 0.75rem;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .logo-icon {
        width: 2rem;
        height: 2rem;
    }
    
    .logo-icon svg {
        width: 1.25rem;
        height: 1.25rem;
    }
    
    .search-input {
        font-size: 1rem;
        padding: 1rem 1.25rem;
        padding-right: 4rem;
    }
    
    .search-button {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .search-icon {
        width: 1rem;
        height: 1rem;
    }
    
    .footer-nav {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }
    
    .page-container {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1.25rem;
    }
    
    .search-input {
        padding: 0.875rem 1rem;
        padding-right: 3.5rem;
    }
    
    .search-button {
        width: 2.25rem;
        height: 2.25rem;
        right: 0.375rem;
    }
    
    .page-container {
        padding: 1rem;
    }
    
    .page-title {
        font-size: 1.75rem;
    }
}

/* Focus styles for accessibility */
.search-input:focus,
.footer-link:focus,
.back-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
}