@import url('https://api.fontshare.com/v2/css?f[]=satoshi@900,700,500,400&display=swap');

:root {
    --primary-dark: #386641;
    --primary-medium: #6A994E;
    --primary-light: #A7C957;
    --accent-cream: #F2E8CF;
    
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-muted: #6a6a6a;
    --text-light: #8a8a8a;
    
    --bg-white: #ffffff;
    --bg-cream: #fefdf9;
    --bg-light: #f9f8f5;
    
    --gradient-primary: linear-gradient(135deg, #386641 0%, #6A994E 50%, #A7C957 100%);
    --gradient-soft: linear-gradient(135deg, #6A994E 0%, #A7C957 100%);
    --gradient-hero: linear-gradient(180deg, rgba(167, 201, 87, 0.05) 0%, rgba(106, 153, 78, 0.03) 100%);
    
    --shadow-sm: 0 2px 4px rgba(56, 102, 65, 0.06);
    --shadow-md: 0 4px 12px rgba(56, 102, 65, 0.08);
    --shadow-lg: 0 8px 24px rgba(56, 102, 65, 0.12);
    --shadow-xl: 0 16px 48px rgba(56, 102, 65, 0.16);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(167, 201, 87, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

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

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.nav-logo h2 {
    font-family: 'Satoshi', sans-serif;
    font-size: 24px;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    color: var(--text-secondary);
    position: relative;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-medium);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -6px;
    left: 0;
    background: var(--gradient-soft);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--gradient-primary);
    color: white;
    padding: 10px 24px;
    border-radius: var(--radius-xl);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(167, 201, 87, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(167, 201, 87, 0.1);
    color: var(--primary-dark);
    padding: 8px 16px;
    border-radius: var(--radius-xl);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-badge span {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--primary-medium);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.hero-title {
    font-size: clamp(48px, 6vw, 72px);
    font-weight: 900;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

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

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: var(--radius-xl);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: white;
    color: var(--primary-dark);
    border: 2px solid rgba(56, 102, 65, 0.1);
}

.btn-secondary:hover {
    border-color: var(--primary-medium);
    background: rgba(167, 201, 87, 0.05);
}

.hero-image {
    position: relative;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    perspective: 1000px;
}

.dashboard-screenshot {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    transition: transform 0.1s ease-out, box-shadow 0.3s ease;
    will-change: transform;
    transform-style: preserve-3d;
}

.dashboard-screenshot:hover {
    box-shadow: 0 20px 60px rgba(56, 102, 65, 0.2);
}

.floating-card {
    position: absolute;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 16px;
    animation: float 3s ease-in-out infinite;
}

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

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--bg-cream);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(167, 201, 87, 0.2) 50%, transparent 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-tag {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: var(--primary-medium);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: clamp(36px, 4vw, 48px);
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.section-header p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.feature-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(167, 201, 87, 0.1);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-soft);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

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

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

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-soft);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 24px;
    transition: var(--transition);
}

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

.feature-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* AI Feature Highlight */
.ai-feature {
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.ai-feature::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

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

.ai-feature h3,
.ai-feature p {
    color: white;
    position: relative;
    z-index: 1;
}

.ai-feature .feature-icon {
    background: rgba(255, 255, 255, 0.2);
}

/* Screenshots Section */
.screenshots {
    padding: 100px 0;
    background: white;
}

.screenshots-grid-main {
    margin-bottom: 60px;
}

.main-screenshot {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--bg-light);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.main-screenshot img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.screenshot-info {
    padding: 32px;
    background: white;
    text-align: center;
}

.screenshot-info h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.screenshot-info p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}

.screenshot-thumb {
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.screenshot-thumb:hover {
    opacity: 1;
    transform: translateY(-4px);
}

.screenshot-thumb.active {
    opacity: 1;
    box-shadow: 0 0 0 3px var(--primary-medium);
    border-radius: var(--radius-lg);
}

.screenshot-thumb .screenshot-overlay {
    padding: 20px;
}

.screenshot-thumb .screenshot-overlay h4 {
    font-size: 16px;
}

.screenshot-thumb .screenshot-overlay p {
    font-size: 13px;
}

.screenshot-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--bg-light);
    transition: var(--transition);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.screenshot-item:hover img {
    transform: scale(1.05);
}

.screenshot-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    padding: 32px 24px 24px;
    transform: translateY(100%);
    transition: var(--transition);
}

.screenshot-item:hover .screenshot-overlay {
    transform: translateY(0);
}

.screenshot-overlay h4 {
    color: white;
    font-size: 20px;
    margin-bottom: 8px;
}

.screenshot-overlay p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

/* Install Section */
.install {
    padding: 100px 0;
    background: var(--gradient-hero);
    position: relative;
}

.install-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.install-content h2 {
    font-size: clamp(36px, 4vw, 48px);
    font-weight: 900;
    margin-bottom: 24px;
}

.install-content > p {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 48px;
    line-height: 1.8;
}

.install-steps {
    display: flex;
    gap: 48px;
    margin-bottom: 48px;
    justify-content: center;
    flex-wrap: wrap;
}

.step {
    text-align: center;
    flex: 0 0 200px;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: white;
    color: var(--primary-dark);
    border-radius: 50%;
    font-family: 'Satoshi', sans-serif;
    font-weight: 900;
    font-size: 24px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.step:hover .step-number {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.step p {
    color: var(--text-secondary);
    font-weight: 500;
}

.btn-large {
    padding: 20px 48px;
    font-size: 18px;
    gap: 12px;
}

.install-note {
    margin-top: 24px;
    color: var(--text-muted);
    font-size: 16px;
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: white;
    padding: 60px 0 24px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(167, 201, 87, 0.3) 50%, transparent 100%);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand h3 {
    font-size: 28px;
    margin-bottom: 16px;
    font-weight: 900;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    max-width: 400px;
}

.footer-section h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--accent-cream);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--primary-light);
    transform: translateX(4px);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(167, 201, 87, 0.2);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--primary-dark);
    transition: var(--transition);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: clamp(36px, 8vw, 48px);
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .screenshots-grid {
        grid-template-columns: 1fr;
    }
    
    .install-steps {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .feature-card {
        padding: 32px 24px;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

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