/* Base styles and variables */
:root {
    --deep-magenta: rgb(222, 0, 104);
    --pinkish-red: rgb(173, 70, 124);
    --purple: rgb(87, 33, 165);
    --dark-bg: #0F0F13;
    --dark-card: #1A1A22;
    --dark-card-hover: #24242E;
    --text-primary: #FFFFFF;
    --text-secondary: #B3B3B3;
    --text-tertiary: #7A7A7A;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
    --border-radius: 12px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 16px;
}

a {
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    text-align: center;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-secondary);
}

section {
    padding: var(--spacing-lg) var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

/* Language switcher */
.lang-switcher {
    margin-left: auto;
    margin-right: var(--spacing-md);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.lang-switcher a {
    padding: 0.3rem 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.lang-switcher a.active {
    font-weight: 600;
    background: linear-gradient(135deg, var(--deep-magenta), var(--pinkish-red), var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lang-switcher a:hover:not(.active) {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, var(--deep-magenta), var(--pinkish-red), var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-right: var(--spacing-sm);
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 14px rgba(0, 0, 0, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
}

.primary-btn {
    background: linear-gradient(135deg, var(--deep-magenta), var(--pinkish-red), var(--purple));
    color: white;
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-buttons {
    margin-top: var(--spacing-md);
}

/* Header and navigation */
header {
    background-color: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

header::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(222, 0, 104, 0.1), rgba(173, 70, 124, 0.1), rgba(87, 33, 165, 0.1));
    z-index: -1;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md);
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--deep-magenta), var(--pinkish-red), var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-links a {
    margin-left: var(--spacing-md);
    font-weight: 500;
    position: relative;
}

.nav-links a:hover {
    color: var(--pinkish-red);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(135deg, var(--deep-magenta), var(--pinkish-red), var(--purple));
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero section */
.hero {
    display: flex;
    align-items: center;
    min-height: 90vh;
    padding: var(--spacing-lg) var(--spacing-md);
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.phone {
    position: relative;
    width: 300px;
    height: 600px;
    border-radius: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    border: 10px solid #2A2A36;
    background: #000;
}

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

.placeholder-img {
    background: linear-gradient(135deg, #333, #222);
}

/* Features section */
.features {
    background-color: var(--dark-bg);
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.feature-card {
    background-color: var(--dark-card);
    border-radius: var(--border-radius);
    padding: var(--spacing-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.feature-card:hover {
    transform: translateY(-5px);
    background-color: var(--dark-card-hover);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    background: linear-gradient(135deg, var(--deep-magenta), var(--pinkish-red), var(--purple));
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-sm);
    font-size: 1.5rem;
}

.pro-badge, .free-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pro-badge {
    background: linear-gradient(135deg, var(--deep-magenta), var(--pinkish-red));
    color: white;
}

.free-badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}

/* App showcase section */
.app-showcase {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.devices {
    flex: 1;
}

.devices img {
    max-width: 100%;
    height: auto;
}

.showcase-content {
    flex: 1;
    padding: var(--spacing-md);
}

/* Pricing section */
.pricing {
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-cards {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.pricing-card {
    background-color: var(--dark-card);
    border-radius: var(--border-radius);
    padding: var(--spacing-md);
    flex: 1;
    max-width: 400px;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-card.featured {
    background: linear-gradient(170deg, var(--dark-card), var(--dark-card-hover));
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card.featured:hover {
    transform: translateY(-5px) scale(1.05);
}

.pricing-header {
    text-align: center;
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: var(--spacing-sm);
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: var(--spacing-xs) 0;
}

.pricing-features {
    list-style-type: none;
    margin: var(--spacing-md) 0;
}

.pricing-features li {
    margin-bottom: var(--spacing-xs);
    color: var(--text-secondary);
}

.pricing-features i {
    color: var(--pinkish-red);
    margin-right: var(--spacing-xs);
}

.pricing-card .btn {
    width: 100%;
    text-align: center;
    margin-top: var(--spacing-sm);
}

/* Download section */
.download {
    text-align: center;
    background-color: var(--dark-card);
    border-radius: var(--border-radius);
    padding: var(--spacing-lg) var(--spacing-md);
    margin: var(--spacing-xl) auto;
    max-width: 800px;
}

.app-store-button {
    display: inline-block;
    margin-top: var(--spacing-md);
}

.app-store-button img {
    height: 60px;
}

/* Footer */
footer {
    background-color: var(--dark-card);
    padding: var(--spacing-lg) var(--spacing-md);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: var(--spacing-md);
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--deep-magenta), var(--pinkish-red), var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-links a {
    margin-right: var(--spacing-md);
    color: var(--text-secondary);
}

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

.social-links a {
    margin-left: var(--spacing-sm);
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.social-links a:hover {
    color: var(--pinkish-red);
}

.copyright {
    text-align: center;
    color: var(--text-tertiary);
    font-size: 0.9rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Responsive design */
@media screen and (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: var(--spacing-lg);
    }
    
    .app-showcase {
        flex-direction: column;
        text-align: center;
    }
    
    .pricing-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .pricing-card {
        width: 100%;
        margin-bottom: var(--spacing-md);
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links, .social-links {
        margin-top: var(--spacing-md);
    }
    
    .lang-switcher {
        order: 3;
        margin: var(--spacing-sm) 0 0 0;
    }
}

@media screen and (max-width: 576px) {
    nav {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: var(--spacing-sm);
    }
    
    .nav-links {
        display: flex;
        justify-content: space-around;
        width: 100%;
    }
    
    .nav-links a {
        margin: 0;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
}