﻿
/* General Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background: #0b1020;
    color: #ffffff;
}

/* Header */
.main-header {
    width: 100%;
    min-height: 80px;
    padding: 15px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #111a33;
    border-bottom: 1px solid #29385e;
}

/* Logo */
.logo {
    font-size: 25px;
    font-weight: bold;
    letter-spacing: 2px;
    color: #ffffff;
}

.logo-icon {
    color: #8b5cf6;
    font-size: 30px;
    margin-right: 8px;
}

/* Navigation */
.navbar {
    display: flex;
    gap: 25px;
}

    .navbar a {
        text-decoration: none;
        color: #cbd5e1;
        font-size: 15px;
        transition: 0.3s;
    }

        .navbar a:hover {
            color: #a78bfa;
        }

/* Header Buttons */
.header-buttons {
    display: flex;
    gap: 12px;
}

.login-btn,
.register-btn {
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.3s;
}

.login-btn {
    color: white;
    border: 1px solid #8b5cf6;
}

.register-btn {
    color: white;
    background: linear-gradient(90deg, #7c3aed, #2563eb);
}

    .login-btn:hover,
    .register-btn:hover {
        transform: translateY(-2px);
    }

/* Main Content */
.main-content {
    min-height: 550px;
    padding: 40px 5%;
}

/* Footer */
.main-footer {
    background: #111a33;
    border-top: 1px solid #29385e;
    text-align: center;
    padding: 35px 20px;
}

.footer-logo {
    font-size: 24px;
    font-weight: bold;
    color: #a78bfa;
    margin-bottom: 12px;
}

.main-footer p {
    color: #94a3b8;
    margin: 12px 0;
}

.footer-links {
    margin: 20px 0;
}

    .footer-links a {
        text-decoration: none;
        color: #cbd5e1;
        margin: 0 12px;
    }

        .footer-links a:hover {
            color: #a78bfa;
        }

.copyright {
    font-size: 13px;
}

/* Home Hero Section */

.hero-section {
    min-height: 570px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.hero-tag {
    display: inline-block;
    color: #a78bfa;
    background: #211b45;
    padding: 9px 16px;
    border-radius: 25px;
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.hero-content h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
}

    .hero-content h1 span {
        display: block;
        color: #8b5cf6;
    }

.hero-content > p {
    color: #aab5ca;
    font-size: 17px;
    line-height: 1.8;
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.start-btn,
.practice-btn {
    padding: 14px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
}

.start-btn {
    background: linear-gradient(90deg, #7c3aed, #2563eb);
    color: white;
}

.practice-btn {
    border: 1px solid #8b5cf6;
    color: white;
}

.hero-stats {
    display: flex;
    gap: 55px;
    margin-top: 55px;
}

    .hero-stats h2 {
        color: #a78bfa;
        font-size: 25px;
    }

    .hero-stats p {
        color: #94a3b8;
        font-size: 13px;
        margin-top: 5px;
    }

/* Typing Preview Card */

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.typing-card {
    width: 100%;
    max-width: 420px;
    background: #172344;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid #35466f;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

.typing-card-top {
    display: flex;
    justify-content: space-between;
    color: #a78bfa;
    font-size: 12px;
    margin-bottom: 45px;
}

.typing-card h2 {
    margin-bottom: 18px;
}

.typing-card > p {
    color: #b6c2d8;
    line-height: 1.8;
}

.typing-progress {
    height: 8px;
    background: #29385e;
    border-radius: 10px;
    margin: 30px 0;
}

    .typing-progress span {
        display: block;
        width: 65%;
        height: 100%;
        background: linear-gradient(90deg, #8b5cf6, #3b82f6);
        border-radius: 10px;
    }

.typing-info {
    display: flex;
    justify-content: space-between;
}

    .typing-info h2 {
        color: #a78bfa;
    }

    .typing-info p {
        color: #94a3b8;
        font-size: 13px;
    }
