/* iOS App Page Styles */

body {
    padding-top: var(--navh);
}

/* Hero Section */
.ios-hero {
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--bs-primary-dark) 0%, color-mix(in srgb, var(--bs-primary-dark), black 30%) 100%);
    color: var(--isabelline);
}

.ios-hero-content {
    max-width: 600px;
    margin-right: 4rem;
}

.ios-hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--isabelline);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: var(--accent-green);
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: color-mix(in srgb, var(--isabelline), transparent 20%);
}

.coming-soon-badge {
    margin-top: 2rem;
    display: inline-block;
}

.coming-soon-text {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: color-mix(in srgb, var(--bs-primary), transparent 20%);
    color: var(--isabelline);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    border: 2px solid var(--bs-primary);
    box-shadow: 0 4px 15px rgba(31, 157, 39, 0.2);
}

.coming-soon-text:hover {
    text-decoration: none;
    color: var(--isabelline);
}

.hero-images {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    min-height: 500px;
    gap: 0;
}

.device-screenshot {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.device-screenshot img {
    height: auto;
    transition: transform 0.3s ease;
}

.iphone-screenshot {
    z-index: 2;
    margin-right: -80px;
}

.iphone-screenshot img {
    max-width: 180px;
    width: 100%;
}

.iphone-screenshot img:hover {
    transform: translateY(-10px) scale(1.02);
}

.ipad-screenshot {
    z-index: 1;
}

.ipad-screenshot img {
    max-width: 600px;
    width: 100%;
}

.ipad-screenshot img:hover {
    transform: translateY(-5px);
}

/* Mobile responsive - keep screenshot overlap while scaling down */
@media (max-width: 768px) {
    .coming-soon-badge {
        margin-top: 0.5rem;
    }

    .hero-images {
        flex-direction: row;
        align-items: flex-end;
        justify-content: center;
        gap: 0;
        min-height: 210px;
    }
    
    .iphone-screenshot {
        margin-right: -48px;
        z-index: 2;
    }
    
    .ipad-screenshot {
        z-index: 1;
    }

    .iphone-screenshot img {
        max-width: 102px;
    }

    .ipad-screenshot img {
        max-width: 360px;
    }
}

@media (max-width: 480px) {
    .hero-images {
        min-height: 185px;
    }

    .iphone-screenshot {
        margin-right: -36px;
    }

    .iphone-screenshot img {
        max-width: 84px;
    }

    .ipad-screenshot img {
        max-width: 280px;
    }
}

/* Features Section */
.features-section {
    padding: 6rem 2rem;
    background-color: var(--site-bg-color);
}

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

.features-container h2 {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--isabelline);
}

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

.feature-card {
    background-color: color-mix(in srgb, var(--bs-primary-dark), white 5%);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(31, 157, 39, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(31, 157, 39, 0.3);
    border-color: rgba(31, 157, 39, 0.5);
}

.feature-card-more {
    border: 2px dashed rgba(31, 157, 39, 0.4);
    background-color: color-mix(in srgb, var(--bs-primary-dark), var(--bs-primary) 3%);
}

.feature-card-more:hover {
    border-style: solid;
}

.feature-icon {
    font-size: 3rem;
    color: var(--bs-primary);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--isabelline);
}

.feature-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-card li {
    padding: 0.5rem 0;
    color: color-mix(in srgb, var(--isabelline), transparent 20%);
    position: relative;
    padding-left: 1.5rem;
}

.feature-card li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: bold;
}

/* How It Works Section */
.how-it-works-section {
    padding: 6rem 2rem;
    background-color: color-mix(in srgb, var(--bs-primary-dark), white 3%);
}

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

.how-it-works-container h2 {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--isabelline);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.step {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--bs-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 15px rgba(31, 157, 39, 0.3);
}

.step h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--isabelline);
}

.step p {
    color: color-mix(in srgb, var(--isabelline), transparent 20%);
    line-height: 1.6;
}

/* Requirements Section */
.requirements-section {
    padding: 6rem 2rem;
    background-color: var(--site-bg-color);
}

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

.requirements-container h2 {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--isabelline);
}

.requirements-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.requirement {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    color: var(--isabelline);
    padding: 1rem;
    background-color: color-mix(in srgb, var(--bs-primary-dark), white 3%);
    border-radius: 8px;
    border-left: 3px solid var(--bs-primary);
}

.requirement i {
    color: var(--bs-primary);
    font-size: 1.5rem;
    margin-right: 1rem;
}

/* CTA Section */
.cta-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--bs-primary-dark) 0%, color-mix(in srgb, var(--bs-primary-dark), black 30%) 100%);
    text-align: center;
}

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

.cta-container h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--isabelline);
}

.cta-container p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: color-mix(in srgb, var(--isabelline), transparent 20%);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .ios-hero {
        flex-direction: column;
        text-align: center;
        min-height: auto;
        padding: 3rem 1.5rem;
    }

    .ios-hero-content {
        margin-right: 0;
        margin-bottom: 1.25rem;
    }

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

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-image {
        max-width: 100%;
    }

    .features-section,
    .how-it-works-section,
    .requirements-section,
    .cta-section {
        padding: 3rem 1.5rem;
    }

    .features-container h2,
    .how-it-works-container h2,
    .requirements-container h2,
    .cta-container h2 {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Tablet Responsive */
@media (min-width: 769px) and (max-width: 1024px) {
    .ios-hero {
        flex-direction: column;
        text-align: center;
    }

    .ios-hero-content {
        margin-right: 0;
        margin-bottom: 3rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
