/* Custom variables for a vibrant theme */
:root {
    --primary: #7c3aed;
    --primary-dark: #5b21b6;
    --secondary: #3b82f6;
    --accent: #ea580c;
    --text-main: #1c1c1e;
    --text-muted: #6e6e73;
    --bg-main: #ffffff;
    --bg-alt: #f8fafc;
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.4);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-family: 'Inter', system-ui, sans-serif; }
body { background-color: var(--bg-main); color: var(--text-main); line-height: 1.6; overflow-x: hidden; }

/* Typography */
h1, h2, h3 { font-weight: 900; letter-spacing: -0.05em; line-height: 1.2; }
a { text-decoration: none; color: inherit; transition: color 0.2s ease; }

/* Utilities */
.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 14px 36px;
    border-radius: 9999px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 10px 20px -10px var(--primary);
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -10px var(--primary);
    color: white;
}

/* Glassmorphism Navigation */
.nav-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    position: fixed;
    top: 0; width: 100%; z-index: 50;
}
.nav-container {
    max-width: 1200px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 2rem;
}
.nav-logo {
    display: flex; align-items: center; gap: 1rem;
    font-weight: 900; font-size: 1.25rem;
}
.nav-logo img { height: 40px; width: auto; }
.nav-links { display: flex; gap: 2.5rem; align-items: center; }
.nav-links a { font-weight: 600; font-size: 0.95rem; }
.nav-links a:hover { color: var(--primary); }

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    position: relative;
    padding: 8rem 2rem 4rem;
}
.hero-bg-shapes {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('../img/hero-bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    z-index: -1;
}
.hero-content { max-width: 800px; z-index: 1; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: white; border: 1px solid rgba(124,58,237,0.2);
    color: var(--primary); padding: 0.5rem 1rem;
    border-radius: 9999px; font-weight: 600; font-size: 0.875rem;
    margin-bottom: 2rem; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}
.hero-badge .dot {
    width: 8px; height: 8px; background: var(--primary);
    border-radius: 50%; display: inline-block;
    animation: pulse 2s infinite;
}
.hero h1 { font-size: 4.5rem; margin-bottom: 1.5rem; }
.hero p { font-size: 1.25rem; color: var(--text-muted); margin-bottom: 3rem; max-width: 600px; margin-inline: auto; }

/* Sections */
section { padding: 8rem 2rem; }
.section-title { text-align: center; margin-bottom: 5rem; }
.section-subtitle {
    color: var(--primary); font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.1em; font-size: 0.875rem; margin-bottom: 1rem;
    display: block;
}
.section-title h2 { font-size: 3.5rem; }

/* Services Cards */
.services-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem; max-width: 1200px; margin: 0 auto;
}
.card {
    background: white;
    border-radius: 24px; padding: 3rem 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative; overflow: hidden;
}
.card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0; transition: opacity 0.3s ease;
}
.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(124, 58, 237, 0.15);
}
.card:hover::before { opacity: 1; }
.card-icon {
    width: 64px; height: 64px;
    background: linear-gradient(135deg, rgba(124,58,237,0.1), rgba(59,130,246,0.1));
    color: var(--primary);
    border-radius: 20px; display: flex; align-items: center; justify-content: center;
    margin-bottom: 2rem; font-size: 1.75rem;
}
.card h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.card p { color: var(--text-muted); line-height: 1.7; }

/* Stats */
.stats-section { background: var(--bg-alt); padding: 6rem 2rem; }
.stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
    max-width: 1200px; margin: 0 auto; text-align: center;
}
.stat-card { background: white; padding: 2rem; border-radius: 24px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02); }
.stat-number { font-size: 3.5rem; font-weight: 900; margin-bottom: 0.5rem; }
.stat-label { color: var(--text-muted); font-weight: 600; font-size: 0.9rem; }

/* Contact Section */
.contact-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
    max-width: 1200px; margin: 0 auto;
}
.contact-info { display: flex; flex-direction: column; gap: 2rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1.5rem; }
.contact-icon {
    width: 48px; height: 48px; border-radius: 50%;
    background: rgba(124,58,237,0.1); color: var(--primary);
    display: flex; align-items: center; justify-content: center; font-size: 1.25rem;
    flex-shrink: 0;
}

/* Footer */
footer {
    background: #0f172a; color: white;
    padding: 5rem 2rem 2rem;
}
.footer-content {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 4rem;
    margin-bottom: 4rem;
}
.footer-col h4 { font-size: 1.25rem; margin-bottom: 1.5rem; color: white; }
.footer-col p, .footer-col a { color: #94a3b8; line-height: 1.8; }
.footer-col a:hover { color: white; }
.footer-links-col { display: flex; flex-direction: column; gap: 1rem; }
.footer-bottom {
    max-width: 1200px; margin: 0 auto; padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex; justify-content: space-between; align-items: center;
    color: #94a3b8; font-size: 0.875rem;
}
.footer-legal-links { display: flex; gap: 1.5rem; }

/* Content Pages (Terms/Privacy) */
.page-header { padding: 10rem 2rem 5rem; text-align: center; background: var(--bg-alt); }
.page-header h1 { font-size: 3.5rem; }
.content-section { max-width: 800px; margin: 0 auto; padding: 4rem 2rem; }
.content-section h2 { margin-top: 2rem; margin-bottom: 1rem; font-size: 1.75rem; }
.content-section p { margin-bottom: 1rem; color: var(--text-muted); }

/* Mobile Menu */
.mobile-menu-btn { display: none; font-size: 1.5rem; background: none; border: none; cursor: pointer; }
@media (max-width: 992px) {
    .hero h1 { font-size: 3.5rem; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .hero h1 { font-size: 2.75rem; }
    .hero { padding-top: 6rem; }
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(124, 58, 237, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(124, 58, 237, 0); }
}
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }
