/* =================================
   Gioia Landing Page - Breve-inspired Design
   ================================= */

/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Root Variables */
:root {
    /* Colors - Keeping Gioia's teal but with gradient approach */
    --color-primary: #00ADB5;
    --color-dark: #1a1a2e;
    --color-text: #f2f5f4;
    --color-text-secondary: #b8c5c3;
    --color-link: #00d4de;

    /* Typography */
    --font-main: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-logo: 'Alex Brush', cursive;

    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-2xl: 64px;
    --spacing-3xl: 96px;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    font-style: italic;  /* Make all Lato text italic */
    line-height: 1.6;
    color: var(--color-text);
    background: linear-gradient(135deg, #0d0d1a 0%, #0a1f3d 40%, #0d1829 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Gradient Overlays for depth */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(0, 173, 181, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 212, 222, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(94, 84, 142, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

/* Main Container */
.container {
    max-width: 980px;
    margin: 0 auto;
    padding: var(--spacing-xl) var(--spacing-md);
    position: relative;
    z-index: 2;
}

/* Logo Section - HUGE as main hero */
.logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
    opacity: 0;
    animation: fadeInDown 0.8s ease forwards;
}

.logo-text {
    font-family: var(--font-logo);
    font-size: 10rem;
    font-weight: 400;  /* Regular weight */
    color: var(--color-text);
    text-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, #ffffff 0%, #00d4de 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 0.9;
    letter-spacing: -0.02em;
    padding-right: 20px;  /* Add padding to prevent cutoff */
}

.logo-tagline {
    font-family: var(--font-logo);
    font-size: 2.5rem;
    font-weight: 400;
    font-style: normal;  /* Not italic */
    color: var(--color-text-secondary);
    margin-top: var(--spacing-xs);  /* Reduced from spacing-md */
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.hero h1 {
    font-family: 'Lato', sans-serif;
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    font-weight: 400;
    font-style: normal;
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    color: var(--color-text-secondary);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-family: 'Lato', sans-serif;
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    font-weight: 400;
    font-style: normal;
    line-height: 1.6;
    margin-bottom: var(--spacing-3xl);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    color: var(--color-text-secondary);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Coming Soon Badge - Animated */
.coming-soon {
    margin-bottom: var(--spacing-lg);
}

.badge {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);  /* Warm coral gradient */
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    font-style: normal;  /* Not italic */
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.3);
    animation: gentle-pulse 3s infinite;
}

@keyframes gentle-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 6px 20px rgba(255, 107, 107, 0.3);
    }
    50% {
        transform: scale(1.02);  /* Much subtler */
        box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
    }
}

/* Download Section */
.download-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
}

.app-store-button {
    display: inline-block;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.app-store-button:not(.disabled):hover {
    transform: translateY(-2px);
}

.app-store-button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.app-store-badge {
    display: block;
    width: 140px;
    height: auto;
    font-style: normal;
}

.availability-text {
    font-size: 0.9rem;
    font-style: normal;  /* Not italic */
    color: var(--color-text-secondary);
    margin-top: var(--spacing-md);
    text-align: center;
}

/* Screenshots Section */
.screenshots {
    margin-bottom: var(--spacing-3xl);
    padding: var(--spacing-xl) 0;
    opacity: 0;
    animation: fadeIn 1s ease 0.4s forwards;
}

.screenshots-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-md);
    flex-wrap: nowrap;
    max-width: 1200px;
    margin: 0 auto;
}

.screenshot-item {
    flex: 0 0 auto;
    max-width: 33%;
}

.screenshot-item img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    display: block;
    transition: transform 0.3s ease;
}

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

/* Features Section - Cards with better shape */
.features {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-3xl);
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.6s forwards;
    flex-wrap: wrap;
}

.feature {
    text-align: center;
    padding: var(--spacing-lg) var(--spacing-xl);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    flex: 1;
    min-width: 320px;
    max-width: 420px;
}

.feature:hover {
    background: rgba(0, 173, 181, 0.1);
    transform: translateY(-5px);
    border-color: rgba(0, 173, 181, 0.2);
    box-shadow: 0 15px 30px rgba(0, 173, 181, 0.2);
}

.feature h2 {
    font-size: 1.95rem;  /* 50% bigger than 1.3rem */
    font-weight: 700;
    font-style: normal;  /* Remove italic */
    margin-bottom: var(--spacing-sm);
    color: var(--color-link);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.feature p {
    font-size: 1.4rem;  /* 50% bigger than 0.95rem */
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* Social Links Section */
.social {
    margin-bottom: var(--spacing-3xl);
    opacity: 0;
    animation: fadeIn 0.8s ease 0.8s forwards;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-secondary);
    text-decoration: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-link:hover {
    color: var(--color-link);
    background: rgba(0, 173, 181, 0.1);
    border-color: rgba(0, 173, 181, 0.2);
    transform: translateY(-2px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Footer */
footer {
    padding-top: var(--spacing-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    animation: fadeIn 0.8s ease 1s forwards;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-link);
}

.copyright {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: var(--spacing-lg) var(--spacing-md);
    }

    .logo-section {
        margin-bottom: var(--spacing-xl);
        padding: var(--spacing-xl) 0;
    }

    .logo-text {
        font-size: 6rem;
    }

    .logo-tagline {
        font-size: 1.8rem;
    }

    .hero h1 {
        font-size: 1.7rem;
        white-space: normal;
    }

    .screenshots-grid {
        gap: var(--spacing-sm);
    }

    .screenshot-item {
        max-width: 30%;
    }

    .features {
        flex-direction: column;
        align-items: center;
    }

    .feature {
        width: 100%;
        max-width: 350px;
    }

    .social-links {
        flex-direction: column;
        align-items: center;
    }

    .social-link {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 4rem;
    }

    .hero h1 {
        font-size: 1.35rem;
    }

    .screenshot-item {
        max-width: 30%;
    }

    .app-store-badge {
        width: 120px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

:focus-visible {
    outline: 2px solid var(--color-link);
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    body {
        background: #000;
    }

    .feature,
    .social-link {
        border: 1px solid var(--color-text);
    }
}