/* Landing Page Specific Styles */
:root {
    --landing-bg: #0f172a;
    --landing-text: #f8fafc;
    --accent: #6366f1;
    --accent-glow: rgba(99, 102, 241, 0.5);
    --card-bg: rgba(30, 41, 59, 0.7);
    --border-color: rgba(255, 255, 255, 0.1);
}

body.landing-page {
    background: var(--landing-bg);
    color: var(--landing-text);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* Navbar */
.landing-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}

.landing-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
}

.landing-logo img {
    height: 40px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 5% 50px;
    background: radial-gradient(circle at top right, #1e1b4b, transparent 40%),
        radial-gradient(circle at bottom left, #312e81, transparent 40%);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('../images/grid.svg') opacity(0.1);
    top: 0;
    left: 0;
    z-index: -1;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    padding-right: 50px;
}

.hero-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    color: #818cf8;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.1rem;
    color: #94a3b8;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-login-card {
    flex: 0 0 400px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.hero-login-card h3 {
    margin-bottom: 20px;
    font-size: 1.25rem;
    text-align: center;
}

/* Features Section */
.features {
    padding: 80px 5%;
    background: #0b0f19;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-title p {
    color: #94a3b8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.feature-card h4 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: #94a3b8;
    font-size: 0.95rem;
}

/* Footer */
.landing-footer {
    padding: 40px 5%;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        padding-top: 120px;
        text-align: center;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 50px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}

/* =========================================
   Register Page Redesign
   ========================================= */
.register-page,
.login-page {
    min-height: 100vh;
    display: flex;
    overflow: hidden;
}

.register-brand-side,
.login-brand-side {
    flex: 0 0 45%;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
    color: white;
    overflow: hidden;
}

.register-brand-side::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/grid.svg') opacity(0.05);
    z-index: 1;
}

.brand-content {
    position: relative;
    z-index: 2;
}

.brand-kanji {
    font-size: 8rem;
    line-height: 1;
    font-weight: 700;
    opacity: 0.1;
    margin-bottom: -40px;
    font-family: serif;
    background: linear-gradient(to bottom, #fff, transparent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.brand-subtitle {
    font-size: 1.2rem;
    color: #a5b4fc;
    line-height: 1.6;
    max-width: 400px;
}

.register-form-side,
.login-form-side {
    flex: 1;
    background: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
}

.register-card,
.login-card {
    width: 100%;
    max-width: 450px;
    animation: fadeIn 0.8s ease-out;
}

.register-header,
.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.register-header h2 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 10px;
}

.register-header p {
    color: #94a3b8;
}

.input-group-dark {
    position: relative;
    margin-bottom: 20px;
}

.input-group-dark input {
    width: 100%;
    padding: 14px 16px 14px 45px;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group-dark input:focus {
    background: rgba(30, 41, 59, 0.8);
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
    outline: none;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    transition: color 0.3s;
}

.input-group-dark input:focus+.input-icon {
    color: var(--accent);
}

.btn-kayzen {
    width: 100%;
    padding: 14px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 20px -5px rgba(99, 102, 241, 0.4);
}

.btn-kayzen:hover {
    background: #4f46e5;
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -5px rgba(99, 102, 241, 0.5);
}

.auth-switch {
    text-align: center;
    margin-top: 30px;
    color: #64748b;
}

.auth-switch a {
    color: var(--accent);
    font-weight: 500;
    text-decoration: none;
}

.auth-switch a:hover {
    text-decoration: underline;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .register-page {
        flex-direction: column;
        overflow-y: auto;
    }

    .register-brand-side {
        flex: 0 0 200px;
        padding: 40px;
        text-align: center;
        align-items: center;
    }

    .brand-kanji {
        display: none;
    }

    .register-form-side {
        padding: 40px 20px;
    }
}