/* =========================================
   CSS Variables & Global Setup
   ========================================= */
:root {
    /* Colors (AgTech Premium Feel) */
    --color-primary: #27ae60;      /* Vibrant Green */
    --color-primary-dark: #1e8449; /* Deep Green */
    --color-accent: #e74c3c;       /* Strawberry Red */
    --color-accent-hover: #c0392b;
    --color-bg: #f8fbfa;           /* Very light greenish-white */
    --color-text: #2c3e50;         /* Dark Navy/Grey */
    --color-text-light: #7f8c8d;   /* Muted grey */
    --color-white: #ffffff;
    
    /* Gradients */
    --gradient-brand: linear-gradient(135deg, var(--color-primary), #2ecc71);
    
    /* Typography */
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    
    /* Layout & Spacing */
    --max-width: 1200px;
    --section-padding: 6rem 0;
    --border-radius-sm: 8px;
    --border-radius: 16px;
    --border-radius-lg: 24px;
    
    /* Effects (Glassmorphism & Shadows) */
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 15px 40px rgba(39, 174, 96, 0.15);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.4);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

body.lang-am {
    font-family: 'Sylfaen', 'Arial AM', sans-serif; /* Fallback for Armenian */
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Base Classes */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-accent { color: var(--color-accent); }
.text-primary { color: var(--color-primary); }
.text-gradient {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text-center { text-align: center; }
.bg-light { background-color: #f2f7f5; }
.py-section { padding: var(--section-padding); }

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: #1a252f;
    line-height: 1.2;
}

.section-header {
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Glassmorphism Classes */
.glass-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-soft);
}

.glass-panel {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.6);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
    font-family: var(--font-main);
}

.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.125rem; }
.w-100 { width: 100%; }

.btn-primary {
    background: var(--gradient-brand);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

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

.btn-secondary {
    background-color: var(--color-white);
    color: var(--color-text);
    border: 1px solid #eaeaea;
}

.btn-secondary:hover {
    background-color: #f8f9fa;
    border-color: #dcdcdc;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

/* =========================================
   Header & Nav
   ========================================= */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--color-text);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.lang-switcher {
    display: flex;
    background: rgba(0,0,0,0.05);
    border-radius: 20px;
    padding: 0.25rem;
}

.lang-switcher button {
    background: transparent;
    border: none;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-light);
    transition: all 0.2s ease;
}

.lang-switcher button.active {
    background: var(--color-white);
    color: var(--color-primary);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    position: relative;
    padding: 12rem 0 8rem;
    overflow: hidden;
}

.hero-bg-accent {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(46,204,113,0.15) 0%, rgba(248,251,250,0) 70%);
    z-index: -1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 540px;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(39, 174, 96, 0.1);
    color: var(--color-primary-dark);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.badge i {
    margin-right: 0.25rem;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: 2.5rem;
}

.cta-group {
    display: flex;
    gap: 1rem;
}

.hero-visual {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    padding: 1rem;
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

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

.hero-img {
    border-radius: var(--border-radius);
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.floating-card {
    position: absolute;
    bottom: 2rem;
    left: -2rem;
    background: var(--color-white);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 6s ease-in-out infinite;
}

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

.icon-box {
    width: 48px;
    height: 48px;
    background: rgba(39,174,96,0.1);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.stat-info { display: flex; flex-direction: column; }
.stat-val { font-weight: 700; font-size: 1.125rem; color: var(--color-text); }
.stat-label { font-size: 0.75rem; color: var(--color-text-light); text-transform: uppercase; letter-spacing: 1px;}

/* =========================================
   Transparency Section
   ========================================= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-brand);
    color: white;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 10px 20px rgba(39, 174, 96, 0.2);
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* =========================================
   How It Works
   ========================================= */
.steps-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.step-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-item.reverse {
    grid-template-columns: auto 1fr auto;
    text-align: right;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(39, 174, 96, 0.1);
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--color-text-light);
}

.step-visual {
    width: 100px;
    height: 100px;
    background: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--color-primary);
    box-shadow: var(--shadow-soft);
    border: 4px solid #f2f7f5;
}

.step-connector {
    height: 60px;
    width: 2px;
    background: dashed 2px rgba(39, 174, 96, 0.3);
    margin: 1rem auto;
}

/* =========================================
   Pricing Section
   ========================================= */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.price-card {
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    position: relative;
    background: var(--color-white);
    border: 1px solid #eaeaea;
}

.price-card.featured {
    border-color: var(--color-primary);
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
}

.plan-header { margin-bottom: 2rem; border-bottom: 1px solid #f0f0f0; padding-bottom: 2rem; }
.plan-header h3 { font-size: 1.5rem; color: var(--color-text-light); }
.price { font-size: 3.5rem; font-weight: 700; font-family: var(--font-heading); color: var(--color-text); margin: 0.5rem 0; line-height: 1;}
.period { font-size: 1rem; color: var(--color-text-light); font-weight: 400; }
.currency { font-size: 1.5rem; vertical-align: super; }

.plan-features { margin-bottom: 2.5rem; }
.plan-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}
.plan-features li.disabled { color: #ccc; }
.plan-features li.disabled i { color: #ccc; }

/* =========================================
   Footer
   ========================================= */
.footer {
    background-color: #1a252f;
    color: #fff;
    padding: 5rem 0 2rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer .logo-text { color: white; }
.footer .text-accent { color: var(--color-primary); }

.footer-brand p { color: #a9b3bc; }

.footer-links h4, .footer-contact h4 {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.footer-links a {
    display: block;
    color: #a9b3bc;
    margin-bottom: 0.75rem;
}
.footer-links a:hover { color: var(--color-primary); }

.footer-contact p { color: #a9b3bc; margin-bottom: 1rem; }

.socials { display: flex; gap: 1rem; }
.socials a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}
.socials a:hover { background: var(--color-primary); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    color: #a9b3bc;
    font-size: 0.875rem;
}

/* =========================================
   Responsive Design
   ========================================= */
@media (max-width: 992px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-content { max-width: 100%; margin: 0 auto; }
    .cta-group { justify-content: center; }
    .hero-image-wrapper { margin-top: 3rem; transform: none; }
    .hero-image-wrapper:hover { transform: none; }
    
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: 1fr; max-width: 500px;}
    .price-card.featured { transform: scale(1); }
    
    .step-item, .step-item.reverse {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    .step-number { border-bottom: 1px solid #eee; padding-bottom: 1rem;}
    .step-visual { margin: 0 auto; }
    .step-item.reverse .step-number { grid-row: 1; }
    .step-item.reverse .step-content { grid-row: 2; }
    .step-item.reverse .step-visual { grid-row: 3; }
}

@media (max-width: 768px) {
    .nav-links { display: none; } /* Add mobile menu later if fully fleshed out */
    
    .hero h1 { font-size: 3rem; }
    
    .features-grid { grid-template-columns: 1fr; }
    
    .footer-container { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .socials { justify-content: center; }
}
