:root {
    --primary-color: #0078d4;
    --secondary-color: #50e6ff;
    --accent-color: #0062ad;
    --text-color: #333;
    --light-text: #fff;
    --dark-bg: #333;
    --light-bg: #f9f9f9;
    --border-color: #ddd;
    --card-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
}

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

/* Header Styles */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo i {
    font-size: 24px;
    color: var(--primary-color);
    margin-right: 10px;
}

.logo h1 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    padding: 5px 10px;
    border-radius: 4px;
}

nav ul li a:hover {
    color: var(--primary-color);
    background-color: rgba(0, 120, 212, 0.1);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--light-text);
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
}

/* Section Styles */
.section {
    padding: 60px 0;
}

.section h2 {
    font-size: 32px;
    margin-bottom: 40px;
    text-align: center;
    color: var(--primary-color);
    position: relative;
}

.section h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

/* Cards */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.card-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.card p {
    margin-bottom: 20px;
    flex-grow: 1;
}

.features {
    margin-bottom: 20px;
}

.features h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.features ul {
    padding-left: 20px;
}

.features li {
    margin-bottom: 5px;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    text-align: center;
}

.btn:hover {
    background-color: var(--accent-color);
}

/* Implementation Sections */
.implementation-section {
    margin-bottom: 40px;
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--card-shadow);
}

.implementation-section h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary-color);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.implementation-section ul, 
.implementation-section ol {
    padding-left: 25px;
    margin-bottom: 20px;
}

.implementation-section li {
    margin-bottom: 8px;
}

.implementation-option {
    margin-bottom: 20px;
}

.implementation-option h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.code-block {
    background-color: var(--dark-bg);
    border-radius: 6px;
    margin: 20px 0;
    overflow: hidden;
}

.code-block pre {
    padding: 20px;
    overflow-x: auto;
}

.code-block code {
    color: var(--light-text);
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.5;
}

/* Resources Section */
.resources-section {
    margin-bottom: 30px;
}

.resources-section h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.resource-links {
    list-style: none;
    padding: 0;
}

.resource-links li {
    margin-bottom: 10px;
}

.resource-links a {
    color: var(--primary-color);
    text-decoration: none;
    display: inline-block;
    padding: 8px 0;
    transition: var(--transition);
    font-weight: 500;
}

.resource-links a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding: 40px 0;
    text-align: center;
}

.footer-links {
    margin-top: 20px;
}

.footer-links a {
    color: var(--secondary-color);
    text-decoration: none;
    margin: 0 15px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--light-text);
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .section h2 {
        font-size: 26px;
    }
    
    .implementation-section {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 24px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .card {
        padding: 20px;
    }
}
