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

body {
    font-family: 'Baskerville Std', 'Baskerville', 'Libre Baskerville', serif;
    line-height: 1.6;
    color: #555;
    background-color: #fdf6f9;
    background-image: linear-gradient(to bottom, #fdf6f9, #f9f0ff);
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    padding: 30px 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    font-family: 'Baskerville Std', 'Baskerville', 'Libre Baskerville', serif;
    font-size: 42px;
    color: #de5d83;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Hero section */
.hero {
    padding: 30px 0 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.app-image {
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.app-image:hover {
    transform: translateY(-5px);
}

.app-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(222, 93, 131, 0.1);
}

.app-info {
    margin-bottom: 40px;
}

.app-info h1 {
    font-family: 'Quintessential Pro', 'Quintessential', cursive;
    font-size: 42px;
    margin-bottom: 15px;
    color: #de5d83;
}

.tagline {
    font-size: 20px;
    margin-bottom: 40px;
    color: #8e7591;
    font-weight: 500;
}

.app-store-link {
    display: inline-block;
    margin-top: 20px;
    transition: transform 0.3s ease;
    width: 150px;
    height: 50px;
}

.app-store-link:hover {
    transform: scale(1.05);
}

.app-store-badge {
    display: block;
    width: 40%;
    height: 100%;
}

/* Privacy policy */
.privacy-policy {
    padding: 50px 0;
    max-width: 800px;
    margin: 0 auto;
}

.privacy-policy h1 {
    font-size: 36px;
    margin-bottom: 25px;
    text-align: center;
    color: #de5d83;
}

.policy-content {
    background-color: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.policy-content h2 {
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #de5d83;
}

.policy-content p {
    margin-bottom: 20px;
    color: #666;
}

.policy-content ul {
    margin-bottom: 20px;
    margin-left: 20px;
}

.policy-content li {
    margin-bottom: 10px;
    color: #666;
}

.back-button {
    display: inline-block;
    background-color: #de5d83;
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
    margin: 20px 0;
    box-shadow: 0 8px 15px rgba(222, 93, 131, 0.15);
}

.back-button:hover {
    background-color: #d14775;
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(222, 93, 131, 0.2);
}

/* Footer */
footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(222, 93, 131, 0.1);
    margin-top: 40px;
}

footer nav {
    margin-bottom: 20px;
}

footer a {
    color: #de5d83;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #d14775;
    text-decoration: none;
}

footer p {
    color: #8e7591;
    font-size: 14px;
}

/* Responsive design */
@media (min-width: 768px) {
    .hero-content {
        flex-direction: row;
        text-align: left;
    }
    
    .app-image {
        flex: 1;
        margin-right: 50px;
        margin-bottom: 0;
    }
    
    .app-info {
        flex: 1;
    }
}

.subtitle {
    font-family: 'Pacifico', cursive;
    font-size: 22px;
    color: #8e7591;
    margin-top: 20px;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding: 0 30px;
}

.subtitle:before,
.subtitle:after {
    content: "✿";
    color: #de5d83;
    font-size: 24px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.subtitle:before {
    left: 0;
    animation: float 2s ease-in-out infinite;
}

.subtitle:after {
    right: 0;
    animation: float 2s ease-in-out infinite reverse;
}

.subtitle-wrapper {
    position: relative;
    padding: 10px 0;
    margin-top: 15px;
    overflow: visible;
}

/* Corner decorations */
.subtitle-wrapper::before,
.subtitle-wrapper::after {
    content: "❀";
    font-size: 16px;
    color: #de5d83;
    position: absolute;
    width: auto;
    height: auto;
    background: none;
    opacity: 0.7;
}

.subtitle-wrapper::before {
    top: -10px;
    left: 0;
    animation: cornerFloat 3s ease-in-out infinite;
}

.subtitle-wrapper::after {
    bottom: -10px;
    right: 0;
    animation: cornerFloatReverse 3s ease-in-out infinite;
}

/* Horizontal lines */
.subtitle-wrapper .line-top,
.subtitle-wrapper .line-bottom {
    position: absolute;
    height: 2px;
    background: linear-gradient(to right, transparent, #de5d83, transparent);
    width: 80%;
    left: 10%;
}

.subtitle-wrapper .line-top {
    top: 0;
    animation: shimmer 3s infinite alternate;
}

.subtitle-wrapper .line-bottom {
    bottom: 0;
    animation: shimmer 3s infinite alternate-reverse;
}

@keyframes shimmer {
    from {
        opacity: 0.5;
        width: 70%;
        left: 15%;
    }
    to {
        opacity: 1;
        width: 90%;
        left: 5%;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(-50%) rotate(0deg);
    }
    50% {
        transform: translateY(-50%) rotate(15deg);
    }
}

/* Corner flowers animation */
@keyframes cornerFloat {
    0%, 100% {
        transform: rotate(-25deg);
    }
    50% {
        transform: rotate(-15deg) translateY(-2px);
    }
}

@keyframes cornerFloatReverse {
    0%, 100% {
        transform: rotate(25deg);
    }
    50% {
        transform: rotate(15deg) translateY(-2px);
    }
}

/* App Screenshots Showcase */
.app-showcase {
    padding: 50px 0;
    text-align: center;
    margin-bottom: 40px;
}

.showcase-heading {
    font-family: 'Quintessential Pro', 'Quintessential', cursive;
    font-size: 30px;
    color: #de5d83;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    padding: 0 20px;
}

.showcase-heading:before,
.showcase-heading:after {
    content: "✧";
    color: #de5d83;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
}

.showcase-heading:before {
    left: -10px;
}

.showcase-heading:after {
    right: -10px;
}

.screenshots-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.screenshot {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(222, 93, 131, 0.1);
    transition: all 0.3s ease;
    position: relative;
    background: transparent;
}

.screenshot:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(222, 93, 131, 0.15);
}

.screenshot img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.featured-screenshot img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.screenshot-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    padding-bottom: 35px;
    color: #8e7591;
    font-style: italic;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.screenshot:hover .screenshot-caption {
    transform: translateY(0);
}

.featured-screenshot {
    grid-column: 1 / -1;
}

.screenshots-container .screenshot:not(.featured-screenshot) {
    background: transparent;
    box-shadow: none;
}

.screenshots-container .screenshot:not(.featured-screenshot):hover {
    box-shadow: none;
}

.screenshots-container .screenshot:not(.featured-screenshot) img {
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(222, 93, 131, 0.1);
}

.screenshots-container .screenshot:not(.featured-screenshot):hover img {
    box-shadow: 0 20px 40px rgba(222, 93, 131, 0.15);
}

/* Responsive grid layout for screenshots */
@media (min-width: 768px) {
    .screenshots-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .featured-screenshot {
        grid-column: span 2;
    }
}

@media (min-width: 992px) {
    .screenshots-container {
        display: grid;
        grid-template-columns: 1.7fr 1fr 1fr;
        grid-template-rows: minmax(0, auto) minmax(0, auto);
        gap: 15px;
        align-items: start;
    }
    
    .featured-screenshot {
        grid-column: 1;
        grid-row: 1 / span 2;
        align-self: start;
        max-height: 100%;
        background: transparent;
    }
    
    .screenshot:not(.featured-screenshot) {
        max-width: 100%;
        height: auto;
        margin-top: -10px;
        background: transparent;
        box-shadow: none;
    }
    
    .screenshot:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
        margin-top: -40px;
    }
    
    .screenshot:nth-child(3) {
        grid-column: 3;
        grid-row: 1;
        margin-top: -40px;
    }
    
    .screenshot:nth-child(4) {
        grid-column: 2;
        grid-row: 2;
        margin-top: -75px;
    }
    
    .screenshot:nth-child(5) {
        grid-column: 3;
        grid-row: 2;
        margin-top: -75px;
    }
    
    .featured-screenshot img {
        width: 100%;
        height: auto;
        max-height: 100%;
        object-fit: contain;
        transform: scale(1.05);
    }
    
    .screenshots-container .screenshot:not(.featured-screenshot) img {
        max-width: 100%;
        transition: transform 0.3s ease;
        transform: scale(0.85);
        box-shadow: 0 15px 30px rgba(222, 93, 131, 0.1);
        border-radius: 20px;
    }
    
    .screenshots-container .screenshot:not(.featured-screenshot):hover img {
        transform: scale(0.9);
        box-shadow: 0 20px 40px rgba(222, 93, 131, 0.15);
    }
} 
