/* ===== BASE STYLES ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; line-height: 1.6; color: #333; }

/* ===== NAVIGATION ===== */
header { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); padding: 1rem 2rem; position: fixed; width: 100%; top: 0; z-index: 1000; }
nav { display: flex; justify-content: space-between; align-items: center; max-width: 1400px; margin: 0 auto; }
.logo { color: #00d9ff; font-size: 1.5rem; font-weight: bold; }
.logo i { margin-right: 0.5rem; }
.nav-links { display: flex; list-style: none; gap: 2rem; }
.nav-links a { color: #fff; text-decoration: none; transition: color 0.3s; font-weight: 500; }
.nav-links a:hover { color: #00d9ff; }
.nav-toggle { display: none; color: #fff; font-size: 1.5rem; cursor: pointer; }

/* ===== HERO SECTION ===== */
.hero { background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%); color: #fff; min-height: 100vh; display: flex; justify-content: center; align-items: center; text-align: center; padding: 6rem 2rem 2rem; }
.hero-content { max-width: 900px; }
.hero h1 { font-size: 3rem; margin-bottom: 1rem; background: linear-gradient(90deg, #00d9ff, #00ff88); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero p { font-size: 1.3rem; margin-bottom: 2rem; opacity: 0.9; }
.hero-stats { display: flex; justify-content: center; gap: 3rem; margin-bottom: 2rem; }
.stat { text-align: center; }
.stat-number { display: block; font-size: 2.5rem; font-weight: bold; color: #00d9ff; }
.stat-label { font-size: 0.9rem; opacity: 0.8; }
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn { padding: 1rem 2rem; border-radius: 50px; text-decoration: none; font-weight: bold; transition: all 0.3s; display: inline-block; }
.btn-primary { background: linear-gradient(90deg, #00d9ff, #00ff88); color: #1a1a2e; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0, 217, 255, 0.3); }
.btn-secondary { background: transparent; color: #fff; border: 2px solid #00d9ff; }
.btn-secondary:hover { background: rgba(0, 217, 255, 0.1); }

/* ===== SECTION STYLES ===== */
section { padding: 5rem 2rem; }
section h2 { text-align: center; font-size: 2.2rem; margin-bottom: 0.5rem; color: #1a1a2e; }
section h2 i { margin-right: 0.5rem; color: #00d9ff; }
.section-desc { text-align: center; color: #666; margin-bottom: 3rem; }
.section-subtitle { text-align: center; color: #555; font-size: 1.2rem; margin: 2.5rem 0 1.5rem; font-weight: 600; }
.section-subtitle i { color: #00d9ff; margin-right: 0.5rem; }

/* ===== ROADMAP SECTION ===== */
.roadmap-section { background: #f8f9fa; }
.roadmap-container { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.roadmap-phase { width: 100%; max-width: 500px; background: #fff; border-radius: 15px; box-shadow: 0 5px 20px rgba(0,0,0,0.1); overflow: hidden; }
.phase-header { padding: 1.5rem; display: flex; align-items: center; gap: 1rem; color: #fff; }
.phase-number { width: 40px; height: 40px; background: rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 1.2rem; }
.phase-header h3 { flex: 1; margin: 0; }
.phase-duration { font-size: 0.85rem; opacity: 0.9; background: rgba(255,255,255,0.2); padding: 0.3rem 0.8rem; border-radius: 20px; }
.phase-1 { background: linear-gradient(135deg, #667eea, #764ba2); }
.phase-2 { background: linear-gradient(135deg, #11998e, #38ef7d); }
.phase-3 { background: linear-gradient(135deg, #ee0979, #ff6a00); }
.phase-4 { background: linear-gradient(135deg, #4facfe, #00f2fe); }
.phase-5 { background: linear-gradient(135deg, #fa709a, #fee140); }
.phase-6 { background: linear-gradient(135deg, #a18cd1, #fbc2eb); }
.phase-content { padding: 1.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.phase-item { display: flex; align-items: center; gap: 0.8rem; padding: 0.6rem; border-radius: 8px; background: #f8f9fa; font-size: 0.9rem; }
.phase-item i { color: #666; width: 20px; text-align: center; }
.phase-item.clickable { cursor: pointer; transition: all 0.3s; }
.phase-item.clickable:hover { background: #e9ecef; transform: translateX(5px); }
.roadmap-connector { width: 3px; height: 40px; background: linear-gradient(180deg, #00d9ff, #00ff88); margin: 0.5rem 0; }

/* ===== TECHNOLOGY CARDS ===== */
.technologies { background: #fff; }
.tech-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; max-width: 1200px; margin: 0 auto; }
.tech-card { background: #fff; padding: 2rem; border-radius: 15px; box-shadow: 0 5px 20px rgba(0,0,0,0.1); transition: all 0.3s; cursor: pointer; position: relative; border: 2px solid transparent; }
.tech-card:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(0,0,0,0.15); }
.tech-badge { position: absolute; top: 1rem; right: 1rem; background: linear-gradient(90deg, #00d9ff, #00ff88); color: #1a1a2e; padding: 0.3rem 0.8rem; border-radius: 20px; font-size: 0.75rem; font-weight: bold; }
.tech-icon { font-size: 3rem; margin-bottom: 1rem; color: #302b63; }
.tech-card h3 { color: #1a1a2e; margin-bottom: 0.5rem; }
.tech-card p { color: #666; font-size: 0.95rem; margin-bottom: 1rem; }
.tech-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag { background: #e9ecef; color: #555; padding: 0.3rem 0.8rem; border-radius: 15px; font-size: 0.8rem; }
.aws-card:hover { border-color: #ff9900; }
.azure-card:hover { border-color: #0078d4; }
.gcp-card:hover { border-color: #ea4335; }

/* ===== COMPARISON TABLE ===== */
.comparison-section { background: #f8f9fa; }
.comparison-table-container { max-width: 1000px; margin: 0 auto; background: #fff; border-radius: 15px; box-shadow: 0 5px 20px rgba(0,0,0,0.1); overflow: hidden; }
.comparison-row { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); border-bottom: 1px solid #e9ecef; }
.comparison-row:last-child { border-bottom: none; }
.comparison-row.header { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); color: #fff; font-weight: bold; }
.comparison-cell { padding: 1rem; text-align: center; display: flex; align-items: center; justify-content: center; }
.comparison-cell.category { justify-content: flex-start; font-weight: 600; background: #f8f9fa; }
.comparison-row.header .comparison-cell.category { background: transparent; }
.comparison-cell i { margin-right: 0.5rem; }

/* ===== RESOURCES SECTION ===== */
.resources-section { background: #fff; }
.resources-tabs { display: flex; justify-content: center; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.tab-btn { padding: 0.8rem 1.5rem; border: none; background: #e9ecef; color: #555; border-radius: 25px; cursor: pointer; font-weight: 600; transition: all 0.3s; }
.tab-btn i { margin-right: 0.5rem; }
.tab-btn.active, .tab-btn:hover { background: linear-gradient(90deg, #00d9ff, #00ff88); color: #1a1a2e; }
.resource-content { display: none; max-width: 1200px; margin: 0 auto; }
.resource-content.active { display: block; }
.resource-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.resource-card { background: #f8f9fa; padding: 1.5rem; border-radius: 12px; text-decoration: none; color: #333; transition: all 0.3s; display: block; position: relative; }
.resource-card:hover { background: #e9ecef; transform: translateY(-5px); }
.resource-card i { font-size: 2rem; color: #302b63; margin-bottom: 1rem; display: block; }
.resource-card h4 { margin-bottom: 0.5rem; color: #1a1a2e; }
.resource-card p { color: #666; font-size: 0.9rem; }
.resource-tag { position: absolute; top: 1rem; right: 1rem; background: #302b63; color: #fff; padding: 0.2rem 0.6rem; border-radius: 10px; font-size: 0.7rem; }
.resource-tag.free { background: #00c853; }

/* ===== CERTIFICATIONS ===== */
.cert-paths { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; max-width: 1200px; margin: 0 auto; }
.cert-path { background: #f8f9fa; padding: 1.5rem; border-radius: 12px; }
.cert-path h4 { color: #1a1a2e; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }
.cert-levels { display: flex; flex-direction: column; gap: 1rem; }
.cert-level { padding: 1rem; border-radius: 8px; }
.cert-level.foundational { background: #e3f2fd; border-left: 4px solid #2196f3; }
.cert-level.associate { background: #e8f5e9; border-left: 4px solid #4caf50; }
.cert-level.professional { background: #fff3e0; border-left: 4px solid #ff9800; }
.level-name { font-weight: bold; font-size: 0.85rem; color: #555; display: block; margin-bottom: 0.5rem; }
.cert-item { font-size: 0.9rem; color: #333; padding: 0.3rem 0; }

/* ===== LABS SECTION ===== */
.labs-section { background: #f8f9fa; }

/* Platform Cards */
.platforms-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; max-width: 1200px; margin: 0 auto 3rem; }
.platform-card { background: #fff; padding: 1.5rem; border-radius: 12px; text-decoration: none; color: #333; transition: all 0.3s; display: block; position: relative; border: 2px solid #e9ecef; text-align: center; }
.platform-card:hover { transform: translateY(-5px); border-color: #00d9ff; box-shadow: 0 10px 30px rgba(0,217,255,0.15); }
.platform-icon { font-size: 2.5rem; color: #302b63; margin-bottom: 1rem; }
.platform-card h4 { color: #1a1a2e; margin-bottom: 0.5rem; font-size: 1.1rem; }
.platform-card p { color: #666; font-size: 0.85rem; margin-bottom: 1rem; }
.platform-tag { display: inline-block; background: #302b63; color: #fff; padding: 0.3rem 0.8rem; border-radius: 15px; font-size: 0.75rem; font-weight: 600; }
.platform-tag.free { background: linear-gradient(90deg, #00c853, #00e676); color: #fff; }

.labs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 1.5rem; max-width: 1200px; margin: 0 auto; }
.lab-card { background: #fff; padding: 1.5rem; border-radius: 12px; box-shadow: 0 5px 15px rgba(0,0,0,0.08); position: relative; border-top: 4px solid #ccc; display: block; text-decoration: none; transition: all 0.3s; }
.lab-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.15); }
.lab-card.beginner { border-top-color: #4caf50; }
.lab-card.intermediate { border-top-color: #ff9800; }
.lab-card.advanced { border-top-color: #f44336; }
.lab-difficulty { position: absolute; top: 1rem; right: 1rem; padding: 0.3rem 0.8rem; border-radius: 15px; font-size: 0.75rem; font-weight: bold; }
.lab-card.beginner .lab-difficulty { background: #e8f5e9; color: #4caf50; }
.lab-card.intermediate .lab-difficulty { background: #fff3e0; color: #ff9800; }
.lab-card.advanced .lab-difficulty { background: #ffebee; color: #f44336; }
.lab-card h4 { color: #1a1a2e; margin-bottom: 0.8rem; padding-right: 80px; }
.lab-card h4 i { margin-right: 0.5rem; color: #302b63; }
.lab-card p { color: #666; font-size: 0.9rem; margin-bottom: 1rem; }
.lab-skills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.lab-skills span { background: #e9ecef; color: #555; padding: 0.3rem 0.6rem; border-radius: 10px; font-size: 0.8rem; }
.lab-meta { display: flex; justify-content: space-between; align-items: center; }
.lab-time { color: #888; font-size: 0.85rem; }
.lab-time i { margin-right: 0.5rem; }
.lab-link { color: #00d9ff; font-size: 0.85rem; font-weight: 600; }
.lab-link i { margin-right: 0.3rem; }

/* ===== CHEAT SHEETS ===== */
.cheatsheets-section { background: #fff; }
.cheatsheet-tabs { display: flex; justify-content: center; gap: 0.5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.cheat-tab { padding: 0.7rem 1.5rem; border: none; background: #e9ecef; color: #555; border-radius: 8px; cursor: pointer; font-weight: 600; transition: all 0.3s; }
.cheat-tab.active, .cheat-tab:hover { background: #1a1a2e; color: #00d9ff; }
.cheatsheet-content { display: none; max-width: 1000px; margin: 0 auto; }
.cheatsheet-content.active { display: block; }
.cheat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.cheat-category { background: #1a1a2e; padding: 1.5rem; border-radius: 12px; }
.cheat-category h4 { color: #00d9ff; margin-bottom: 1rem; font-size: 1rem; }
.cheat-category code { display: block; background: #0f0c29; color: #00ff88; padding: 0.5rem 0.8rem; border-radius: 6px; margin-bottom: 0.5rem; font-size: 0.8rem; font-family: 'Consolas', monospace; }

/* ===== ABOUT SECTION ===== */
.about { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); color: #fff; text-align: center; }
.about h2 { color: #00d9ff; }
.about p { max-width: 800px; margin: 0 auto 1rem; opacity: 0.9; }
.social-links { display: flex; justify-content: center; gap: 1.5rem; margin-top: 2rem; }
.social-links a { color: #fff; font-size: 1.5rem; transition: color 0.3s; }
.social-links a:hover { color: #00d9ff; }

/* ===== FOOTER ===== */
footer { background: #0f0c29; color: #fff; text-align: center; padding: 2rem; }

/* ===== MODAL ===== */
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); z-index: 2000; justify-content: center; align-items: center; padding: 1rem; }
.modal-content { background: #fff; border-radius: 15px; max-width: 900px; width: 100%; max-height: 90vh; overflow-y: auto; position: relative; animation: modalFadeIn 0.3s ease; }
@keyframes modalFadeIn { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
.close { position: absolute; top: 1rem; right: 1.5rem; font-size: 2rem; cursor: pointer; color: #666; transition: color 0.3s; z-index: 10; }
.close:hover { color: #1a1a2e; }
.modal-content h2 { padding: 2rem 2rem 0; color: #1a1a2e; }
.modal-content h2 i { margin-right: 0.5rem; }
.modal-intro { padding: 1rem 2rem; color: #555; font-size: 1.05rem; line-height: 1.7; }
.modal-section { padding: 0 2rem 2rem; }
.modal-section h3 { color: #302b63; margin-bottom: 1rem; font-size: 1.2rem; }
.modal-section h3 i { margin-right: 0.5rem; color: #00d9ff; }

/* Modal Services Grid */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.service-category { background: #f8f9fa; padding: 1rem; border-radius: 10px; border-left: 4px solid #302b63; }
.service-category h4 { color: #1a1a2e; margin-bottom: 0.5rem; font-size: 0.95rem; }
.service-category h4 i { margin-right: 0.5rem; color: #666; }
.service-category ul { margin-left: 1rem; }
.service-category li { font-size: 0.85rem; color: #555; margin-bottom: 0.3rem; }

/* Modal Benefits Grid */
.benefits-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.benefit { background: #f8f9fa; padding: 1rem; border-radius: 10px; text-align: center; }
.benefit i { font-size: 1.5rem; color: #00d9ff; margin-bottom: 0.5rem; display: block; }
.benefit strong { display: block; color: #1a1a2e; margin-bottom: 0.3rem; }
.benefit p { font-size: 0.85rem; color: #666; margin: 0; }

/* Modal Concepts List */
.concepts-list { display: flex; flex-direction: column; gap: 0.8rem; }
.concept { background: #f8f9fa; padding: 0.8rem 1rem; border-radius: 8px; font-size: 0.9rem; }
.concept strong { color: #302b63; }

/* Modal Commands */
.commands-section pre { background: #1a1a2e; border-radius: 10px; padding: 1.5rem; overflow-x: auto; }
.commands-section code { color: #00ff88; font-family: 'Consolas', monospace; font-size: 0.85rem; line-height: 1.8; }

/* Modal Learning Path */
.learning-path { display: flex; flex-direction: column; gap: 0.8rem; }
.path-step { display: flex; align-items: center; gap: 1rem; background: #f8f9fa; padding: 1rem; border-radius: 10px; }
.step-num { width: 30px; height: 30px; background: linear-gradient(90deg, #00d9ff, #00ff88); color: #1a1a2e; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; flex-shrink: 0; }

/* Modal Architecture Diagram */
.architecture-diagram { background: linear-gradient(135deg, #f8f9fa, #e9ecef); padding: 1.5rem; border-radius: 12px; }
.arch-layer { text-align: center; margin: 0.5rem 0; }
.arch-label { font-size: 0.75rem; color: #666; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.3rem; }
.arch-row { display: flex; justify-content: center; gap: 0.5rem; flex-wrap: wrap; }
.arch-box { padding: 0.6rem 1rem; border-radius: 6px; font-size: 0.8rem; font-weight: 500; min-width: 80px; text-align: center; }
.arch-arrow { text-align: center; color: #666; font-size: 1.2rem; margin: 0.2rem 0; }
.arch-note { font-size: 0.7rem; color: #888; font-style: italic; margin-top: 0.3rem; }
.user-box { background: #e9ecef; color: #333; border: 1px solid #ccc; }
.aws-orange { background: #ff9900; color: #fff; }
.aws-compute { background: #ff9900; color: #fff; }
.aws-lambda { background: #ff9900; color: #fff; }
.aws-db { background: #3b48cc; color: #fff; }
.aws-cache { background: #c925d1; color: #fff; }
.aws-storage { background: #3f8624; color: #fff; }
.azure-blue { background: #0078d4; color: #fff; }
.azure-security { background: #00a4ef; color: #fff; }
.azure-compute { background: #0078d4; color: #fff; }
.azure-msg { background: #5c2d91; color: #fff; }
.azure-db { background: #0078d4; color: #fff; }
.azure-storage { background: #0078d4; color: #fff; }
.gcp-red { background: #ea4335; color: #fff; }
.gcp-blue { background: #4285f4; color: #fff; }
.gcp-storage { background: #4285f4; color: #fff; }
.gcp-analytics { background: #669df6; color: #fff; }
.gcp-ml { background: #34a853; color: #fff; }
.gcp-viz { background: #fbbc04; color: #333; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    .hero-stats { flex-direction: column; gap: 1.5rem; }
    .nav-links { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: #1a1a2e; flex-direction: column; padding: 1rem; gap: 1rem; }
    .nav-links.active { display: flex; }
    .nav-toggle { display: block; }
    .phase-content { grid-template-columns: 1fr; }
    .tech-grid { grid-template-columns: 1fr; }
    .comparison-row { grid-template-columns: 1fr; }
    .comparison-cell { border-bottom: 1px solid #e9ecef; }
    .comparison-row.header { display: none; }
    .comparison-cell.category { font-weight: bold; background: #e9ecef; }
    .services-grid, .benefits-grid { grid-template-columns: 1fr; }
    .modal-content { margin: 0.5rem; }
    .labs-grid { grid-template-columns: 1fr; }
    .platforms-grid { grid-template-columns: 1fr 1fr; }
    .arch-box { font-size: 0.7rem; padding: 0.4rem 0.6rem; min-width: 60px; }
}

@media (max-width: 500px) {
    .platforms-grid { grid-template-columns: 1fr; }
}
