:root {
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --bg-dark: #0f172a;
    --card-bg: rgba(255, 255, 255, 0.05);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-border: rgba(255, 255, 255, 0.1);
    --accent: #10b981;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

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

.background-blur {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, #1e293b 0%, #0f172a 100%);
}

.blur-circle {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
}

.blur-1 {
    top: -100px;
    right: -100px;
    background: var(--primary);
}

.blur-2 {
    bottom: -100px;
    left: -100px;
    background: var(--accent);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(to right, #818cf8, #34d399);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.9rem;
    transition: color 0.3s;
}

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

.hero {
    padding: 100px 5% 60px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

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

.cta-button {
    background: var(--primary);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, background 0.3s;
    display: inline-block;
}

.cta-button:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 40px 5%;
}

.card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 20px;
    transition: transform 0.3s, border-color 0.3s;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.5);
}

.card h3 {
    margin-bottom: 1rem;
    color: var(--text-main);
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
    font-size: 0.75rem;
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent);
    margin-bottom: 1rem;
}

footer {
    padding: 4rem 5%;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    color: var(--text-muted);
}

/* Slider Styles */
.slider-container {
    width: 90%;
    max-width: 1200px;
    margin: 40px auto;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.slide-content {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(16, 185, 129, 0.2));
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    padding: 3rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.slide-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.slide-content p {
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 2rem;
}

.slide-btn {
    padding: 0.8rem 2rem;
    border-radius: 12px;
    background: white;
    color: var(--bg-dark);
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}

.slide-btn:hover {
    transform: scale(1.05);
    background: var(--primary);
    color: white;
}

.slider-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--glass-border);
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: var(--primary);
}

/* Newsletter Styles */
.newsletter-section {
    padding: 80px 5%;
    text-align: center;
    background: rgba(99, 102, 241, 0.05);
}

.newsletter-box {
    max-width: 600px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.newsletter-form {
    margin-top: 2rem;
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.newsletter-form button {
    padding: 1rem 2rem;
    border-radius: 10px;
    border: none;
    background: var(--accent);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.newsletter-form button:hover {
    background: #059669;
}

/* Blog Styles */
.section-title {
    text-align: center;
    margin: 60px 0 30px;
    font-size: 2.2rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 0 5% 60px;
}

.blog-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: 0.3s;
}

.blog-card:hover {
    border-color: var(--primary);
}

.blog-image {
    width: 100%;
    height: 180px;
    background: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.blog-info {
    padding: 1.5rem;
}

.blog-info h4 {
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.blog-info p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.read-more {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: var(--bg-dark);
    padding: 3rem;
    border-radius: 25px;
    border: 1px solid var(--glass-border);
    max-width: 500px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.modal-content h2 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.modal-content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.close-modal {
    background: var(--accent);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    display: inline-block;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
    }

    .newsletter-form {
        flex-direction: column;
    }
}