:root {
    --google-blue: #1a73e8;
    --google-green: #34a853;
    --google-yellow: #fbbc04;
    --google-red: #ea4335;
    --edog-border: #e0e0e0;
    --edog-text: #202124;
    --edog-text-secondary: #5f6368;
    --edog-surface: #f8f9fa;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #fff;
    color: var(--edog-text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header / Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--edog-border);
    z-index: 50;
}

nav .container {
    max-width: 1152px;
    margin: 0 auto;
    padding: 0 1rem;
    height: 4rem;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* Logo */
.epstein-logo {
    font-size: 30px;
    font-weight: 400;
    letter-spacing: -0.5px;
}

.letter-e { color: var(--google-blue); }
.letter-p { color: var(--google-red); }
.letter-s { color: var(--google-yellow); }
.letter-t { color: var(--google-blue); }
.letter-e2 { color: var(--google-green); }
.letter-i { color: var(--google-red); }
.letter-n { color: var(--google-blue); }

/* Right section */
.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Stats */
.stats-container {
    display: none;
    align-items: center;
    padding-right: 1rem;
    border-right: 1px solid var(--edog-border);
}

.stat-item {
    display: flex;
    align-items: center;
}

.stat-text {
    color: var(--edog-text-secondary);
    font-size: 0.875rem;
    font-weight: 400;
}

/* CA Button */
.ca-button {
    height: 2.25rem;
    padding: 0 1rem;
    background: white;
    border: 1px solid var(--edog-border);
    border-radius: 0.375rem;
    color: var(--edog-text);
    font-size: 0.875rem;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    text-decoration: none;
}

.ca-button:hover {
    background: var(--edog-surface);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.ca-text {
    color: var(--edog-text-secondary);
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
}

.ca-text-full {
    display: none;
}

.ca-button svg {
    width: 1rem;
    height: 1rem;
    color: var(--edog-text-secondary);
}

/* Main content */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6rem 1.25rem 2.5rem;
}

.container {
    max-width: 600px;
    width: 100%;
    text-align: center;
}

.logo-image {
    width: 250px;
    height: 250px;
    margin: 0 auto 2.5rem;
    object-fit: contain;
}

h1 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 2.5rem;
    color: var(--edog-text);
    line-height: 1.4;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.form-container {
    background: #fff;
    border: 1px solid var(--edog-border);
    border-radius: 0.5rem;
    padding: 2.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

label {
    display: block;
    font-size: 0.875rem;
    color: var(--edog-text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input[type="email"] {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid #dadce0;
    border-radius: 0.25rem;
    transition: all 0.2s;
    font-family: inherit;
}

input[type="email"]:focus {
    outline: none;
    border-color: var(--google-blue);
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.1);
}

button[type="submit"] {
    width: 100%;
    padding: 0.75rem 1.5rem;
    background: var(--google-blue);
    color: #fff;
    border: none;
    border-radius: 0.25rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

button[type="submit"]:hover {
    background: #1765cc;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

button[type="submit"]:active {
    background: #1557b0;
}

.message {
    padding: 0.75rem 1rem;
    border-radius: 0.25rem;
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
    animation: slideIn 0.3s ease;
}

.message.success {
    background: #e6f4ea;
    color: #137333;
    border: 1px solid #c6e1c6;
}

.message.error {
    background: #fce8e6;
    color: #c5221f;
    border: 1px solid #f1c0bf;
}

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

footer {
    padding: 1.25rem;
    text-align: center;
    color: var(--edog-text-secondary);
    font-size: 0.875rem;
    border-top: 1px solid var(--edog-border);
}

/* Utility classes */
.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.gap-2 {
    gap: 0.5rem;
}

/* Responsive */
@media (min-width: 640px) {
    .stats-container {
        display: flex;
    }
    
    .ca-text-full {
        display: inline;
    }
    
    .ca-text-short {
        display: none;
    }
    
    nav .container {
        padding: 0 1.5rem;
    }
    
    h1 {
        font-size: 1.875rem;
    }
}

@media (max-width: 640px) {
    .ca-text-short {
        display: inline;
    }
    
    h1 {
        font-size: 1.125rem;
        line-height: 1.5;
    }

    .form-container {
        padding: 1.5rem;
    }

    .logo-image {
        width: 150px;
        height: 150px;
    }
}

