/* =========================================
   CSS Variables (Theme Colors & Fonts)
   ========================================= */
   :root {
    --bg-main: #0f172a; /* Deep tech slate */
    --bg-secondary: #1e293b; /* Lighter slate for cards */
    --bg-darker: #020617; /* Darkest slate for contrast sections */
    
    --accent-primary: #6366f1; /* Modern Indigo */
    --accent-hover: #4f46e5;
    --accent-gradient: linear-gradient(135deg, #6366f1, #8b5cf6); /* Indigo to Violet */
    
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    
    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* =========================================
   Typography & Buttons
   ========================================= */
h1, h2, h3 {
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.highlight {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--accent-primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-large {
    background: var(--accent-gradient);
    color: #fff;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
}

.btn-full {
    width: 100%;
    margin-top: 1rem;
}

/* =========================================
   Navigation
   ========================================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--accent-primary);
}

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

.nav-links a {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-secondary);
}

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

/* =========================================
   Layout & Sections
   ========================================= */
.section {
    padding: 6rem 5%;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.bg-darker {
    background-color: var(--bg-darker);
}

.grid {
    display: grid;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
    background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.15), transparent 40%),
                radial-gradient(circle at bottom left, rgba(139, 92, 246, 0.1), transparent 40%);
}

.hero-content {
    max-width: 800px;
    margin-top: 4rem; /* Offset for navbar */
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
}

/* =========================================
   Cards (Services & Benefits)
   ========================================= */
.cards-container {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card {
    background-color: var(--bg-secondary);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card h3 {
    font-size: 1.3rem;
}

.benefit-card {
    text-align: center;
    padding: 2rem;
}

/* =========================================
   How It Works (Steps)
   ========================================= */
.steps-container {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    text-align: center;
}

.step {
    padding: 2rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--accent-gradient);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1.5rem auto;
}

/* =========================================
   About Section
   ========================================= */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
}

/* =========================================
   Contact Form
   ========================================= */
.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--bg-secondary);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.input-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 1rem;
    background-color: var(--bg-main);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--text-primary);
    font-family: var(--font-main);
    transition: var(--transition);
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

/* =========================================
   Footer
   ========================================= */
.footer {
    background-color: var(--bg-darker);
    padding: 4rem 5% 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-logo span {
    color: var(--accent-primary);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.social-links a {
    font-size: 1.5rem;
    color: var(--text-muted);
}

.social-links a:hover {
    color: var(--accent-primary);
}

.footer-email {
    font-weight: 600;
    margin-bottom: 2rem;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* =========================================
   Media Queries (Mobile Responsiveness)
   ========================================= */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* In a real app, this would be a hamburger menu */
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section {
        padding: 4rem 5%;
    }
}

/* Initial state for JS animations */
.fade-in, .slide-up {
    opacity: 0;
}

/* =========================================
   Animation Keyframes (Triggered by JS)
   ========================================= */
.fade-in.active {
    animation: fadeIn 0.8s ease forwards;
}

.slide-up.active {
    animation: slideUp 0.8s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
