/* ================== CARDS - BETTER LIGHT MODE LAYOUT ================== */
.grid-item,
.price-card,
.testimonial-card,
.task-list,
.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.grid-item:hover,
.price-card:hover,
.testimonial-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(94, 59, 255, 0.12);
    border-color: var(--accent-color);
}

/* Better Card Content Spacing */
.grid-item {
    padding: 2.2rem;
}

.price-card {
    padding: 2.5rem 2rem;
}

/* ================== INPUTS - MODERN LIGHT MODE ================== */
input,
textarea,
select {
    background: #ffffff;
    border: 2px solid #a28efa;
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 1rem;
    color: var(--text-color);
    transition: all 0.3s ease;
    width: 100%;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(94, 59, 255, 0.1);
    background: #ffffff;
}

/* Placeholder Styling */
input::placeholder,
textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

/* Form Labels */
label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-secondary);
}

/* ================== BUTTONS ================== */
.btn,
.price-btn {
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover,
.price-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(94, 59, 255, 0.25);
}

.price-btn.primary {
    background: linear-gradient(45deg, var(--accent-color), var(--accent-light));
    color: white;
}

/* ================== GLOBAL STYLES ================== */
body {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    color: var(--text-color);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: background 0.6s ease, color 0.4s ease;
    line-height: 1.6;
}

/* ================== NAVBAR ================== */
.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--navbar-bg);
    opacity: 0.90;
    backdrop-filter: blur(12px);
    padding: 1.1rem 5%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.4s ease;
}

.desktop-nav h2 {
    color: var(--accent-color);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.lemon-icon svg {
    animation: gentle-rotate 6s infinite linear;
    position: relative;
    top: 5px;
}

@keyframes gentle-rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.2rem;
}

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

.nav-links a:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

.change-theme-btn {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(255, 215, 0, 0.2);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.change-theme-btn:active {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: scale(1.05);
}

/* Hamburger */
.hamburger {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--accent-color);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 75px;
    left: 0;
    width: 100%;
    background: var(--navbar-bg);
    padding: 25px;
    z-index: 999;
    gap: 15px;
    border-top: 1px solid var(--border-color);
}

.mobile-menu a {
    color: var(--text-color);
    text-decoration: none;
    padding: 12px 0;
    font-size: 1.15rem;
    transition: 0.3s;
}

.mobile-menu a:hover {
    color: var(--accent-color);
    padding-left: 10px;
}

/* Overlay for mobile */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 850;
}


/* ================== HERO SECTION ================== */
main {
    padding-top: 110px;
}

.hero-container {
    padding: 60px 20px 40px;
    text-align: center;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 20px;
    background: linear-gradient(to right, var(--accent-color), var(--accent-light));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.hero p {
    color: var(--text-secondary);
    font-size: 1.25rem;
    max-width: 680px;
    margin: 0 auto 30px;
    line-height: 1.7;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(45deg, var(--accent-color), var(--accent-alt));
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
    margin-top: 10px;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 215, 0, 0.4);
}

/* ================== STATS ================== */
.stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4rem;
    padding: 70px 5%;
    background: rgba(255, 255, 255, 0.08);
    text-align: center;
    border-top: 1px solid rgba(255, 215, 0, 0.15);
    border-bottom: 1px solid rgba(255, 215, 0, 0.15);
}

.stats div {
    font-size: 2.2rem;
    font-weight: 700;
    min-width: 180px;
}

.stats span {
    display: block;
    font-size: 1.05rem;
    font-weight: 400;
    opacity: 0.85;
    margin-top: 8px;
    color: var(--text-secondary);
}

/* Responsive for Stats */
@media (max-width: 768px) {
    .stats {
        gap: 2.5rem;
        padding: 50px 5%;
    }

    .stats div {
        font-size: 1.8rem;
        min-width: 140px;
    }
}

/* ================== FEATURES SECTION ================== */
.flex-content-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
}

.left-side-content {
    flex: 1 1 500px;
}

.right-side-content {
    flex: 1 1 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.right-side-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.right-side-content:hover img {
    transform: scale(1.08);
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.8rem;
}

.grid-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.2);
    padding: 2rem;
    border-radius: 18px;
    transition: all 0.4s ease;
}

.grid-item:hover {
    transform: translateY(-12px);
    background: rgba(255, 215, 0, 0.15);
    border-color: var(--accent-color);
    box-shadow: 0 15px 30px rgba(255, 215, 0, 0.2);
}

.grid-item h3 {
    color: var(--accent-color);
    margin-bottom: 12px;
    font-size: 1.35rem;
}

/* ================== HOW IT WORKS ================== */
.how-it-works {
    padding: 80px 5%;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
}

.how-it-works h2 {
    color: var(--accent-color);
    font-size: 2.6rem;
    margin-bottom: 50px;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.step {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px 25px;
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: all 0.4s ease;
}

.step:hover {
    transform: translateY(-15px);
    background: rgba(255, 215, 0, 0.12);
    border-color: var(--accent-color);
}

.step-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(45deg, var(--accent-color), var(--accent-alt));
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
}

.step h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

/* Responsive */
@media (max-width: 768px) {
    .steps-container {
        gap: 1.8rem;
    }
}

/* Testimonials */
.testimonials {
    padding: 80px 5%;
    background: rgba(0, 0, 0, 0.2);
    text-align: center;
}

.testimonials h2 {
    color: var(--accent-color);
    margin-bottom: 40px;
    font-size: 2.5rem;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 32px;
    border-radius: 20px;
    text-align: left;
    border: 1px solid rgba(255, 215, 0, 0.15);
    transition: 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 215, 0, 0.15);
    border-color: var(--accent-color);
    box-shadow: 0 15px 30px rgba(255, 215, 0, 0.2);
}

/* ================== PRICING ================== */
.pricing {
    padding: 90px 5%;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
}

.pricing h2 {
    color: var(--accent-color);
    font-size: 2.6rem;
    margin-bottom: 15px;
}

.pricing-subtitle {
    font-size: 1.25rem;
    margin-bottom: 50px;
    opacity: 0.9;
}

.pricing-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.price-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    width: 320px;
    transition: all 0.4s ease;
    position: relative;
}

.price-card:hover {
    transform: translateY(-15px);
    border-color: var(--accent-color);
}

.price-card.popular {
    border-color: var(--accent-color);
    transform: scale(1.08);
    background: rgba(255, 215, 0, 0.12);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: var(--primary-color);
    font-size: 0.9rem;
    padding: 6px 20px;
    border-radius: 30px;
    font-weight: 700;
}

.price-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.price {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--accent-color);
    margin: 20px 0;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.7;
}

.price-card ul {
    text-align: left;
    margin: 25px 0;
    line-height: 2.2;
}

.price-card ul li {
    margin-bottom: 8px;
}

.price-btn {
    display: inline-block;
    width: 100%;
    padding: 14px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    margin-top: 15px;
    transition: 0.3s;
}

.price-btn.primary {
    background: linear-gradient(45deg, var(--accent-color), var(--accent-alt));
    color: var(--primary-color);
    font-weight: 700;
}

.price-btn:hover {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    .price-card.popular {
        transform: scale(1.05);
    }
}

/* Final CTA */
.final-cta {
    text-align: center;
    padding: 110px 5%;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.12), transparent);
}

.final-cta h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.final-cta p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 30px;
}

/* ================== FOOTER ================== */
.footer {
    background: var(--navbar-bg);
    padding: 60px 20px 30px;
    margin-top: 60px;
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--accent-color);
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
    line-height: 2.1;
}

.footer-section a {
    color: var(--text-muted);
    text-decoration: none;
    transition: 0.3s;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-icons a {
    font-size: 1.6rem;
    transition: 0.3s;
}

.social-icons a:hover {
    transform: translateY(-5px) scale(1.2);
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-light-muted);
}

/* ================== RESPONSIVE ================== */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }

    .sidebar-overlay.active {
        display: block;
    }

    .hamburger {
        display: block;
    }

    .mobile-menu.active {
        display: flex;
    }
}

@media (max-width: 768px) {
    .hero-container {
        padding: 40px 15px;
    }

    .flex-content-container {
        padding: 20px 15px;
    }
}