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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8fafc;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 2rem;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 26px; /* Matches Flutter fontSize: 26.0 */
    font-weight: 800; /* Matches Flutter fontWeight: FontWeight.w800 */
    letter-spacing: 0.5px; /* Matches Flutter letterSpacing: 0.5 */
    text-decoration: none;
}

.nav-logo .w {
    color: #1B5E20; /* Deep forest green */
}

.nav-logo .isher {
    color: #43A047; /* Vibrant medium green */
}

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

.nav-links a {
    color: #334155;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #43A047;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.mobile-menu span {
    width: 24px;
    height: 2px;
    background: #334155;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1B5E20 0%, #43A047 50%, #81C784 100%); /* Green gradient */
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    text-align: left;
}

.hero-phones {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    position: relative;
}

.hero-phone {
    width: 200px;
    height: 400px;
    background: #1e293b;
    border-radius: 20px;
    padding: 6px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: rotate(-5deg);
}

.hero-phone:nth-child(2) {
    transform: rotate(5deg) translateY(-20px);
    z-index: 1;
}

.hero-phone img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.app-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.app-icon img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -2px;
}

.hero .tagline {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Features Section */
.features {
    padding: 6rem 2rem;
    background: #f8fafc;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e293b;
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.feature-card:nth-child(1) .feature-icon {
    background: linear-gradient(135deg, #43A047, #1B5E20);
}

.feature-card:nth-child(2) .feature-icon {
    background: linear-gradient(135deg, #66BB6A, #2E7D32);
}

.feature-card:nth-child(3) .feature-icon {
    background: linear-gradient(135deg, #81C784, #388E3C);
}
.feature-card:nth-child(4) .feature-icon {
    background: linear-gradient(135deg, #A5D6A7, #4CAF50);
}


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

.feature-card p {
    color: #64748b;
    line-height: 1.6;
}

/* App Preview */
.app-preview {
    padding: 6rem 2rem;
    background: white;
    text-align: center;
}

.app-preview h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e293b;
}

.phone-mockups {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.phone-mockup {
    width: 280px;
    height: 580px;
    background: #1e293b;
    border-radius: 24px;
    padding: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Simplicity/Brand Section */
.simplicity {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #1B5E20 0%, #43A047 100%);
    color: white;
    text-align: center;
}

.simplicity h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.simplicity p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    text-align: center;
    padding: 3rem 2rem;
}

.footer p {
    opacity: 0.7;
}

.footer-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.footer-links a {
    color: white;
    opacity: 0.7;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-text {
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .tagline {
        font-size: 1.1rem;
    }

    .hero-phones {
        order: -1;
    }

    .hero-phone {
        width: 160px;
        height: 320px;
    }

    .features h2,
    .app-preview h2,
    .simplicity h2 {
        font-size: 2rem;
    }

    .phone-mockups {
        flex-direction: column;
        align-items: center;
    }

    .phone-mockup {
        width: 240px;
        height: 500px;
    }
}
