/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-700: #047857;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --white: #ffffff;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--slate-900);
    background-color: var(--white);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--slate-200);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo-img {
    height: 30px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--slate-600);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--emerald-600);
}

.nav-buttons {
    display: flex;
    gap: 0.75rem;
}

.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--slate-600);
    cursor: pointer;
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100%;
    background: var(--white);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    transition: right 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
}

.mobile-drawer.open {
    right: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.close-drawer-button {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--slate-600);
    cursor: pointer;
}

.drawer-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.drawer-links a {
    color: var(--slate-800);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--slate-100);
    transition: color 0.3s;
}

.drawer-links a:hover {
    color: var(--emerald-600);
}

/* Buttons */
.btn-ghost {
    padding: 0.5rem 1rem;
    background: transparent;
    border: none;
    color: var(--slate-600);
    font-weight: 500;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s;
}

.btn-ghost:hover {
    color: var(--emerald-600);
    background: var(--slate-50);
}

.btn-primary {
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--emerald-500), var(--teal-600));
    border: none;
    color: white;
    font-weight: 600;
    cursor: pointer;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--emerald-600), var(--teal-700));
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

.btn-large {
    padding: 0.875rem 2rem;
    font-size: 1.125rem;
}

.btn-outline {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 2px solid var(--slate-300);
    color: var(--slate-700);
    font-weight: 600;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s;
}

.btn-outline:hover {
    border-color: var(--emerald-500);
    color: var(--emerald-600);
}

.btn-outline-white {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 2px solid white;
    color: white;
    font-weight: 600;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s;
}

.btn-outline-white:hover {
    background: white;
    color: var(--slate-900);
}

/* Hero Section */
.hero {
    padding: 8rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdfa 50%, #eff6ff 100%);
    opacity: 0.7;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-left {
    animation: fadeInLeft 1s ease-out;
}

.hero-badge {
    display: inline-block;
    background: #d1fae5;
    color: #065f46;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--slate-900);
}

.gradient-text {
    background: linear-gradient(135deg, var(--emerald-500), var(--teal-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--slate-600);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-social-proof {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-top: 1rem;
}

.avatar-group {
    display: flex;
    margin-left: -0.5rem;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--emerald-400), var(--teal-500));
    border: 2px solid white;
    margin-left: -0.5rem;
}

.stars {
    color: #fbbf24;
    font-size: 1.25rem;
}

.rating-info p {
    font-size: 0.875rem;
    color: var(--slate-600);
    font-weight: 500;
}

.hero-right {
    animation: fadeInRight 1s ease-out;
}

.hero-image-container {
    position: relative;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.hero-card {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    background: white;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: float 3s ease-in-out infinite;
}

.card-icon {
    width: 48px;
    height: 48px;
    background: #d1fae5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-600);
    font-size: 1.25rem;
}

.card-label {
    font-size: 0.875rem;
    color: var(--slate-600);
}

.card-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--slate-900);
}

/* Stats Section */
.stats-section {
    padding: 4rem 0;
    background: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.stat-icon {
    font-size: 3rem;
    color: var(--emerald-600);
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--slate-600);
    font-weight: 500;
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background: linear-gradient(to bottom, white, var(--slate-50));
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.25rem;
    color: var(--slate-600);
    max-width: 48rem;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--emerald-500), var(--teal-600));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 0.75rem;
}

.feature-description {
    color: var(--slate-600);
    line-height: 1.7;
}

/* How It Works Section */
.how-it-works-section {
    padding: 5rem 0;
    background: white;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.step-card {
    background: linear-gradient(135deg, #ecfdf5, #f0fdfa);
    padding: 2rem;
    border-radius: 1rem;
    border: 2px solid #d1fae5;
    transition: all 0.3s;
    position: relative;
}

.step-card:hover {
    border-color: var(--emerald-300);
}

.step-number {
    font-size: 4rem;
    font-weight: 700;
    color: #d1fae5;
    margin-bottom: 1rem;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 0.75rem;
}

.step-description {
    color: var(--slate-600);
    line-height: 1.7;
}

/* Visual Section */
.visual-section {
    padding: 5rem 0;
    background: linear-gradient(to bottom, var(--slate-50), white);
}

.visual-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.visual-image img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.visual-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 1.5rem;
}

.visual-description {
    font-size: 1.125rem;
    color: var(--slate-600);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--slate-700);
}

.benefit-item i {
    color: var(--emerald-600);
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1a2a6c, #2b5876, #4e4376);
    color: white;
}

.testimonials-section .section-title {
    color: white;
}

.testimonials-section .section-description {
    color: #e0f2fe;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-left: 4px solid #3b82f6;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.15);
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.testimonial-quote {
    font-style: italic;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.testimonial-author {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
}

.author-name {
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
}

.author-role {
    color: #e0f2fe;
    font-size: 0.875rem;
}

/* Benefits Section */
.benefits-section {
    padding: 5rem 0;
    background: white;
}

.benefits-full-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.benefit-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #ecfdf5, #f0fdfa);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid #d1fae5;
}

.benefit-badge i {
    color: var(--emerald-600);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.benefit-badge span {
    color: var(--slate-700);
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--slate-900), #1a2a3a);
    color: white;
}

.cta-content {
    text-align: center;
}

.cta-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-description {
    font-size: 1.25rem;
    color: var(--slate-300);
    max-width: 42rem;
    margin: 0 auto 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.cta-note {
    color: var(--slate-400);
    font-size: 0.875rem;
}

/* Footer */
.footer {
    background: var(--slate-900);
    color: var(--slate-300);
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--slate-400);
    line-height: 1.7;
}

.footer-title {
    color: white;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--slate-400);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--emerald-400);
}

.footer-bottom {
    border-top: 1px solid var(--slate-800);
    padding-top: 2rem;
    text-align: center;
    color: var(--slate-500);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.social-icons a {
    color: var(--slate-400);
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--emerald-400);
}

/* Parallax and Scrolling Effects */
.parallax-section {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.perforated-section {
    position: relative;
    background-color: var(--slate-100);
}

.perforated-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--slate-100));
    z-index: 1;
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content,
    .visual-content {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-buttons {
        display: none;
    }
    
    .mobile-menu-button {
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
    }
    
    .stats-grid,
    .features-grid,
    .steps-grid,
    .testimonials-grid,
    .benefits-full-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
    }
}



/* Learn Section */
.learn-section {
    padding: 5rem 0;
    background: var(--slate-50);
}

.learn-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.learn-list li {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.learn-list li:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.learn-list li a {
    text-decoration: none;
    color: var(--slate-700);
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-grow: 1;
}

.learn-list li a i {
    color: var(--emerald-600);
    font-size: 1.5rem;
}

.learn-list li a:hover {
    color: var(--emerald-700);
}



/* Review Page Styles */
.review-page-section {
    padding: 8rem 0 5rem;
    background: linear-gradient(to bottom, var(--slate-50), white);
    min-height: 100vh;
}

.review-page-content {
    max-width: 900px;
    margin: 0 auto;
}

/* Login Prompt */
.login-prompt {
    background: white;
    padding: 4rem 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.prompt-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--emerald-500), var(--teal-600));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: white;
    font-size: 2.5rem;
}

.login-prompt h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 1rem;
}

.login-prompt p {
    font-size: 1.125rem;
    color: var(--slate-600);
    margin-bottom: 2rem;
}

.prompt-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Review Form Container */
.review-form-container {
    animation: fadeIn 0.5s ease-in;
}

.review-header {
    text-align: center;
    margin-bottom: 3rem;
}

.review-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 1rem;
}

.review-description {
    font-size: 1.125rem;
    color: var(--slate-600);
    max-width: 600px;
    margin: 0 auto;
}

.review-form-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

/* Review Form */
.review-form {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.user-info-display {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #ecfdf5, #f0fdfa);
    border-radius: 12px;
    margin-bottom: 2rem;
}

.user-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--emerald-500), var(--teal-600));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
}

.user-details {
    flex-grow: 1;
}

.user-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 0.25rem;
}

.user-label {
    font-size: 0.875rem;
    color: var(--emerald-600);
    font-weight: 600;
}

.form-group {
    margin-bottom: 2rem;
}

.form-label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--slate-700);
    margin-bottom: 0.75rem;
}

/* Star Rating */
.star-rating {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.star-rating i {
    font-size: 2.5rem;
    color: #cbd5e1;
    cursor: pointer;
    transition: all 0.2s;
}

.star-rating i:hover,
.star-rating i.hover {
    color: #fbbf24;
    transform: scale(1.1);
}

.star-rating i.active {
    color: #fbbf24;
}

.rating-text {
    font-size: 0.875rem;
    color: var(--slate-600);
    font-weight: 500;
}

/* Form Inputs */
.form-input,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--slate-200);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    color: var(--slate-900);
    transition: all 0.3s;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--emerald-500);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
}

.character-count {
    text-align: right;
    font-size: 0.875rem;
    color: var(--slate-500);
    margin-top: 0.5rem;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

/* Success and Error Messages */
.success-message,
.error-message {
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: slideDown 0.3s ease-out;
}

.success-message {
    background: #d1fae5;
    color: #065f46;
    border: 2px solid #10b981;
}

.error-message {
    background: #fee2e2;
    color: #991b1b;
    border: 2px solid #ef4444;
}

.success-message i,
.error-message i {
    font-size: 1.5rem;
}

.success-message p,
.error-message p {
    margin: 0;
    font-weight: 600;
}

/* Recent Reviews */
.recent-reviews {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.recent-reviews-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 2rem;
}

.recent-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.loading-reviews {
    text-align: center;
    padding: 3rem 0;
    color: var(--slate-500);
}

.loading-reviews i {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.review-item {
    padding: 1.5rem;
    background: var(--slate-50);
    border-radius: 12px;
    border-left: 4px solid var(--emerald-500);
    transition: all 0.3s;
}

.review-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.review-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.review-item-user {
    font-weight: 700;
    color: var(--slate-900);
    font-size: 1.125rem;
}

.review-item-stars {
    color: #fbbf24;
    font-size: 1rem;
}

.review-item-title {
    font-weight: 600;
    color: var(--slate-800);
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.review-item-message {
    color: var(--slate-600);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.review-item-date {
    font-size: 0.875rem;
    color: var(--slate-500);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design for Review Page */
@media (max-width: 768px) {
    .review-page-section {
        padding: 6rem 0 3rem;
    }

    .review-title {
        font-size: 2rem;
    }

    .review-form,
    .recent-reviews {
        padding: 1.5rem;
    }

    .prompt-buttons {
        flex-direction: column;
    }

    .star-rating i {
        font-size: 2rem;
    }
}



/* Average Rating Styles */
.average-rating-container {
    margin: 3rem 0;
    display: flex;
    justify-content: center;
}

.average-rating-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    max-width: 800px;
    width: 100%;
}

.average-rating-score {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #ecfdf5, #f0fdfa);
    border-radius: 12px;
}

.rating-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--slate-900);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.rating-stars {
    font-size: 2rem;
    color: #fbbf24;
    margin-bottom: 0.75rem;
}

.rating-count {
    font-size: 0.875rem;
    color: var(--slate-600);
    font-weight: 500;
}

.rating-breakdown {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

.rating-bar {
    display: grid;
    grid-template-columns: 50px 1fr 50px;
    gap: 1rem;
    align-items: center;
}

.rating-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--slate-700);
}

.rating-bar-container {
    height: 10px;
    background: var(--slate-200);
    border-radius: 5px;
    overflow: hidden;
}

.rating-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    border-radius: 5px;
    transition: width 0.5s ease;
}

.rating-percentage {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--slate-600);
    text-align: right;
}

/* Write Review Action */
.write-review-action {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

/* Review Form Header */
.review-form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--slate-200);
}

.review-form-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--slate-900);
}

.close-form-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--slate-500);
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s;
    border-radius: 8px;
}

.close-form-btn:hover {
    background: var(--slate-100);
    color: var(--slate-900);
}

/* All Reviews Section */
.all-reviews-section {
    margin-top: 4rem;
}

.all-reviews-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 2rem;
    text-align: center;
}

.all-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.load-more-container {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

/* Responsive Design for Average Rating */
@media (max-width: 768px) {
    .average-rating-card {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }

    .rating-number {
        font-size: 3rem;
    }

    .rating-stars {
        font-size: 1.5rem;
    }

    .rating-bar {
        grid-template-columns: 40px 1fr 45px;
        gap: 0.75rem;
    }
}

