/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #0a0a0a;
    min-height: 100vh;
    color: #ffffff;
    overflow-x: hidden;
}


/* Top buttons */
.top-buttons {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 2rem;
    z-index: 100;
}

.top-button {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 400;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    transition: color 0.2s ease;
}

.top-button:hover {
    color: #ffffff;
}

/* Main container */
.container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
    padding-top: 30vh;
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-width: 600px;
    width: 100%;
}

/* Logo section */
.logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.logo-container {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out 0.2s forwards;
    transition: transform 0.3s ease;
}

.logo-container:hover {
    transform: scale(1.05);
}

.company-logo {
    width: 180px;
    height: auto;
    opacity: 0.95;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.company-logo:hover {
    opacity: 1;
    transition: all 0.3s ease;
}

.company-name {
    font-family: 'Big Shoulders Display', 'Inter', sans-serif;
    font-size: 6.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.02em;
    margin: 0;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out 0.4s forwards;
}

/* Chat section */
.chat-section {
    width: 100%;
    max-width: 650px;
}

.chat-messages {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.message {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
}

.message:last-child {
    margin-bottom: 0;
}

.user-message {
    align-items: flex-end;
}

.ai-message {
    align-items: flex-start;
}

.message-content {
    max-width: 80%;
    padding: 0.875rem 1.25rem;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.user-message .message-content {
    background: linear-gradient(135deg, #ffffff 0%, #e5e5e5 100%);
    color: #000000;
    border-bottom-right-radius: 4px;
}

.ai-message .message-content {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom-left-radius: 4px;
}

/* Custom scrollbar */
.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Thinking indicator */
.thinking {
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.input-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out 0.6s forwards;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 4px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.input-wrapper:hover {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.12);
}

.input-wrapper:focus-within {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.chat-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 1.25rem 1.5rem;
    font-size: 1.125rem;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
}

.chat-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

.send-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffffff 0%, #e5e5e5 100%);
    border: none;
    border-radius: 14px;
    width: 52px;
    height: 52px;
    color: #000000;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-right: 4px;
}

.send-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, #f8f8f8 0%, #d5d5d5 100%);
}

.send-button:active {
    transform: translateY(0);
}

.send-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.input-hint {
    text-align: center;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
    margin: 0;
}

/* Content sections */
.content.hidden {
    display: none;
}

.page-content {
    max-width: 800px;
    width: 100%;
    color: #ffffff;
}

.page-content h2 {
    font-family: 'Big Shoulders Display', 'Inter', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    margin: 0 0 2rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.02em;
    text-align: center;
}

.page-content h3 {
    font-size: 1.25rem;
    font-weight: 500;
    margin: 2rem 0 1rem 0;
    color: rgba(255, 255, 255, 0.9);
}

.page-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 2rem 0;
}

.leadership {
    margin: 2rem 0;
    text-align: left;
}

.services {
    margin: 0;
    text-align: left;
}


.leader {
    margin: 0.75rem 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.leader strong {
    color: #ffffff;
    font-weight: 500;
}

.services ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
}

.services li {
    margin: 0.75rem 0;
    padding-left: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    font-size: 1rem;
}

.services li:before {
    content: '•';
    color: rgba(255, 255, 255, 0.6);
    position: absolute;
    left: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-category {
    text-align: left;
}

.service-category h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    color: rgba(255, 255, 255, 0.9);
}

.service-category ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.service-category li {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    font-size: 0.95rem;
}

.service-category li:before {
    content: '•';
    color: rgba(255, 255, 255, 0.6);
    position: absolute;
    left: 0;
}

/* Project styles */
.project {
    margin: 0;
    text-align: left;
}

.project h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    color: rgba(255, 255, 255, 0.9);
}

.project h3 a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.2s ease;
}

.project h3 a:hover {
    color: #ffffff;
}

.project h3 a:visited {
    color: rgba(255, 255, 255, 0.9);
}

.project h4 {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 1.5rem 0 0.75rem 0;
    color: rgba(255, 255, 255, 0.9);
}

.project-features,
.project-applications {
    margin: 1.5rem 0;
}

.project-features ul,
.project-applications ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.project-features li,
.project-applications li {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    font-size: 0.95rem;
}

.project-features li:before,
.project-applications li:before {
    content: '•';
    color: rgba(255, 255, 255, 0.6);
    position: absolute;
    left: 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .top-buttons {
        gap: 1rem;
        padding: 0 1rem;
    }

    .top-button {
        font-size: 0.875rem;
        padding: 0.4rem 0.6rem;
    }

    .container {
        padding: 1.5rem;
        padding-top: 20vh;
    }
    
    .content {
        gap: 1.5rem;
    }
    
    .company-name {
        font-size: 4rem;
    }
    
    .chat-input {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
    }
    
    .send-button {
        width: 40px;
        height: 40px;
    }
    
    .send-button svg {
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 480px) {
    .top-buttons {
        gap: 0.3rem;
        padding: 0 0.5rem;
    }

    .top-button {
        font-size: 0.7rem;
        padding: 0.25rem 0.3rem;
    }

    .container {
        padding: 1rem;
        padding-top: 15vh;
    }
    
    .company-name {
        font-size: 2.5rem;
    }
    
    .company-logo {
        width: 120px;
    }

    .page-content h2 {
        font-size: 2rem;
    }
}