/* Base styles */
:root {
    --primary-color: #3498db;
    --secondary-color: #2ecc71;
    --text-color: #333;
    --light-text: #666;
    --section-bg: #f8f9fa;
    --card-bg: #fff;
    --card-border: rgba(0, 0, 0, 0.08);
    --card-shadow: rgba(0, 0, 0, 0.08);
}

/* Dark mode variables */
.dark {
    --primary-color: #2980b9;
    --secondary-color: #27ae60;
    --text-color: #fff;
    --light-text: #ccc;
    --section-bg: #1a1a1a;
    --card-bg: #2d2d2d;
    --card-border: rgba(255, 255, 255, 0.08);
    --card-shadow: rgba(0, 0, 0, 0.2);
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--section-bg);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.dark .navbar {
    background: rgba(26, 26, 26, 0.95);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    text-decoration: none;
}

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

.dashboard-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dashboard-link:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.dashboard-link svg {
    fill: currentColor;
}

.dashboard-text {
    display: inline;
}

@media (max-width: 480px) {
    .dashboard-text {
        display: none;
    }
    
    .dashboard-link {
        padding: 0.5rem;
        border-radius: 50%;
    }
}

/* Hero Section */
.hero {
    padding: 8rem 2rem 6rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: 30px 30px;
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Features Section */
.features {
    padding: 6rem 2rem;
    background: var(--section-bg);
}

.features-content {
    max-width: 1200px;
    margin: 0 auto;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

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

.feature-item {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px var(--card-shadow);
    border: 1px solid var(--card-border);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    transition: color 0.3s ease, transform 0.3s ease;
}

.feature-item:hover .feature-icon {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.feature-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature-item p {
    color: var(--light-text);
    margin: 0;
}

/* About Section */
.about {
    padding: 6rem 2rem;
    background: var(--card-bg);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0.05;
    pointer-events: none;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

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

.benefit {
    padding: 2rem;
    background: var(--section-bg);
    border-radius: 16px;
    box-shadow: 0 4px 20px var(--card-shadow);
    transition: transform 0.3s ease;
}

.benefit:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.benefit-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.benefit h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.benefit p {
    color: var(--light-text);
    margin: 0;
}

/* CTA Section */
.cta {
    padding: 4rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: 30px 30px;
    pointer-events: none;
    z-index: 0;
}

.cta h2,
.cta p,
.cta .cta-button {
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.cta p {
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
    background: var(--section-bg);
    padding: 4rem 2rem 2rem;
    color: var(--text-color);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

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

.footer-section a {
    color: var(--light-text);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--card-border);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-content {
        padding: 1rem;
    }

    .hero {
        padding: 6rem 1rem 4rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .features, .about {
        padding: 4rem 1rem;
    }

    .features h2, .about h2 {
        font-size: 2rem;
    }

    .cta {
        padding: 3rem 1rem;
    }
} 