/* Modern CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Custom Properties */
:root {
    --primary-color: #0a0f14;
    --secondary-color: #b8860b;
    --accent-color: #9932cc;
    --text-color: #333;
    --light-bg: #f5f5f5;
    --dark-bg: #0a0f14;
    --gradient: linear-gradient(135deg, #0a0f14, #1c2833);
}

/* Global Styles */
body {
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    background-color: var(--light-bg);
}

h1, h2, h3, .logo, .footer-logo {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 15, 20, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--secondary-color);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 400;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--dark-bg);
    color: white;
    text-align: center;
    padding: 0 1rem;
    overflow: hidden;
}

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

.hero-content {
    z-index: 2;
    max-width: 900px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
    letter-spacing: 1px;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 300;
}

/* About Section */
.about {
    padding: 8rem 10%;
    background: white;
}

.about h2 {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.5rem;
    position: relative;
    color: var(--primary-color);
}

.about h2:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

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

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--light-bg);
    border-radius: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-item:hover:after {
    width: 100%;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.stat-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* Services Section */
.services {
    padding: 8rem 10%;
    background: var(--gradient);
    color: white;
}

.services h2 {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.5rem;
    position: relative;
}

.services h2:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
}

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

.service-card {
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 0;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    border-bottom: 3px solid var(--secondary-color);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

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

.service-card p {
    font-size: 1rem;
    opacity: 0.8;
}

/* Insights Section */
.insights {
    padding: 8rem 10%;
    background: white;
}

.insights h2 {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.5rem;
    position: relative;
    color: var(--primary-color);
}

.insights h2:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.insight-card {
    padding: 2rem;
    background: var(--light-bg);
    border-left: 3px solid var(--secondary-color);
    transition: transform 0.3s ease;
}

.insight-card:hover {
    transform: translateY(-10px);
}

.insight-date {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.insight-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.insight-card p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.insight-link {
    display: inline-block;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    position: relative;
}

.insight-link:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.insight-link:hover:after {
    width: 100%;
}

/* Contact Section */
.contact {
    padding: 8rem 10%;
    background: var(--light-bg);
}

.contact h2 {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.5rem;
    position: relative;
    color: var(--primary-color);
}

.contact h2:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 0;
    font-size: 1rem;
    background: white;
    font-family: 'Source Sans Pro', sans-serif;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.submit-button {
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.submit-button:hover {
    background: var(--secondary-color);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-top: 0.5rem;
}

.info-item h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.info-item p {
    color: #666;
}

/* Footer */
footer {
    background: var(--dark-bg);
    color: white;
    padding: 4rem 10% 1rem;
}

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

.footer-logo {
    font-size: 2rem;
    font-weight: bold;
    color: var(--secondary-color);
}

.footer-links, .legal-links {
    display: flex;
    gap: 2rem;
}

.footer-links a, .legal-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-links a:hover, .legal-links a:hover {
    color: var(--secondary-color);
}

.legal-links {
    justify-content: flex-end;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

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

/* CTA Button */
.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--secondary-color);
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease, background 0.3s ease;
    animation: fadeInUp 1s ease 0.4s;
    opacity: 0;
    animation-fill-mode: forwards;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    font-size: 0.9rem;
}

.cta-button:hover {
    transform: translateY(-3px);
    background: var(--accent-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .stats {
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }

    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .footer-links,
    .legal-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}

.obfuscated-email {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 400;
    color: #333;
    letter-spacing: 0.5px;
}

.at-symbol {
    color: #666;
    font-size: 0.9em;
    margin: 0 2px;
}


/* --- Brand / logo polish --- */
.brand { display: flex; align-items: center; }
.brand-link { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { height: 34px; width: auto; display: block; }
.brand-text { font-family: 'Playfair Display', serif; font-weight: 700; letter-spacing: 0.3px; color: #fff; font-size: 18px; line-height: 1; }

/* Make navbar a bit tighter and align items */
.navbar { align-items: center; }
.nav-links a { line-height: 1; }

/* Mobile: icon-only brand */
@media (max-width: 640px) {
  .brand-text { display: none; }
  .brand-mark { height: 30px; }
  .navbar { padding: 14px 18px; }
}
