* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    line-height: 1.6;
    height: 100vh;
    overflow: hidden;
    transition: background-color 0.3s, color 0.3s;
    display: flex;
    flex-direction: column;
}

/* Dark Mode (Default) */
body.dark-mode {
    background: #1a1a1a;
    color: #e0e0e0;
}

body.dark-mode .header {
    background: #242424;
    border-bottom: 1px solid #333;
}

body.dark-mode .logo {
    color: #e0e0e0;
}

body.dark-mode .nav a {
    color: #a0a0a0;
}

body.dark-mode .nav a:hover,
body.dark-mode .nav a.active {
    color: #e0e0e0;
}

body.dark-mode .btn-primary {
    background: #e0e0e0;
    color: #1a1a1a;
}

body.dark-mode .btn-primary:hover {
    background: #f0f0f0;
}

body.dark-mode .btn-secondary {
    background: transparent;
    color: #e0e0e0;
    border: 2px solid #444;
}

body.dark-mode .btn-secondary:hover {
    border-color: #e0e0e0;
}

body.dark-mode .feature-card {
    background: #242424;
    border: 1px solid #333;
}

body.dark-mode .feature-card h3 {
    color: #e0e0e0;
}

body.dark-mode .feature-card p {
    color: #a0a0a0;
}

body.dark-mode .footer {
    background: #242424;
    border-top: 1px solid #333;
}

body.dark-mode .footer p {
    color: #a0a0a0;
}

body.dark-mode .footer a {
    color: #e0e0e0;
}

body.dark-mode .theme-toggle {
    background: #333;
    color: #e0e0e0;
}

body.dark-mode .theme-toggle:hover {
    background: #444;
}

body.dark-mode .icon-light {
    display: inline;
}

body.dark-mode .icon-dark {
    display: none;
}

/* Light Mode */
body.light-mode {
    background: #f8f9fa;
    color: #2c3e50;
}

body.light-mode .header {
    background: #fff;
    border-bottom: 1px solid #e1e8ed;
}

body.light-mode .logo {
    color: #2c3e50;
}

body.light-mode .nav a {
    color: #5a6c7d;
}

body.light-mode .nav a:hover,
body.light-mode .nav a.active {
    color: #2c3e50;
}

body.light-mode .btn-primary {
    background: #2c3e50;
    color: #fff;
}

body.light-mode .btn-primary:hover {
    background: #1a252f;
}

body.light-mode .btn-secondary {
    background: #fff;
    color: #2c3e50;
    border: 2px solid #e1e8ed;
}

body.light-mode .btn-secondary:hover {
    border-color: #2c3e50;
}

body.light-mode .feature-card {
    background: #fff;
    border: 1px solid #e1e8ed;
}

body.light-mode .feature-card h3 {
    color: #2c3e50;
}

body.light-mode .feature-card p {
    color: #5a6c7d;
}

body.light-mode .footer {
    background: #fff;
    border-top: 1px solid #e1e8ed;
}

body.light-mode .footer p {
    color: #5a6c7d;
}

body.light-mode .footer a {
    color: #2c3e50;
}

body.light-mode .theme-toggle {
    background: #e1e8ed;
    color: #2c3e50;
}

body.light-mode .theme-toggle:hover {
    background: #d1d8dd;
}

body.light-mode .icon-light {
    display: none;
}

body.light-mode .icon-dark {
    display: inline;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Header */
.header {
    border-bottom: 1px solid;
    z-index: 100;
    transition: background-color 0.3s, border-color 0.3s;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    transition: color 0.3s;
}

.nav {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav a {
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.theme-toggle {
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.2s;
    margin-left: 8px;
}

.theme-toggle:hover {
    transform: scale(1.05);
}

/* Main */
.main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.content-wrapper {
    width: 100%;
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 50px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 16px;
}

.lead {
    font-size: 1.25rem;
    margin-bottom: 32px;
    opacity: 0.8;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

/* Features Section */
.features {
    max-width: 1000px;
    margin: 0 auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    text-align: center;
    padding: 28px 20px;
    border-radius: 12px;
    transition: all 0.3s;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.feature-card h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.feature-card p {
    line-height: 1.5;
    font-size: 0.95rem;
    transition: color 0.3s;
}

/* Footer */
.footer {
    padding: 20px 0;
    text-align: center;
    transition: background-color 0.3s, border-color 0.3s;
}

.footer p {
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer a {
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 968px) {
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .nav-wrapper {
        flex-direction: column;
        gap: 12px;
    }

    .nav {
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .lead {
        font-size: 1.1rem;
    }

    .hero {
        margin-bottom: 30px;
    }
}