/* ================================
   RISE - Main Website Styling
   ================================ */

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

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f7f8fc;
    color: #1f2937;
    line-height: 1.6;
}

/* ================================
   NAVIGATION
   ================================ */

.navbar {
    width: 100%;
    padding: 20px 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    border-bottom: 1px solid #eeeeee;
}

.logo {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 3px;
    color: #5b4bdb;
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    text-decoration: none;
    color: #4b5563;
    font-size: 15px;
    font-weight: 500;
}

.nav-links a:hover {
    color: #5b4bdb;
}

.signin-btn {
    padding: 11px 24px;
    border: none;
    border-radius: 25px;
    background: #5b4bdb;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.signin-btn:hover {
    background: #4939c5;
}

/* ================================
   HERO SECTION
   ================================ */

.hero {
    min-height: 620px;
    padding: 80px 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    background: linear-gradient(135deg, #f7f8fc, #eeeaff);
}

.hero-content {
    max-width: 620px;
}

.small-title {
    color: #5b4bdb;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 55px;
    line-height: 1.15;
    margin-bottom: 25px;
    color: #202124;
}

.hero h1 span {
    color: #5b4bdb;
}

.hero-text {
    font-size: 17px;
    color: #6b7280;
    max-width: 570px;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.primary-btn,
.secondary-btn {
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.primary-btn {
    border: none;
    background: #5b4bdb;
    color: white;
    text-decoration: none;
    display: inline-block;
}

.primary-btn:hover {
    background: #4939c5;
}

.secondary-btn {
    background: white;
    border: 2px solid #5b4bdb;
    color: #5b4bdb;
}

.secondary-btn:hover {
    background: #f0edff;
}

/* ================================
   HERO VISUAL
   ================================ */

.hero-visual {
    position: relative;
    width: 420px;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circle {
    width: 290px;
    height: 290px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 20px 60px rgba(91, 75, 219, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
}

.brain-icon {
    font-size: 110px;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 13px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    font-weight: 600;
    font-size: 14px;
}

.card-one {
    top: 55px;
    left: 0;
}

.card-two {
    bottom: 70px;
    left: 20px;
}

.card-three {
    top: 170px;
    right: 0;
}

/* ================================
   FEATURES
   ================================ */

.features {
    padding: 90px 7%;
    background: white;
}

.section-heading {
    text-align: center;
    margin-bottom: 55px;
}

.section-heading p {
    color: #5b4bdb;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-heading h2 {
    font-size: 38px;
    color: #202124;
}

.feature-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.feature-card {
    padding: 30px 25px;
    border-radius: 20px;
    background: #f8f8fc;
    border: 1px solid #eeeeee;
    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    font-size: 38px;
    margin-bottom: 18px;
}

.feature-card h3 {
    font-size: 19px;
    margin-bottom: 10px;
}

.feature-card p {
    color: #6b7280;
    font-size: 14px;
}

/* ================================
   HOW IT WORKS
   ================================ */

.how-it-works {
    padding: 90px 7%;
    background: #f7f8fc;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: auto;
}

.step {
    text-align: center;
    padding: 25px;
}

.step-number {
    width: 55px;
    height: 55px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #5b4bdb;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.step h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.step p {
    color: #6b7280;
    font-size: 14px;
}

/* ================================
   FOOTER
   ================================ */

footer {
    padding: 45px 7%;
    background: #202124;
    color: white;
    text-align: center;
}

footer .logo {
    margin-bottom: 10px;
}

footer p {
    color: #c5c7cc;
    font-size: 14px;
}

footer .copyright {
    margin-top: 20px;
    font-size: 12px;
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */

@media (max-width: 900px) {

    .nav-links {
        display: none;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 60px;
    }

    .hero-text {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .feature-container {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 600px) {

    .hero h1 {
        font-size: 38px;
    }

    .hero-visual {
        width: 320px;
        height: 320px;
    }

    .circle {
        width: 220px;
        height: 220px;
    }

    .brain-icon {
        font-size: 80px;
    }

    .feature-container,
    .steps {
        grid-template-columns: 1fr;
    }

}
/* ================================
   SIGNUP PAGE
   ================================ */

.signup-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f7f8fc, #eeeaff);
}

.signup-box {
    width: 100%;
    max-width: 500px;
    padding: 45px;
    background: white;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.signup-box .logo {
    text-align: center;
    margin-bottom: 25px;
}

.signup-box h1 {
    text-align: center;
    font-size: 32px;
    color: #202124;
    margin-bottom: 10px;
}

.signup-subtitle {
    text-align: center;
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 30px;
}

.signup-box form {
    display: flex;
    flex-direction: column;
}

.signup-box label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 7px;
}

.signup-box input,
.signup-box select {
    width: 100%;
    padding: 13px 15px;
    margin-bottom: 18px;
    border: 1px solid #d9d9e3;
    border-radius: 10px;
    font-size: 14px;
    outline: none;
    background: white;
}

.signup-box input:focus,
.signup-box select:focus {
    border-color: #5b4bdb;
    box-shadow: 0 0 0 3px rgba(91, 75, 219, 0.1);
}

.signup-box form .primary-btn {
    width: 100%;
    margin-top: 8px;
    border: none;
}

.login-text {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    color: #6b7280;
}

.login-text a {
    color: #5b4bdb;
    font-weight: 600;
    text-decoration: none;
}

.login-text a:hover {
    text-decoration: underline;
}

/* Signup page mobile */

@media (max-width: 600px) {

    .signup-box {
        padding: 30px 22px;
    }

    .signup-box h1 {
        font-size: 27px;
    }

}
.signin-link {
    display: inline-block;
    color: #5b4bdb;
    text-decoration: underline;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    z-index: 10;
}
/* ================================
   DASHBOARD
   ================================ */

.dashboard-welcome {
    padding: 80px 7%;
    background: linear-gradient(135deg, #f7f8fc, #eeeaff);
}

.dashboard-welcome h1 {
    font-size: 45px;
    line-height: 1.2;
    color: #202124;
    margin-bottom: 20px;
}

.dashboard-welcome h1 span {
    color: #5b4bdb;
}

.dashboard-welcome > div {
    max-width: 800px;
}

.dashboard-welcome > div > p:last-child {
    max-width: 650px;
    color: #6b7280;
    font-size: 16px;
}

.dashboard-section {
    padding: 80px 7%;
    background: white;
}

.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.dashboard-card {
    padding: 30px 25px;
    border-radius: 20px;
    background: #f8f8fc;
    border: 1px solid #eeeeee;
    transition: 0.3s;
}

.dashboard-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.dashboard-icon {
    font-size: 40px;
    margin-bottom: 18px;
}

.dashboard-card h3 {
    font-size: 19px;
    margin-bottom: 10px;
}

.dashboard-card p {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 22px;
}

.dashboard-card .primary-btn {
    border: none;
    width: 100%;
    text-align: center;
}

.progress-section {
    background: #f7f8fc;
}

.progress-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1000px;
    margin: auto;
}

.progress-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid #eeeeee;
}

.progress-card h3 {
    margin-bottom: 20px;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    width: 10%;
    height: 100%;
    background: #5b4bdb;
    border-radius: 10px;
}

.progress-card p {
    color: #6b7280;
    font-size: 14px;
}

.progress-number {
    font-size: 30px;
    font-weight: 700;
    color: #5b4bdb;
    margin-bottom: 8px;
}


/* Dashboard responsive design */

@media (max-width: 900px) {

    .dashboard-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .progress-container {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 600px) {

    .dashboard-welcome h1 {
        font-size: 34px;
    }

    .dashboard-cards {
        grid-template-columns: 1fr;
    }

}
/* =========================
   SPEAKING PRACTICE PAGE
   ========================= */

.practice-page {
    padding: 70px 8%;
    min-height: 70vh;
    background: #f8f7ff;
}

.practice-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 40px;
}

.small-title {
    color: #5b4bdb;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.practice-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
    color: #222;
}

.practice-header p {
    color: #666;
    font-size: 17px;
    line-height: 1.6;
}

.speaking-card {
    max-width: 850px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.practice-label {
    color: #5b4bdb;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
}

.speaking-card h2 {
    font-size: 28px;
    color: #222;
    margin-bottom: 12px;
}

.prompt-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.recording-area {
    text-align: center;
    padding: 35px 20px;
    background: #f4f2ff;
    border-radius: 16px;
    margin-bottom: 30px;
}

.microphone-icon {
    font-size: 55px;
    margin-bottom: 10px;
}

.recording-area h3 {
    font-size: 22px;
    margin-bottom: 8px;
    color: #222;
}

.recording-area p {
    color: #666;
    margin-bottom: 20px;
}

.record-btn {
    border: none;
    background: #5b4bdb;
    color: white;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.record-btn:hover {
    opacity: 0.9;
}

.speaking-tips {
    padding: 25px;
    border-radius: 15px;
    background: #fafafa;
}

.speaking-tips h3 {
    color: #333;
    margin-bottom: 15px;
}

.speaking-tips ul {
    padding-left: 20px;
    color: #666;
    line-height: 1.8;
}

.back-dashboard {
    text-align: center;
    margin-top: 30px;
}


/* Responsive Speaking Page */

@media (max-width: 768px) {

    .practice-page {
        padding: 50px 5%;
    }

    .practice-header h1 {
        font-size: 32px;
    }

    .speaking-card {
        padding: 25px;
    }

    .speaking-card h2 {
        font-size: 23px;
    }

}
/* =========================
   ABOUT SECTION
   ========================= */

.about-section {
    padding: 90px 8%;
    background: #f8f7ff;
}

.about-content {
    max-width: 850px;
    margin: auto;
    text-align: center;
}

.about-content h2 {
    font-size: 38px;
    color: #222;
    margin-bottom: 25px;
}

.about-content p:not(.small-title) {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
}


/* =========================
   CONTACT SECTION
   ========================= */

.contact-section {
    padding: 90px 8%;
    background: white;
}

.contact-content {
    max-width: 750px;
    margin: auto;
    text-align: center;
}

.contact-content h2 {
    font-size: 38px;
    color: #222;
    margin-bottom: 20px;
}

.contact-content > p:not(.small-title) {
    color: #666;
    font-size: 16px;
    line-height: 1.7;
}

.contact-info {
    margin-top: 30px;
    padding: 25px;
    background: #f8f7ff;
    border-radius: 15px;
}

.contact-info p {
    color: #555;
    margin: 10px 0;
}


/* =========================
   SMOOTH NAVIGATION
   ========================= */

html {
    scroll-behavior: smooth;
}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 600px) {

    .about-content h2,
    .contact-content h2 {
        font-size: 30px;
    }

    .about-section,
    .contact-section {
        padding: 60px 5%;
    }

}