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

:root {
    --primary-color: #059669;
    --secondary-color: #10b981;
    --accent-color: #34d399;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-tertiary: #f3f4f6;
    --border-color: #e5e7eb;
    --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);
}

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

.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: 3rem 0 4rem 0;
}

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

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

.logo-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-light);
}

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

.logo-text {
    font-size: 2.25rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -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: 650px;
}

.search-form {
    position: relative;
}

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

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

.search-box:focus-within {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.1), var(--shadow-heavy);
    transform: translateY(-2px);
}

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

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

.search-button {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 50%;
    width: 3.5rem;
    height: 3.5rem;
    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.5rem;
    height: 1.5rem;
    color: white;
}

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

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

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
}

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

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

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

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

.page-title {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.company-info {
    background: var(--bg-tertiary);
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    border: 2px solid var(--border-color);
    font-size: 0.9rem;
    line-height: 1.8;
    box-shadow: var(--shadow-light);
}

.section {
    margin-bottom: 2rem;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 16px;
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

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

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

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

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

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

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    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: 2rem 0 3rem 0;
    }
    
    .logo {
        padding: 1rem 2rem;
        gap: 0.75rem;
    }
    
    .logo-text {
        font-size: 1.75rem;
    }
    
    .logo-icon {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .logo-icon svg {
        width: 1.5rem;
        height: 1.5rem;
    }
    
    .search-input {
        font-size: 1.1rem;
        padding: 1.25rem 1.5rem;
        padding-right: 4.5rem;
    }
    
    .search-button {
        width: 3rem;
        height: 3rem;
    }
    
    .search-icon {
        width: 1.25rem;
        height: 1.25rem;
    }
    
    .footer-nav {
        gap: 1.5rem;
        flex-direction: column;
        align-items: center;
    }
    
    .page-container {
        padding: 2rem;
        margin: 1rem;
    }
    
    .page-title {
        font-size: 2.25rem;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1.5rem;
    }
    
    .search-input {
        padding: 1rem 1.25rem;
        padding-right: 4rem;
    }
    
    .search-button {
        width: 2.75rem;
        height: 2.75rem;
        right: 0.5rem;
    }
    
    .page-container {
        padding: 1.5rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
}

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

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

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

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

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}