/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors matching the project */
    --red-25: #BA1A1A;
    --dark-red-25: #FFB4AB;
    --blue-25: #0061A4;
    --dark-blue-25: #9CCAFF;
    --black-A1: #1A1A1A;
    --dark-white: #E0E0E0;
    --black-45: rgba(26, 26, 26, 0.45);
    --white-35: rgba(224, 224, 224, 0.35);
    --gray-65: #A6A6A6;
    --gray-75: #BFBFBF;
}

html {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    background: #fff;
    color: var(--black-A1);
    overflow-x: hidden;
    min-height: 100vh;
    line-height: 1.6;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    body {
        background: #1A1A1A;
        color: var(--dark-white);
    }

    .download-btn {
        background: var(--white-35) !important;
        color: var(--dark-white) !important;
    }
}

.container {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Gradient backgrounds matching the project */
.gradient-purple {
    position: fixed;
    top: 20%;
    right: 10%;
    width: 300px;
    height: 300px;
    background: linear-gradient(90deg, #9403fd 0%, #00adfe 100%);
    opacity: 0.5;
    filter: blur(75px);
    border-radius: 50%;
    z-index: -1;
}

.gradient-pink-yellow {
    position: fixed;
    top: 60%;
    left: 5%;
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, #ff6b9d 0%, #ffd93d 100%);
    opacity: 0.6;
    filter: blur(75px);
    border-radius: 50%;
    z-index: -1;
}

/* Header */
.header {
    padding: 2rem 2rem 1rem;
    display: flex;
    justify-content: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--black-A1);
}

@media (prefers-color-scheme: dark) {
    .logo {
        color: var(--dark-white);
    }
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

/* Main content */
.main-content {
    flex: 1;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-wrapper {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.text-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.2;
    color: var(--black-A1);
}

@media (prefers-color-scheme: dark) {
    .title {
        color: var(--dark-white);
    }
}

.highlight {
    color: var(--red-25);
    background: transparent;
    font-weight: 900;
}

@media (prefers-color-scheme: dark) {
    .highlight {
        color: var(--dark-red-25);
    }
}

.description {
    font-size: 1.125rem;
    color: var(--gray-65);
    max-width: 500px;
    line-height: 1.6;
}

@media (prefers-color-scheme: dark) {
    .description {
        color: var(--gray-75);
    }
}

.app-downloads {
    margin-top: 1rem;
}

.downloads-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--black-A1);
}

@media (prefers-color-scheme: dark) {
    .downloads-title {
        color: var(--dark-white);
    }
}

.download-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 400px;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1.5rem;
    background: var(--black-45);
    color: var(--black-A1);
    border-radius: 0.5rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 60px;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.download-icon {
    min-width: 24px;
    min-height: 24px;
}

.download-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.download-label {
    font-size: 0.625rem;
    font-weight: 400;
    line-height: 1.3;
    opacity: 0.8;
}

.download-platform {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.3;
}

/* Phone mockup */
.phone-mockup {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-container {
    position: relative;
    width: 280px;
    height: 560px;
    background: linear-gradient(145deg, #f0f0f0, #d0d0d0);
    border-radius: 30px;
    padding: 15px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

@media (prefers-color-scheme: dark) {
    .phone-container {
        background: linear-gradient(145deg, #333, #1a1a1a);
    }
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

@media (prefers-color-scheme: dark) {
    .phone-screen {
        background: #1a1a1a;
    }
}

.app-preview {
    padding: 1.5rem 1rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.status-bar {
    height: 20px;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.1) 50%, transparent 100%);
    margin-bottom: 1rem;
    border-radius: 10px;
}

.app-header {
    text-align: center;
    margin-bottom: 2rem;
}

.logo-small {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--red-25);
    letter-spacing: 0.1em;
}

@media (prefers-color-scheme: dark) {
    .logo-small {
        color: var(--dark-red-25);
    }
}

.app-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.card-mockup {
    background: linear-gradient(135deg, var(--red-25), var(--blue-25));
    padding: 1.5rem 1rem;
    border-radius: 12px;
    color: white;
    position: relative;
    overflow: hidden;
}

.card-mockup::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.card-number {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}

.card-holder {
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0.9;
}

.balance {
    text-align: center;
    padding: 1rem;
}

.balance-label {
    font-size: 0.875rem;
    color: var(--gray-65);
    margin-bottom: 0.5rem;
}

@media (prefers-color-scheme: dark) {
    .balance-label {
        color: var(--gray-75);
    }
}

.balance-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--black-A1);
}

@media (prefers-color-scheme: dark) {
    .balance-amount {
        color: var(--dark-white);
    }
}

.quick-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: space-between;
}

.action-btn {
    flex: 1;
    background: var(--black-45);
    color: var(--black-A1);
    padding: 0.75rem 0.5rem;
    border-radius: 8px;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
}

@media (prefers-color-scheme: dark) {
    .action-btn {
        background: var(--white-35);
        color: var(--dark-white);
    }
}

/* Floating cards */
.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: float 3s ease-in-out infinite;
}

@media (prefers-color-scheme: dark) {
    .floating-card {
        background: rgba(42, 42, 42, 0.9);
        border: 1px solid rgba(224, 224, 224, 0.1);
    }
}

.card-1 {
    top: 80px;
    right: -60px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 200px;
    right: -70px;
    animation-delay: 1s;
}

.card-3 {
    bottom: 120px;
    left: -50px;
    animation-delay: 2s;
}

.card-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--black-A1);
    margin-bottom: 0.25rem;
}

@media (prefers-color-scheme: dark) {
    .card-title {
        color: var(--dark-white);
    }
}

.card-subtitle {
    font-size: 0.75rem;
    color: var(--red-25);
    text-align: center;
}

@media (prefers-color-scheme: dark) {
    .card-subtitle {
        color: var(--dark-red-25);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Footer */
.footer {
    padding: 2rem;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

@media (prefers-color-scheme: dark) {
    .footer {
        border-top: 1px solid rgba(224, 224, 224, 0.1);
    }
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--black-45);
    color: var(--black-A1);
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease;
}

@media (prefers-color-scheme: dark) {
    .social-links a {
        background: var(--white-35);
        color: var(--dark-white);
    }
}

.social-links a:hover {
    transform: translateY(-2px);
    background: var(--red-25);
    color: white;
}

.copyright {
    font-size: 0.875rem;
    color: var(--gray-65);
}

@media (prefers-color-scheme: dark) {
    .copyright {
        color: var(--gray-75);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .phone-container {
        width: 240px;
        height: 480px;
    }

    .floating-card {
        position: relative;
        display: none;
    }

    .main-content {
        padding: 1rem;
    }

    .header {
        padding: 1rem;
    }

    .download-buttons {
        max-width: none;
    }

    .title {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .phone-container {
        width: 200px;
        height: 400px;
    }

    .title {
        font-size: 2rem;
    }

    .description {
        font-size: 1rem;
    }
}
