/* ==========================================================================
   Growy – Startseite (index.html)
   Hero, 3D-Handy-Mockup, Features, Tech-Stack, CTA
   ========================================================================== */

/* --- HERO SECTION --- */
.hero {
    padding: 80px 0;
    display: flex;
    align-items: center;
    gap: 60px;
    min-height: 80vh;
}
.hero-text { flex: 1; }
.hero-text h1 { font-size: 3.5rem; letter-spacing: -1px; }
.hero-text p { font-size: 1.2rem; max-width: 500px; margin-bottom: 2rem; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-text .hero-kicker {
    display: inline-block; font-size: 0.5em; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.12em;
    color: var(--accent-green); background: rgba(95,211,95,0.1);
    border: 1px solid rgba(95,211,95,0.3); border-radius: 999px;
    padding: 2px 7px; margin-bottom: 10px;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    perspective: 1200px;
}

/* --- 3D HANDY MOCKUP --- */
.phone-wrapper {
    position: relative;
    width: 300px;
    height: 611px;
    transform-style: preserve-3d;
    animation: float 6s ease-in-out infinite;
}

/* Glow Effekt hinter dem Handy (wie Referenz) */
.phone-glow {
    position: absolute;
    width: 280px; height: 280px;
    background: var(--accent-green);
    filter: blur(120px);
    opacity: 0.15;
    z-index: -1;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}

/* --- 3D HANDY MOCKUP --- */
.phone {
    width: 100%; height: 100%;
    transform-style: preserve-3d;
    animation: rotate3d 12s ease-in-out infinite alternate;
}
.phone-frame {
    width: 100%; height: 100%;
    background: #000;
    border-radius: 48px;
    border: 8px solid #2a2a2a;
    box-shadow:
        inset 0 0 0 2px #000,
        0 30px 60px rgba(0,0,0,0.8),
        inset 0 0 45px rgba(74, 222, 128, 0.35);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}
.status-bar {
    position: absolute;
    top: 0; left: 0; width: 100%;
    height: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 25px;
    z-index: 20;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    pointer-events: none;
}
.status-time { margin-top: 5px; }
.status-icons { display: flex; gap: 6px; align-items: center; margin-top: 5px; }
.status-icons svg { width: 14px; height: 14px; fill: currentColor; }
.dynamic-island {
    position: absolute;
    top: 12px; left: 50%;
    transform: translateX(-50%);
    width: 80px; height: 24px;
    background: #000;
    border-radius: 20px;
    z-index: 25;
    box-shadow: inset 0 0 5px rgba(255,255,255,0.1);
}
.app-screen-area {
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    aspect-ratio: 9 / 16;
    background: #000;
    z-index: 5;
    overflow: hidden;
}
.bottom-bezel {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 40px;
    background: #000;
    z-index: 6;
}
.app-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    background: #000;
}
.phone-frame::before {
    content: '';
    position: absolute;
    left: -10px; top: 120px;
    width: 4px; height: 60px;
    background: #2a2a2a;
    border-radius: 4px 0 0 4px;
}
.phone-frame::after {
    content: '';
    position: absolute;
    right: -10px; top: 100px;
    width: 4px; height: 80px;
    background: #2a2a2a;
    border-radius: 0 4px 4px 0;
}
.gesture-bar {
    position: absolute;
    bottom: 8px; left: 50%;
    transform: translateX(-50%);
    width: 100px; height: 4px;
    background: rgba(255,255,255,0.4);
    border-radius: 2px;
    z-index: 20;
    pointer-events: none;
}

/* Animationen */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}
@keyframes rotate3d {
    0% { transform: rotateY(-15deg) rotateX(8deg); }
    100% { transform: rotateY(15deg) rotateX(-5deg); }
}

/* --- FEATURES GRID --- */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.feature-card {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius-md); padding: 30px;
    transition: transform 0.2s, border-color 0.2s;
}
.feature-card:hover { transform: translateY(-4px); border-color: var(--accent-green); }
.feature-icon {
    width: 40px; height: 40px;
    background: rgba(74, 222, 128, 0.1);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px; color: var(--accent-green);
}
.feature-icon svg { width: 24px; height: 24px; fill: currentColor; }
.feature-card h3 { margin-bottom: 10px; }
.feature-card p { font-size: 0.95rem; margin-bottom: 0; }

/* --- TECH STACK --- */
.tech-stack {
    padding: 60px 0; background: var(--bg-deeper);
    border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color);
}
.tech-content { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.tech-text { flex: 1; }
.tech-logos { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; flex: 1; }
.tech-item {
    background: var(--bg-card); border: 1px solid var(--border-color);
    padding: 12px 24px; border-radius: var(--radius-sm);
    font-weight: 600; font-size: 0.9rem; color: var(--text-muted);
    display: flex; align-items: center; gap: 8px;
}
.tech-item svg { width: 16px; height: 16px; fill: currentColor; }

/* --- VIDEO SECTION --- */
.video-section { padding: 80px 0; text-align: center; }
.video-section .section-header { text-align: center; margin-bottom: 40px; }
.video-wrapper {
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #000;
    aspect-ratio: 16 / 9;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 60px rgba(95,211,95,0.08);
}
.video-wrapper video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
}

/* --- CTA --- */
.cta { padding: 80px 0; text-align: center; background: var(--bg-deeper); }
.cta h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.cta p { font-size: 1.1rem; max-width: 600px; margin: 0 auto 2rem auto; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .hero { flex-direction: column; text-align: center; padding: 40px 0; }
    .hero-text h1 { font-size: 2.5rem; }
    .hero-text p { margin: 0 auto 2rem auto; }
    .hero-buttons { justify-content: center; }
    .tech-content { flex-direction: column; text-align: center; }
    .phone-glow { width: 220px; height: 220px; }
    .phone-wrapper { width: 260px; height: 530px; }
    .status-bar { padding: 0 15px; height: 40px; }
    .dynamic-island { width: 70px; height: 20px; top: 10px; }
    .app-screen-area { top: 40px; }
    .bottom-bezel { height: 34px; }
}