@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #6366f1; /* Indigo */
    --primary-dark: #4f46e5;
    --secondary: #ec4899; /* Pink */
    --bg-color: #f8fafc;
    --card-bg: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border: #e2e8f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Glassmorphism Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    z-index: 1000;
    transition: all 0.3s ease;
}

.brand {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    letter-spacing: -0.5px;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-main);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    padding: 6rem 5% 4rem;
    text-align: center;
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.05) 0%, rgba(248, 250, 252, 0) 100%);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Page Content */
.container {
    max-width: 900px;
    margin: -2rem auto 4rem;
    padding: 0 5%;
    position: relative;
    z-index: 10;
}

.card {
    background: var(--card-bg);
    border-radius: 24px;
    padding: 3.5rem;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(0,0,0,0.02);
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.card h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 2.5rem 0 1rem;
    color: var(--text-main);
}

.card p {
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
    color: var(--text-muted);
}

.card ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.card li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Specific Feature Block for Home Page */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.feature-box {
    padding: 2rem;
    background: rgba(99, 102, 241, 0.02);
    border: 1px solid rgba(99, 102, 241, 0.08);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -10px rgba(99, 102, 241, 0.15);
    background: rgba(99, 102, 241, 0.04);
}

.feature-box .icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.feature-box h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.feature-box p {
    font-size: 1rem;
    margin: 0;
}

/* Contact Box */
.contact-box {
    margin-top: 3.5rem;
    padding: 3rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 20px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-box::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: url('data:image/svg+xml;utf8,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" stroke="rgba(255,255,255,0.1)" stroke-width="2" fill="none"/></svg>') repeat;
    opacity: 0.5;
    pointer-events: none;
}

.contact-box h3 {
    color: white;
    margin-top: 0;
    font-size: 1.75rem;
    position: relative;
    z-index: 1;
}

.contact-box p {
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 1;
}

.contact-box a {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.8rem 2.5rem;
    background: white;
    color: var(--primary-dark);
    font-weight: 700;
    border-radius: 999px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    z-index: 1;
}

.contact-box a:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Footer */
footer {
    padding: 4rem 5% 2rem;
    text-align: center;
    color: var(--text-muted);
}

.footer-content {
    max-width: 900px;
    margin: 0 auto;
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
}

footer a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 500;
}

footer a:hover {
    color: var(--primary);
}

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

/* Responsive */
@media (max-width: 768px) {
    .navbar { padding: 0 1.5rem; height: 70px; border-bottom: none; }
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1.1rem; }
    .card { padding: 2rem; border-radius: 20px; }
    .footer-content { flex-direction: column; gap: 1rem; }
    
    /* Better mobile nav fixed to bottom */
    .nav-links {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 1rem 1.5rem;
        justify-content: space-around;
        border-top: 1px solid var(--border);
        z-index: 1000;
        padding-bottom: calc(1rem + env(safe-area-inset-bottom));
    }
    
    .nav-links a { font-size: 0.9rem; }
    .nav-links a::after { display: none; }
    .nav-links a.active { color: var(--primary); }
    
    body { padding-bottom: 80px; /* Space for bottom nav */ }
}
