:root {
    --primary-color: #1976d2;
    --primary-dark: #1565c0;
    --primary-light: #42a5f5;
    --secondary-color: #dc004e;
    --background-color: #fafafa;
    --surface-color: #ffffff;
    --text-primary: rgba(0, 0, 0, 0.87);
    --text-secondary: rgba(0, 0, 0, 0.6);
    --divider: rgba(0, 0, 0, 0.12);
    --shadow-1: 0px 2px 1px -1px rgba(0,0,0,0.2), 0px 1px 1px 0px rgba(0,0,0,0.14), 0px 1px 3px 0px rgba(0,0,0,0.12);
    --shadow-2: 0px 3px 1px -2px rgba(0,0,0,0.2), 0px 2px 2px 0px rgba(0,0,0,0.14), 0px 1px 5px 0px rgba(0,0,0,0.12);
    --shadow-3: 0px 3px 3px -2px rgba(0,0,0,0.2), 0px 3px 4px 0px rgba(0,0,0,0.14), 0px 1px 8px 0px rgba(0,0,0,0.12);
}

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

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--background-color);
    color: var(--text-primary);
    line-height: 1.5;
}

/* Header */
.header {
    background-color: var(--surface-color);
    box-shadow: var(--shadow-1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.logo {
    font-size: 24px;
    font-weight: 500;
    color: var(--primary-color);
    text-decoration: none;
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-login {
    margin-left: auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 64px;
    height: 36px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-2);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    box-shadow: var(--shadow-3);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: rgba(25, 118, 210, 0.04);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: 120px 24px;
    text-align: center;
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero p {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 12px 24px;
    height: 48px;
    font-size: 16px;
}

.btn-white {
    background-color: white;
    color: var(--primary-color);
}

.btn-white:hover {
    background-color: #f5f5f5;
}

/* Features Section */
.features {
    padding: 80px 24px;
    background-color: var(--surface-color);
}

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

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 300;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 64px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.feature-card {
    background: var(--surface-color);
    border-radius: 4px;
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow-1);
    transition: box-shadow 0.2s ease;
}

.feature-card:hover {
    box-shadow: var(--shadow-2);
}

.feature-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.feature-title {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 16px;
}

.feature-description {
    color: var(--text-secondary);
}

/* Pricing Section */
.pricing {
    padding: 80px 24px;
    background-color: var(--background-color);
}

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

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 64px;
}

.pricing-card {
    background: var(--surface-color);
    border-radius: 4px;
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow-1);
    position: relative;
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-3);
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 4px 16px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.price {
    font-size: 48px;
    font-weight: 300;
    color: var(--primary-color);
    margin: 16px 0;
}

.price-period {
    font-size: 14px;
    color: var(--text-secondary);
}

.plan-features {
    list-style: none;
    margin: 32px 0;
    text-align: left;
}

.plan-features li {
    padding: 8px 0;
    display: flex;
    align-items: center;
}

.plan-features li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 12px;
}

/* Footer */
.footer {
    background-color: var(--surface-color);
    padding: 48px 24px 24px;
    border-top: 1px solid var(--divider);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
    text-align: left;
}

.footer-section h4 {
    font-weight: 500;
    margin-bottom: 16px;
}

.footer-section a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    color: var(--text-secondary);
    padding-top: 24px;
    border-top: 1px solid var(--divider);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-login {
        display: inline-block; /* stays visible */
    }
    
    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .section-title {
        font-size: 28px;
    }

    .footer-content {
        text-align: center;
    }
}

@media (min-width: 769px){
    .nav-login {
        display: none;
    }
}

/* Form Layout */
.auth-container {
    min-height: calc(100vh - 64px); /* full height minus header */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px;
}

.form-card {
    background: var(--surface-color);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow-2);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.form-card h2 {
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.form-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--divider);
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.form-group input:focus {
    border-color: var(--primary-color);
    outline: none;
}

.form-actions {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}