/* AgRoboPR.com — Premium Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;600;700;900&display=swap');

:root {
    --primary:        #1f5b20;
    --primary-light:  #2a7a2c;
    --primary-dark:   #163d17;
    --primary-glow:   rgba(31, 91, 32, 0.18);
    --accent:         #7cb518;
    --accent-light:   #a4d535;
    --secondary:      #0a1628;
    --surface:        #ffffff;
    --surface-2:      #f4f7f4;
    --surface-3:      #eaf2ea;
    --border:         #d8e8d8;
    --text-main:      #0f1f10;
    --text-muted:     #5a7a5b;
    --text-light:     #8aaa8b;
    --white:          #ffffff;
    --glass:          rgba(255,255,255,0.85);
    --glass-dark:     rgba(10, 22, 40, 0.85);
    --shadow-sm:      0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow:         0 4px 16px rgba(31,91,32,0.08), 0 1px 4px rgba(0,0,0,0.05);
    --shadow-lg:      0 20px 48px rgba(31,91,32,0.12), 0 4px 16px rgba(0,0,0,0.08);
    --shadow-glow:    0 0 32px rgba(31,91,32,0.22);
    --radius-sm:      8px;
    --radius:         14px;
    --radius-lg:      22px;
    --radius-xl:      32px;
    --transition:     all 0.3s cubic-bezier(0.4,0,0.2,1);
    --transition-fast: all 0.18s ease;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--surface-2);
    color: var(--text-main);
    line-height: 1.65;
    overflow-x: hidden;
}

a { text-decoration:none; color:inherit; transition: var(--transition); }
ul { list-style: none; }
img { display:block; max-width:100%; }

/* ── LAYOUT ─────────────────────────────────── */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.75rem;
}

/* ── HEADER ─────────────────────────────────── */
.main-header {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.header-top {
    background: #1a1a1a;
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.top-bar-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

/* .top-bar-left removed (empty) */

.top-bar-right {
    display: flex;
    justify-content: flex-end;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 2.1rem;
    font-weight: 900;
    color: var(--white);
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.logo span {
    color: #a4d535; /* Using the bright green for Agro/Green feel */
}

.header-nav {
    background: #cc0000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    height: 62px;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 800;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0 1.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    transition: var(--transition-fast);
}

.nav-links a:hover, .nav-links a.active {
    background: rgba(0,0,0,0.15);
    color: var(--white);
}

.nav-search-form {
    display: flex;
    align-items: center;
}

.nav-search {
    padding: 0.45rem 1rem;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    width: 160px;
    background: rgba(255,255,255,0.12);
    color: var(--white);
    transition: var(--transition);
    font-family: inherit;
}

.nav-search::placeholder { color: rgba(255,255,255,0.55); }
.nav-search:focus { outline: none; width: 220px; background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.5); }

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--white);
    color: var(--primary);
    padding: 0.55rem 1.3rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.88rem;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.cta-btn:hover {
    background: var(--accent-light);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}

.cta-btn.dark {
    background: var(--secondary);
    color: var(--white);
}
.cta-btn.dark:hover {
    background: #1a2e4a;
    color: var(--white);
}

.cta-btn.outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.6);
}
.cta-btn.outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--white);
}

/* ── HERO ────────────────────────────────────── */
.hero {
    padding: 3rem 0 5rem;
    background: linear-gradient(145deg, #0a1f0b 0%, #1a4a1c 45%, #1f5b20 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(124,181,24,0.14) 0%, transparent 70%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(124,181,24,0.15);
    border: 1px solid rgba(124,181,24,0.35);
    color: var(--accent-light);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.08;
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em;
}

.hero h1 span {
    color: var(--accent-light);
}

.hero h2 {
    color: var(--white);
    font-weight: 700;
    font-size: 1.2rem;
    padding-bottom: 3rem;
    margin: 0;
}

.hero p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.72);
    max-width: 620px;
    margin: 0 auto 2.75rem;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    flex-wrap: wrap;
}

.stat-item { text-align: center; }
.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
}
.stat-label {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.55);
    margin-top: 0.35rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ── SECTIONS ────────────────────────────────── */
.section { padding: 5.5rem 0; }
.section-alt { background: var(--surface-3); }

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
    position: relative;
    padding-left: 1.1rem;
    letter-spacing: -0.02em;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.15em;
    height: calc(100% - 0.3em);
    width: 4px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 4px;
}

.section-link {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.section-link:hover { color: var(--primary-light); transform: translateX(3px); }

/* ── GRID ────────────────────────────────────── */
.grid { display: grid; gap: 1.75rem; }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }

/* ── CARDS ───────────────────────────────────── */
.card {
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(31,91,32,0.2);
}

.card-img {
    height: 200px;
    background: linear-gradient(135deg, var(--surface-3) 0%, #d8e8d8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
}

.card-content { padding: 1.6rem; }

.card-tag {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: var(--primary-glow);
    padding: 0.25rem 0.65rem;
    border-radius: 100px;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--text-main);
    line-height: 1.35;
}

.card-excerpt {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.card-read-more {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}
.card-read-more:hover { color: var(--primary-light); gap: 0.55rem; }

/* Category Cards */
.cat-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 2.25rem 1.75rem;
    text-align: center;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}
.cat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
    background: var(--surface-3);
}

.cat-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 14px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cat-icon-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
}

.cat-name {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-main);
    margin-bottom: 0.35rem;
}

.cat-explore {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* ── CTA BAND ─────────────────────────────────── */
.cta-band {
    padding: 5.5rem 0;
    background: linear-gradient(135deg, #0a1f0b 0%, #1f5b20 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-band::before {
    content: '';
    position: absolute;
    inset: 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.03'%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");
    pointer-events: none;
}

.cta-band h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
    position: relative;
}

.cta-band p {
    color: rgba(255,255,255,0.68);
    max-width: 560px;
    margin: 0 auto 2.5rem;
    font-size: 1.05rem;
    position: relative;
}

/* ── FOOTER ───────────────────────────────────── */
footer {
    background: var(--secondary);
    color: #c8d8ca;
    padding: 5rem 0 0;
}

.footer-top { padding-bottom: 4rem; }

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

.footer-logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.55rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-logo span { color: var(--accent-light); }

.footer-desc {
    color: #7a9a7c;
    font-size: 0.875rem;
    max-width: 240px;
    line-height: 1.7;
}

.footer-heading {
    font-family: 'Outfit', sans-serif;
    font-size: 0.82rem;
    font-weight: 800;
    color: #a8c8aa;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.25rem;
}

.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }

.footer-links a {
    font-size: 0.875rem;
    color: #7a9a7c;
    transition: var(--transition-fast);
}

.footer-links a:hover { color: var(--white); padding-left: 4px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 1.75rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-copy {
    font-size: 0.82rem;
    color: #4a6a4c;
}

/* ── NEWSLETTER FORM ──────────────────────────── */
.newsletter-box {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    padding: 1.75rem;
}

.newsletter-box h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.newsletter-box p {
    font-size: 0.8rem;
    color: #7a9a7c;
    margin-bottom: 1rem;
}

.newsletter-row {
    display: flex;
    gap: 0.5rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.65rem 1rem;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-size: 0.85rem;
    font-family: inherit;
}

.newsletter-input::placeholder { color: #4a6a4c; }
.newsletter-input:focus { outline: none; border-color: var(--primary-light); background: rgba(255,255,255,0.1); }

.newsletter-btn {
    padding: 0.65rem 1.1rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.82rem;
    cursor: pointer;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.newsletter-btn:hover { background: var(--primary-light); }

/* ── PAGE BANNER ──────────────────────────────── */
.page-banner {
    background: linear-gradient(135deg, #0a1f0b 0%, #1f5b20 100%);
    padding: 4rem 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-banner::after {
    content: '';
    position: absolute;
    right: -60px;
    top: -60px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 40px solid rgba(255,255,255,0.04);
    pointer-events: none;
}

.page-banner h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.4rem;
    font-weight: 900;
    margin-bottom: 0.6rem;
    letter-spacing: -0.03em;
}

.page-banner p {
    color: rgba(255,255,255,0.65);
    font-size: 1rem;
    max-width: 480px;
}

/* ── FORMS ────────────────────────────────────── */
.form-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    overflow: hidden;
}

.form-card-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 2.5rem 2.75rem;
    color: var(--white);
}

.form-card-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.7rem;
    font-weight: 900;
    margin-bottom: 0.4rem;
    letter-spacing: -0.02em;
}

.form-card-header p {
    color: rgba(255,255,255,0.7);
    font-size: 0.92rem;
}

.form-body { padding: 2.75rem; }

.form-group { margin-bottom: 1.75rem; }

.form-label {
    display: block;
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--text-main);
    margin-bottom: 0.6rem;
    letter-spacing: 0.01em;
}

.form-label span { color: var(--primary); }

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 0.875rem 1.1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    font-family: inherit;
    color: var(--text-main);
    background: var(--surface);
    transition: var(--transition-fast);
    appearance: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(31,91,32,0.12);
    background: #fdfffe;
}

.form-textarea { resize: vertical; min-height: 200px; line-height: 1.65; }

/* File Upload */
.file-upload-area {
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 2.25rem 1.75rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    background: var(--surface-2);
}

.file-upload-area:hover, .file-upload-area.drag-over {
    border-color: var(--primary);
    background: var(--surface-3);
}

.file-upload-area input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.file-upload-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 12px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-upload-icon-inner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.9);
    border-radius: 50%;
    position: relative;
}

.file-upload-title {
    font-weight: 700;
    color: var(--text-main);
    font-size: 0.92rem;
    margin-bottom: 0.3rem;
}

.file-upload-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.file-upload-name {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
    display: none;
}

.form-divider {
    height: 1px;
    background: var(--border);
    margin: 2.25rem 0;
}

.form-submit-btn {
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    letter-spacing: 0.01em;
}

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

/* Alert */
.alert-success {
    background: #d1fae5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    margin-bottom: 1.75rem;
    font-size: 0.92rem;
}

/* Info box */
.info-box {
    background: var(--surface-3);
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-sm);
    padding: 1.25rem 1.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.info-box strong { color: var(--text-main); }

/* Pricing badge */
.price-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    font-weight: 800;
    font-size: 1.05rem;
    padding: 0.6rem 1.4rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

/* ── UTILITIES ────────────────────────────────── */
.text-primary { color: var(--primary); }
.text-muted   { color: var(--text-muted); }
.text-white   { color: var(--white); }
.fw-700 { font-weight: 700; }
.fs-sm  { font-size: 0.875rem; }
.mt-1   { margin-top: 0.5rem; }
.mb-1   { margin-bottom: 0.5rem; }
.mb-2   { margin-bottom: 1rem; }

/* ── RESPONSIVE ───────────────────────────────── */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
    .hero { padding: 4rem 0 3rem; }
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1rem; }
    .nav-links { display: none; }
    .nav-search-form { display: none; }
    .hero-stats { gap: 2rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .form-body { padding: 1.75rem; }
    .form-card-header { padding: 2rem 1.75rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.9rem; }
    .hero-ctas { flex-direction: column; align-items: center; }
    .hero-stats { gap: 1.5rem; }
}
