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

:root {
    --primary-color: #0A0E27;
    --accent-color: #3B82F6;
    --accent-color-light: #60A5FA;
    --accent-color-dark: #2563EB;
    --text-light: #E8E9F3;
    --text-gray: #A0A8C0;
    --bg-dark: #050810;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--primary-color) 100%);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

#particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 2rem;
}

.brand {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--text-light), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out;
}

.tagline {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--text-light);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.tagline-sub {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    font-weight: 300;
    margin-bottom: 0.5rem;
    color: var(--text-gray);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.cta {
    display: inline-block;
    margin-top: 3rem;
    padding: 1rem 2rem;
    border: 2px solid var(--accent-color);
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.cta:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

/* Section Styles */
section {
    padding: 8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    text-align: center;
    margin-bottom: 4rem;
    letter-spacing: -0.02em;
}

/* What We Do Section */
.focus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.focus-card {
    padding: 3rem 2rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    background: rgba(10, 14, 39, 0.5);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    text-align: center;
}

.focus-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.25);
}

.focus-icon {
    color: var(--accent-color);
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.focus-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.focus-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.focus-for {
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: 500;
}

/* Who We Serve Section */
.who-we-serve {
    padding: 6rem 2rem;
}

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

.serve-item {
    text-align: center;
    padding: 2.5rem 2rem;
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 20px;
    background: rgba(10, 14, 39, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.serve-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.2);
}

.serve-item h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--accent-color-light);
}

.serve-item p {
    font-size: 1.05rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* How We Think Section */
.how-we-think {
    background: rgba(5, 8, 16, 0.5);
    border-radius: 40px;
    margin: 4rem auto;
}

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

.approach-item {
    text-align: center;
    padding: 2rem;
}

.approach-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.approach-item p {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.contact-item {
    text-align: center;
    padding: 2rem;
}

.contact-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.contact-item a {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.contact-item a:hover {
    color: var(--text-light);
    transform: translateY(-2px);
}

/* Footer */
footer {
    text-align: center;
    padding: 4rem 2rem 3rem;
    color: var(--text-gray);
    font-size: 0.9rem;
    border-top: 1px solid rgba(59, 130, 246, 0.15);
}

.footer-contact {
    margin-bottom: 1.5rem;
}

.footer-contact a {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-contact a:hover {
    color: var(--accent-color-light);
}

.footer-copyright {
    line-height: 1.8;
    font-size: 0.85rem;
    opacity: 0.8;
}

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

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

/* Responsive */
@media (max-width: 768px) {
    section {
        padding: 4rem 1.5rem;
    }

    .focus-grid,
    .serve-grid,
    .approach-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .how-we-think {
        border-radius: 20px;
    }

    .who-we-serve {
        padding: 4rem 1.5rem;
    }
}
