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

:root {
    --slate-blue: #475569;
    --slate-blue-dark: #334155;
    --slate-blue-light: #64748b;
    --white: #ffffff;
    --off-white: #f8fafc;
    --text-dark: #1e293b;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: transparent;
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Network Background Canvas */
.network-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    opacity: 1;
    display: block;
    background-color: transparent;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.header {
    background-color: rgba(51, 65, 85, 0.95);
    color: var(--white);
    padding: 1.5rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
}

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

.logo h1 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.tagline {
    font-size: 0.9rem;
    opacity: 0.9;
    font-style: italic;
}

.nav {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.nav a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(71, 85, 105, 0.95) 0%, rgba(51, 65, 85, 0.95) 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-text {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
}

/* Sections */
.section {
    padding: 4rem 0;
    background-color: rgba(255, 255, 255, 0.92);
    position: relative;
    z-index: 1;
}

.section:nth-child(even) {
    background-color: rgba(248, 250, 252, 0.92);
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--slate-blue-dark);
    font-weight: 600;
}

.section p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    max-width: 900px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.98);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--slate-blue);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.service-card h3 {
    color: var(--slate-blue-dark);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.service-card p {
    color: var(--text-dark);
    font-size: 1rem;
}

/* Projects Section */
.projects-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-card {
    background-color: rgba(255, 255, 255, 0.98);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--slate-blue);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.free-banner {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #dc2626;
    color: var(--white);
    padding: 0.4rem 1.2rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transform: translate(-20%, 20%) rotate(-45deg);
    transform-origin: center;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.price-banner {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #059669;
    color: var(--white);
    padding: 0.4rem 1.2rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transform: translate(-20%, 20%) rotate(-45deg);
    transform-origin: center;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.project-card h3 {
    color: var(--slate-blue-dark);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.project-card p {
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.project-link {
    display: inline-block;
    color: var(--slate-blue-dark);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: var(--slate-blue);
    text-decoration: underline;
}

.projects-placeholder {
    margin-top: 2rem;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.98);
    border-radius: 8px;
    border: 2px dashed var(--slate-blue-light);
    text-align: center;
}

.coming-soon {
    color: var(--slate-blue-light);
    font-style: italic;
    font-size: 1rem;
}

/* Quote Section */
.quote-section {
    background: linear-gradient(135deg, rgba(51, 65, 85, 0.95) 0%, rgba(71, 85, 105, 0.95) 100%);
    color: var(--white);
    padding: 4rem 0;
    position: relative;
    z-index: 1;
}

.sun-tzu-quote {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-style: italic;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border-left: 4px solid var(--white);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.sun-tzu-quote:hover {
    transform: scale(1.02);
    background-color: rgba(255, 255, 255, 0.15);
}

.sun-tzu-quote p {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--white);
    font-weight: 500;
}

.sun-tzu-quote cite {
    font-size: 1rem;
    opacity: 0.9;
    font-style: normal;
    display: block;
    margin-top: 0.5rem;
}

/* Contact Section */
.contact-info {
    margin-top: 2rem;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.98);
    border-radius: 8px;
    border-left: 4px solid var(--slate-blue);
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.contact-info strong {
    color: var(--slate-blue-dark);
    font-size: 1.2rem;
}

.contact-info a {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-info a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(51, 65, 85, 0.3);
}

/* Footer */
.footer {
    background-color: rgba(51, 65, 85, 0.95);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer p {
    opacity: 0.9;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .nav {
        gap: 1rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero-text {
        font-size: 1rem;
    }

    .section h2 {
        font-size: 1.6rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .sun-tzu-quote p {
        font-size: 1.2rem;
    }

    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2rem 0;
    }

    .section {
        padding: 2rem 0;
    }

    .hero h2 {
        font-size: 1.6rem;
    }
}

