:root {
    --bg-color: #0B0F19;
    --card-bg: #111827;
    --text-main: #F9FAFB;
    --text-muted: #9CA3AF;
    --accent: #3B82F6;
    --accent-hover: #2563EB;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    padding: 0 2rem;
}

.container {
    max-width: 1050px;
    margin: 0 auto;
}

/* Header / Navbar */
header {
    padding: 2.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #1E293B;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.05em;
}

.logo span {
    color: var(--accent);
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    text-align: center;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #FFFFFF, #9CA3AF);
    -webkit-background-clip: text;
    background-clip: text; /* Add this standard property */
    -webkit-text-fill-color: transparent;
}


/* Header / Navbar */
header {
    padding: 2rem 0; /* Tightened the padding slightly */
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #1E293B;
}

.logo {
    font-size: 2rem; /* Bumped up from 1.5rem to make it pop */
    font-weight: 800; /* Made it a bit thicker */
    letter-spacing: -0.05em;
}

.logo span {
    color: var(--accent);
}

/* New Navigation Styles */
.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem; /* Space between links */
}

.simple-link {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.simple-link:hover {
    color: var(--accent);
}

.nav-btn {
    border: 1px solid var(--accent);
    color: var(--text-main);
    text-decoration: none;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.nav-btn:hover {
    background-color: var(--accent);
    color: white;
}
.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 2.5rem auto;
}

.btn {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    text-decoration: none;
    padding: 0.85rem 2rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Architecture Section */
.features {
    padding: 4rem 0;
    border-top: 1px solid #1E293B;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

.grid {
    display: grid;
    /* Force exactly 2 columns instead of auto-fitting */
    grid-template-columns: repeat(2, 1fr); 
    gap: 2rem;
}

.card {
    background-color: var(--card-bg);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid #1E293B;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: #3B82F6;
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Footer Section */
footer {
    margin-top: 6rem;
    padding: 3rem 0;
    border-top: 1px solid #1E293B;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-contacts {
    margin-bottom: 1.5rem;
}

.footer-contacts a {
    color: var(--text-main);
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.2s ease;
}

.footer-contacts a:hover {
    color: var(--accent);
}

/* Responsive styling */
/* Responsive styling */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    body { padding: 0 1rem; }
    /* Add this line so cards stack on mobile */
    .grid { grid-template-columns: 1fr; } 
}
/* =========================================
   ENHANCED ANIMATION & INTERACTION EFFECTS 
   ========================================= */

/* Scroll Reveal Base Styles */
.reveal {
    opacity: 0;
    transform: translateY(50px); /* Increased from 30px for a deeper slide */
    transition: all 1s cubic-bezier(0.5, 0, 0, 1); /* Increased duration to 1s */
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Delay classes remain the same */
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* Cursor Tracking Glow for Cards */
.card {
    background-color: var(--card-bg);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid #1E293B;
    position: relative;
    overflow: hidden;
    /* Updated transition with a subtle spring bounce and shadow */
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                border-color 0.4s ease, 
                box-shadow 0.4s ease;
}

.card:hover {
    transform: translateY(-10px); /* Increased lift */
    border-color: #3B82F6;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4); /* New floating shadow */
}

/* The actual glow element (remains the same) */
.card::before {
    content: "";
    position: absolute;
    top: var(--y, 0);
    left: var(--x, 0);
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 40%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 0;
}

.card:hover::before {
    opacity: 1;
}

/* Ensure text stays above the glow */
.card h3, .card p {
    position: relative;
    z-index: 1;
}

/* Add a slight delay so the cards stagger in */
.delay-1 {
    transition-delay: 0.2s;
}
.delay-2 {
    transition-delay: 0.4s;
}
.delay-3 {
    transition-delay: 0.6s;
}