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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #0a0a0a;
}

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

/* Navigation */
.navbar {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid #00ff41;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #00ff41;
}

.nav-logo i {
    margin-right: 10px;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-link:hover {
    color: #00ff41;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
    position: relative;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
    background: #ff6b35;
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
    background: #ff6b35;
}

.bar {
    width: 25px;
    height: 3px;
    background: #00ff41;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
    margin-top: 70px;
}

.hero-content {
    flex: 1;
    padding: 50px 20px 20px;
    max-width: 600px;
}

.hero h1 {
    font-size: 4rem;
    color: #00ff41;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(0, 255, 65, 0.5);
}

.hero p {
    font-size: 1.3rem;
    color: #ccc;
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 1.1rem !important;
    color: #888 !important;
    margin-bottom: 30px !important;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #00ff41;
    margin-bottom: 5px;
}

.stat-label {
    color: #ccc;
    font-size: 0.9rem;
}

.hero-benefits {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ccc;
    font-size: 0.95rem;
}

.benefit-item i {
    color: #00ff41;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(45deg, #00ff41, #00cc33);
    color: #000;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 255, 65, 0.3);
}

.hero-animation {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.code-lines {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #00ff41;
    border-radius: 10px;
    padding: 30px;
    font-family: 'Courier New', monospace;
    min-width: 300px;
}

.line {
    color: #00ff41;
    font-size: 1rem;
    margin: 15px 0;
    opacity: 0;
    animation: typewriter 3s infinite;
}

.line:nth-child(1) { animation-delay: 0s; }
.line:nth-child(2) { animation-delay: 1s; }
.line:nth-child(3) { animation-delay: 2s; }

@keyframes typewriter {
    0%, 30% { opacity: 0; transform: translateX(-20px); }
    40%, 90% { opacity: 1; transform: translateX(0); }
    100% { opacity: 0; transform: translateX(20px); }
}

/* Courses Section */
.courses {
    padding: 100px 0;
    background: #111;
}

.courses h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #00ff41;
    margin-bottom: 60px;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.course-card {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #333;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    cursor: default;
    position: relative;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.course-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #00ff41;
    color: #000;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.course-preview {
    flex-grow: 1;
    margin: 20px 0;
}

.course-card:hover {
    transform: translateY(-10px);
    border-color: #00ff41;
    box-shadow: 0 20px 40px rgba(0, 255, 65, 0.1);
}

.course-icon {
    font-size: 3rem;
    color: #00ff41;
    margin-bottom: 20px;
}

.course-card h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.course-card p {
    color: #ccc;
    margin-bottom: 20px;
    line-height: 1.6;
}

.course-stats {
    display: flex;
    justify-content: space-around;
    color: #888;
    font-size: 0.9rem;
}

.course-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.course-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #00ff41;
    color: #000;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.sample-commands {
    margin-top: 15px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 65, 0.3);
}

.command-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 8px 0;
    padding: 8px;
    background: rgba(0, 255, 65, 0.05);
    border-radius: 5px;
}

.command-item code {
    color: #00ff41;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    font-weight: bold;
}

.command-item span {
    color: #888;
    font-size: 0.7rem;
    font-style: italic;
}

.course-actions {
    margin-top: 20px;
}

.start-btn {
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(45deg, #00ff41, #00cc33);
    color: #000;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.start-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 255, 65, 0.3);
}

.start-btn:active {
    transform: translateY(0);
}

.course-card {
    position: relative;
}

/* About Section */
.about {
    padding: 100px 0;
    background: #0a0a0a;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #00ff41;
    margin-bottom: 60px;
}

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

.feature {
    text-align: center;
    padding: 30px;
}

.feature i {
    font-size: 3rem;
    color: #00ff41;
    margin-bottom: 20px;
}

.feature h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.feature p {
    color: #ccc;
    line-height: 1.6;
}

/* Google AdSense Section */
.ads-section {
    background: #0a0a0a;
    padding: 40px 0;
    border-top: 1px solid #333;
}

.ad-label {
    color: #666;
    font-size: 0.8rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.google-ad {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}

.adsbygoogle {
    display: block;
    margin: 0 auto;
}

/* Responsive Ad Sizes */
@media (max-width: 768px) {
    .ads-section {
        padding: 20px 0;
    }
}

/* Buy Me Coffee Button - Global */
.buy-me-coffee {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    background: linear-gradient(135deg, #ff813f, #ff6b35);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: pulse 2s infinite;
}

.buy-me-coffee:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.6);
    background: linear-gradient(135deg, #ff6b35, #ff5722);
}

.buy-me-coffee:active {
    transform: translateY(-1px);
}

.buy-me-coffee i {
    font-size: 16px;
    animation: bounce 1s infinite alternate;
}

@keyframes pulse {
    0% { box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4); }
    50% { box-shadow: 0 4px 25px rgba(255, 107, 53, 0.6); }
    100% { box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4); }
}

@keyframes bounce {
    0% { transform: translateY(0); }
    100% { transform: translateY(-2px); }
}

@media (max-width: 768px) {
    .buy-me-coffee {
        bottom: 15px;
        right: 15px;
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .buy-me-coffee i {
        font-size: 14px;
    }
}

/* Footer */
.footer {
    background: #000;
    color: #888;
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid #333;
    margin-top: 0;
}

.footer p {
    margin: 5px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.98);
        width: 100%;
        height: calc(100vh - 70px);
        text-align: center;
        transition: left 0.3s ease;
        padding: 30px 0;
        z-index: 1000;
        backdrop-filter: blur(10px);
        overflow-y: auto;
        border-top: 1px solid #333;
        display: flex;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu .nav-link {
        display: block;
        padding: 15px 20px;
        margin: 10px 0;
        border-bottom: 1px solid #333;
        font-size: 1.1rem;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        min-height: 80vh;
        margin-top: 70px;
    }
    
    .hero-content {
        padding: 30px 20px 20px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .hero-animation {
        margin-top: 30px;
        padding: 10px;
    }
    
    .code-lines {
        min-width: auto;
        width: 100%;
        padding: 20px;
    }
    
    .line {
        font-size: 0.9rem;
    }
    
    .course-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .course-card {
        padding: 20px;
        min-height: auto;
        display: flex;
        flex-direction: column;
    }
    
    .course-card h3 {
        font-size: 1.2rem;
    }
    
    .course-stats {
        flex-direction: column;
        gap: 8px;
        margin-top: auto;
        padding-top: 15px;
        border-top: 1px solid #333;
    }
    
    .course-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .search-box {
        min-width: auto;
    }
    
    .filter-buttons {
        justify-content: center;
    }
    
    #theme-toggle {
        width: 100%;
        justify-content: center;
    }
    
    .course-stats span {
        text-align: center;
        padding: 5px;
        background: rgba(0, 255, 65, 0.05);
        border-radius: 15px;
        font-size: 0.85rem;
    }
    
    .course-actions {
        margin-top: 15px;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    .start-btn, .review-btn {
        width: 100%;
        padding: 12px 20px;
        border-radius: 25px;
        font-weight: bold;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        transition: all 0.3s;
    }
    
    .start-btn {
        background: linear-gradient(45deg, #00ff41, #00cc33);
        color: #000;
        border: none;
    }
    
    .review-btn {
        background: transparent;
        border: 1px solid #00ff41;
        color: #00ff41;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .feature {
        padding: 20px;
    }
    
    .courses h2, .about h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 15px;
    }
    
    .nav-logo {
        font-size: 1.3rem;
    }
    
    .hero {
        padding: 15px;
        margin-top: 70px;
    }
    
    .hero-content {
        padding: 20px 15px 15px;
    }
    
    .hero h1 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 12px;
    }
    
    .hero-subtitle {
        font-size: 0.9rem !important;
        margin-bottom: 25px !important;
    }
    
    .cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .code-lines {
        padding: 15px;
    }
    
    .line {
        font-size: 0.8rem;
        margin: 10px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .courses, .about {
        padding: 60px 0;
    }
    
    .courses h2, .about h2 {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }
    
    .course-card {
        padding: 15px;
    }
    
    .course-card h3 {
        font-size: 1.1rem;
    }
    
    .course-card p {
        font-size: 0.9rem;
    }
    
    .course-stats {
        font-size: 0.8rem;
    }
    
    .feature {
        padding: 15px;
    }
    
    .feature h3 {
        font-size: 1.1rem;
    }
    
    .feature p {
        font-size: 0.9rem;
    }
}

/* Search Input Styles */
#course-search {
    width: 100%;
    padding: 12px 45px 12px 15px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #333;
    border-radius: 25px;
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

#course-search:focus {
    border-color: #00ff41;
}

#course-search::placeholder {
    color: #666;
}

.course-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    border: 1px solid #333;
    flex-wrap: wrap;
    gap: 15px;
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 250px;
}

.search-box i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    pointer-events: none;
}

.filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    background: transparent;
    border: 1px solid #333;
    color: #ccc;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.filter-btn:hover, .filter-btn.active {
    background: #00ff41;
    color: #000;
    border-color: #00ff41;
}

#theme-toggle {
    background: transparent;
    border: 1px solid #333;
    color: #ccc;
    padding: 10px 15px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
}

#theme-toggle:hover {
    background: #00ff41;
    color: #000;
    border-color: #00ff41;
}

/* Quick Start Section */
.quick-start {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
}

.quick-start h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #00ff41;
    margin-bottom: 50px;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: rgba(0, 255, 65, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 65, 0.2);
    transition: transform 0.3s;
}

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

.step-number {
    width: 50px;
    height: 50px;
    background: #00ff41;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    color: #fff;
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.step-content p {
    color: #ccc;
    margin: 0;
    font-size: 0.95rem;
}

.quick-start-cta {
    text-align: center;
}

.quick-start-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(45deg, #00ff41, #00cc33);
    color: #000;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.quick-start-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 255, 65, 0.3);
}

/* Preview Section */
.preview-section {
    padding: 80px 0;
    background: #0a0a0a;
}

.preview-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #00ff41;
    margin-bottom: 50px;
}

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

.preview-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #333;
    border-radius: 15px;
    transition: transform 0.3s, border-color 0.3s;
}

.preview-item:hover {
    transform: translateY(-5px);
    border-color: #00ff41;
}

.preview-item i {
    font-size: 3rem;
    color: #00ff41;
    margin-bottom: 20px;
}

.preview-item h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.preview-item p {
    color: #ccc;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .quick-start {
        padding: 60px 0;
    }
    
    .quick-start h2 {
        font-size: 2rem;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
    }
    
    .step-item {
        padding: 20px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .preview-section {
        padding: 60px 0;
    }
    
    .preview-section h2 {
        font-size: 2rem;
    }
    
    .preview-grid {
        grid-template-columns: 1fr;
    }
}

/* Success Stories Section */
.success-stories {
    padding: 80px 0;
    background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
}

.success-stories h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #00ff41;
    margin-bottom: 50px;
}

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

.success-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(0, 255, 65, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 65, 0.2);
    transition: transform 0.3s;
}

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

.success-icon {
    font-size: 3rem;
    color: #00ff41;
    margin-bottom: 20px;
}

.success-item h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.success-item p {
    color: #ccc;
    font-size: 0.95rem;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: #111;
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #00ff41;
    margin-bottom: 50px;
}

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

.testimonial-card {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #333;
    border-radius: 15px;
    padding: 30px;
    transition: transform 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: #00ff41;
}

.testimonial-content p {
    color: #ccc;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.author-info h4 {
    color: #00ff41;
    margin: 0;
}

.author-info span {
    color: #888;
    font-size: 0.9rem;
}

.rating {
    color: #ffd700;
}

.user-reviews-section {
    margin-bottom: 40px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    border: 1px solid #333;
}

.user-reviews-section h3 {
    color: #00ff41;
    margin-bottom: 20px;
}

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

@media (max-width: 768px) {
    .testimonials {
        padding: 60px 0;
    }
    
    .testimonials h2 {
        font-size: 2rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        padding: 20px;
    }
    
    .testimonial-author {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}