:root {
    --primary-purple: #998ffd;
    --primary-pink: #ffa2da;
    --primary-gradient: linear-gradient(135deg, #998ffd 0%, #ffa2da 100%);
    --primary-purple-light: #f0edff;
    --primary-purple-10: rgba(153, 143, 253, 0.1);
    --background: #FAFAFA;
    --shadow-light: rgba(0, 0, 0, 0.08);
    --text-dark: #212121;
    --text-gray: #757575;
    --success-green: #4CAF50;
    --app-store-blue: #007AFF;
    --web3-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --neon-purple: #8b5cf6;
    --neon-pink: #ec4899;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: #ffffff;
    overflow-x: hidden;
}

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

/* Glass Morphism Effect */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(153, 143, 253, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(153, 143, 253, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    height: 50px;
}

.logo-img {
    height: 25px;
    width: auto;
    object-fit: contain;
    max-width: 80px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-purple);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-purple);
    transition: width 0.3s ease;
}

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

.download-btn {
    text-decoration: none;
    transition: all 0.3s ease;
}

.ios-download-btn {
    height: 40px;
    width: auto;
    object-fit: contain;
    max-width: 120px;
}

.android-download-btn {
    height: 40px;
    width: auto;
    object-fit: contain;
    max-width: 120px;
}

.download-btn:hover {
    transform: translateY(-2px);
}

.download-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

@media (max-width: 768px) {
    .ios-download-btn,
    .android-download-btn {
        height: 35px;
        max-width: 100px;
    }
    
    .download-buttons {
        gap: 8px;
    }
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, rgba(153, 143, 253, 0.05) 0%, rgba(255, 162, 218, 0.05) 100%);
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="%23ffffff" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}


.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

/* Official App Store Button */
.app-store-button {
    display: inline-flex;
    align-items: center;
    background: #000;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
    border: 1px solid #d1d5db;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.app-store-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: #111;
}

.app-store-icon {
    width: 20px;
    height: 20px;
    margin-right: 0.75rem;
    background: white;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #000;
    font-weight: bold;
}

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

.app-store-text .top {
    font-size: 0.7rem;
    line-height: 1;
    opacity: 1;
    font-weight: 400;
    margin-bottom: 1px;
}

.app-store-text .bottom {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.5px;
}

.btn-secondary {
    background: white;
    color: var(--primary-purple);
    padding: 1rem 2rem;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border: 2px solid var(--primary-purple);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--primary-purple);
    color: white;
    transform: translateY(-3px);
}

/* Screenshots Section */
.screenshots {
    padding: 80px 0;
    background: white;
    text-align: center;
}

.screenshots h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.screenshots p {
    color: var(--text-gray);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.screenshot {
    background: white;
    border-radius: 20px;
    border: 1px solid rgba(153, 143, 253, 0.2);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(153, 143, 253, 0.1);
}

.screenshot:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 15px 30px rgba(153, 143, 253, 0.15);
    border-color: var(--primary-purple);
}

.screenshot img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.screenshot:hover img {
    transform: scale(1.05);
}

.screenshot-caption {
    padding: 1rem;
    font-size: 0.9rem;
    color: var(--text-gray);
    font-weight: 500;
    background: rgba(153, 143, 253, 0.05);
}

/* Features Section */
.features {
    padding: 80px 0;
    background: rgba(153, 143, 253, 0.02);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(153, 143, 253, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(153, 143, 253, 0.1);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-purple);
    box-shadow: 0 15px 30px rgba(153, 143, 253, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    box-shadow: 0 8px 20px rgba(153, 143, 253, 0.3);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: white;
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(153, 143, 253, 0.1);
    border-left: 4px solid var(--primary-purple);
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(153, 143, 253, 0.1);
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(153, 143, 253, 0.15);
}

.testimonial-text {
    font-style: italic;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(153, 143, 253, 0.3);
}

.author-info h4 {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.author-info p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* How It Works */
.how-it-works {
    padding: 80px 0;
    background: rgba(153, 143, 253, 0.02);
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 20px rgba(153, 143, 253, 0.3);
}

.step h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

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

/* Download Section */
.download-section {
    padding: 80px 0;
    background: var(--primary-gradient);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.download-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.download-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.download-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.app-store-link {
    display: inline-flex;
    align-items: center;
    background: #000;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 400;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 1px solid #d1d5db;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.app-store-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: #111;
}

.download-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.ios-link,
.android-link {
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

.ios-link:hover,
.android-link:hover {
    background: transparent !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Footer */
footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 2rem;
    text-align: center;
    border-top: 1px solid rgba(153, 143, 253, 0.2);
}

.footer-content {
    margin-bottom: 2rem;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-links a:hover {
    background: var(--primary-gradient);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(153, 143, 253, 0.3);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .features h2,
    .how-it-works h2,
    .testimonials h2,
    .screenshots h2 {
        font-size: 2rem;
    }

    .screenshots-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

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

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(139, 92, 246, 0.3); }
    50% { box-shadow: 0 0 30px rgba(139, 92, 246, 0.6); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.floating {
    animation: float 3s ease-in-out infinite;
}

.glowing {
    animation: glow 2s ease-in-out infinite;
}

/* Latest Features Section */
.latest-features {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0edff 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.latest-features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23998ffd" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffa2da" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23998ffd" opacity="0.05"/><circle cx="10" cy="60" r="0.5" fill="%23ffa2da" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.latest-features h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.latest-features p {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.latest-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.latest-feature-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(153, 143, 253, 0.1);
    border: 1px solid rgba(153, 143, 253, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

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

.latest-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(153, 143, 253, 0.2);
}

.feature-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-gradient);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.latest-feature-card .feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.latest-feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.latest-feature-card p {
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
    text-align: left;
}

/* Special styling for featured main card */
.latest-feature-card.featured-main {
    background: linear-gradient(135deg, rgba(153, 143, 253, 0.1) 0%, rgba(255, 162, 218, 0.1) 100%);
    border: 2px solid var(--primary-purple);
    box-shadow: 0 15px 40px rgba(153, 143, 253, 0.2);
    transform: scale(1.02);
}

.latest-feature-card.featured-main:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(153, 143, 253, 0.3);
}

.latest-feature-card.featured-main .feature-badge {
    background: linear-gradient(135deg, #ff6b6b 0%, #ffa500 100%);
    animation: pulse 2s infinite;
}

.latest-feature-card.featured-main h3 {
    color: var(--primary-purple);
    font-weight: 700;
}

/* Special styling for featured new cards in main features */
.feature-card.featured-new {
    border: 2px solid var(--primary-pink);
    background: linear-gradient(135deg, rgba(255, 162, 218, 0.1) 0%, rgba(153, 143, 253, 0.1) 100%);
    position: relative;
}

.feature-card.featured-new::before {
    content: 'NEW';
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ffa500 100%);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 1;
}

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

/* Hero Feature Highlight */
.new-feature-highlight {
    background: linear-gradient(135deg, rgba(153, 143, 253, 0.1) 0%, rgba(255, 162, 218, 0.1) 100%);
    border: 2px solid var(--primary-purple);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(153, 143, 253, 0.2);
}

.feature-badge-hero {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b6b 0%, #ffa500 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

.new-feature-highlight h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-purple);
    margin-bottom: 1rem;
}

.new-feature-highlight p {
    font-size: 1.2rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .latest-features {
        padding: 3rem 0;
    }
    
    .latest-features h2 {
        font-size: 2rem;
    }
    
    .latest-features p {
        font-size: 1rem;
    }
    
    .latest-features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .latest-feature-card {
        padding: 1.5rem;
    }
    
    .new-feature-highlight {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .new-feature-highlight h2 {
        font-size: 1.8rem;
    }
    
    .new-feature-highlight p {
        font-size: 1.1rem;
    }
}
