:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --text-color: #1f2937;
    --light-color: #f9fafb;
    --gray-color: #6b7280;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-right: 3rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    justify-content: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 5rem 0;
    text-align: center;
}

/* Hero Slider Section */
.hero-slider {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    overflow: hidden;
}

.slider-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 500px;
}

.slide {
    min-width: 100%;
    display: flex;
    align-items: center;
}

.slide .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 3rem 20px;
}

.slide-content {
    flex: 1;
    padding-right: 2rem;
}

.slide-image {
    flex: 1;
    text-align: center;
}

.slide-image img {
    max-width: 100%;
    max-height: 350px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.slide-image svg {
    max-width: 100%;
    max-height: 350px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.slide h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.slide p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 500px;
}

.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
}

.slide-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.indicator.active {
    background-color: #fff;
    transform: scale(1.2);
}

@media (max-width: 992px) {
    .slide .container {
        flex-direction: column;
        text-align: center;
    }
    
    .slide-content {
        padding-right: 0;
        padding-bottom: 2rem;
    }
    
    .slide h1 {
        font-size: 2rem;
    }
    
    .slider-container {
        height: auto;
    }
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

/* Features Section */
.features {
    padding: 4rem 0;
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
}

.feature h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Pricing Section */
.pricing {
    padding: 4rem 0;
    background-color: #f3f4f6;
}

.pricing h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.plan {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
}

.plan.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.plan h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.plan p {
    color: var(--gray-color);
    margin-bottom: 1.5rem;
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.price span {
    font-size: 1rem;
    color: var(--gray-color);
    font-weight: normal;
}

.plan ul {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.plan li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 1.5rem;
}

.plan li:before {
    content: "✓";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: white;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn.primary {
    background-color: var(--primary-color);
    color: white;
}

.btn.primary:hover {
    background-color: var(--primary-dark);
    color: #1e40af;
}

/* Topology Section */
.topology {
    padding: 4rem 0;
    background-color: white;
}

.topology-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;
}

.topology-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.topology-svg-container {
    width: 100%;
    margin-bottom: 2rem;
    text-align: center;
}

.topology-svg-container img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.image-caption {
    font-size: 0.9rem;
    color: var(--gray-color);
    margin-top: 1rem;
    text-align: center;
}

.topology-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    width: 100%;
}

.topology-feature {
    text-align: center;
    padding: 1.5rem;
    padding-bottom: 2rem;
    background-color: #f8fafc;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 230px;
}

.topology-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.topology-feature h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.topology-feature p {
    color: var(--gray-color);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.feature-link {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s;
}

.feature-link:hover {
    background-color: var(--primary-color);
    color: white;
}

@media (max-width: 768px) {
    .topology-diagram {
        padding: 0 1rem;
    }
    
    .topology-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .topology-feature {
        padding: 1.25rem;
    }
    
    .feature-icon {
        font-size: 2rem;
    }
    
    .topology-svg-container svg text {
        font-size: 10px !important;
    }
    
    .topology-svg-container svg {
        height: 550px;
    }
}

/* Platforms Section */
.platforms {
    padding: 4rem 0;
    background-color: #f3f4f6;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.platform {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.platform-icon {
    font-size: 2.5rem;
}

/* Download Center Section */
.download-center {
    padding: 4rem 0;
    background-color: white;
}

.download-center h2 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.section-desc {
    text-align: center;
    color: var(--gray-color);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.download-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.download-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.download-card h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.download-card p {
    margin-bottom: 1.5rem;
    color: var(--gray-color);
}

.download-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.download-links .btn {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

.version {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--gray-color);
    background: #e2e8f0;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .download-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 0;
    background-color: white;
    border-top: 1px solid #eee;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* Resources Section */
.resources {
    padding: 5rem 0;
    background-color: #f8fafc;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.resource-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.resource-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.resource-thumbnail {
    height: 200px;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.article-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #10b981, #059669);
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-icon {
    font-size: 3rem;
    color: white;
    opacity: 0.9;
}

.article-icon {
    font-size: 3rem;
    color: white;
    opacity: 0.9;
}

.resource-content {
    padding: 1.5rem;
}

.resource-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
    font-weight: 600;
}

.resource-content p {
    color: var(--gray-color);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.resource-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.resource-type {
    background-color: #e0e7ff;
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 500;
}

.resource-duration {
    color: var(--gray-color);
}

.resource-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.resource-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .resources-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .resource-thumbnail {
        height: 160px;
    }
    
    .resource-content {
        padding: 1rem;
    }
    
    .resource-content h3 {
        font-size: 1.1rem;
    }
}

/* Download Button Styles */
.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background-color: #007bff;
    color: white;
    padding: 8px 8px;
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-width: 220px;
    justify-content: center;
}

.download-btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.download-btn svg {
    width: 32px;
    height: 32px;
    transition: transform 0.3s ease;
}

.download-btn:hover svg {
    transform: translateY(2px);
}

.downloads {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.download-list {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    padding: 0 20px;
}

.download-item {
    background: white;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.download-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.download-item h3 {
    margin-bottom: 25px;
    color: #2d3436;
    font-size: 1.6em;
    font-weight: 600;
}

.download-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.mobile-downloads {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 10px;
}

.platform {
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease;
}

.platform:hover {
    transform: translateY(-5px);
}

.separator {
    color: #dee2e6;
    font-weight: 300;
}
