:root {
    --peach-light: #FFF3EB;
    --peach-accent: #FD974F;
    --purple-main: #7C4DFF;
    --text-dark: #2D3142;
    --white: #FFFFFF;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
    background: linear-gradient(135deg, var(--peach-light) 0%, #d4cfff 100%);
    color: var(--text-dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header / Nav */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 42px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    top: 10px;
}

.logo span {
    color: var(--purple-main);
    background: linear-gradient(to right, var(--purple-main), var(--peach-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#madre {
    border-radius: 50%;   /* Ez teszi teljesen kör alakúvá */
    object-fit: cover;    /* Megakadályozza a kép eltorzulását */
    border: 2px solid var(--purple-main); /* Egy szép vékony keret a mami színeiben */
    background-image: url("../assets/azulejo.webp");
    background-size: cover;
}

/* Hero Section (Megosztott elrendezés a mockupnak) */
.hero-split {
    padding: 0px 0 80px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.badge {
    background-color: var(--white);
    border: 2px solid var(--peach-accent);
    color: var(--peach-accent);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 18px;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(253, 151, 79, 0.1);
}

h1 {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    max-width: 800px;
}

h1 span {
    color: var(--purple-main);
    background: linear-gradient(to right, var(--purple-main), var(--peach-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 18px;
    color: #5C6175;
    max-width: 600px;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Hero Image & Mockup */
.hero-image-container {
    width: 100%;
    max-width: 320px;
    display: flex;
    justify-content: center;
}

.hero-mockup {
    width: 100%;
    height: auto;
    filter: drop-shadow(0px 20px 40px rgba(124, 77, 255, 0.2));
    border-radius: 36px;
}

/* App Screenshot Gallery Section */
.gallery-section {
    padding: 20px 0 60px 0;
    text-align: center;
}

.section-subtitle {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.screenshot-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 10px;
    scroll-snap-type: x mandatory;
    webkit-overflow-scrolling: touch;
}

/* Eltünteti a görgetősávot, de a funkció megmarad */
.screenshot-grid::-webkit-scrollbar {
    display: none;
}

.screenshot-item {
    width: 240px;
    height: auto;
    flex-shrink: 0;
    border: solid 4px black;
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    scroll-snap-align: center;
    transition: transform 0.3s ease;
}

.screenshot-item:hover {
    transform: translateY(-8px);
}

/* CTA Buttons */
.cta-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 20px;
}

.btn-playstore {
    display: inline-flex;
    align-items: center;
    background-color: #000000;
    color: var(--white);
    padding: 10px 20px 1px 20px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.btn-playstore:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 24px rgba(0,0,0,0.2);
}

.btn-waitlist {
    background: transparent;
    color: var(--purple-main);
    border: 2px solid var(--purple-main);
    padding: 10px 16px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-waitlist:hover {
    background: rgba(137, 43, 226, 0.13);
}

/* Features / Topics Grid */
.features-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 40px;
    text-align: center;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 80px;
    width: 100%;
}

.card {
    background-color: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 32px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.03);
    text-align: left;
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-4px);
}

.card-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.card p {
    font-size: 15px;
    color: #5C6175;
    line-height: 1.5;
}

/* Waitlist Section */
.waitlist-section {
    background: linear-gradient(135deg, var(--peach-light) 0%, #c2bbff 100%);
    border: 2px solid var(--peach-accent);
    border-radius: 32px;
    padding: 48px;
    max-width: 600px;
    margin: 0 auto 100px auto;
    width: 100%;
    scroll-margin-top: 40px;
}

.waitlist-section h2 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 12px;
}

.waitlist-section p {
    font-size: 15px;
    color: #5C6175;
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.form-group input[type="email"] {
    flex: 1;
    min-width: 240px;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.1);
    background-color: var(--white);
    font-size: 16px;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input[type="email"]:focus {
    border-color: var(--purple-main);
}

/* Story Section */
.story-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--peach-light) 0%, #c2bbff 100%);
    border-radius: 24px;
    text-align: center;
    margin: 40px 0;
}

.story-content {
    max-width: 600px;
    margin: 0 auto;
}

.story-badge {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--purple-main);
    display: inline-block;
    margin-bottom: 12px;
}

.story-section h2 {
    font-size: 28px;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.story-section p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

.story-section blockquote {
    font-size: 18px;
    font-style: italic;
    font-weight: 600;
    color: var(--purple-main);
    margin: 24px 0;
    padding: 0 20px;
    border-left: 3px solid var(--purple-main);
    border-right: 3px solid var(--purple-main);
}

.story-signature {
    font-size: 14px !important;
    font-weight: 700;
    color: #333 !important;
}

/* Footer */
footer {
    margin-top: auto;
    padding: 40px 0;
    border-top: 1px solid rgba(0,0,0,0.05);
    text-align: center;
    font-size: 14px;
    color: #7E84A3;
}

.footer-links {
    margin-top: 12px;
    display: flex;
    justify-content: center;
    gap: 24px;
}

.footer-links a {
    color: #7E84A3;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
}

.footer-links a:hover {
    color: var(--purple-main);
}

/* Privacy Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content {
    background-color: var(--white);
    padding: 40px;
    border-radius: 24px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-dark);
}

.modal h2 { margin-bottom: 20px; }
.modal h3 { margin: 16px 0 8px 0; }
.modal p { color: #5C6175; line-height: 1.6; font-size: 14px; margin-bottom: 12px;}

/* Nagyképernyős töréspontok (Desktop) */
@media (min-width: 768px) {
    .hero-split {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 0 0 60px 0;
    }

    .hero-text {
        flex: 1;
        align-items: center;
    }

    h1 {
        font-size: 54px;
    }

    .subtitle {
        margin-bottom: 30px;
    }

    .cta-group {
        justify-content: center;
    }

    .hero-image-container {
        max-width: 400px;
        display: flex;
        justify-content: center;
    }

    .screenshot-grid {
        justify-content: center;
        overflow-x: visible;
        flex-wrap: wrap;
    }
}

/* Kisképernyős töréspontok (Mobile overrides) */
@media (max-width: 767px) {
    h1 { font-size: 34px; }
    .hero-split { padding: 40px 0 40px 0; }
    .waitlist-section { padding: 32px 20px; }
    .form-group button { width: 100%; justify-content: center; }
}

/* --- Lovable Mockup Styles --- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.float { animation: float 5s ease-in-out infinite; transform-style: preserve-3d; }
.perspective { perspective: 1000px; }

.phone-entrance {
  opacity: 0;
  transform: translateY(80px) rotateX(18deg) rotateY(-22deg) rotateZ(-6deg) scale(0.92);
  transition: transform 2s cubic-bezier(0.4, 0, 0.2, 1), opacity 1.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  will-change: transform;
}
.phone-entrance.in {
  opacity: 1;
  transform: translateY(0) rotateX(0) rotateY(0) rotateZ(0) scale(1);
}

.phone-inner-bezel { 
  background: linear-gradient(160deg, #1c1c20, #000); 
  height: 104%;
  width: 104%;
  border-radius: 23px;
  box-shadow: 0 40px 80px -15px rgba(0,0,0,0.8), 0 20px 40px -20px rgba(79,70,229,0.4);
}