:root {
    --primary: #6366f1;
    --primary-light: #8b5cf6;
    --primary-dark: #4f46e5;
    --secondary: #ec4899;
    --accent: #06b6d4;
    --text: #1e293b;
    --text-light: #64748b;
    --background: #ffffff;
    --background-alt: #f8fafc;
    --background-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --border: #e2e8f0;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.25);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);
    --gradient-text: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-button: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-card: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    background: var(--gradient-text);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 180px 0 120px;
    background: linear-gradient(135deg, #f0f4ff 0%, #e0e7ff 50%, #fdf2f8 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 580px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 12px 24px;
    border-radius: 50px;
    margin-bottom: 32px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    animation: badgeGlow 3s ease-in-out infinite alternate;
}

.badge-icon {
    font-size: 16px;
    animation: sparkle 2s ease-in-out infinite;
}

.gradient-text {
    font-size: 72px;
    line-height: 1.1;
    font-weight: 800;
    background: var(--gradient-text);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 32px;
    text-shadow: 0 4px 8px rgba(99, 102, 241, 0.3);
    animation: textGlow 3s ease-in-out infinite alternate;
}

.hero-subtitle {
    font-size: 22px;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.7;
    font-weight: 400;
}

.hero-image {
    position: relative;
    height: 600px;
}

.floating-mockup {
    position: relative;
    width: 100%;
    height: 100%;
    animation: heroFloat 8s ease-in-out infinite;
}

.mockup-showcase {
    position: relative;
    width: 100%;
    height: 100%;
    perspective: 1000px;
}

.mockup-main {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateY(-15deg) rotateX(5deg);
    width: 280px;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    z-index: 3;
    transition: transform 0.6s ease;
}

.mockup-secondary {
    position: absolute;
    top: 45%;
    left: 20%;
    transform: translate(-50%, -50%) rotateY(-25deg) rotateX(10deg);
    width: 240px;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 2;
    opacity: 0.8;
    animation: floatDelay1 8s ease-in-out infinite;
}

.mockup-tertiary {
    position: absolute;
    top: 55%;
    right: 15%;
    transform: translate(50%, -50%) rotateY(20deg) rotateX(-5deg);
    width: 220px;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 1;
    opacity: 0.6;
    animation: floatDelay2 8s ease-in-out infinite;
}

.floating-card {
    position: absolute;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 20px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 16px;
    font-weight: 600;
    font-size: 15px;
    color: var(--text);
    z-index: 4;
}

.card-1 {
    top: 15%;
    left: -80px;
    animation: cardFloat1 6s ease-in-out infinite;
}

.card-2 {
    bottom: 20%;
    right: -80px;
    animation: cardFloat2 6s ease-in-out infinite;
}

.card-3 {
    top: 60%;
    left: -60px;
    animation: cardFloat3 6s ease-in-out infinite;
}

.feature-icon {
    font-size: 28px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

/* Features Section */
.features {
    padding: 120px 0;
    background: var(--background-alt);
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.section-header h2 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--text);
    line-height: 1.2;
}

.section-header p {
    color: var(--text-light);
    font-size: 22px;
    line-height: 1.6;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.feature-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    border: 1px solid rgba(99, 102, 241, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-button);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(99, 102, 241, 0.2);
}

.feature-card .feature-icon {
    font-size: 40px;
    margin-bottom: 24px;
    display: block;
}

.feature-card h3 {
    font-size: 28px;
    margin-bottom: 16px;
    font-weight: 700;
    color: var(--text);
}

.feature-card p {
    color: var(--text-light);
    font-size: 18px;
    line-height: 1.6;
}

/* Apps Section */
.apps {
    padding: 120px 0;
    background: white;
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.platform-card {
    text-align: center;
    padding: 48px 40px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid var(--border);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.platform-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-card);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.platform-card:hover::before {
    opacity: 1;
}

.platform-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(99, 102, 241, 0.3);
}

.platform-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 32px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
    transition: transform 0.4s ease;
    position: relative;
    z-index: 1;
}

.platform-card:hover img {
    transform: scale(1.1);
}

.platform-card h3 {
    margin-bottom: 12px;
    font-size: 24px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.platform-card p {
    margin-bottom: 32px;
    color: var(--text-light);
    font-size: 16px;
    position: relative;
    z-index: 1;
}

.platform-link {
    display: inline-block;
    padding: 16px 32px;
    background: var(--gradient-button);
    color: white;
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
}

.platform-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Contact Section */
.contact {
    padding: 120px 0;
    background: linear-gradient(135deg, #f0f4ff 0%, #e0e7ff 100%);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.contact-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.contact-button {
    display: inline-block;
    padding: 20px 48px;
    background: var(--gradient-button);
    color: white;
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 20px;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.contact-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.contact-button:hover::before {
    left: 100%;
}

.contact-button:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

/* Footer */
footer {
    padding: 80px 0 40px;
    background: white;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    font-size: 32px;
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--text-light);
    font-size: 18px;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 40px;
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text);
}

.footer-section a {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    margin-bottom: 16px;
    font-size: 16px;
    transition: all 0.3s ease;
    padding: 4px 0;
}

.footer-section a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

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

.footer-bottom p {
    margin-bottom: 8px;
}

/* Store Buttons */
.app-stores {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 24px;
}

.store-button {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.store-button img {
    height: 56px;
    width: auto;
    transition: all 0.3s ease;
    display: block;
}

.store-button:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.store-button:hover img {
    filter: brightness(1.1);
}

/* Animations */
@keyframes heroFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes floatDelay1 {
    0%, 100% {
        transform: translate(-50%, -50%) rotateY(-25deg) rotateX(10deg) translateY(0px);
    }
    50% {
        transform: translate(-50%, -50%) rotateY(-25deg) rotateX(10deg) translateY(-15px);
    }
}

@keyframes floatDelay2 {
    0%, 100% {
        transform: translate(50%, -50%) rotateY(20deg) rotateX(-5deg) translateY(0px);
    }
    50% {
        transform: translate(50%, -50%) rotateY(20deg) rotateX(-5deg) translateY(-10px);
    }
}

@keyframes cardFloat1 {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(2deg);
    }
}

@keyframes cardFloat2 {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(-2deg);
    }
}

@keyframes cardFloat3 {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-12px) rotate(1deg);
    }
}

@keyframes textGlow {
    0% {
        filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.3));
    }
    100% {
        filter: drop-shadow(0 0 30px rgba(99, 102, 241, 0.5));
    }
}

@keyframes badgeGlow {
    0% {
        box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
    }
    100% {
        box-shadow: 0 0 30px rgba(99, 102, 241, 0.4);
    }
}

@keyframes sparkle {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.2) rotate(180deg);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero .container {
        gap: 60px;
    }
    
    .gradient-text {
        font-size: 64px;
    }
    
    .mockup-main {
        width: 240px;
    }
    
    .mockup-secondary {
        width: 200px;
    }
    
    .mockup-tertiary {
        width: 180px;
    }
}

@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .gradient-text {
        font-size: 48px;
    }

    .hero-content {
        margin: 0 auto;
        max-width: 100%;
    }

    .hero-image {
        height: 400px;
    }

    .floating-card {
        display: none;
    }

    .mockup-showcase {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .mockup-main {
        position: static;
        transform: none;
        width: 280px;
    }

    .mockup-secondary,
    .mockup-tertiary {
        display: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .section-header h2 {
        font-size: 40px;
    }

    .nav-links {
        gap: 24px;
    }

    .nav-links a {
        font-size: 14px;
        padding: 6px 12px;
    }

    .container {
        padding: 0 16px;
    }

    .app-stores {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .gradient-text {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .feature-card,
    .platform-card {
        padding: 32px 24px;
    }

    .platforms-grid {
        grid-template-columns: 1fr;
    }
}