:root {
    --primary: #4285F4;
    --secondary: #34A853;
    --accent: #EA4335;
    --text: #202124;
    --light-text: #5F6368;
    --border: #DADCE0;
    --bg: #FFFFFF;
    --card-bg: #F8F9FA;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.landing-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.landing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    gap: 20px;
}

.landing-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    text-decoration: none;
}

.landing-logo span {
    color: var(--text);
}

.landing-logo-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    margin-left: 4px;
    animation: landing-pulse 2s infinite;
}

@keyframes landing-pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

.landing-nav {
    display: flex;
    align-items: center;
    gap: 16px;
}

.landing-nav a {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s ease;
}

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

.landing-nav-cta {
    color: var(--primary) !important;
}

.landing-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    text-align: center;
}

.landing-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.landing-subtitle {
    font-size: 20px;
    color: var(--light-text);
    max-width: 700px;
    margin-bottom: 40px;
}

.landing-progress {
    width: 100%;
    max-width: 600px;
    margin-bottom: 60px;
}

.landing-progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-weight: 500;
}

.landing-progress-bar {
    height: 12px;
    background-color: var(--card-bg);
    border-radius: 6px;
    overflow: hidden;
}

.landing-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 6px;
    transition: width 0.6s ease;
}

.landing-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    max-width: 600px;
    width: 100%;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.landing-card:hover {
    transform: translateY(-5px);
}

.landing-card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--primary);
}

.landing-card-details {
    color: var(--light-text);
    margin-bottom: 20px;
}

.landing-features {
    list-style: none;
    text-align: left;
    color: var(--light-text);
}

.landing-features li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
}

.landing-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.landing-date-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.landing-date-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.landing-calendar-icon {
    color: var(--accent);
    flex-shrink: 0;
}

.landing-countdown {
    font-size: 22px;
    font-weight: 600;
    color: var(--text);
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
}

.landing-countdown.is-finished {
    color: var(--secondary);
}

.landing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-bottom: 40px;
}

.landing-btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
}

.landing-btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(66, 133, 244, 0.3);
}

.landing-btn-primary:hover {
    background-color: #3367D6;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(66, 133, 244, 0.4);
    color: white;
}

.landing-btn-secondary {
    background-color: var(--bg);
    color: var(--text);
    border: 1px solid var(--border);
}

.landing-btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.landing-contact {
    margin-top: auto;
    color: var(--light-text);
    font-size: 14px;
}

.landing-contact a {
    color: var(--primary);
    text-decoration: none;
}

.landing-contact a:hover {
    text-decoration: underline;
}

.landing-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.landing-shape {
    position: absolute;
    opacity: 0.1;
    border-radius: 50%;
    animation: landing-float 15s infinite linear;
}

.landing-shape-1 {
    width: 200px;
    height: 200px;
    background-color: var(--primary);
    top: 10%;
    left: 5%;
}

.landing-shape-2 {
    width: 300px;
    height: 300px;
    background-color: var(--secondary);
    bottom: 10%;
    right: 5%;
    animation-delay: 3s;
}

.landing-shape-3 {
    width: 150px;
    height: 150px;
    background-color: var(--accent);
    top: 50%;
    right: 15%;
    animation-delay: 6s;
}

@keyframes landing-float {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
    100% { transform: translateY(0) rotate(360deg); }
}

.auth-wrap {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
}

.auth-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.auth-subtitle-link {
    color: var(--light-text);
    font-size: 15px;
    margin-bottom: 24px;
}

.auth-subtitle-link a {
    color: var(--primary);
    text-decoration: none;
}

.auth-subtitle-link a:hover {
    text-decoration: underline;
}

.auth-alert {
    background: #fce8e6;
    color: #c5221f;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
    font-size: 14px;
}

.auth-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
    font-size: 14px;
}

.auth-form .auth-field {
    margin-bottom: 18px;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.15);
}

.auth-form input.is-invalid {
    border-color: #c5221f;
}

.auth-hint {
    margin-top: 6px;
    font-size: 13px;
    color: var(--light-text);
}

.auth-field-error {
    margin-top: 6px;
    font-size: 13px;
    color: #c5221f;
}

.auth-password-row {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.auth-password-input-wrap {
    position: relative;
    flex: 1;
}

.auth-password-input-wrap input {
    width: 100%;
    padding-right: 44px;
}

.auth-eye-btn {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--light-text);
    cursor: pointer;
    border-radius: 4px;
    transition: color 0.2s ease;
}

.auth-eye-btn:hover {
    color: var(--primary);
}

.auth-eye-btn svg {
    width: 18px;
    height: 18px;
}

.auth-eye-btn .auth-eye-slash {
    display: none;
}

.auth-eye-btn.is-visible .auth-eye-open {
    display: none;
}

.auth-eye-btn.is-visible .auth-eye-slash {
    display: block;
}

.auth-generate-btn {
    flex-shrink: 0;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--card-bg);
    color: var(--primary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.auth-generate-btn:hover {
    border-color: var(--primary);
    background: #eef4fe;
}

.auth-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
    text-align: left;
}

.auth-check input {
    margin-top: 4px;
}

.auth-check input.is-invalid {
    outline: 2px solid #c5221f;
    outline-offset: 1px;
}

.auth-check label {
    margin: 0;
    font-weight: 400;
    font-size: 14px;
    color: var(--light-text);
}

.auth-check a {
    color: var(--primary);
}

.auth-submit {
    width: 100%;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.auth-links-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: -8px;
    margin-bottom: 18px;
    font-size: 14px;
}

.auth-links-row a {
    color: var(--primary);
    text-decoration: none;
}

.auth-links-row a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .landing-content h1 {
        font-size: 36px;
    }

    .landing-subtitle {
        font-size: 18px;
    }

    .landing-card {
        padding: 20px;
    }

    .landing-countdown {
        font-size: 18px;
    }

    .landing-header {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 40px;
    }

    .landing-actions {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
    }

    .landing-btn {
        width: 100%;
        text-align: center;
    }
}

.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.lang-switcher-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    font-size: 18px;
    line-height: 1;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    opacity: 0.75;
}

.lang-switcher-flag:hover {
    opacity: 1;
    border-color: var(--border);
    background: var(--card-bg);
}

.lang-switcher-flag.is-active {
    opacity: 1;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.15);
}
