@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #0066ff;
    --secondary: #00d4ff;
    --accent: #ff0080;
    --dark: #0a0a0a;
    --light: #ffffff;
    --gray: #888888;
    --surface: #111111;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #000000;
    color: var(--light);
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 5;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background: transparent;
}

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

.logo {
    display: inline-block;
    text-decoration: none;
}

.logo img {
    height: 40px;
    width: auto;
    transition: all 0.3s ease;
}

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

.header-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.twitter-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.twitter-link img {
    height: 20px;
    width: 20px;
    transition: all 0.3s ease;
}

.twitter-link:hover {
    color: #0CE69A;
}

.twitter-link:hover img {
    transform: scale(1.1);
}

.contact-link {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #0CE69A;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 120px 0 80px;
}

.hero-content {
    max-width: 800px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 30px;
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero .tagline {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.hero .description {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 auto 40px;
    font-weight: 400;
    max-width: 600px;
}

.cta-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    width: auto;
    height: 56px;
    margin-left: auto;
    margin-right: auto;
    gap: 25px;
}

/* Мобільна версія CTA контейнера */
@media (max-width: 768px) {
    .cta-container {
        flex-direction: column;
        height: auto;
        gap: 15px;
    }
    
    .system-requirements-text {
        text-align: center !important;
        white-space: normal;
    }
    
    .system-requirements-side {
        justify-content: center;
    }
}

.input-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 50px;
    padding: 0;
    gap: 0;
    width: 100%;
    max-width: 350px;
    height: 56px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.input-container.expanded {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0 8px 0 20px;
    backdrop-filter: blur(10px);
    justify-content: flex-start;
}

.try-button {
    background: linear-gradient(135deg, #0CE69A, #0BD689);
    color: var(--dark);
    border: none;
    padding: 18px 0;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(12, 230, 154, 0.3);
    min-width: 200px;
    text-align: center;
    height: 56px;
    box-sizing: border-box;
    flex-shrink: 0;
}

.try-button:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(12, 230, 154, 0.4);
}

.try-button.transformed {
    background: #0CE69A;
    min-width: 40px;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.try-button.transformed:hover {
    transform: scale(1.1);
}

.email-input-field {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    outline: none;
    color: white;
    font-size: 1rem;
    font-family: inherit;
    height: 40px;
    line-height: 40px;
    min-width: 0;
    padding: 0 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.email-input-field:focus {
    border-color: #0CE69A;
    box-shadow: 0 0 0 2px rgba(12, 230, 154, 0.2);
}

.email-input-field::placeholder {
    color: rgba(255, 255, 255, 0.6);
}



.early-access-text {
    color: var(--light);
    font-size: 1.1rem;
    font-weight: 400;
    height: 24px;
    line-height: 24px;
    opacity: 0.3;
    text-align: center;
    margin: 0;
}

/* Force cache refresh - v1.2 - submit button fix */
/* CTA Section */
.cta-section {
    padding: 120px 0;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.05) 0%, rgba(255, 0, 128, 0.05) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.cta-section h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 30px;
    background: linear-gradient(135deg, var(--light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-section .subtitle {
    font-size: 1.3rem;
    color: var(--gray);
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.email-form {
    max-width: 500px;
    margin: 0 auto 50px;
    position: relative;
}

.email-input {
    width: 100%;
    padding: 20px 140px 20px 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 60px;
    color: var(--light);
    font-size: 1.1rem;
    outline: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
}

.email-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.email-input::placeholder {
    color: var(--gray);
}

.cta-button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    padding: 15px 30px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--light);
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 102, 255, 0.3);
}

.cta-button:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 102, 255, 0.4);
}

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

.benefit {
    text-align: left;
    opacity: 0.9;
}

.benefit-icon {
    font-size: 1.5rem;
    margin-right: 10px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 80px;
}

.stat {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 10px;
}

.stat-label {
    color: var(--gray);
    font-size: 1rem;
    font-weight: 500;
}

/* Footer */
.system-requirements-side {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.system-requirements-text {
    color: var(--gray);
    font-size: 0.85rem;
    opacity: 0.7;
    line-height: 1.6;
    margin: 0;
    text-align: left;
    white-space: nowrap;
}

.footer-info {
    position: fixed;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    z-index: 100;
}

/* Мобільна версія футера */
@media (max-width: 768px) {
    .footer-info {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        padding: 0 20px;
    }
}

.copyright-text {
    color: var(--gray);
    font-size: 0.8rem;
    margin: 0;
    opacity: 0.5;
}

.created-by {
    color: var(--gray);
    font-size: 0.8rem;
    margin: 0;
    opacity: 0.5;
}

.created-by a {
    color: var(--gray);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.created-by a:hover {
    opacity: 0.8;
}

.success-message {
    display: none;
    background: linear-gradient(135deg, #00ff88, #00cc6a);
    color: var(--dark);
    padding: 20px;
    border-radius: 15px;
    margin-top: 20px;
    font-weight: 600;
    animation: fadeInUp 0.5s ease-out;
}

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

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

@keyframes buttonBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    header .container {
        flex-direction: column;
        gap: 15px;
    }

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

    .try-button {
        padding: 16px 35px;
        font-size: 1.1rem;
        min-width: 180px;
        height: 52px;
    }
    
    .try-button.transformed {
        min-width: 36px;
        width: 36px;
        height: 36px;
    }
    
    .input-container {
        height: 52px;
        max-width: 320px;
    }

    .early-access-text {
        font-size: 1rem;
    }

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

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}