:root {
    
    --primary-50: #f0fdfa;
    --primary-100: #ccfbf1;
    --primary-500: #14b8a6;
    --primary-600: #0d9488;
    --primary-700: #0f766e;

    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-800: #1e293b;
    --slate-900: #0f172a;

    --gradient-hero: radial-gradient(circle at 10% 20%, rgb(240, 253, 250) 0%, rgb(255, 255, 255) 50%);
    --gradient-primary: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
    --gradient-accent: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);

    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-glow: 0 0 20px rgba(13, 148, 136, 0.25);
    --shadow-card: 0 10px 40px -10px rgba(0, 0, 0, 0.05);

    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: 1px solid rgba(255, 255, 255, 0.8);
    --glass-blur: blur(12px);
}

body {
    background: var(--slate-50);
    color: var(--slate-800);
    font-family: 'Plus Jakarta Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}


.landing-navbar {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    padding: 1rem 0;
    transition: all 0.3s ease;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.landing-navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-soft);
    padding: 0.75rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--primary-700) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand span {
    color: var(--slate-900);
}

.navbar-brand span.text-success {
    color: var(--primary-600) !important;
}

.nav-link {
    color: var(--slate-800) !important;
    font-weight: 600;
    padding: 0.5rem 1.25rem !important;
    border-radius: 50px;
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: var(--primary-600) !important;
    background: var(--primary-50);
}

.btn-nav-login {
    color: var(--primary-600);
    font-weight: 700;
    padding: 0.6rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-nav-register {
    background: var(--gradient-primary);
    color: white !important;
    border: none;
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
    transition: all 0.3s ease;
}

.btn-nav-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13, 148, 136, 0.3);
    color: white !important;
}


.hero-section {
    position: relative;
    padding: 9rem 0 6rem;
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero-blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
    animation: blobFloat 10s infinite alternate;
}

.hero-blob-1 {
    top: -20%;
    right: -10%;
}

.hero-blob-2 {
    bottom: -10%;
    left: -10%;
    animation-delay: -5s;
}

@keyframes blobFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(30px, 50px) scale(1.1);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: white;
    border-radius: 50px;
    box-shadow: var(--shadow-soft);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary-700);
    margin-bottom: 1.5rem;
    border: 1px solid var(--primary-100);
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    color: var(--slate-900);
    position: relative;
    z-index: 1;
}

.hero-title span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 550px;
    position: relative;
    z-index: 1;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-hero-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 10px 25px -5px rgba(13, 148, 136, 0.4);
    border: none;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 35px -5px rgba(13, 148, 136, 0.5);
    color: white;
}

.btn-hero-secondary {
    background: white;
    color: var(--slate-800);
    border: 1px solid var(--slate-100);
    box-shadow: var(--shadow-sm);
    margin-left: 1rem;
}




.btn-hero-cta {
    background: var(--gradient-primary);
    position: relative;
    color: white !important;
    border: none;
    border-radius: 50px;
    padding: 18px 45px;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 25px -5px rgba(13, 148, 136, 0.4);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    min-width: 240px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}


.btn-hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: left 0.5s ease;
    z-index: 1;
}


.btn-hero-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(13, 148, 136, 0.6);
    filter: brightness(1.1);
}

.btn-hero-cta:hover::before {
    left: 100%;
}


.btn-hero-cta i {
    font-size: 1.25rem;
    margin-right: 12px !important;
    transition: transform 0.3s ease;
    color: white;
    background: none;
    -webkit-text-fill-color: white;
}

.btn-hero-cta:hover i {
    transform: scale(1.2) rotate(-10deg);
}

.hero-image-wrapper {
    position: relative;
    z-index: 1;
}

.hero-image-wrapper img {
    border-radius: 24px;
    box-shadow: var(--shadow-card);
    transition: transform 0.5s ease;
}

.hero-image-wrapper:hover img {
    transform: perspective(1000px) rotateY(-2deg);
}


.stats-container {
    background: white;
    border-radius: 30px;
    padding: 3rem;
    box-shadow: var(--shadow-card);
    margin-top: -5rem;
    position: relative;
    z-index: 10;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.stat-item {
    text-align: center;
    padding: 1rem;
    border-right: 1px solid var(--slate-100);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--slate-900);
    line-height: 1;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
}

.stat-icon.organik {
    color: #16a34a;
    background: #dcfce7;
}

.stat-icon.anorganik {
    color: #2563eb;
    background: #dbeafe;
}

.stat-icon.b3 {
    color: #dc2626;
    background: #fee2e2;
}

.stat-icon.total {
    color: #0d9488;
    background: #f0fdfa;
}


.section-padding {
    padding: 8rem 0;
}

.section-tag {
    display: inline-block;
    color: var(--primary-600);
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    background: var(--primary-50);
    padding: 0.5rem 1rem;
    border-radius: 50px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--slate-900);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: 1.125rem;
    color: #64748b;
    max-width: 600px;
    margin-bottom: 4rem;
    line-height: 1.8;
}


.feature-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 24px;
    border: 1px solid var(--slate-100);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-card);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: var(--primary-50);
    color: var(--primary-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper {
    background: var(--primary-600);
    color: white;
    transform: rotate(10deg);
}

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

.feature-text {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}


.map-section {
    position: relative;
    padding: 4rem 0;
}

.map-frame {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 8px solid white;
    height: 500px;
}

#main-map {
    width: 100%;
    height: 100%;
}



.modal-content {
    border: none;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    background: white;
    overflow: hidden;
    position: relative;
}

.modal-header {
    border-bottom: 1px solid var(--slate-100);
    padding: 1.5rem 2rem;
    background: var(--slate-50);
    position: relative;
    z-index: 2;
}

.modal-title {
    font-weight: 800;
    color: var(--slate-900);
    letter-spacing: -0.02em;
}


.modal-decoration-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.1;
    z-index: 0;
}

.blob-1 {
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: var(--primary-500);
}

.blob-2 {
    bottom: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background: #0ea5e9;
    
}


.form-floating>.form-control {
    border-radius: 16px;
    border: 2px solid var(--slate-100);
    background: var(--slate-50);
    padding-left: 1.25rem;
    height: 3.5rem;
    font-weight: 600;
    color: var(--slate-900);
    transition: all 0.3s ease;
}

.form-floating>.form-control:focus {
    border-color: var(--primary-500);
    background: white;
    box-shadow: 0 0 0 4px var(--primary-50);
}

.form-floating>label {
    padding-left: 1.25rem;
    color: #94a3b8;
    font-weight: 500;
}


.divider-text {
    display: flex;
    align-items: center;
    text-align: center;
    color: #94a3b8;
    font-size: 0.875rem;
    font-weight: 600;
    margin: 1.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.divider-text::before,
.divider-text::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--slate-100);
}

.divider-text::before {
    margin-right: 1rem;
}

.divider-text::after {
    margin-left: 1rem;
}


.btn-google {
    background: white;
    color: var(--slate-800);
    border: 2px solid var(--slate-100);
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-google:hover {
    border-color: #cbd5e1;
    background: var(--slate-50);
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    font-weight: 700;
    box-shadow: 0 10px 20px -5px rgba(13, 148, 136, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(13, 148, 136, 0.4);
    background: linear-gradient(135deg, #0f766e 0%, #0d9488 100%);
}


.upload-zone {
    border: 2px dashed #cbd5e1;
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
}

.upload-zone:hover,
.upload-zone.dragover {
    border-color: var(--primary-500);
    background: var(--primary-50);
}

.upload-preview {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 1rem;
    display: none;
}

.upload-zone.has-image .upload-content {
    display: none;
}

.upload-zone.has-image .upload-preview {
    display: block;
}

.scanning-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, transparent, var(--primary-500), transparent);
    animation: scan 1.5s linear infinite;
    display: none;
    z-index: 10;
}

@keyframes scan {
    0% {
        top: 0;
    }

    100% {
        top: 100%;
    }
}

.ai-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(13, 148, 136, 0.2);
    border-radius: 50%;
    display: none;
}

.ai-pulse::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--primary-500);
    animation: pulse-ring 1.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}


.footer {
    background: var(--slate-900);
    color: var(--slate-300);
    padding: 5rem 0 2rem;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    display: block;
}

.footer-links a {
    color: var(--slate-300);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: white;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-500);
    transform: translateY(-3px);
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: white;
        margin-top: 1rem;
        padding: 1.5rem;
        border-radius: 16px;
        box-shadow: var(--shadow-card);
    }

    .navbar-nav {
        gap: 1rem !important;
    }

    .hero-section {
        padding: 7rem 0 4rem;
        background: rgb(240, 253, 250);
        
        text-align: center;
    }

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

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-image-wrapper {
        margin-top: 3rem;
        transform: none !important;
        
    }

    .hero-image-wrapper:hover img {
        transform: none;
    }

    .stats-container {
        margin-top: -2rem;
        padding: 2rem;
    }

    .btn-hero {
        width: 100%;
        margin: 0.5rem 0;
    }

    .btn-hero-secondary {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.25rem;
    }

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

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

    .stats-container {
        padding: 1.5rem;
        border-radius: 20px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid var(--slate-100);
        padding: 1.5rem 0;
    }

    .stat-item:last-child {
        border-bottom: none;
    }

    .modal-dialog {
        margin: 0.5rem;
    }

    .modal-content {
        border-radius: 16px;
    }

    .upload-zone {
        padding: 2rem 1rem;
    }

    
    .d-flex.gap-3 {
        flex-direction: column;
    }

    
    .map-frame {
        height: 300px;
        border-width: 4px;
    }
}