/* Landing Page Stylesheet - AMAK AgroTrace Platform */

/* Header & Sticky Navbar */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    padding: 20px 0;
    transition: all 0.3s ease;
    background: transparent;
}

.site-header.scrolled {
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.45rem;
    color: var(--slate-900);
}

.brand-logo-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
    color: white;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.nav-link {
    font-weight: 500;
    color: var(--slate-700);
    padding: 8px 16px !important;
    transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-600);
}

/* 2. Hero Section */
.hero-section {
    position: relative;
    padding-top: 150px;
    padding-bottom: 100px;
    background: radial-gradient(circle at 10% 20%, rgba(219, 234, 254, 0.6) 0%, rgba(255, 255, 255, 1) 90%);
    overflow: hidden;
}

.hero-bg-shapes .shape-1 {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
}

.hero-bg-shapes .shape-2 {
    position: absolute;
    bottom: 50px;
    left: -150px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
}

.hero-badge {
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--slate-900);
}

.hero-subtext {
    font-size: 1.2rem;
    color: var(--slate-600);
    margin-bottom: 32px;
    max-width: 580px;
}

.hero-bullets {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-bottom: 36px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--slate-700);
}

.hero-bullets span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-bullets i {
    color: var(--accent-emerald);
}

/* Hero Right Side 3D Showcase */
.hero-mockup-wrap {
    position: relative;
}

.hero-qr-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.15), 0 0 40px rgba(59, 130, 246, 0.15);
    border: 1px solid var(--slate-200);
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-qr-box {
    background: var(--slate-50);
    border: 2px dashed var(--primary-300);
    border-radius: var(--radius-md);
    padding: 24px;
    display: inline-block;
    position: relative;
}

.hero-qr-box img {
    width: 200px;
    height: 200px;
}

.floating-stat-card {
    position: absolute;
    background: var(--white);
    padding: 14px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--slate-100);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
}

.floating-stat-card.card-1 {
    top: 20px;
    left: -40px;
}

.floating-stat-card.card-2 {
    bottom: -20px;
    right: -20px;
}

.floating-stat-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* 3. Trusted By Section */
.trusted-section {
    padding: 50px 0;
    background: var(--white);
    border-bottom: 1px solid var(--slate-200);
}

.trusted-title {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--slate-400);
    margin-bottom: 30px;
}

.client-logo-carousel {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.client-logo-item {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--slate-400);
    transition: var(--transition-fast);
    filter: grayscale(100%);
    opacity: 0.6;
}

.client-logo-item:hover {
    filter: grayscale(0%);
    opacity: 1;
    color: var(--primary-700);
}

/* 4. Features Section */
.features-section {
    padding: 100px 0;
    background: var(--slate-50);
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid var(--slate-200);
    height: 100%;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-600), var(--accent-cyan));
    opacity: 0;
    transition: var(--transition-fast);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-100);
}

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

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    background: var(--primary-50);
    color: var(--primary-600);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 24px;
    transition: var(--transition-fast);
}

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

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

.feature-desc {
    font-size: 0.95rem;
    color: var(--slate-600);
}

/* 5. How It Works Section */
.how-it-works-section {
    padding: 100px 0;
    background: var(--white);
}

.timeline-flow {
    position: relative;
    padding: 20px 0;
}

.timeline-flow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 5%;
    right: 5%;
    height: 3px;
    background: var(--slate-200);
    z-index: 1;
    transform: translateY(-50%);
}

.timeline-step-card {
    position: relative;
    z-index: 2;
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-bounce);
}

.timeline-step-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-500);
}

.step-number {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    margin: 0 auto 16px auto;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

/* 6. Industries Section */
.industries-section {
    padding: 100px 0;
    background: var(--slate-900);
    color: var(--white);
}

.industry-card {
    background: var(--slate-800);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 28px 20px;
    text-align: center;
    transition: var(--transition-bounce);
}

.industry-card:hover {
    background: linear-gradient(135deg, var(--primary-800), var(--slate-800));
    border-color: var(--primary-500);
    transform: translateY(-6px);
}

.industry-icon {
    font-size: 2.2rem;
    color: var(--primary-400);
    margin-bottom: 14px;
}

.industry-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
}

/* 7. Why Choose Us (Comparison) */
.why-us-section {
    padding: 100px 0;
    background: var(--white);
}

.comparison-card {
    border-radius: var(--radius-xl);
    padding: 40px;
    height: 100%;
}

.comparison-traditional {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
}

.comparison-our-platform {
    background: linear-gradient(145deg, var(--primary-900) 0%, var(--primary-800) 100%);
    color: var(--white);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--primary-600);
}

.comparison-list {
    list-style: none;
    padding: 0;
    margin-top: 24px;
}

.comparison-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    gap: 12px;
}

.comparison-our-platform .comparison-list li {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* 8. Product Preview Dashboard Screenshots */
.product-preview-section {
    padding: 100px 0;
    background: var(--slate-50);
}

.mockup-tabs .nav-link {
    font-weight: 600;
    padding: 12px 24px !important;
    border-radius: var(--radius-full);
    color: var(--slate-600);
}

.mockup-tabs .nav-link.active {
    background: var(--primary-600);
    color: var(--white);
}

.dashboard-mockup-frame {
    background: var(--slate-900);
    border-radius: var(--radius-xl);
    padding: 12px;
    box-shadow: var(--shadow-xl);
}

.dashboard-mockup-inner {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
}

/* 9. Subscription Plans */
.pricing-section {
    padding: 100px 0;
    background: var(--white);
}

.pricing-card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    transition: var(--transition-bounce);
    position: relative;
}

.pricing-card.popular {
    border: 2px solid var(--primary-600);
    box-shadow: var(--shadow-glow);
}

.pricing-card.popular .popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-600);
    color: var(--white);
    padding: 4px 16px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.pricing-price {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--slate-900);
    margin: 20px 0 10px 0;
}

/* 10. Testimonials */
.testimonials-section {
    padding: 100px 0;
    background: var(--slate-50);
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--slate-200);
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

/* 11. Statistics Counter Section */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-900) 0%, var(--slate-900) 100%);
    color: var(--white);
}

.stat-counter-number {
    font-size: 3.2rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--primary-400);
    margin-bottom: 8px;
}

/* 12. FAQ Section */
.faq-section {
    padding: 100px 0;
    background: var(--white);
}

.accordion-item {
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md) !important;
    margin-bottom: 16px;
    overflow: hidden;
}

.accordion-button {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 20px 24px;
    color: var(--slate-900);
    background: var(--white);
}

.accordion-button:not(.collapsed) {
    background: var(--primary-50);
    color: var(--primary-700);
}

/* 13. Call To Action */
.cta-section {
    padding: 90px 0;
    background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-900) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-box {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* 14. Footer */
.site-footer {
    background: var(--slate-900);
    color: var(--slate-400);
    padding-top: 80px;
    padding-bottom: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-title {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--slate-400);
}

.footer-links a:hover {
    color: var(--primary-400);
}

/* Additional Styles for AMAK AgroTrace */
.max-w-700 { max-width: 700px; }
.max-w-800 { max-width: 800px; }

.hover-translate-y {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.hover-translate-y:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08) !important;
}

/* Journey Flow */
.journey-icon-box {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.journey-step-card {
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.journey-step-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-400) !important;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.1);
}

/* Problem Cards */
.problem-number-badge {
    width: 38px;
    height: 38px;
    background: #f1f5f9;
    color: var(--primary-600);
    font-weight: 800;
    font-size: 0.95rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
}

/* Mobile Verification Preview */
.mobile-preview-frame {
    background: #ffffff;
    border: 8px solid #1e293b;
    border-radius: 36px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);
}

/* Live Demo Card */
.live-demo-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

/* Comparison Table */
.table-custom-comparison {
    margin-bottom: 0;
}
.table-custom-comparison th {
    font-weight: 700;
    letter-spacing: 0.02em;
}
.table-custom-comparison td {
    padding: 16px 20px !important;
    font-size: 0.95rem;
}
.table-custom-comparison tr:nth-child(even) {
    background-color: #f8fafc;
}

@media (max-width: 991px) {
    .timeline-flow::before {
        display: none;
    }
    .hero-title {
        font-size: 2.3rem;
    }
}

