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

html {
    scroll-behavior: smooth;
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #fff;
    background: linear-gradient(135deg, #030712 0%, #0f172a 50%, #030712 100%);
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.hidden {
    display: none !important;
}

/* Container */
.container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    background: rgba(3, 7, 18, 0.8);
}

.nav {
    max-width: 80rem;
    margin: 0 auto;
    padding: 1rem 1.5rem;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    background: linear-gradient(135deg, #3b82f6, #22d3ee);
    padding: 0.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.nav-links {
    display: none;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: #d1d5db;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: white;
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-nav {
    padding-top: 1rem;
    padding-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav a {
    color: #d1d5db;
    transition: color 0.2s;
}

.mobile-nav a:hover {
    color: white;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }

    .mobile-menu-btn {
        display: none;
    }

    .mobile-nav {
        display: none !important;
    }
}

/* Main Content */
.main {
    padding-top: 6rem;
}

/* Hero Section */
.hero {
    max-width: 80rem;
    margin: 0 auto;
    padding: 5rem 1.5rem;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 9999px;
    padding: 0.5rem 1rem;
    margin-bottom: 2rem;
    color: #93c5fd;
    font-size: 0.875rem;
}

.hero-badge svg {
    color: #60a5fa;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(90deg, #60a5fa, #22d3ee, #2dd4bf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #9ca3af;
    max-width: 48rem;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

.btn-primary {
    background: linear-gradient(90deg, #3b82f6, #22d3ee);
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1.125rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    box-shadow: 0 25px 50px -12px rgba(59, 130, 246, 0.5);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 56rem;
    margin: 0 auto;
}

.stat-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.stat-number {
    font-size: 1.875rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #9ca3af;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }

    .hero-cta {
        flex-direction: row;
    }

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

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.25rem;
    color: #9ca3af;
    max-width: 42rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .section-header h2 {
        font-size: 3rem;
    }
}

/* Services Section */
.services-section {
    max-width: 80rem;
    margin: 0 auto;
    padding: 5rem 1.5rem;
}

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

.service-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 20px 25px -5px rgba(59, 130, 246, 0.2);
}

.service-icon {
    background: linear-gradient(135deg, #3b82f6, #22d3ee);
    padding: 0.75rem;
    border-radius: 0.75rem;
    display: inline-flex;
    margin-bottom: 1.5rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.service-card > p {
    color: #9ca3af;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: auto;
}

.service-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #d1d5db;
}

.service-list li svg {
    color: #22d3ee;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Expertise Section */
.expertise-section {
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.05), transparent);
    padding: 5rem 0;
}

.expertise-section .container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.industry-tag {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    color: white;
    font-weight: 600;
    transition: all 0.3s;
}

.industry-tag:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(34, 211, 238, 0.5);
}

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

.expertise-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
}

.expertise-icon {
    margin-bottom: 1.5rem;
}

.expertise-icon.cyan {
    color: #22d3ee;
}

.expertise-icon.yellow {
    color: #facc15;
}

.expertise-icon.green {
    color: #4ade80;
}

.expertise-icon.purple {
    color: #a78bfa;
}

.expertise-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.expertise-card p {
    color: #9ca3af;
    line-height: 1.7;
}

@media (min-width: 768px) {
    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

@media (min-width: 1024px) {
    .industries-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* Approach Section */
.approach-section {
    max-width: 80rem;
    margin: 0 auto;
    padding: 5rem 1.5rem;
}

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

.approach-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
}

.approach-number {
    font-size: 3.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
}

.approach-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
}

.approach-card p {
    color: #9ca3af;
    line-height: 1.7;
}

@media (min-width: 768px) {
    .approach-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .approach-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* FAQ Section */
.faq-section {
    max-width: 80rem;
    margin: 0 auto;
    padding: 5rem 1.5rem;
}

.faq-container {
    max-width: 48rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: rgba(34, 211, 238, 0.3);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    cursor: pointer;
    list-style: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-icon {
    background: linear-gradient(135deg, #3b82f6, #22d3ee);
    padding: 0.5rem;
    border-radius: 9999px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.faq-question span {
    flex: 1;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
}

.faq-question .chevron {
    color: #9ca3af;
    flex-shrink: 0;
    transition: transform 0.3s;
}

.faq-item[open] .chevron {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    padding-left: 4.5rem;
}

.faq-answer p {
    color: #9ca3af;
    line-height: 1.7;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.05), transparent);
    padding: 5rem 0;
}

.contact-container {
    max-width: 64rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.contact-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 3rem;
}

/* Error Message */
.error-message {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.error-message p {
    color: #f87171;
    text-align: center;
}

.error-message a {
    color: #fca5a5;
    text-decoration: underline;
    transition: color 0.2s;
}

.error-message a:hover {
    color: #fecaca;
}

.contact-form {
    max-width: 42rem;
    margin: 0 auto 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: #d1d5db;
    font-size: 0.875rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    color: white;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #6b7280;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(34, 211, 238, 0.5);
}

.form-group textarea {
    resize: none;
}

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

.contact-info {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.office-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.office-icon {
    background: linear-gradient(135deg, #0ea5e9, #3b82f6);
    padding: 1rem;
    border-radius: 0.75rem;
    color: white;
}

.office-label {
    color: #9ca3af;
    margin-bottom: 0.5rem;
}

.office-location {
    color: white;
    font-weight: 600;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Footer */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(3, 7, 18, 0.5);
    backdrop-filter: blur(8px);
}

.footer-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand p {
    color: #9ca3af;
    font-size: 0.875rem;
    line-height: 1.7;
    margin-top: 1rem;
}

.footer-links h4,
.footer-company h4 {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links ul {
    display: block;
}

.footer-links li {
    line-height: 1.8;
}

.footer-links a {
    color: #9ca3af;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.company-details {
    color: #9ca3af;
    font-size: 0.875rem;
}

.company-details p {
    line-height: 1.8;
    margin: 0;
}

.company-details .company-name {
    color: #9ca3af;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
