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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.container {
    max-width: 800px;
    padding: 40px;
    text-align: center;
}

h1 {
    font-size: 4rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.tagline {
    font-size: 1.5rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

.code-block {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 20px;
    margin: 40px 0;
    text-align: left;
}

.code-block pre {
    overflow-x: auto;
}

.code-block code {
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

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

.feature {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.feature p {
    opacity: 0.9;
}

.demo-section {
    margin-top: 60px;
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.demo-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

#projectId, #eventType {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
}

#trackBtn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 4px;
    background: #fff;
    color: #667eea;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

#trackBtn:hover:not(:disabled) {
    transform: translateY(-2px);
}

#trackBtn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.result, .error {
    margin-top: 20px;
    padding: 20px;
    border-radius: 4px;
}

.result {
    background: rgba(76, 175, 80, 0.2);
}

.error {
    background: rgba(244, 67, 54, 0.2);
}

.hidden {
    display: none;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
}
