/* UnfEx Website - Modern Glassmorphism Design */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors - Light Theme */
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --dark-bg: #f5f7ff;
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(0, 0, 0, 0.06);
    --text-primary: #1e293b;
    --text-secondary: #64748b;

    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.10) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(79, 172, 254, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Language Selector */
.language-selector {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 8px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 8px;
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.lang-btn:hover,
.lang-btn.active {
    background: var(--primary-gradient);
    transform: translateY(-2px);
}

/* Glass Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.2);
}

/* Gradient Text */
.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Section */
.hero {
    padding: var(--section-padding);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.hero-title {
    font-size: 72px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.app-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #1e293b;
    color: white;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.app-store-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.app-store-btn.large {
    padding: 18px 36px;
    font-size: 18px;
}

.apple-logo {
    width: 32px;
    height: 32px;
}

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

.download-on {
    font-size: 11px;
    opacity: 0.7;
}

.store-name {
    font-size: 20px;
    font-weight: 600;
}

/* Quick Features */
.quick-features {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.quick-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
}

.feature-icon {
    width: 24px;
    height: 24px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 14px;
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.app-preview {
    padding: 0;
    overflow: hidden;
}

.app-preview-header {
    background: rgba(0, 0, 0, 0.06);
    padding: 15px 20px;
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.15);
}

.app-preview-content {
    padding: 40px;
}

.preview-stats {
    display: grid;
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Floating Elements */
.floating-element {
    position: absolute;
    animation: float 6s ease-in-out infinite;
}

.glass-orb {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.10) 0%, transparent 70%);
    filter: blur(40px);
}

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

/* Features Section */
.features {
    padding: var(--section-padding);
}

.section-title {
    font-size: 48px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 20px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 16px;
}

/* How It Works Section */
.how-it-works {
    padding: var(--section-padding);
}

.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.step-card {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 900;
    margin: 0 auto 20px;
}

.step-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
}

.step-card p {
    color: var(--text-secondary);
}

.step-arrow {
    font-size: 32px;
    color: var(--text-secondary);
}

/* Pricing Section */
.pricing {
    padding: var(--section-padding);
}

.promo-banner {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.pricing-card {
    text-align: center;
    position: relative;
    padding: 40px 30px;
}

.pricing-card.popular {
    border: 2px solid #667eea;
    transform: scale(1.05);
}

.pricing-card.best-value {
    border: 2px solid #f5576c;
}

.pricing-card .badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-gradient);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.pricing-card.best-value .badge {
    background: var(--secondary-gradient);
}

.pricing-card .bonus-badge {
    position: absolute;
    top: 20px;
    right: -10px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    transform: rotate(15deg);
    box-shadow: 0 4px 15px rgba(245, 87, 108, 0.4);
}

.pricing-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    margin-top: 20px;
}

.pricing-card .price {
    margin-bottom: 15px;
}

.pricing-card .price .original {
    display: block;
    font-size: 18px;
    color: var(--text-secondary);
    text-decoration: line-through;
    margin-bottom: 5px;
}

.pricing-card .price .amount {
    font-size: 48px;
    font-weight: 900;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-card .duration {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 25px;
}

.pricing-card .features-list {
    list-style: none;
    text-align: left;
}

.pricing-card .features-list li {
    color: var(--text-secondary);
    padding: 8px 0;
    font-size: 15px;
}

.pricing-note {
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
    font-style: italic;
}

/* CTA Section */
.cta-section {
    padding: var(--section-padding);
}

.cta-card {
    text-align: center;
    padding: 80px 40px;
}

.cta-card h2 {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 20px;
}

.cta-card p {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

/* Footer */
.footer {
    padding: 60px 0 30px;
    border-top: 1px solid var(--glass-border);
    background: rgba(255,255,255,0.5);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-brand h3 {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 10px;
}

.footer-brand p {
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    gap: 30px;
}

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

.footer-links a:hover {
    color: #7c3aed;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 56px;
    }
    
    .hero-visual {
        order: -1;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-subtitle {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        flex-direction: column;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .language-selector {
        top: 10px;
        right: 10px;
        padding: 4px;
        gap: 4px;
    }
    
    .lang-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .quick-features {
        flex-direction: column;
        gap: 15px;
    }
}
