/* AMACCA Landing Page Custom Styles */
/* Extends Bootstrap 5 with custom design system */

* {
    box-sizing: border-box;
}

html,
body {
    width: 100% !important;
    height: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

section,
nav,
footer {
    width: 100% !important;
}

.container,
.container-sm,
.container-md,
.container-lg,
.container-xl,
.container-xxl {
    width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

:root {
    --primary-green: #3e674e;
    --primary-blue: #266292;
    --light-green: #9fcbad;
    --light-bg: #f9faf6;
    --text-dark: #1a1c1a;
    --text-gray: #414943;
    --light-text: #2f573f;
    --accent-pink: #f1b0b6;
    --accent-light-blue: #93c9fe;
    --accent-light-pink: #f1dade;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.15);
}

/* Typography */
body {
    font-family:
        "Plus Jakarta Sans",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        "Helvetica Neue",
        Arial,
        sans-serif;
    color: var(--text-dark);
    background: linear-gradient(90deg, #f9faf6 0%, #f9faf6 100%);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Plus Jakarta Sans", sans-serif;
    color: var(--text-dark);
}

.text-primary-green {
    color: var(--primary-green);
}
.text-primary-blue {
    color: var(--primary-blue);
}
.text-light-green {
    color: var(--light-green);
}

.bg-light-green {
    background-color: var(--light-bg);
}
.bg-gradient-soft {
    background: linear-gradient(
        135deg,
        rgba(62, 103, 78, 0.05) 0%,
        rgba(38, 98, 146, 0.05) 100%
    );
}

/* Navigation Bar */
.navbar-custom {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: white;
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
}

section[id] {
    scroll-margin-top: 120px;
}

.navbar-custom .navbar-brand {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.navbar-custom .navbar-brand img {
    height: 80px;
    margin-right: 0.5rem;
}

.navbar-custom .nav-link {
    position: relative;
    color: var(--text-gray) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-custom .nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: calc(100% - 1rem);
    height: 2px;
    border-radius: 999px;
    background: var(--primary-green);
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link:focus-visible,
.navbar-custom .nav-link.active {
    color: var(--primary-green) !important;
}

.navbar-custom .nav-link:hover::after,
.navbar-custom .nav-link:focus-visible::after,
.navbar-custom .nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

.landing-language {
    position: relative;
}

.landing-language-toggle {
    min-height: 38px;
    padding: 7px 10px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--text-gray);
    font: inherit;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
}

.landing-language-toggle:hover,
.landing-language-toggle:focus-visible,
.landing-language-toggle[aria-expanded="true"] {
    background: #f2f6f3;
    color: var(--primary-green);
}

.landing-language-toggle .bi-globe2 {
    font-size: 1.05rem;
}

.language-chevron {
    font-size: 0.65rem;
}

.landing-language-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 1040;
    width: 178px;
    padding: 6px;
    border: 1px solid rgba(62, 103, 78, 0.18);
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(26, 28, 26, 0.12);
}

.landing-language-menu .language-option {
    width: 100%;
    padding: 9px 10px;
    display: grid;
    grid-template-columns: 28px 1fr 16px;
    align-items: center;
    gap: 7px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--text-gray);
    font: inherit;
    font-size: 0.78rem;
    text-align: left;
    cursor: pointer;
}

.landing-language-menu .language-option:hover {
    background: #f2f6f3;
}

.landing-language-menu .language-option strong {
    font-weight: 600;
}

.landing-language-menu .language-option > i {
    visibility: hidden;
    color: var(--primary-green);
}

.landing-language-menu .language-option.active {
    color: var(--primary-green);
}

.landing-language-menu .language-option.active > i {
    visibility: visible;
}

/* Buttons */
.btn-primary-custom {
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background: #356644;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(62, 103, 78, 0.2);
}

.btn-primary-custom:active {
    transform: translateY(0);
}

.btn-secondary-custom {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    background: transparent;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.btn-secondary-custom:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
}

/* Badge Tags */
.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 1.5rem;
    background: rgba(159, 203, 173, 0.3);
    border: 1px solid rgba(62, 103, 78, 0.2);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--light-text);
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.badge-tag i {
    font-size: 0.65rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(
        90deg,
        rgba(159, 203, 173, 0.15) 0%,
        transparent 70%
    );
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.hero-title .text-green {
    color: var(--primary-green);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-image-wrapper {
    position: relative;
    text-align: center;
}

.mascot-image {
    max-width: 100%;
    height: auto;
    box-shadow: var(--shadow-lg);
    border-radius: 12px;
    animation: float 3s ease-in-out infinite;
}

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

/* Overlay Cards */
.ai-overlay-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(62, 103, 78, 0.3);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: var(--shadow-md);
    max-width: 280px;
    animation: slideIn 0.6s ease-out;
}

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

.ai-overlay-card.top-card {
    top: 40px;
    right: -20px;
}

.ai-overlay-card.bottom-card {
    bottom: 40px;
    left: -20px;
}

.overlay-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.overlay-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.overlay-icon.green {
    background: rgba(62, 103, 78, 0.2);
    color: var(--primary-green);
}

.overlay-icon.blue {
    background: rgba(38, 98, 146, 0.2);
    color: var(--primary-blue);
}

.overlay-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-gray);
    letter-spacing: 0.6px;
    margin-bottom: 0.25rem;
}

.overlay-value {
    font-size: 1rem;
    font-weight: 500;
}

.green-text {
    color: var(--primary-green);
}
.blue-text {
    color: var(--primary-blue);
}

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

.section-title {
    font-size: 1.875rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-gray);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 672px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.feature-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(159, 203, 173, 0.2);
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
    border-color: rgba(159, 203, 173, 0.4);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.feature-icon.green-bg {
    background: rgba(159, 203, 173, 0.2);
    color: var(--primary-green);
}

.feature-icon.blue-bg {
    background: rgba(147, 201, 254, 0.2);
    color: var(--primary-blue);
}

.feature-icon.pink-bg {
    background: rgba(241, 176, 182, 0.2);
    color: #e55563;
}

.feature-icon.light-pink-bg {
    background: #f1b0b6;
    color: white;
}

.feature-icon.light-blue-bg {
    background: rgba(206, 229, 255, 0.5);
    color: var(--primary-blue);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.feature-description {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.6;
    flex-grow: 1;
}

/* How It Works Section */
.how-it-works {
    background: #f5f2ff;
    padding: 4rem 0;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step-card {
    text-align: center;
    padding: 1.5rem 1rem;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--primary-green);
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    border-radius: 50%;
    margin: 0 auto 1rem;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.step-description {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* Food Showcase Section */
.showcase-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.showcase-image-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 45%,
        rgba(9, 25, 17, 0.7) 100%
    );
    pointer-events: none;
}

.showcase-image {
    display: block;
    width: 100%;
    height: clamp(190px, 24vw, 300px);
    object-fit: cover;
}

.showcase-image-overlay {
    position: absolute;
    z-index: 1;
    left: clamp(1.25rem, 4vw, 3rem);
    right: clamp(1.25rem, 4vw, 3rem);
    bottom: clamp(1.25rem, 4vw, 2.5rem);
    color: white;
    text-align: left;
}

.showcase-quote {
    margin: 0 0 0.25rem;
    color: white;
    font-size: clamp(1rem, 2vw, 1.4rem);
    font-weight: 600;
    line-height: 1.4;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.showcase-author {
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.9;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(
        135deg,
        rgba(62, 103, 78, 0.1) 0%,
        rgba(38, 98, 146, 0.1) 100%
    );
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    margin: 3rem 0;
}

.cta-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Footer */
.footer-custom {
    background: white;
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-logo {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo img {
    height: 40px;
}

.footer-description {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 300px;
}

.footer-section-title {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-link {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: block;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-green);
}

.footer-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    overflow-wrap: anywhere;
}

.footer-contact-note {
    max-width: 260px;
    margin: 0.75rem 0 0;
    color: var(--text-gray);
    font-size: 0.82rem;
    line-height: 1.55;
}

.footer-team-name {
    display: block;
    margin-bottom: 0.65rem;
    color: var(--primary-green);
    font-size: 0.95rem;
}

.footer-team-list {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--text-gray);
    font-size: 0.86rem;
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 2rem;
    margin-top: 2rem;
    color: var(--text-gray);
    font-size: 0.85rem;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom p span:not(:last-child) {
    margin-right: 0.25rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 1.875rem;
    }

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

    .ai-overlay-card {
        max-width: 220px;
    }

    .overlay-label {
        font-size: 0.7rem;
    }

    .overlay-value {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .navbar-custom {
        padding: 0.75rem 0;
    }

    .hero-section {
        padding: 2rem 0;
    }

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

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

    .ai-overlay-card {
        position: static;
        margin: 1rem 0;
        max-width: 100%;
    }

    .feature-card {
        padding: 1.5rem;
    }

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

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

    .feature-title {
        font-size: 1.25rem;
    }

    .feature-description {
        font-size: 0.95rem;
    }

    .cta-section {
        padding: 2rem 1rem;
    }

    .cta-title {
        font-size: 1.25rem;
    }

    .cta-description {
        font-size: 0.95rem;
    }

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

    .step-card {
        padding: 1rem 0.5rem;
    }

    .footer-custom {
        padding: 2rem 0 1rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 1.5rem 0;
    }

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

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

    .badge-tag {
        font-size: 0.7rem;
        padding: 0.25rem 0.75rem;
        margin-bottom: 1.1rem;
    }

    .btn-primary-custom,
    .btn-secondary-custom {
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
    }

    .feature-icon {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
    }

    .feature-card {
        padding: 1.25rem;
    }

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

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

    .feature-title {
        font-size: 1.1rem;
    }

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

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .step-title {
        font-size: 1.1rem;
    }

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

    .cta-section {
        padding: 1.5rem 1rem;
    }

    .cta-title {
        font-size: 1.1rem;
    }

    .footer-section-title {
        margin-top: 1rem;
    }
}

@media (max-width: 991.98px) {
    .navbar-custom .navbar-brand img {
        height: 52px;
    }

    .navbar-custom .navbar-collapse {
        margin-top: 12px;
        padding: 14px;
        border: 1px solid rgba(159, 203, 173, 0.25);
        border-radius: 14px;
        background: #fff;
        box-shadow: var(--shadow-sm);
    }

    .navbar-custom .navbar-collapse > .d-flex {
        margin: 12px 0 0 !important;
    }

    .landing-language {
        width: max-content;
        margin: 12px 0 0 !important;
    }

    .landing-language-menu {
        right: auto;
        left: 0;
    }
}

@media (max-width: 576px) {
    .navbar-custom .navbar-brand {
        max-width: calc(100% - 64px);
        font-size: 0.95rem;
    }

    .navbar-custom .navbar-brand img {
        height: 42px;
    }

    .navbar-custom .navbar-collapse > .landing-auth-actions,
    .hero-section .d-flex.gap-3 {
        display: grid !important;
        grid-template-columns: 1fr;
    }

    .navbar-custom .navbar-collapse .btn,
    .hero-section .btn {
        width: 100%;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .mascot-image {
        max-height: 330px;
        object-fit: contain;
    }

    .showcase-image-overlay {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
    }

    .cta-section {
        margin: 2rem 0;
    }
}

/* Utility Classes */
.glass-effect {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.rounded-custom {
    border-radius: 12px;
}

.shadow-custom {
    box-shadow: var(--shadow-md);
}

.transition-smooth {
    transition: all 0.3s ease;
}
