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

/* Add CSS variables for theming */
:root {
    /* Light mode defaults */
    --bg-color: #fafafa;
    --text-color: #333;
    --card-bg: white;
    --border-color: #e5e7eb;
    --secondary-text: #4b5563;
    --footer-border: #eaeaea;
    --footer-text: #666;
    --footer-copyright: #999;
    --input-bg: rgba(255, 255, 255, 0.8);
    --input-border: #862e1c;
    --input-focus: #c17817;
}

/* Dark mode colors */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #1a1a1a;
        --text-color: #eee;
        --card-bg: #2d2d2d;
        --border-color: #444;
        --secondary-text: #aaa;
        --footer-border: #333;
        --footer-text: #aaa;
        --footer-copyright: #666;
        --input-bg: rgba(45, 45, 45, 0.8);
        --input-border: #c17817;
        --input-focus: #862e1c;
    }
}

body {
    font-family: 'Cinzel', serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    background-image: linear-gradient(rgba(var(--bg-color), 0.95), rgba(var(--bg-color), 0.95)),
                      url('data:image/svg+xml;utf8,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><path d="M20 0L40 20L20 40L0 20L20 0Z" fill="%23f3f4f6"/></svg>');
}

.container {
    min-height: 100vh;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
}

main {
    padding: 4rem 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero {
    text-align: center;
    margin-bottom: 4rem;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

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

.title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #862e1c, #c17817);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0 1rem;
}

.description {
    font-size: 1.5rem;
    color: var(--secondary-text);
    margin-bottom: 2rem;
    font-family: 'Crimson Text', serif;
    padding: 0 1rem;
    line-height: 1.4;
}

.cta {
    padding: 1rem 2rem;
    font-size: 1.2rem;
    background: linear-gradient(45deg, #862e1c, #c17817);
    color: white;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta:hover {
    transform: scale(1.05);
}

.cta.disabled {
    opacity: 0.7;
    cursor: default;
}

.cta.disabled:hover {
    transform: none;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 4rem 0;
    padding: 0 1rem;
}

.feature-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 1px solid var(--border-color);
    position: relative;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: -10px;
    bottom: -10px;
    border: 1px solid #862e1c;
    z-index: -1;
}

.feature-card h3 {
    color: #862e1c;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.how-it-works {
    width: 100%;
    max-width: 1200px;
    text-align: center;
    margin: 4rem 0;
}

.steps {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 1rem;
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #862e1c, #c17817);
    color: white;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

footer {
    width: 100%;
    min-height: 150px;
    border-top: 1px solid var(--footer-border);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
    gap: 0;
}

footer p:first-child {
    font-size: 1.8rem;
    font-family: 'Cinzel', serif;
    background: linear-gradient(45deg, #862e1c, #c17817);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
    line-height: 1;
    margin-bottom: 0.5rem;
}

footer p:nth-child(2) {
    font-size: 1.3rem;
    font-family: 'Crimson Text', serif;
    color: var(--footer-text);
    font-style: italic;
    line-height: 1;
    margin-bottom: 1.5rem;
}

footer p:last-child {
    font-size: 0.8rem;
    color: var(--footer-copyright);
}

@media (max-width: 768px) {
    .title {
        font-size: 2.5rem;
        padding: 0 0.5rem;
    }
    
    .description {
        font-size: 1.2rem;
        padding: 0 1rem;
    }

    .hero form {
        flex-direction: column;
        width: 90%;
        margin: 2rem auto;
    }

    .hero form input[type="password"],
    .hero form button {
        width: 100%;
        max-width: 300px;
    }
}

.hero form {
    margin: 2rem 1rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    background: none;
    max-width: 100%;
}

.hero form input[type="password"] {
    width: 60%;
    max-width: 240px;
    padding: 1rem 2rem;
    border: 2px solid var(--input-border);
    border-radius: 0;
    background: var(--input-bg);
    color: var(--text-color);
    font-family: 'Crimson Text', serif;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.hero form input[type="password"]::placeholder {
    color: #666;
}

.hero form input[type="password"]:focus {
    outline: none;
    border-color: var(--input-focus);
    box-shadow: 0 0 0 1px var(--input-focus);
}

.hero form button {
    width: auto;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    background: linear-gradient(45deg, #862e1c, #c17817);
    color: white;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: transform 0.2s;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Cinzel', serif;
}

.hero form button:hover {
    transform: scale(1.05);
}

.hero form button:active {
    transform: scale(1);
} 