/* How It Works Page Styles */

/* Main Gradient Wrapper */
.main-gradient-wrapper {
    background: linear-gradient(180deg, 
        #FFFFFF 0%,           /* Pure white at top */
        #FAFAFA 15%,          /* Very light gray-white */
        #F5FDF5 30%,          /* Hint of green */
        #F1F8E9 50%,          /* Light pale green */
        #E8F5E9 70%,          /* Pale green */
        #E3F2E3 85%,          /* Slightly deeper pale green */
        #DFF0DF 100%          /* Deepest pale green at bottom */
    );
    min-height: 100vh;
}

/* Hero Section */
.hero-section {
    padding: 120px 0 80px;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 195, 74, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    top: -250px;
    right: -250px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #2E4034;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text h1 .highlight {
    background: linear-gradient(135deg, #66BB6A 0%, #4CAF50 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-family: 'Lora', serif;
    font-size: 1.25rem;
    color: #5D6E5A;
    line-height: 1.6;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #66BB6A;
}

.stat-label {
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    color: #8B9E88;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.btn-primary, .btn-secondary {
    padding: 14px 32px;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #66BB6A 0%, #4CAF50 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 187, 106, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 187, 106, 0.4);
}

.btn-secondary {
    background: white;
    color: #4CAF50;
    border: 2px solid #4CAF50;
}

.btn-secondary:hover {
    background: #4CAF50;
    color: white;
    transform: translateY(-2px);
}

.hero-visual {
    position: relative;
}

.phone-mockup {
    position: relative;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

/* Process Section */
.process-section {
    padding: 80px 0;
    background: transparent;
}

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

.section-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2E4034;
    margin-bottom: 12px;
}

.section-header p {
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    color: #8B9E88;
}

.process-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.timeline-connector {
    position: absolute;
    left: 60px;
    top: 80px;
    bottom: 80px;
    width: 2px;
    background: linear-gradient(180deg, #66BB6A 0%, #A5D6A7 100%);
    opacity: 0.3;
}

.process-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 30px;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.process-card:hover {
    transform: translateX(10px);
    box-shadow: 0 6px 30px rgba(102, 187, 106, 0.15);
}

.card-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #E8F5E9 0%, #F1F8E9 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #66BB6A;
}

.step-label {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #8B9E88;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #2E4034;
    margin-bottom: 12px;
}

.card-content p {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    color: #5D6E5A;
    line-height: 1.6;
    margin-bottom: 20px;
}

.quick-tips {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.tip {
    background: #E8F5E9;
    color: #4CAF50;
    padding: 6px 12px;
    border-radius: 20px;
    font-family: 'Roboto', sans-serif;
    font-size: 0.85rem;
}

.analysis-metrics {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.metric {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    color: #5D6E5A;
}

.metric-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.plan-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    color: #5D6E5A;
}

.feature svg {
    flex-shrink: 0;
}

.card-demo img {
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Technology Section */
.technology-section {
    padding: 80px 0;
    background: transparent;
}

.tech-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.tech-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(224, 224, 224, 0.5);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: #5D6E5A;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: linear-gradient(135deg, #66BB6A 0%, #4CAF50 100%);
    color: white;
    border-color: transparent;
}

.tab-btn:hover:not(.active) {
    border-color: #66BB6A;
    transform: translateY(-2px);
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

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

.content-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.content-header h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #2E4034;
}

.tech-badge {
    background: #E8F5E9;
    color: #4CAF50;
    padding: 6px 16px;
    border-radius: 20px;
    font-family: 'Roboto', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
}

.tech-features {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.tech-features li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    font-family: 'Roboto', sans-serif;
    color: #5D6E5A;
}

.tech-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #66BB6A;
    font-weight: bold;
}

.tech-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-container {
    background: transparent;
    padding: 40px;
    border-radius: 16px;
}

/* Features Grid */
.features-grid-section {
    padding: 80px 0;
    background: transparent;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 30px rgba(102, 187, 106, 0.15);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #E8F5E9 0%, #F1F8E9 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #66BB6A;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #2E4034;
    margin-bottom: 12px;
}

.feature-card p {
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    color: #5D6E5A;
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background: transparent;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.testimonial-card.featured {
    transform: scale(1.05);
    box-shadow: 0 6px 30px rgba(102, 187, 106, 0.15);
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.rating {
    color: #FFD700;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.testimonial-text {
    font-family: 'Lora', serif;
    font-size: 1rem;
    color: #5D6E5A;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.testimonial-author strong {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #2E4034;
}

.testimonial-author span {
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    color: #8B9E88;
}

/* Grasses Section */
.grasses-section {
    padding: 80px 0;
    background: transparent;
}

.grass-showcase {
    margin-top: 40px;
}

.showcase-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.grass-tab {
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(224, 224, 224, 0.5);
    border-radius: 25px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: #5D6E5A;
    cursor: pointer;
    transition: all 0.3s ease;
}

.grass-tab.active {
    background: linear-gradient(135deg, #66BB6A 0%, #4CAF50 100%);
    color: white;
    border-color: transparent;
}

.grass-tab:hover:not(.active) {
    border-color: #66BB6A;
    transform: translateY(-2px);
}

.grass-grid {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.grass-grid.active {
    display: grid;
}

.grass-tile {
    background: rgba(255, 255, 255, 0.95);
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    min-width: 0;
}

.grass-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(102, 187, 106, 0.2);
}

.grass-tile img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 12px;
}

.grass-tile span {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    color: #2E4034;
    font-weight: 500;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.grass-tile.more {
    background: linear-gradient(135deg, #E8F5E9 0%, #F1F8E9 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.more-count {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #66BB6A;
}

.grass-cta {
    text-align: center;
    margin-top: 40px;
}

.grass-cta p {
    font-family: 'Roboto', sans-serif;
    color: #5D6E5A;
    margin-bottom: 12px;
}

.btn-link {
    color: #66BB6A;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-link:hover {
    color: #4CAF50;
}

/* Download Section */
.download-section {
    padding: 80px 0;
    background: transparent;
    color: #2E4034;
    position: relative;
}

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

.download-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #2E4034;
}

.download-content p {
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    color: #5D6E5A;
    margin-bottom: 40px;
}

.download-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.feature-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Roboto', sans-serif;
    color: #5D6E5A;
}

.feature-check svg {
    flex-shrink: 0;
}

.download-button {
    display: inline-block;
    transition: transform 0.3s ease;
}

.download-button:hover {
    transform: translateY(-3px);
}

.app-rating {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.stars {
    font-size: 1.5rem;
    color: #FFD700;
}

.app-rating span {
    font-family: 'Roboto', sans-serif;
    color: #5D6E5A;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Hero Section */
    .hero-section {
        padding: 80px 0 60px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 20px;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 25px;
    }
    
    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .phone-mockup img {
        max-width: 250px;
        height: auto;
    }
    
    /* Process Section */
    .process-section {
        padding: 60px 0;
    }
    
    .process-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 25px;
    }
    
    .card-demo {
        display: none; /* Hide demo images on mobile to save space */
    }
    
    .timeline-connector {
        display: none;
    }
    
    /* Technology Section */
    .technology-section {
        padding: 60px 0;
    }
    
    .tech-showcase {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .tech-tabs {
        justify-content: center;
        gap: 8px;
    }
    
    .tab-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .visual-container {
        padding: 20px;
    }
    
    .visual-container img {
        max-width: 100%;
        height: auto;
    }
    
    /* Grasses Section */
    .grasses-section {
        padding: 60px 0;
    }
    
    .showcase-tabs {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .grass-tab {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .grass-grid {
        gap: 15px;
    }
    
    /* Download Section */
    .download-section {
        padding: 60px 0;
    }
    
    .download-content h2 {
        font-size: 2rem;
    }
    
    .download-features {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    /* General */
    .container {
        padding: 0 20px;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 1rem;
        padding: 0 20px;
    }
}

/* iPhone and smaller devices */
@media (max-width: 480px) {
    /* Hero Section */
    .hero-section {
        padding: 70px 0 50px;
    }
    
    .hero-text h1 {
        font-size: 1.5rem;
        line-height: 1.4;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        padding: 14px 24px;
        font-size: 0.95rem;
    }
    
    .phone-mockup img {
        max-width: 200px;
    }
    
    /* Process Section */
    .process-card {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .card-content h3 {
        font-size: 1.25rem;
    }
    
    .card-content p {
        font-size: 0.9rem;
    }
    
    .quick-tips, .plan-features {
        gap: 8px;
    }
    
    .tip, .feature {
        font-size: 0.8rem;
        padding: 4px 10px;
    }
    
    .analysis-metrics {
        flex-direction: column;
        align-items: flex-start;
    }
    
    /* Technology Section */
    .tech-tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    
    .tab-btn {
        padding: 10px 8px;
        font-size: 0.85rem;
    }
    
    .tech-features li {
        font-size: 0.9rem;
        padding: 8px 0;
    }
    
    /* Grasses Section */
    .grass-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .grass-tile {
        padding: 12px;
    }
    
    .grass-tile img {
        width: 60px;
        height: 60px;
    }
    
    .grass-tile span {
        font-size: 0.75rem;
    }
    
    /* Download Section */
    .download-content h2 {
        font-size: 1.75rem;
    }
    
    .download-content p {
        font-size: 1rem;
    }
    
    .feature-check {
        font-size: 0.9rem;
    }
    
    /* Section Headers */
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .section-header p {
        font-size: 0.9rem;
    }
    
    /* Container padding for small screens */
    .container {
        padding: 0 15px;
    }
}

/* iPhone 13 Pro specific (390px width) */
@media (max-width: 390px) {
    .hero-text h1 {
        font-size: 1.4rem;
    }
    
    .grass-tile span {
        font-size: 0.7rem;
    }
    
    .tech-tabs {
        gap: 6px;
    }
    
    .tab-btn {
        padding: 8px 6px;
        font-size: 0.8rem;
    }
}