:root {
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --secondary: #33b0f3;
    --text-main: #0f172a;
    --text-muted: #6e6e86;
    --link-hedear: #fff;
    --bg-light: #f8fafc;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-main);
}

.logo img {
    height: 100px;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--link-hedear);
    font-weight: 500;
    transition: color 0.2s ease;
}

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

footer a{
    color: var(--link-hedear);
    text-decoration: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 75%);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(79, 70, 229, 0.39);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border-color, #e2e8f0);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

main {
    padding-top: 80px; /* Space for fixed navbar */
    min-height: calc(100vh - 80px - 300px); /* Adjust based on footer size */
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    background: radial-gradient(circle at top right, #e0e7ff 0%, var(--bg-light) 70%);
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #dbeafe;
    color: #2563eb;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 2rem;
    border: 1px solid #bfdbfe;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: #0f172a;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 75%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-features {
    margin-bottom: 2.5rem;
    list-style: none;
    padding: 0;
}

.hero-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #334155;
    font-weight: 500;
}

.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image-container img {
    width: 100%;
    max-width: 650px;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: perspective(1000px) rotateY(-5deg) translateY(-10px);
    transition: transform 0.5s ease;
}

.hero-image-container img:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(0);
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content {
        margin: 0 auto;
    }
    .hero-features li {
        justify-content: center;
    }
    .hero-image-container img {
        transform: none;
        margin-top: 2rem;
    }
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: white;
}

.features-header {
    text-align: center;
    margin-bottom: 4rem;
}

.features-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

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

.feature-card {
    padding: 2.5rem;
    border-radius: 1.5rem;
    background: var(--bg-light);
    border: 1px solid var(--border-color, #e2e8f0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 1rem;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--secondary);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    text-align: center;
}

.cta-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 2rem;
    padding: 4rem 2rem;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 25px 50px -12px rgba(79, 70, 229, 0.25);
}

.cta-card h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.cta-card p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
}

.btn-white {
    background: white;
    color: var(--primary);
}

.btn-white:hover {
    background: #f8fafc;
    transform: translateY(-2px);
}
@media (max-width: 768px) {
    .container { padding: 0 1.5rem; }
    
    .logo img { height: 50px; }
    .nav-links { gap: 1rem; }
    .nav-links a { font-size: 0.9rem; }
    
    .hero { padding: 4rem 0; }
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1rem; }
    
    .features-header h2 { font-size: 2rem; }
    .feature-card { padding: 1.5rem; }
    
    .cta-card { padding: 3rem 1.5rem; margin: 0 1rem; }
    .cta-card h2 { font-size: 1.8rem; }
}

@media (max-width: 480px) {
    .nav-links { display: none; } /* Hide links on very small screens to avoid overlap */
    .hero h1 { font-size: 2rem; }
    .hero-badge { font-size: 0.75rem; padding: 0.4rem 0.8rem; }
    
    .btn { width: 100%; }
    .hero-features li { font-size: 0.9rem; text-align: left; }
}
