/* Global Styles */
:root {
    --farm-green: #2D5016;
    --earth-brown: #8B4513;
    --sky-blue: #4A90E2;
    --success: #27AE60;
    --warning: #F39C12;
    --danger: #E74C3C;
    --neutral: #7F8C8D;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F5F5F5;
    --bg-card: #FAFAFA;
    --text-primary: #2C3E50;
    --text-secondary: #7F8C8D;
    --border-color: #E0E0E0;
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-hover: 0 4px 12px rgba(0,0,0,0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-primary);
    background: var(--bg-secondary);
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--farm-green) 0%, #3a6b1f 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.logo {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.hero-section h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
}

.tagline {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 48px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin: 48px 0;
}

.stat-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.2);
}

.stat-value {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: white;
    color: var(--farm-green);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--farm-green);
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: white;
}

.features-section h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 48px;
}

.phases {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.phase-card {
    background: var(--bg-card);
    padding: 32px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.phase-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.phase-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.phase-number {
    background: var(--farm-green);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.phase-duration {
    font-size: 14px;
    color: var(--text-secondary);
}

.phase-card h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.phase-card p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.phase-card ul {
    list-style: none;
    margin: 16px 0;
}

.phase-card li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
}

.phase-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

.phase-status {
    margin-top: 16px;
    padding: 12px;
    background: var(--bg-secondary);
    border-radius: 6px;
    font-size: 14px;
}

.phase-status.delivered {
    background: #e8f5e9;
    border-left: 4px solid var(--success);
}

/* Tech Stack Section */
.tech-stack-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.tech-category h4 {
    font-size: 18px;
    margin-bottom: 16px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    border: 1px solid var(--border-color);
}

.tech-highlight {
    background: linear-gradient(135deg, #fff9e6 0%, #fff4cc 100%);
    padding: 32px;
    border-radius: 12px;
    display: flex;
    gap: 24px;
    align-items: start;
    border: 2px solid var(--warning);
}

.highlight-icon {
    font-size: 48px;
}

.highlight-content h4 {
    font-size: 20px;
    margin-bottom: 8px;
}

/* Value Prop Section */
.value-prop-section {
    padding: 80px 0;
    background: white;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
    margin: 48px 0;
}

.comparison-item {
    padding: 32px;
    border-radius: 12px;
}

.comparison-item.failure {
    background: #ffebee;
    border: 2px solid var(--danger);
}

.comparison-item.success {
    background: #e8f5e9;
    border: 2px solid var(--success);
}

.comparison-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.comparison-header .icon {
    font-size: 32px;
}

.comparison-item ul {
    list-style: none;
}

.comparison-item li {
    padding: 12px 0;
    padding-left: 28px;
    position: relative;
}

.failure li:before {
    content: "✗";
    position: absolute;
    left: 0;
    color: var(--danger);
    font-weight: 700;
}

.success li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

.salvage-callout {
    background: var(--bg-secondary);
    padding: 32px;
    border-radius: 12px;
    border-left: 4px solid var(--sky-blue);
}

.salvage-callout h4 {
    font-size: 20px;
    margin-bottom: 12px;
}

/* ROI Section */
.roi-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.roi-chart {
    background: white;
    padding: 48px;
    border-radius: 12px;
    margin: 48px 0;
}

.roi-timeline {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 400px;
    gap: 16px;
}

.roi-year {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.year-label {
    font-weight: 600;
    margin-bottom: 8px;
}

.year-bar {
    width: 100%;
    max-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px 8px 0 0;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
}

.year-bar.negative {
    background: var(--danger);
}

.year-bar.positive {
    background: var(--success);
}

.year-detail {
    font-size: 14px;
    color: var(--text-secondary);
}

.roi-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.roi-card {
    background: white;
    padding: 32px;
    border-radius: 12px;
    text-align: center;
}

.roi-card h4 {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 16px;
}

.big-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--farm-green);
    margin-bottom: 8px;
}

/* Footer */
footer {
    background: var(--text-primary);
    color: white;
    padding: 48px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.footer-section h4 {
    margin-bottom: 16px;
}

.footer-section a {
    display: block;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    padding: 8px 0;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 32px;
    }
    
    .phases {
        grid-template-columns: 1fr;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .roi-timeline {
        height: 300px;
    }
}
