/* Mobile Styles - Only loads on devices with max-width: 768px */

/* Navigation improvements for mobile */
.nav {
    padding: 1rem 1.5rem;
    flex-wrap: wrap;
}

.logo h1 {
    font-size: 1.5rem;
}

.nav-links {
    width: 100%;
    justify-content: space-around;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-left: 0;
}

.nav-links a {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Login & Profile buttons on mobile */
.login-btn,
.profile-btn {
    padding: 0.5rem 1.2rem !important;
    font-size: 0.9rem !important;
}

/* Hero section mobile */
.hero {
    padding: 4rem 1.5rem;
}

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

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.btn {
    padding: 0.9rem 1.8rem;
    font-size: 1rem;
}

/* Section spacing mobile */
section {
    padding: 3.5rem 1.5rem;
}

.section-title {
    font-size: 1.9rem;
}

.section-description {
    font-size: 1.05rem;
    padding: 0 1rem;
}

/* Grid layouts mobile */
.about-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.about-card {
    padding: 1.5rem;
}

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

.feature-item {
    padding: 1.5rem;
}

/* Mission section mobile */
.mission-quote {
    font-size: 1.7rem;
    margin-bottom: 1.5rem;
}

.mission-text {
    font-size: 1.05rem;
    padding: 0 1rem;
}

/* Beta section mobile */
.beta-section {
    padding: 3rem 1.5rem;
}

.beta-content {
    grid-template-columns: 1fr;
    gap: 2rem;
}

.beta-info {
    padding: 1.5rem;
}

.beta-icon {
    font-size: 2.5rem;
}

.beta-info h3 {
    font-size: 1.2rem;
}

.beta-info p {
    font-size: 0.95rem;
}

.beta-heading {
    font-size: 1.7rem;
}

.beta-subtext {
    font-size: 1rem;
}

.beta-btn {
    padding: 0.9rem 2rem;
    font-size: 1rem;
}

.signup-counter {
    padding: 1.2rem 1.5rem;
    max-width: 260px;
}

.counter-number {
    font-size: 2.8rem;
}

.counter-label {
    font-size: 0.85rem;
}

/* Contact section mobile */
.contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
}

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

.instagram-link {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
}

.instagram-handle {
    font-size: 1rem;
}

.contact-form-section {
    padding: 2rem 1.5rem;
    margin: 2rem 1rem;
}

.contact-form {
    grid-template-columns: 1fr;
    gap: 1.2rem;
}

.form-title {
    font-size: 1.5rem;
}

/* Footer mobile */
.footer {
    padding: 3rem 1.5rem 1.5rem;
}

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

/* Extra small screens (480px and below) */
@media (max-width: 480px) {
    .nav {
        padding: 0.8rem 1rem;
    }

    .logo h1 {
        font-size: 1.3rem;
    }

    .nav-links {
        gap: 0.3rem;
    }

    .nav-links a {
        padding: 0.5rem 0.7rem;
        font-size: 0.85rem;
    }

    .login-btn,
    .profile-btn {
        padding: 0.4rem 1rem !important;
        font-size: 0.85rem !important;
    }

    .hero {
        padding: 3rem 1rem;
    }

    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
        width: 100%;
    }

    .btn {
        padding: 0.85rem 1.5rem;
        font-size: 0.95rem;
        width: 100%;
        text-align: center;
    }

    section {
        padding: 2.5rem 1rem;
    }

    .container {
        padding: 0 1rem;
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
    }

    .section-description {
        font-size: 0.95rem;
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }

    .about-grid {
        gap: 1.2rem;
    }

    .about-card {
        padding: 1.3rem;
    }

    .about-card .icon {
        font-size: 2.5rem;
    }

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

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

    .features-grid {
        gap: 1.2rem;
    }

    .feature-item {
        padding: 1.3rem;
    }

    .feature-item h3 {
        font-size: 1.15rem;
    }

    .feature-item p {
        font-size: 0.95rem;
    }

    .mission-quote {
        font-size: 1.4rem;
        margin-bottom: 1.2rem;
    }

    .mission-text {
        font-size: 0.95rem;
        padding: 0 0.5rem;
    }

    .beta-section {
        padding: 2.5rem 1rem;
    }

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

    .beta-info {
        padding: 1.3rem;
    }

    .beta-icon {
        font-size: 2.2rem;
    }

    .beta-info h3 {
        font-size: 1.1rem;
    }

    .beta-info p {
        font-size: 0.9rem;
    }

    .beta-heading {
        font-size: 1.5rem;
    }

    .beta-subtext {
        font-size: 0.95rem;
    }

    .beta-btn {
        padding: 0.85rem 1.8rem;
        font-size: 0.95rem;
    }

    .contact-grid {
        padding: 0 0.5rem;
    }

    .contact-card {
        padding: 1.8rem 1.2rem;
    }

    .contact-icon {
        font-size: 3rem;
    }

    .code-icon {
        font-size: 3.5rem;
    }

    .contact-card h3 {
        font-size: 1.4rem;
    }

    .account-description {
        font-size: 0.9rem;
        min-height: auto;
    }

    .instagram-link {
        padding: 0.75rem 1.2rem;
        font-size: 0.9rem;
    }

    .instagram-handle {
        font-size: 0.9rem;
    }

    .link-arrow {
        font-size: 1.3rem;
    }

    .contact-form-section {
        padding: 1.5rem 1rem;
        margin: 1.5rem 0.5rem;
    }

    .form-title {
        font-size: 1.3rem;
    }

    .form-description {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
    }

    .form-group textarea {
        min-height: 80px;
    }

    .form-submit-btn {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }

    .footer {
        padding: 2.5rem 1rem 1.5rem;
    }

    .footer-section h3 {
        font-size: 1.2rem;
    }

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

    .developer-credit {
        padding: 1.2rem;
    }

    .footer-links a {
        font-size: 0.9rem;
    }

    .footer-bottom p {
        font-size: 0.85rem;
    }
}

/* Very small screens (360px and below) */
@media (max-width: 360px) {
    .logo h1 {
        font-size: 1.2rem;
    }

    .nav-links a {
        padding: 0.4rem 0.5rem;
        font-size: 0.8rem;
    }

    .login-btn,
    .profile-btn {
        padding: 0.4rem 0.8rem !important;
        font-size: 0.8rem !important;
    }

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

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

    .section-title {
        font-size: 1.4rem;
    }

    .contact-card h3 {
        font-size: 1.2rem;
    }

    .instagram-link {
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
        flex-direction: column;
        gap: 0.3rem;
    }
}
