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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #e2e8f0;
    background: #0f0f23;
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
}

/* Improve touch targets and scrolling */
html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Improve button and link accessibility */
a,
button {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
}

/* Better focus states for keyboard navigation */
a:focus,
button:focus {
    outline: 2px solid #7c3aed;
    outline-offset: 2px;
}

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

header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1160px;
    background: rgba(15, 15, 35, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 16px;
    padding: 1rem 2rem;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(15, 15, 35, 0.95);
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #7c3aed;
    text-decoration: none;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #7c3aed;
    background: rgba(124, 58, 237, 0.1);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #cbd5e1;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}

.menu-toggle:hover {
    background: rgba(124, 58, 237, 0.1);
    color: #7c3aed;
}

.hero {
    padding: 140px 0 100px;
    text-align: center;
    color: #e2e8f0;
    position: relative;
    background: radial-gradient(ellipse at top, rgba(124, 58, 237, 0.15) 0%, transparent 70%),
        radial-gradient(ellipse at bottom, rgba(168, 85, 247, 0.1) 0%, transparent 70%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.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"><circle cx="20" cy="20" r="1" fill="rgba(124,58,237,0.3)"/><circle cx="80" cy="80" r="0.8" fill="rgba(168,85,247,0.2)"/><circle cx="60" cy="30" r="0.6" fill="rgba(124,58,237,0.15)"/></svg>');
    animation: float 30s linear infinite;
    opacity: 0.5;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    100% {
        transform: translateY(-100px) rotate(360deg);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #94a3b8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: #fff;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
    position: relative;
    overflow: hidden;
}

.cta-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;
}

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

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(124, 58, 237, 0.5);
}

.hero-phone {
    margin-top: 4rem;
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 320px;
    height: 640px;
    background: linear-gradient(145deg, #1e293b, #334155);
    border-radius: 40px;
    padding: 24px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(124, 58, 237, 0.2);
    position: relative;
    overflow: hidden;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: #475569;
    border-radius: 3px;
}

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

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease;
}

.features {
    background: rgba(30, 41, 59, 0.3);
    padding: 100px 0;
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.3), transparent);
}

.features h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #e2e8f0;
    font-weight: 700;
}

.features-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: #94a3b8;
    margin-bottom: 5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.feature-card {
    background: rgba(15, 15, 35, 0.6);
    border: 1px solid rgba(124, 58, 237, 0.2);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(124, 58, 237, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #e2e8f0;
    font-weight: 600;
}

.feature-card p {
    color: #94a3b8;
    line-height: 1.7;
    font-size: 1rem;
}

.showcase {
    background: #0f0f23;
    padding: 100px 0;
    position: relative;
}

.showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.3), transparent);
}

.showcase h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #e2e8f0;
    font-weight: 700;
}

.showcase .subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: #94a3b8;
    margin-bottom: 5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.screenshots-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.screenshots-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.screenshot-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: rgba(30, 41, 59, 0.3);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 24px;
    padding: 3rem;
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    min-height: 300px;
}

.screenshot-item:hover {
    transform: translateY(-8px);
    border-color: rgba(124, 58, 237, 0.4);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    background: rgba(30, 41, 59, 0.4);
}

.screenshot-content {
    padding: 0;
}

.screenshot-content h4 {
    font-size: 1.7rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
    color: #e2e8f0;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.screenshot-content p {
    font-size: 1rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.3);
    color: #a855f7;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
}

.feature-icon-small {
    font-size: 1rem;
}

.hero-showcase {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
}

.about {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(168, 85, 247, 0.05) 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    border-top: 1px solid rgba(124, 58, 237, 0.2);
}

.about h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: #e2e8f0;
    font-weight: 700;
}

.about p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
    color: #94a3b8;
    line-height: 1.7;
}

footer {
    background: rgba(15, 15, 35, 0.8);
    border-top: 1px solid rgba(124, 58, 237, 0.2);
    color: #e2e8f0;
    padding: 50px 0;
    text-align: center;
}

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

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    margin: 0 1.5rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.hidden {
    display: none;
}

.page-content {
    background: #0f0f23;
    padding: 140px 0 80px;
    min-height: 100vh;
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    padding: 3rem;
    position: relative;
}

.legal-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #7c3aed, #a855f7, #ec4899);
    border-radius: 20px 20px 0 0;
}

.page-content h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: #e2e8f0;
    font-weight: 700;
    text-align: center;
}

.effective-date {
    text-align: center;
    font-size: 1.1rem;
    color: #94a3b8;
    margin-bottom: 3rem;
    padding: 1rem;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.page-content h2 {
    font-size: 1.6rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #7c3aed;
    font-weight: 600;
    padding-left: 1rem;
    border-left: 3px solid #7c3aed;
    background: rgba(124, 58, 237, 0.1);
    padding: 1rem;
    border-radius: 8px;
}

.page-content p {
    margin-bottom: 1.2rem;
    line-height: 1.8;
    color: #cbd5e1;
    font-size: 1rem;
}

.page-content ul {
    margin: 1rem 0 1.5rem 0;
    padding-left: 0;
}

.page-content li {
    margin-bottom: 0.8rem;
    padding: 1rem 1rem 1rem 2.5rem;
    position: relative;
    line-height: 1.6;
    color: #cbd5e1;
    background: rgba(124, 58, 237, 0.05);
    border-radius: 8px;
    margin-left: 1rem;
    border-left: 2px solid rgba(124, 58, 237, 0.3);
}

.page-content li::before {
    content: '✓';
    position: absolute;
    left: 1rem;
    color: #7c3aed;
    font-weight: bold;
    font-size: 1.1rem;
}

.page-content strong {
    color: #e2e8f0;
    font-weight: 600;
}

.back-link {
    display: inline-flex;
    align-items: center;
    margin-bottom: 2rem;
    color: #7c3aed;
    text-decoration: none;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.2);
    transition: all 0.3s ease;
}

.back-link:hover {
    background: rgba(124, 58, 237, 0.2);
    transform: translateX(-5px);
    text-decoration: none;
}

.back-link::before {
    content: '←';
    margin-right: 0.5rem;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.back-link:hover::before {
    transform: translateX(-3px);
}

.contact-section {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    color: #fff;
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
    text-align: center;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #cbd5e1;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.2);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

@media (max-width: 1024px) {
    .screenshot-item {
        padding: 2.5rem;
    }

    .screenshot-content h4 {
        font-size: 1.6rem;
    }

    .screenshot-content p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    * {
        max-width: 100vw;
        box-sizing: border-box;
    }

    body {
        overflow-x: hidden;
        position: relative;
    }

    header {
        top: 10px;
        width: calc(100% - 20px);
        padding: 1rem;
        position: fixed;
        background: rgba(15, 15, 35, 0.95);
        left: 10px;
        transform: none;
        max-width: none;
        overflow: visible;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1001;
        flex-shrink: 0;
        position: relative;
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        width: calc(100% - 2px);
        background: rgba(15, 15, 35, 0.95);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(124, 58, 237, 0.2);
        border-radius: 12px;
        flex-direction: column;
        gap: 0;
        text-align: center;
        display: none;
        padding: 1rem 0;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        z-index: 1002;
        box-sizing: border-box;
        margin: 0;
        overflow: hidden;
    }

    .container {
        padding: 0 10px;
        max-width: 100%;
    }

    .nav-links.mobile-open {
        display: flex;
        animation: slideDown 0.3s ease-out;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-links a {
        padding: 1rem;
        display: block;
        min-height: 44px;
        line-height: 1.5;
        border-bottom: 1px solid rgba(124, 58, 237, 0.1);
        margin: 0;
        border-radius: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 100%;
        box-sizing: border-box;
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .hero {
        padding: 140px 0 80px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }

    .hero p {
        font-size: 1.1rem;
        padding: 0 1rem;
        margin-bottom: 2rem;
    }

    .hero-showcase {
        flex-direction: column;
        gap: 2rem;
        margin-top: 2rem;
        text-align: center;
    }

    .phone-mockup {
        width: 260px;
        height: 520px;
        padding: 20px;
    }

    .cta-button {
        padding: 14px 28px;
        font-size: 1rem;
        min-height: 44px;
    }

    .showcase,
    .features,
    .about {
        padding: 80px 0;
    }

    .showcase h2,
    .features h2,
    .about h2 {
        font-size: 2.2rem;
        padding: 0 1rem;
    }

    .showcase .subtitle,
    .features-subtitle {
        font-size: 1.1rem;
        padding: 0 1rem;
        margin-bottom: 3rem;
    }

    .screenshot-item {
        padding: 2rem;
        min-height: 250px;
    }

    .screenshot-content h4 {
        font-size: 1.4rem;
    }

    .screenshot-content p {
        font-size: 0.95rem;
    }

    .screenshots-grid {
        gap: 2rem;
        padding: 0 1rem;
    }

    .feature-card {
        padding: 2rem;
    }

    .feature-card h3 {
        font-size: 1.3rem;
    }

    .screenshot-card {
        border-radius: 16px;
    }

    .screenshot-overlay {
        padding: 1.5rem;
    }

    .screenshots-container {
        padding: 0 1rem;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .footer-links a {
        margin: 0;
        padding: 0.5rem;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .legal-container {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
        border-radius: 16px;
    }

    .page-content {
        padding: 120px 0 60px;
    }

    .page-content h1 {
        font-size: 2.2rem;
        padding: 0 1rem;
    }

    .page-content h2 {
        font-size: 1.4rem;
        margin-top: 2rem;
    }

    .intro-text {
        font-size: 1rem;
        padding: 1rem;
        margin-bottom: 1.5rem;
    }

    .effective-date {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

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

    .phone-mockup {
        width: 220px;
        height: 440px;
        padding: 16px;
    }

    .showcase h2,
    .features h2,
    .about h2 {
        font-size: 1.8rem;
    }

    .page-content h1 {
        font-size: 1.8rem;
    }

    .legal-container {
        padding: 1.5rem 1rem;
        margin: 0 0.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .screenshot-item {
        padding: 1.5rem;
        min-height: 200px;
    }

    .screenshots-grid {
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-icon {
        font-size: 2.8rem;
    }

    .cta-button {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
}
