/* Additional Landing Page Styles */

/* CSS Variables */
:root {
    --mkt-color: #ABB3FF; /* Market/Brand color for buttons and accents */
    --global-border-radius: 12px;
    --font-size-normal: 1rem;
    --font-size-large: 1.5rem;
}

/* Reset default body styles for landing page */
body {
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow-y: auto;
    background-color: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'IBM Plex Serif', serif;
}

/* Override the container styles for the landing page */
.landing-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #161616;
    border-radius: var(--global-border-radius);
    border: 1px solid var(--mkt-color);
    box-shadow: 
        inset 0 0 45px rgba(171, 179, 255, 0.05),
        0 10px 30px rgba(0, 0, 0, 0.3);
    padding: 40px 30px;
    width: 90%;
    max-width: 450px;
    margin: 20px auto;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.6s ease forwards;
}

.landing-container:hover {
    transform: translateY(-5px);
    box-shadow: 
        inset 0 0 45px rgba(171, 179, 255, 0.08),
        0 15px 40px rgba(0, 0, 0, 0.4);
}

/* Brand container styling */
.brand-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
    width: 100%;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 5px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: #E8986F;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
    text-shadow: 0 0 10px rgba(232, 152, 111, 0.3);
    background: linear-gradient(90deg, #E8986F 0%, #f2b494 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-tagline {
    font-size: 0.95rem;
    color: #ccc;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.logo-wrapper img {
    width: 54px;
    height: auto;
    margin-left: 10px;
    order: 2;
    filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.3));
    transition: transform 0.3s ease;
}

.logo-wrapper img:hover {
    transform: rotate(5deg) scale(1.05);
}

/* Logo styling */
.landing-logo {
    margin-bottom: 24px;
    text-align: center;
    position: relative;
}

.landing-logo::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--mkt-color);
    border-radius: 2px;
    opacity: 0.7;
}

.landing-logo img {
    max-width: 90px;
    height: auto;
    transition: transform 0.3s ease;
}

.landing-logo img:hover {
    transform: scale(1.05);
}

/* Banner styling */
.landing-banner {
    font-size: var(--font-size-large);
    font-weight: bold;
    margin-bottom: 16px;
    text-align: center;
    color: #E8986F;
    background: linear-gradient(90deg, #E8986F 0%, #f2b494 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Text box styling */
.landing-textbox {
    font-size: var(--font-size-normal);
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.5;
    color: #ccc;
    max-width: 90%;
}

/* Benefits section */
.landing-benefits {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 24px;
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.02);
}

.benefit-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: #fff;
    transition: transform 0.2s ease;
}

.benefit-item:hover {
    transform: translateX(5px);
}

.benefit-item svg {
    fill: var(--mkt-color);
    margin-right: 10px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.benefit-item:hover svg {
    transform: scale(1.1);
}

/* Button container */
.landing-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    margin-bottom: 30px;
}

/* Google signin button */
.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    background-color: var(--mkt-color);
    color: #000;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.google-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        60deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-200%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

.google-btn:hover {
    background-color: #9ba6ff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(171, 179, 255, 0.3);
}

.google-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(171, 179, 255, 0.2);
}

.google-btn svg {
    margin-right: 8px;
    fill: #000 !important;
    transition: transform 0.2s ease;
}

.google-btn:hover svg {
    transform: scale(1.1);
}

/* Secondary CTA button */
.landing-secondary-cta {
    background-color: transparent;
    color: var(--mkt-color);
    border: 1px solid var(--mkt-color);
    border-radius: 30px;
    padding: 12px 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.landing-secondary-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--mkt-color);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.landing-secondary-cta:hover {
    background-color: rgba(171, 179, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 0 10px rgba(171, 179, 255, 0.1);
}

.landing-secondary-cta:hover::before {
    opacity: 0.05;
}

/* Costa Rica guarantee badge */
.cr-badge {
    margin-top: 20px;
    padding: 8px 16px;
    background-color: rgba(171, 179, 255, 0.05);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.cr-badge:hover {
    background-color: rgba(171, 179, 255, 0.08);
    border-color: rgba(171, 179, 255, 0.2);
    transform: translateY(-2px);
}

.cr-badge svg, 
.cr-badge img {
    margin-right: 6px;
    transition: transform 0.3s ease;
}

.cr-badge:hover svg,
.cr-badge:hover img {
    transform: rotate(5deg);
}

/* Media queries for responsive design */
@media (min-width: 768px) {
    .landing-buttons {
        flex-direction: row;
        justify-content: center;
    }
    
    .google-btn, .landing-secondary-cta {
        width: auto;
        min-width: 180px;
    }
    
    .landing-container {
        padding: 50px;
        max-width: 500px;
    }
    
    .logo-wrapper img {
        width: 64px;
    }
    
    .brand-name {
        font-size: 1.7rem;
    }
    
    .brand-tagline {
        font-size: 1rem;
    }
    
    .landing-banner {
        font-size: 1.7rem;
    }
}

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

/* For dark mode compatibility */
@media (prefers-color-scheme: dark) {
    .landing-container {
        border-color: var(--mkt-color);
    }
    
    .landing-banner,
    .brand-name {
        background: linear-gradient(90deg, #E8986F 0%, #f2b494 100%);
        -webkit-background-clip: text;
        background-clip: text;
    }
}
