:root {
    --primary-green: #198754;
    --dark-green: #146c43;
    --light-green: #d1e7dd;
    --bg-light: #f8f9fa;
    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body { 
    font-family: 'Inter', sans-serif; 
    background-color: #fcfcfc; 
    color: var(--text-dark); 
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Smooth Scroll */
html { scroll-behavior: smooth; }

/* Navbar - Enhanced */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-green) !important;
    letter-spacing: -0.5px;
    transition: transform 0.2s;
}

.navbar-brand:hover { transform: scale(1.05); }

.nav-link {
    font-weight: 600;
    color: var(--text-muted) !important;
    font-size: 0.95rem;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: all 0.2s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-green);
    transition: all 0.3s;
    transform: translateX(-50%);
}

.nav-link:hover::after { width: 60%; }
.nav-link:hover { 
    color: var(--primary-green) !important; 
    background: rgba(25, 135, 84, 0.05);
}

/* Mobile Menu Enhancement */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.2s;
}

.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler:hover { background: rgba(25, 135, 84, 0.1); }

/* Hero Section - Enhanced */
.hero-section {
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f8fffe 100%);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(25, 135, 84, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(25, 135, 84, 0.1);
    color: var(--primary-green);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    animation: slideInDown 0.6s ease-out;
    border: 1px solid rgba(25, 135, 84, 0.2);
}

.hero-title {
    font-weight: 900;
    color: var(--text-dark);
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
    animation: slideInUp 0.8s ease-out;
}

.hero-text {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
    animation: slideInUp 1s ease-out;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    animation: slideInUp 1.2s ease-out;
}

.hero-img-wrapper {
    position: relative;
    animation: slideInRight 1s ease-out;
}

.hero-img-wrapper img {
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s;
}

.hero-img-wrapper:hover img { transform: scale(1.02) rotate(1deg); }

.floating-card {
    position: absolute;
    background: white;
    padding: 1rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    animation: float 3s ease-in-out infinite;
    z-index: 10;
}

.floating-card-1 { bottom: 40px; left: -20px; max-width: 220px; }
.floating-card-2 { top: 40px; right: -20px; max-width: 180px; }

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

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

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

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Feature Boxes - Enhanced */
.feature-box {
    padding: 2rem;
    border-radius: 20px;
    background: white;
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
}

.feature-box:hover::before { transform: scaleX(1); }

.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-green);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    transition: all 0.3s;
}

.feature-box:hover .icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

/* YENİ: NEDEN FARMONİ SLIDER SECTION */
.why-us-section {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.why-us-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.why-us-carousel {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    z-index: 2;
    position: relative;
}

.why-us-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ffc107;
    text-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.why-us-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.why-us-desc {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* Market Section - Enhanced */
.market-section {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.market-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(25, 135, 84, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.market-badge {
    background: rgba(255, 193, 7, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 193, 7, 0.3);
    color: #ffc107;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-block;
    margin-bottom: 1rem;
}

/* Suppliers Section */
.suppliers-section {
    background-color: #f0fdf4;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}
.supplier-badge {
    background: rgba(25, 135, 84, 0.1);
    border: 1px solid rgba(25, 135, 84, 0.2);
    color: var(--primary-green);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-block;
    margin-bottom: 1rem;
}

/* Pricing Cards - Enhanced */
.pricing-card {
    border: 2px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem;
    background: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    border-color: var(--primary-green);
    transform: scale(1.03);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
    border-color: var(--primary-green);
    box-shadow: 0 20px 40px rgba(25, 135, 84, 0.15);
    background: linear-gradient(to bottom, #fff, #f0fdf4);
}

.popular-tag {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(25, 135, 84, 0.3);
}

.price-tag {
    font-size: clamp(2.5rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -1px;
    margin: 1rem 0;
}

/* Pricing Toggle Switch */
.pricing-switch {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 2rem;
}
.form-check-input.pricing-toggle {
    width: 3em;
    height: 1.5em;
    cursor: pointer;
}
.discount-badge {
    background: #ffeeba;
    color: #856404;
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 10px;
    font-weight: bold;
    margin-left: 5px;
}

/* FAQ - Enhanced */
.accordion-item {
    border: 1px solid var(--border-color);
    border-radius: 12px !important;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s;
}

.accordion-item:hover { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); }

.accordion-button {
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    background: white;
    border: none;
    font-size: 1rem;
}

.accordion-button:not(.collapsed) {
    background: rgba(25, 135, 84, 0.05);
    color: var(--primary-green);
    box-shadow: none;
}

.accordion-button:focus { box-shadow: none; }

.accordion-body {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
}

/* Footer - Enhanced */
footer {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: #9ca3af;
    padding: 5rem 0 2rem;
    position: relative;
}

.footer-heading {
    color: white;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.footer-link {
    color: #9ca3af;
    text-decoration: none;
    display: block;
    margin-bottom: 0.75rem;
    transition: all 0.2s;
    font-size: 0.95rem;
}

.footer-link:hover {
    color: white;
    transform: translateX(5px);
}

.social-links a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary-green);
    transform: translateY(-3px);
}

/* Buttons - Enhanced */
.btn {
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-success {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    box-shadow: 0 4px 12px rgba(25, 135, 84, 0.3);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(25, 135, 84, 0.4);
}

.btn-outline-dark:hover {
    background: var(--text-dark);
    color: white;
    transform: translateY(-2px);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .hero-section { 
        padding: 100px 0 60px; 
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
    }

    .hero-buttons .btn { width: 100%; }

    .hero-img-wrapper {
        margin-top: 3rem;
    }

    .floating-card { 
        display: flex !important;
        padding: 0.8rem;
    }

    .floating-card-1 {
        bottom: auto; top: -20px; left: 0;
        max-width: 180px;
        font-size: 0.8rem;
    }
    
    .floating-card-2 {
        top: auto; bottom: -20px; right: 0;
        max-width: 140px;
    }
    
    .floating-card .fw-bold { font-size: 0.85rem; }
    .floating-card .text-muted { font-size: 0.65rem; }
    .floating-card i { font-size: 1rem; }

    .navbar-collapse {
        background: white;
        padding: 1rem;
        border-radius: 12px;
        margin-top: 1rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .nav-link { margin: 0.5rem 0; }

    .feature-box { margin-bottom: 1rem; }

    .pricing-card { margin-bottom: 2rem; }

}

@media (max-width: 576px) {
    .hero-title { font-size: 2rem; }
    .hero-text { font-size: 1rem; }
}

/* Loading Animation */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s;
}

.loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--light-green);
    border-top-color: var(--primary-green);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-green);
    color: white;
    border: none;
    border-radius: 12px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(25, 135, 84, 0.3);
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(25, 135, 84, 0.4);
}

.scroll-top.visible { display: flex; }

/* ================================================
    HOW IT WORKS — Stepper Bölümü Styles
    ================================================ */

.hiw-section {
    padding: 6rem 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.hiw-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse 60% 40% at 10% 80%, rgba(25,135,84,0.04) 0%, transparent 70%),
        radial-gradient(ellipse 50% 35% at 90% 20%, rgba(25,135,84,0.03) 0%, transparent 70%);
    pointer-events: none;
}

.hiw-header { position: relative; z-index: 1; }
.hiw-header h2 {
    font-size: clamp(1.9rem, 4vw, 2.7rem);
    letter-spacing: -0.8px;
    color: var(--text-dark);
}

/* Tab Nav */
.hiw-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.hiw-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: #f3f4f6;
    border: 1.5px solid transparent;
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.82rem;
    padding: 0.55rem 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.hiw-tab-btn .hiw-tab-icon {
    width: 26px; height: 26px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem;
    background: rgba(25,135,84,0.08);
    color: var(--primary-green);
    transition: all 0.28s;
}

.hiw-tab-btn:hover {
    border-color: rgba(25,135,84,0.3);
    background: #fff;
    color: var(--primary-green);
}

.hiw-tab-btn.active {
    background: var(--primary-green);
    color: #fff;
    border-color: var(--primary-green);
    box-shadow: 0 4px 14px rgba(25,135,84,0.35);
}

.hiw-tab-btn.active .hiw-tab-icon {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

/* Content Cards */
.hiw-content-wrap {
    position: relative;
    z-index: 1;
    margin-top: 2.8rem;
}

.hiw-step-panel {
    display: none;
    animation: hiwFadeIn 0.42s cubic-bezier(0.4, 0, 0.2, 1);
}

.hiw-step-panel.active { display: block; }

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

.hiw-card-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.6rem;
    align-items: stretch;
}

/* Visual card (left) */
.hiw-visual-card {
    border-radius: 22px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #bbf7d0;
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 320px;
    position: relative;
    overflow: hidden;
}

.hiw-visual-card::after {
    content: '';
    position: absolute;
    bottom: -40px; right: -40px;
    width: 160px; height: 160px;
    border-radius: 50%;
    background: rgba(25,135,84,0.06);
}

.hiw-visual-icon-wrap {
    width: 88px; height: 88px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 6px 20px rgba(25,135,84,0.12);
    display: flex; align-items: center; justify-content: center;
    font-size: 2.2rem;
    margin-bottom: 1.4rem;
    position: relative;
    z-index: 1;
}

.hiw-visual-card h4 {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    position: relative; z-index: 1;
}

.hiw-visual-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 280px;
    position: relative; z-index: 1;
}

/* Detail card (right) */
.hiw-detail-card {
    border-radius: 22px;
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hiw-step-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(25,135,84,0.08);
    color: var(--primary-green);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    width: fit-content;
    margin-bottom: 1rem;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.hiw-detail-card h3 {
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--text-dark);
    letter-spacing: -0.4px;
    margin-bottom: 0.6rem;
}

.hiw-detail-card > p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 1.4rem;
}

/* Action list */
.hiw-action-list {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.hiw-action-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.86rem;
    color: var(--text-dark);
    line-height: 1.5;
}

.hiw-action-list .hiw-bullet {
    flex-shrink: 0;
    width: 22px; height: 22px;
    border-radius: 7px;
    background: #d1e7dd;
    display: flex; align-items: center; justify-content: center;
    margin-top: 1px;
}

.hiw-action-list .hiw-bullet i {
    font-size: 0.65rem;
    color: var(--primary-green);
}

/* PRO badge */
.hiw-pro-tag {
    display: inline-block;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 4px;
    vertical-align: middle;
    letter-spacing: 0.4px;
    margin-left: 3px;
}

/* Arrow connector between cards (desktop) */
.hiw-card-row {
    position: relative;
}
.hiw-arrow-connector {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    width: 36px; height: 36px;
    background: #fff;
    border: 2.5px solid var(--primary-green);
    border-radius: 50%;
    z-index: 2;
    display: flex; align-items: center; justify-content: center;
}
.hiw-arrow-connector i {
    font-size: 0.75rem;
    color: var(--primary-green);
}

/* HIW Responsive */
@media (max-width: 768px) {
    .hiw-section { padding: 4rem 0; }
    .hiw-tabs { gap: 0.4rem; }
    .hiw-tab-btn { font-size: 0.76rem; padding: 0.45rem 0.85rem; }
    .hiw-card-row { grid-template-columns: 1fr; gap: 1rem; }
    .hiw-arrow-connector { display: none; }
    .hiw-visual-card { min-height: 240px; }
}

@media (max-width: 480px) {
    .hiw-tabs { gap: 0.3rem; }
    .hiw-tab-btn { font-size: 0.72rem; padding: 0.4rem 0.7rem; }
    .hiw-tab-btn .hiw-tab-icon { width: 22px; height: 22px; font-size: 0.68rem; }
}

/* SADECE ANDROID İÇİN (iOS zaten otomatik ayarlıyor, ona dokunmuyoruz) */
body.is-android-app {
    padding-top: max(env(safe-area-inset-top), 45px) !important; 
}

body.is-android-app::before {
    content: ""; position: fixed; top: 0; left: 0; width: 100%;
    height: max(env(safe-area-inset-top), 45px);
    background-color: #198754; /* Farmoni Yeşili */
    z-index: 99999; 
}

body.is-android-app .fixed-top,
body.is-android-app header,
body.is-android-app .navbar {
    top: max(env(safe-area-inset-top), 45px) !important;
}