/* Landing Page Specific Styles */

body {
    background: #020408;
    min-height: 100vh;
    overflow-x: hidden;
}

.landing-container {
    min-height: 100vh;
    display: grid;
    grid-template-rows: 1fr auto;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
    max-width: 1600px;
    margin: 0 auto;
}

.logo-area {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 0;
}

.app-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.app-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-name {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1F6FEB 0%, #7a2dfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1.5px;
}

/* Hero Section */
.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 50px 40px;
    gap: 60px;
    flex: 1;
}

.hero-content {
    text-align: center;
    max-width: 700px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.hero-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.15;
    color: #ffffff;
    letter-spacing: -0.5px;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.3em;
}

.animated-word {
    position: relative;
    display: inline-block;
    width: 2.2em;
    height: 1.2em;
    overflow: hidden;
    text-align: center;
}

.word {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    white-space: nowrap;
    animation-duration: 8s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

.word-star {
    animation-name: slideStarPass;
    color: #C9A359;
}

.word-pass {
    animation-name: slidePassStar;
    color: #D1666E;
}

@keyframes slideStarPass {
    0%, 42% {
        transform: translateX(-50%);
        opacity: 1;
        z-index: 2;
    }
    45% {
        transform: translateX(50%);
        opacity: 0;
        z-index: 2;
    }
    45.01%, 95% {
        transform: translateX(-50%);
        opacity: 0;
        z-index: 1;
    }
    95.01% {
        transform: translateX(-50%);
        opacity: 0;
        z-index: 2;
    }
    100% {
        transform: translateX(-50%);
        opacity: 1;
        z-index: 2;
    }
}

@keyframes slidePassStar {
    0%, 45% {
        transform: translateX(-50%);
        opacity: 0;
        z-index: 1;
    }
    45.01% {
        transform: translateX(-50%);
        opacity: 0;
        z-index: 2;
    }
    50% {
        transform: translateX(-50%);
        opacity: 1;
        z-index: 2;
    }
    92% {
        transform: translateX(-50%);
        opacity: 1;
        z-index: 2;
    }
    95% {
        transform: translateX(-150%);
        opacity: 0;
        z-index: 2;
    }
    100% {
        transform: translateX(-150%);
        opacity: 0;
        z-index: 2;
    }
}

.hero-description {
    font-size: 1.2rem;
    color: #a8b3c1;
    line-height: 1.7;
    max-width: 600px;
    margin: 24px 0 0 0;
}

.hero-description strong {
    color: #ffffff;
    font-weight: 600;
}

/* Screenshots Section */
.screenshots-section {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 650px;
    width: 100%;
}

.screenshot-placeholder {
    aspect-ratio: 9 / 19.5;
    background: linear-gradient(135deg, #151B23 0%, #0D1116 100%);
    border-radius: 24px;
    border: 2px solid #1F6FEB;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a8b3c1;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.screenshot-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 22px;
}

.screenshot-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(31, 111, 235, 0.1) 0%, rgba(122, 45, 250, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.screenshot-placeholder:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(31, 111, 235, 0.3);
    border-color: #7a2dfa;
}

.screenshot-placeholder:hover::before {
    opacity: 1;
}

.screenshot-placeholder:nth-child(2) {
    transform: scale(1.08);
}

.screenshot-placeholder:nth-child(2):hover {
    transform: scale(1.08) translateY(-8px);
}

/* Store Buttons */
.store-buttons {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
}

.store-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    background-color: #151B23;
    border: 2px solid #1F6FEB;
    border-radius: 14px;
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
}

.store-button:hover {
    background-color: #1F6FEB;
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(31, 111, 235, 0.5);
}

.store-button.secondary {
    border-color: #7a2dfa;
}

.store-button.secondary:hover {
    background-color: #7a2dfa;
    box-shadow: 0 12px 32px rgba(122, 45, 250, 0.5);
}

.store-icon {
    font-size: 1.5rem;
}

/* Footer */
.footer {
    padding: 25px 40px;
    text-align: center;
    border-top: 1px solid rgba(31, 111, 235, 0.1);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.footer-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.footer-links a {
    color: #a8b3c1;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
    line-height: 1;
}

.footer-links a:hover {
    color: #1F6FEB;
}

.footer-text {
    color: #6e7681;
    font-size: 0.8rem;
    margin: 0;
    line-height: 1;
}

.footer-name-link {
    color: #a8b3c1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-name-link:hover {
    color: #1F6FEB;
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.logo-area {
    animation: fadeInUp 0.6s ease-out;
}

.hero-title {
    animation: fadeInUp 0.7s ease-out 0.1s backwards;
}

.hero-description {
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.store-buttons {
    animation: fadeInUp 0.9s ease-out 0.3s backwards;
}

.screenshots-section {
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.footer {
    animation: fadeInUp 0.6s ease-out 0.5s backwards;
}

/* Prevent text selection for cleaner look */
.screenshot-placeholder {
    user-select: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .logo-area {
        margin-bottom: 0;
    }

    .app-icon {
        width: 60px;
        height: 60px;
        border-radius: 14px;
    }

    .app-name {
        font-size: 3rem;
    }

    .hero-section {
        padding: 30px 40px 40px;
        gap: 50px;
    }

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

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

    .screenshot-grid {
        max-width: 520px;
        gap: 20px;
    }

    .store-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 350px;
        gap: 14px;
    }

    .store-button {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .logo-area {
        margin-bottom: 0;
    }

    .app-icon {
        width: 50px;
        height: 50px;
        border-radius: 12px;
    }

    .app-name {
        font-size: 2.5rem;
    }

    .hero-section {
        padding: 30px 25px 35px;
        gap: 45px;
    }

    .hero-content {
        gap: 0;
    }

    .hero-description {
        margin-top: 18px;
    }

    .hero-title {
        font-size: 1.5rem;
        letter-spacing: -0.5px;
        gap: 0.25em;
        margin-bottom: 0;
    }

    .animated-word {
        width: 2.3em;
    }

    .hero-description {
        font-size: 1rem;
        line-height: 1.6;
        padding: 0 10px;
    }

    .screenshot-grid {
        max-width: 100%;
        gap: 14px;
        padding: 0 10px;
    }

    .screenshot-placeholder {
        border-radius: 20px;
        border-width: 1.5px;
    }

    .screenshot-placeholder img {
        border-radius: 18.5px;
    }

    .store-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        gap: 12px;
        padding: 0 15px;
    }

    .store-button {
        padding: 15px 30px;
        font-size: 1rem;
        width: 100%;
        border-radius: 12px;
    }

    .store-icon {
        font-size: 1.4rem;
    }

    .footer {
        padding: 25px 25px 30px;
    }

    .footer-content {
        gap: 12px;
    }

    .footer-links {
        gap: 18px;
        flex-wrap: wrap;
    }

    .footer-links a {
        font-size: 0.85rem;
    }

    .footer-text {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .logo-area {
        gap: 12px;
        margin-bottom: 0;
    }

    .app-icon {
        width: 44px;
        height: 44px;
        border-radius: 10px;
    }

    .app-name {
        font-size: 2rem;
    }

    .hero-section {
        padding: 25px 20px 30px;
        gap: 35px;
    }

    .hero-content {
        gap: 0;
    }

    .hero-title {
        font-size: 1.3rem;
        letter-spacing: -0.3px;
        margin-bottom: 0;
    }

    .animated-word {
        width: 2.4em;
    }

    .hero-description {
        font-size: 0.95rem;
        line-height: 1.65;
        padding: 0 5px;
    }

    .screenshot-grid {
        max-width: 100%;
        gap: 10px;
        padding: 0 5px;
    }

    .screenshot-placeholder {
        border-radius: 18px;
    }

    .screenshot-placeholder img {
        border-radius: 16.5px;
    }

    .store-buttons {
        max-width: 100%;
        padding: 0 10px;
        gap: 10px;
    }

    .store-button {
        padding: 14px 26px;
        font-size: 0.95rem;
        border-radius: 11px;
    }

    .store-icon {
        font-size: 1.3rem;
    }

    .footer {
        padding: 20px 20px 25px;
    }

    .footer-content {
        gap: 10px;
    }

    .footer-links {
        gap: 15px;
    }

    .footer-links a {
        font-size: 0.8rem;
    }

    .footer-text {
        font-size: 0.7rem;
    }
}
