* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0066FF;
    --secondary: #00C896;
    --dark: #0A0E27;
    --dark-light: #1A1F3A;
    --gray: #6B7280;
    --light-gray: #F3F4F6;
    --white: #FFFFFF;
    --gradient: linear-gradient(135deg, #0066FF 0%, #00C896 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo {
    height: 48px;
    width: auto;
}

.brand-text h3 {
    color: var(--dark);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

.brand-text p {
    color: var(--gray);
    font-size: 12px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--gray);
    font-weight: 500;
    font-size: 14px;
    transition: color 0.2s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient);
}

.nav-auth-btn {
    background: var(--gradient);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 600 !important;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
}

.nav-auth-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 102, 255, 0.4);
    color: var(--white) !important;
}

.nav-auth-dropdown {
    position: relative;
}

.nav-auth-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nav-auth-toggle i {
    font-size: 11px;
    transition: transform 0.2s ease;
}

.nav-auth-dropdown.open .nav-auth-toggle i {
    transform: rotate(180deg);
}

.nav-auth-name {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-auth-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(10, 14, 39, 0.16);
    min-width: 180px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
    z-index: 200;
}

.nav-auth-dropdown.open .nav-auth-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-auth-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--dark) !important;
    font-weight: 500 !important;
    font-size: 14px;
    white-space: nowrap;
}

.nav-auth-menu-item:hover {
    background: var(--light-gray);
    color: var(--primary) !important;
}

.nav-auth-menu-item i {
    width: 16px;
    text-align: center;
    color: var(--gray);
}

.nav-auth-menu-item.nav-auth-logout {
    color: #E11D48 !important;
}

.nav-auth-menu-item.nav-auth-logout i {
    color: #E11D48;
}

.nav-auth-menu-item.nav-auth-logout:hover {
    background: #FEF2F2;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 2s ease-in-out, transform 8s ease-out;
    will-change: opacity, transform;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.85) 0%, rgba(0, 102, 255, 0.75) 100%);
    z-index: 1;
    animation: overlayPulse 20s ease-in-out infinite;
}

@keyframes overlayPulse {
    0%, 100% { 
        background: linear-gradient(135deg, rgba(10, 14, 39, 0.85) 0%, rgba(0, 102, 255, 0.75) 100%);
    }
    50% { 
        background: linear-gradient(135deg, rgba(0, 102, 255, 0.75) 0%, rgba(10, 14, 39, 0.85) 100%);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 60px 24px;
}

.hero {
    background: transparent;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 100px;
    width: fit-content;
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--white);
    letter-spacing: -0.02em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: var(--white);
}

.hero-stats {
    display: flex;
    gap: 32px;
}

.stat {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
}

.stat-text {
    display: flex;
    flex-direction: column;
}

.stat-text strong {
    font-size: 14px;
    color: var(--white);
    font-weight: 600;
}

.stat-text span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

.hero-right {
    position: relative;
    display: none;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 40px;
    right: 40px;
    z-index: 10;
    display: flex;
    gap: 12px;
}

.slider-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    font-size: 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.slider-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.slider-btn:hover::before {
    width: 100%;
    height: 100%;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.slider-btn:active {
    transform: scale(0.95);
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
}

.dot.active {
    background: var(--white);
    width: 40px;
    border-radius: 6px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

.dot:hover:not(.active) {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

.dot.active::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 0;
    height: 4px;
    background: var(--white);
    border-radius: 2px;
    animation: dotProgress 6s linear;
}

@keyframes dotProgress {
    from { width: 0%; }
    to { width: 100%; }
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 48px;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.02em;
}

/* About Section */
.about {
    padding: 120px 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.large-text {
    font-size: 20px;
    line-height: 1.7;
    color: var(--gray);
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 16px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: start;
}

.feature-icon-small {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon-small i {
    font-size: 24px;
    color: var(--primary);
}

.feature-item h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.feature-item p {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.6;
}

.about-visual {
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-box {
    background: var(--white);
    padding: 32px;
    border-radius: 20px;
    border: 1px solid #E5E7EB;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.stat-box i {
    font-size: 32px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.stat-box h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.stat-box p {
    font-size: 14px;
    color: var(--gray);
}

/* Features Section */
.features {
    padding: 120px 0;
    background: var(--light-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--white);
    padding: 32px;
    border-radius: 20px;
    border: 1px solid #E5E7EB;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 24px;
    color: var(--white);
}

.feature-card h3 {
    color: var(--dark);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.6;
}

/* Apps Section */
.apps {
    padding: 120px 0;
    background: var(--white);
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.app-card {
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid #E5E7EB;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.app-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.app-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.app-icon i {
    font-size: 32px;
    color: var(--white);
}

.app-icon.officials {
    background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%);
}

.app-icon.contractors {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
}

.app-icon.farmers {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
}

.app-card h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.app-card h4 {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 24px;
}

.app-features-list {
    list-style: none;
    margin-bottom: 32px;
    flex-grow: 1;
}

.app-features-list li {
    padding: 12px 0;
    color: var(--gray);
    font-size: 14px;
    border-bottom: 1px solid #F3F4F6;
    position: relative;
    padding-left: 24px;
}

.app-features-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: 700;
}

.app-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    background: var(--dark);
    color: var(--white);
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.app-download-btn:hover {
    background: var(--dark-light);
    transform: translateY(-2px);
}

/* Integration Section */
.integration {
    padding: 120px 0;
    background: var(--light-gray);
}

.integration-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.integration-item {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid #E5E7EB;
    transition: all 0.3s ease;
}

.integration-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.integration-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.integration-icon i {
    font-size: 28px;
    color: var(--primary);
}

.integration-item h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.integration-item p {
    font-size: 13px;
    color: var(--gray);
}

/* Gallery Section */
.gallery {
    padding: 120px 0;
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    height: 400px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-label {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    backdrop-filter: blur(10px);
}

/* Contact Section */
.contact {
    padding: 120px 0;
    background: var(--white);
}

.contact-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    text-align: center;
}

.contact-info h2 {
    font-size: 48px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
}

.contact-info p {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 48px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
    text-align: left;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: start;
    padding: 32px;
    background: var(--light-gray);
    border-radius: 16px;
}

.contact-item i {
    font-size: 24px;
    color: var(--primary);
    margin-top: 4px;
}

.contact-item strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.contact-item span {
    display: block;
    font-size: 15px;
    color: var(--gray);
    line-height: 1.6;
}

.contact-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.contact-link:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.contact-link::after {
    content: "→";
    font-size: 16px;
    transition: transform 0.2s ease;
}

.contact-link:hover::after {
    transform: translateX(4px);
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 80px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand img {
    height: 56px;
    margin-bottom: 20px;
}

.footer-brand p {
    color: #9CA3AF;
    font-size: 14px;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--white);
}

.footer-links a {
    color: #9CA3AF;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-download h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
}

.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: var(--dark-light);
    border-radius: 12px;
    text-decoration: none;
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.store-badge:hover {
    background: #2A2F4A;
    transform: translateY(-2px);
}

.store-badge i {
    font-size: 24px;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid #374151;
    text-align: center;
}

.footer-bottom p {
    color: #9CA3AF;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-right {
        display: none;
    }

    .slider-controls {
        right: 24px;
        bottom: 120px;
    }
    
    .slider-dots {
        bottom: 80px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .apps-grid {
        grid-template-columns: 1fr;
    }

    .integration-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        padding: 32px 0;
        gap: 24px;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .slider-controls {
        right: 16px;
        bottom: 100px;
    }
    
    .slider-dots {
        bottom: 60px;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .integration-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        height: 300px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-info h2 {
        font-size: 32px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: var(--primary);
    color: var(--white);
}

/* Loading Animation */
body {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
