/* ================ COLOR SCHEME ================ */
/* Primary: #7ec800 (green) */
/* Secondary: #b8ff3d (light green) */
/* Light Mode: #ffffff (white), #f5f5f5 (light gray) */
/* Dark Mode: #0a0a0a (black), #141414 (dark gray) */

/* ================ TYPOGRAPHY ================ */
/* Font: Segoe UI (system font stack for cross-platform compatibility) */
/* Line height: 1.6 for better readability */

/* ================ BASE STYLES ================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #ffffff;
    color: #1a1a1a;
    line-height: 1.6;
    transition: all 0.3s ease;
}

body.dark-mode {
    background-color: #0a0a0a;
    color: #ffffff;
}

/* ================ HEADER STYLES ================ */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: #ffffff;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

body.dark-mode header {
    background-color: #0a0a0a;
    border-bottom-color: #1a1a1a;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.3rem;
    font-weight: bold;
}

body.dark-mode .logo {
    color: #ffffff;
}

.logo-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #b8ff3d, #7ec800);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

body.dark-mode nav a {
    color: #ffffff;
}

nav a:hover {
    color: #7ec800;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.theme-toggle {
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s;
    color: #1a1a1a;
}

body.dark-mode .theme-toggle {
    background: #1a1a1a;
    border-color: #2a2a2a;
    color: #ffffff;
}

.theme-toggle:hover {
    transform: scale(1.1);
}

.btn-signup {
    color: #1a1a1a;
    background: transparent;
    border: 1px solid #e0e0e0;
    padding: 0.6rem 1.5rem;
    cursor: pointer;
    font-size: 0.95rem;
    border-radius: 25px;
    transition: all 0.3s;
}

body.dark-mode .btn-signup {
    color: #ffffff;
    border-color: #2a2a2a;
}

.btn-signup:hover {
    border-color: #1c2114;
}

.btn-login {
    background: linear-gradient(135deg, #b8ff3d, #7ec800);
    color: #0a0a0a;
    border: none;
    padding: 0.6rem 1.8rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.2s;
}

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

/* ================ COMMON SECTION STYLES ================ */
.section-header {
    max-width: 700px;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title .highlight,
.hero-title .highlight,
.login-title,
.signup-title {
    background: linear-gradient(135deg, #b8ff3d, #7ec800);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    color: #666;
    font-size: 1.05rem;
}

body.dark-mode .section-subtitle {
    color: #999;
}

/* ================ HERO SECTION (Home Page) ================ */
.hero-section {
    padding: 8rem 5% 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

body.dark-mode .hero-tag {
    background: #141414;
    border-color: #1a1a1a;
}

.hero-tag i {
    color: #7ec800;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-description {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

body.dark-mode .hero-description {
    color: #999;
}

.hero-cta {
    background: linear-gradient(135deg, #b8ff3d, #7ec800);
    color: #0a0a0a;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.2s;
}

.hero-cta:hover {
    transform: scale(1.05);
}

/* ================ STATS GRID (Home Page) ================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s;
}

body.dark-mode .stat-card {
    background: #141414;
    border-color: #1a1a1a;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #b8ff3d, #7ec800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-info h3 {
    font-size: 1.8rem;
    background: linear-gradient(135deg, #b8ff3d, #7ec800);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-info p {
    color: #666;
    font-size: 0.9rem;
}

body.dark-mode .stat-info p {
    color: #999;
}

/* ================ PRODUCTS SECTION (Home Page) ================ */
.products-section {
    padding: 6rem 5%;
}

.section-tabs {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tab-btn {
    padding: 0.7rem 1.8rem;
    border-radius: 25px;
    border: 1px solid #e0e0e0;
    background: transparent;
    color: #1a1a1a;
    cursor: pointer;
    transition: all 0.3s;
}

body.dark-mode .tab-btn {
    border-color: #2a2a2a;
    color: #ffffff;
}

.tab-btn.active {
    background: linear-gradient(135deg, #b8ff3d, #7ec800);
    color: #0a0a0a;
    border-color: transparent;
}

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

.product-card {
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    transition: transform 0.3s;
}

body.dark-mode .product-card {
    background: #141414;
    border-color: #1a1a1a;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #b8ff3d, #7ec800);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 2rem;
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.product-card p {
    color: #666;
    line-height: 1.8;
}

body.dark-mode .product-card p {
    color: #999;
}

/* ================ TESTIMONIALS SECTION ================ */
.testimonials-section {
    padding: 6rem 5%;
    background: #fafafa;
}

body.dark-mode .testimonials-section {
    background: #0a0a0a;
}

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

.testimonial-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 2.5rem;
}

body.dark-mode .testimonial-card {
    background: #141414;
    border-color: #1a1a1a;
}

.quote-icon {
    font-size: 3rem;
    color: #b8ff3d;
    opacity: 0.3;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.8;
}

body.dark-mode .testimonial-text {
    color: #999;
}

.testimonial-author {
    font-weight: 600;
    background: linear-gradient(135deg, #b8ff3d, #7ec800);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ================ CTA SECTION ================ */
.cta-section {
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 4rem;
    text-align: center;
    margin: 4rem 5%;
}

body.dark-mode .cta-section {
    background: #141414;
    border-color: #1a1a1a;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    color: #666;
    margin-bottom: 2rem;
}

body.dark-mode .cta-section p {
    color: #999;
}

/* ================ ABOUT PAGE SPECIFIC STYLES ================ */
/* Hero Section (About Page) */
.hero-section.about {
    padding: 8rem 5% 6rem;
    position: relative;
}

.dotted-pattern {
    position: absolute;
    right: 5%;
    top: 10%;
    width: 200px;
    height: 200px;
    background-image: radial-gradient(circle, #e0e0e0 1px, transparent 1px);
    background-size: 15px 15px;
    opacity: 0.5;
}

body.dark-mode .dotted-pattern {
    background-image: radial-gradient(circle, #1a1a1a 1px, transparent 1px);
}

.hero-content h3 {
    color: #999;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

body.dark-mode .hero-content h3 {
    color: #999;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    filter: grayscale(100%);
}

/* Mission & Vision Section */
.mission-vision-section {
    padding: 6rem 5%;
    background: #fafafa;
}

body.dark-mode .mission-vision-section {
    background: #0a0a0a;
}

.mission-vision-grid {
    display: grid;
    gap: 4rem;
}

.mission-item,
.vision-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.mission-item .content {
    order: 1;
}

.mission-item .image {
    order: 2;
}

.vision-item .content {
    order: 2;
}

.vision-item .image {
    order: 1;
}

.content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.content p {
    color: #666;
    line-height: 1.8;
}

body.dark-mode .content p {
    color: #999;
}

.image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    filter: grayscale(100%);
}

/* Press Releases Section */
.press-section {
    padding: 6rem 5%;
    background: #ffffff;
}

body.dark-mode .press-section {
    background: #0a0a0a;
}

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

.press-card {
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s;
}

body.dark-mode .press-card {
    background: #141414;
    border-color: #1a1a1a;
}

.press-card:hover {
    transform: translateY(-10px);
}

.press-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    filter: grayscale(100%);
}

.press-content {
    padding: 2rem;
}

.press-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.press-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
    color: #999;
    font-size: 0.9rem;
}

.press-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.press-content p {
    color: #666;
    line-height: 1.8;
    font-size: 0.95rem;
}

body.dark-mode .press-content p {
    color: #999;
}

/* ================ LOGIN/SIGNUP PAGE STYLES ================ */
.login-section,
.signup-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.login-container,
.signup-container {
    max-width: 600px;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 1;
}

.login-subtitle,
.signup-subtitle {
    color: #666;
    margin-bottom: 3rem;
}

body.dark-mode .login-subtitle,
body.dark-mode .signup-subtitle {
    color: #999;
}

.login-form,
.signup-form {
    background: #f5f5f5;
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

body.dark-mode .login-form,
body.dark-mode .signup-form {
    background: #141414;
    border-color: #1a1a1a;
}

.input-group {
    margin-bottom: 1.5rem;
    position: relative;
    text-align: left;
}

.input-group.full-width {
    grid-column: 1 / -1;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 1rem 1.2rem;
    background: #ffffff;
    border: 1px solid #d0d0d0;
    border-radius: 10px;
    color: #1a1a1a;
    font-size: 1rem;
    transition: all 0.3s;
}

body.dark-mode .input-group input,
body.dark-mode .input-group select {
    background: #0a0a0a;
    border-color: #2a2a2a;
    color: #ffffff;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: #b8ff3d;
}

.input-group input::placeholder {
    color: #999;
}

body.dark-mode .input-group input::placeholder {
    color: #666;
}

.input-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

body.dark-mode .input-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
}

.input-group select option {
    background: #ffffff;
    color: #1a1a1a;
}

body.dark-mode .input-group select option {
    background: #0a0a0a;
    color: #ffffff;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 1.1rem;
}

body.dark-mode .password-toggle {
    color: #666;
}

.forgot-password {
    text-align: right;
    margin-bottom: 2rem;
}

.forgot-password a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

body.dark-mode .forgot-password a {
    color: #999;
}

.forgot-password a:hover {
    color: #7ec800;
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #b8ff3d, #7ec800);
    color: #0a0a0a;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
    margin-bottom: 1rem;
}

.btn-submit:hover {
    transform: scale(1.02);
}

.btn-secondary-signup {
    width: 100%;
    padding: 1rem;
    background: #e0e0e0;
    color: #1a1a1a;
    border: 1px solid #d0d0d0;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

body.dark-mode .btn-secondary-signup {
    background: #1a1a1a;
    color: #ffffff;
    border-color: #2a2a2a;
}

.btn-secondary-signup:hover {
    background: #d0d0d0;
}

body.dark-mode .btn-secondary-signup:hover {
    background: #2a2a2a;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin: 1.5rem 0;
    text-align: left;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.3rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #b8ff3d;
}

.checkbox-group label {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

body.dark-mode .checkbox-group label {
    color: #999;
}

.checkbox-group a {
    color: #7ec800;
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

.divider {
    display: flex;
    align-items: center;
    margin: 2rem 0;
    color: #999;
}

body.dark-mode .divider {
    color: #666;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #d0d0d0;
}

body.dark-mode .divider::before,
body.dark-mode .divider::after {
    border-bottom-color: #2a2a2a;
}

.divider span {
    padding: 0 1rem;
    font-size: 0.9rem;
}

.social-login {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid #d0d0d0;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1.3rem;
    color: #7ec800;
}

body.dark-mode .social-btn {
    border-color: #2a2a2a;
    background: #0a0a0a;
}

.social-btn:hover {
    background: #f5f5f5;
    border-color: #7ec800;
}

body.dark-mode .social-btn:hover {
    background: #1a1a1a;
}

/* ================ FOOTER STYLES ================ */
footer {
    background: #fafafa;
    padding: 4rem 5% 2rem;
    border-top: 1px solid #e0e0e0;
}

body.dark-mode footer {
    background: #0a0a0a;
    border-top-color: #1a1a1a;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.3rem;
    font-weight: bold;
}

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

.footer-nav a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s;
}

body.dark-mode .footer-nav a {
    color: #ffffff;
}

.footer-nav a:hover {
    color: #7ec800;
}

.footer-contact {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
}

body.dark-mode .contact-item {
    color: #999;
}

.contact-item i {
    color: #7ec800;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

body.dark-mode .footer-bottom {
    border-top-color: #1a1a1a;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #b8ff3d, #7ec800);
    color: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s;
}

.social-link:hover {
    transform: scale(1.1);
}

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

.footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

body.dark-mode .footer-links a {
    color: #999;
}

.footer-links a:hover {
    color: #7ec800;
}

.copyright {
    color: #666;
    font-size: 0.9rem;
}

body.dark-mode .copyright {
    color: #999;
}

/* ================ RESPONSIVE STYLES ================ */
@media (max-width: 1024px) {
    .hero-section,
    .mission-item,
    .vision-item {
        grid-template-columns: 1fr;
    }

    .mission-item .content,
    .mission-item .image,
    .vision-item .content,
    .vision-item .image {
        order: initial;
    }

    .products-grid,
    .testimonials-grid,
    .press-grid {
        grid-template-columns: 1fr;
    }

    header {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .hero-title,
    .section-title {
        font-size: 2.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
    }

    .login-form,
    .signup-form {
        padding: 2rem;
    }
}
/* Add to style.css */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #7ec800;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* form validations */
.input-group.success input {
    border-color: #7ec800;
}

.input-group.error input {
    border-color: #ff3d3d;
}

.error-message {
    color: #ff3d3d;
    font-size: 0.8rem;
    margin-top: 0.3rem;
}
/* Forgot Password Page Specific Styles */
.forgot-password-container {
    max-width: 500px;
    margin: 0 auto;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #28a745;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

body.dark-mode .alert-success {
    background: #1e3a2a;
    color: #d4edda;
}

.reset-link-info {
    margin-top: 2rem;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

body.dark-mode .reset-link-info {
    color: #999;
}

.reset-link-info i {
    color: #7ec800;
    margin-right: 0.3rem;
}

/* ================ ENHANCED MOBILE RESPONSIVENESS ================ */

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #1a1a1a;
    cursor: pointer;
}

body.dark-mode .mobile-menu-toggle {
    color: #ffffff;
}

/* ================ RESPONSIVE BREAKPOINTS ================ */

/* Tablets and below (1024px) */
@media (max-width: 1024px) {
    /* Header adjustments */
    nav {
        gap: 1.5rem;
    }

    nav a {
        font-size: 0.9rem;
    }

    /* Hero section */
    .hero-section {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 8rem 4% 4rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    /* Stats grid */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Products and testimonials */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    /* Mission/Vision */
    .mission-item,
    .vision-item {
        grid-template-columns: 1fr;
    }

    .mission-item .content,
    .mission-item .image,
    .vision-item .content,
    .vision-item .image {
        order: initial;
    }

    /* Press grid */
    .press-grid {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-nav {
        gap: 1.5rem;
    }
}

/* Mobile devices (768px and below) */
@media (max-width: 768px) {
    /* Header mobile menu */
    header {
        padding: 1rem 3%;
        flex-wrap: wrap;
    }

    .mobile-menu-toggle {
        display: block;
        order: 3;
    }

    nav {
        display: none;
        width: 100%;
        order: 4;
        flex-direction: column;
        padding: 1rem 0;
        gap: 1rem;
        border-top: 1px solid #e0e0e0;
        margin-top: 1rem;
    }

    body.dark-mode nav {
        border-top-color: #1a1a1a;
    }

    nav.mobile-open {
        display: flex;
    }

    .auth-buttons {
        order: 2;
        gap: 0.5rem;
    }

    .btn-signup,
    .btn-login {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    /* Hero section */
    .hero-section {
        padding: 7rem 3% 3rem;
        gap: 2rem;
    }

    .hero-tag {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-cta {
        padding: 0.9rem 2rem;
        font-size: 0.95rem;
        width: 100%;
        text-align: center;
    }

    /* Stats grid */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-card {
        padding: 1.2rem;
    }

    .stat-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .stat-info h3 {
        font-size: 1.5rem;
    }

    .stat-info p {
        font-size: 0.85rem;
    }

    /* Section titles */
    .section-title {
        font-size: 2rem;
        line-height: 1.3;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    /* Products section */
    .products-section {
        padding: 4rem 3%;
    }

    .section-tabs {
        width: 100%;
        justify-content: center;
        margin-bottom: 2rem;
    }

    .tab-btn {
        flex: 1;
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .product-card {
        padding: 2rem 1.5rem;
    }

    .product-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .product-card h3 {
        font-size: 1.3rem;
    }

    .product-card p {
        font-size: 0.95rem;
    }

    /* Testimonials */
    .testimonials-section {
        padding: 4rem 3%;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .testimonial-card {
        padding: 2rem;
    }

    .quote-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .testimonial-text {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    /* CTA Section */
    .cta-section {
        padding: 3rem 3%;
        margin: 3rem 3%;
    }

    .cta-section h2 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .cta-section p {
        font-size: 1rem;
    }

    /* Login/Signup forms */
    .login-section,
    .signup-section {
        padding: 6rem 1rem 3rem;
    }

    .login-container,
    .signup-container {
        padding: 0 1rem;
    }

    .login-form,
    .signup-form {
        padding: 2rem 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .input-group input,
    .input-group select {
        padding: 0.9rem 1rem;
        font-size: 0.95rem;
    }

    .btn-submit,
    .btn-secondary-signup {
        padding: 0.9rem;
        font-size: 0.95rem;
    }

    .social-login {
        gap: 1rem;
    }

    .social-btn {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    /* About page */
    .mission-vision-section {
        padding: 4rem 3%;
    }

    .mission-vision-grid {
        gap: 3rem;
    }

    .content h3 {
        font-size: 1.5rem;
    }

    .content p {
        font-size: 0.95rem;
    }

    .image img {
        height: 300px;
    }

    .press-section {
        padding: 4rem 3%;
    }

    .press-content {
        padding: 1.5rem;
    }

    .press-content h3 {
        font-size: 1.2rem;
    }

    .press-meta {
        gap: 1rem;
        font-size: 0.85rem;
    }

    /* Footer */
    footer {
        padding: 3rem 3% 2rem;
    }

    .footer-content {
        gap: 2rem;
    }

    .footer-nav {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-contact {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.8rem;
    }
}

/* Small mobile devices (480px and below) */
@media (max-width: 480px) {
    /* Header */
    header {
        padding: 0.8rem 3%;
    }

    .logo {
        font-size: 1.1rem;
    }

    .theme-toggle {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .btn-signup,
    .btn-login {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }

    /* Hero */
    .hero-section {
        padding: 6rem 3% 2rem;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .hero-cta {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    /* Sections */
    .section-title {
        font-size: 1.6rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    /* Stats */
    .stat-card {
        padding: 1rem;
    }

    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .stat-info h3 {
        font-size: 1.3rem;
    }

    .stat-info p {
        font-size: 0.8rem;
    }

    /* Products */
    .tab-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }

    .product-card {
        padding: 1.5rem;
    }

    .product-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .product-card h3 {
        font-size: 1.1rem;
    }

    .product-card p {
        font-size: 0.9rem;
    }

    /* Testimonials */
    .testimonial-card {
        padding: 1.5rem;
    }

    .quote-icon {
        font-size: 2rem;
    }

    .testimonial-text {
        font-size: 0.9rem;
    }

    /* CTA */
    .cta-section {
        padding: 2rem;
    }

    .cta-section h2 {
        font-size: 1.5rem;
    }

    .cta-section p {
        font-size: 0.9rem;
    }

    /* Forms */
    .login-form,
    .signup-form {
        padding: 1.5rem;
    }

    .input-group input,
    .input-group select {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    /* Footer */
    .footer-logo {
        font-size: 1.1rem;
    }

    .social-link {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .copyright {
        font-size: 0.85rem;
    }
}

/* Landscape mobile devices */
@media (max-width: 896px) and (orientation: landscape) {
    .hero-section {
        padding: 6rem 3% 2rem;
        min-height: auto;
    }

    .login-section,
    .signup-section {
        padding: 5rem 2rem 2rem;
        min-height: auto;
    }
}

/* ================ UTILITY CLASSES FOR MOBILE ================ */

/* Hide on mobile */
.hide-mobile {
    display: block;
}

@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }
}

/* Show only on mobile */
.show-mobile {
    display: none;
}

@media (max-width: 768px) {
    .show-mobile {
        display: block !important;
    }
}

/* Mobile text alignment */
@media (max-width: 768px) {
    .text-center-mobile {
        text-align: center !important;
    }

    .text-left-mobile {
        text-align: left !important;
    }
}

/* Mobile spacing */
@media (max-width: 768px) {
    .mb-mobile-2 {
        margin-bottom: 2rem !important;
    }

    .mb-mobile-1 {
        margin-bottom: 1rem !important;
    }

    .mt-mobile-2 {
        margin-top: 2rem !important;
    }

    .mt-mobile-1 {
        margin-top: 1rem !important;
    }
}

/* Touch-friendly buttons */
@media (max-width: 768px) {
    button,
    .btn-login,
    .btn-signup,
    .hero-cta,
    .btn-submit,
    .tab-btn {
        min-height: 44px; /* Apple's recommended touch target size */
        min-width: 44px;
    }
}

/* Prevent text from being too small on mobile */
@media (max-width: 768px) {
    body {
        font-size: 16px; /* Prevents iOS zoom on input focus */
    }

    input,
    select,
    textarea {
        font-size: 16px; /* Prevents iOS zoom */
    }
}

/* ================ MOBILE MENU ANIMATION ================ */
@media (max-width: 768px) {
    nav {
        animation: slideDown 0.3s ease-out;
    }

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

/* ================ SMOOTH SCROLLING FOR MOBILE ================ */
@media (max-width: 768px) {
    html {
        scroll-behavior: smooth;
    }

    body {
        -webkit-overflow-scrolling: touch;
    }
}

/* ================ IMPROVED TOUCH TARGETS ================ */
@media (max-width: 768px) {
    a,
    button {
        padding: 0.5rem;
    }

    nav a {
        display: block;
        padding: 0.8rem 1rem;
        margin: -0.5rem;
        border-radius: 8px;
        transition: background 0.3s;
    }

    nav a:hover,
    nav a:active {
        background: rgba(126, 200, 0, 0.1);
    }
}