/* ========================================
   CourtNote Landing Page - Hero Section
   ======================================== */

/* Hero Section Container */
.hero-section {
    width: 100%;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

/* Hero Text Content */
.hero-text {
    flex: 1;
    max-width: 480px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--secondary);
    margin-bottom: 2rem;
}

/* CTA Buttons */
.hero-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.appstore-btn img {
    height: 50px;
    width: auto;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.appstore-btn:hover img {
    transform: scale(1.05);
    opacity: 0.9;
}

/* Phone Mockups Container */
.hero-mockups {
    flex: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 500px;
    perspective: 1000px;
}

/* Individual Phone Mockup */
.phone-mockup {
    position: absolute;
    transition: transform 0.3s ease;
}

.phone-frame {
    background: #000;
    border-radius: 40px;
    padding: 8px;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.phone-frame img {
    width: 220px;
    height: auto;
    border-radius: 32px;
    display: block;
}

/* Phone Positions - Staggered Layout */
.phone-1 {
    z-index: 2;
    transform: translateX(-120px) rotate(-5deg);
}

.phone-2 {
    z-index: 3;
    transform: translateY(-20px);
}

.phone-3 {
    z-index: 1;
    transform: translateX(120px) rotate(5deg);
}

/* Hover Effects */
.phone-mockup:hover {
    z-index: 10;
    transform: scale(1.05) rotate(0deg) !important;
}

/* Page Content Below Hero */
.page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        max-width: 600px;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-mockups {
        min-height: 400px;
        width: 100%;
        max-width: 600px;
    }

    .phone-frame img {
        width: 180px;
    }

    .phone-1 {
        transform: translateX(-100px) rotate(-5deg);
    }

    .phone-3 {
        transform: translateX(100px) rotate(5deg);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

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

    .hero-mockups {
        min-height: 350px;
    }

    .phone-frame {
        border-radius: 30px;
        padding: 6px;
    }

    .phone-frame img {
        width: 140px;
        border-radius: 24px;
    }

    .phone-1 {
        transform: translateX(-70px) rotate(-5deg);
    }

    .phone-3 {
        transform: translateX(70px) rotate(5deg);
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 1rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-mockups {
        min-height: 280px;
    }

    .phone-frame img {
        width: 110px;
    }

    .phone-1 {
        transform: translateX(-55px) rotate(-5deg);
    }

    .phone-3 {
        transform: translateX(55px) rotate(5deg);
    }

    .appstore-btn img {
        height: 44px;
    }
}

/* ========================================
   Dark Mode Support
   ======================================== */

.dark .phone-frame {
    background: #1a1a1a;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}
