/* 
  Fantastic Followers - Auth Styles (Login/Signup)
  Based on the abstract split-screen design
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,400;0,600;0,700;0,800;1,700&display=swap');

:root {
    --primary-color: #f97316; /* Bright Orange matching reference */
    --primary-hover: #ea580c;
    --navy-blue: #111827;
    --light-bg: #f8fafc;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --card-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

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

body, html {
    height: 100%;
    font-family: 'Inter', sans-serif;
    /* Move background image to body for full integration */
    background-image: url('../img/auth_dark_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect for the background */
    background-color: var(--light-bg); 
}

.auth-wrapper {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

/* Left Panel - Hero Graphic */
.auth-left {
    flex: 1.2;
    /* Background removed from here to integrate globally */
    background: transparent;
    position: relative;
    padding: 60px 60px 60px 120px; /* Increased left padding to push content right */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-brand {
    position: absolute;
    top: 40px;
    left: 120px; /* Matched with the new left padding */
    font-size: 1.5rem;
    font-weight: 800;
    font-style: italic;
    color: var(--primary-color);
}

.auth-hero-content {
    max-width: 500px;
}

.auth-badge {
    display: inline-flex;
    align-items: center;
    background: #EAFACA;
    color: #4CAF50;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.auth-title {
    font-size: 4rem;
    font-weight: 800;
    color: var(--navy-blue);
    line-height: 1.1;
    margin-bottom: 25px;
}

.auth-title span {
    color: var(--primary-color);
    font-style: italic;
}

.auth-desc {
    font-size: 1.1rem;
    color: #5c6b89;
    line-height: 1.6;
    margin-bottom: 40px;
}

.auth-benefits {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 320px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: transform 0.2s ease;
}

.benefit-item:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.9);
}

.benefit-item i {
    color: var(--primary-color);
    font-size: 1.3rem;
    width: 25px;
    text-align: center;
}

.benefit-item span {
    color: var(--navy-blue);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Right Panel - Form Container */
.auth-right {
    flex: 1;
    background-color: transparent; /* Changed to integrate background */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    position: relative;
}

/* Top bar for 'Already have account? Login' inside right panel if needed */
.auth-top-nav {
    position: absolute;
    top: 40px;
    right: 50px;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.auth-top-nav a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    margin-left: 10px;
    background: white;
    padding: 8px 20px;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.auth-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    width: 100%;
    max-width: 480px;
    padding: 50px 40px;
    border-radius: 24px;
    box-shadow: var(--card-shadow);
    text-align: center;
}

.auth-card h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--navy-blue);
    margin-bottom: 10px;
}

.auth-card p.subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 40px;
}

.form-group {
    text-align: left;
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--navy-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.1rem;
}

.form-control {
    width: 100%;
    height: 56px;
    padding: 10px 20px 10px 50px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--navy-blue);
    transition: all 0.3s ease;
}

.form-control::placeholder {
    color: #aab2bd;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(227, 93, 35, 0.1);
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.checkbox-wrap {
    display: flex;
    align-items: center;
    color: var(--text-muted);
    cursor: pointer;
}

.checkbox-wrap input {
    margin-right: 8px;
    accent-color: var(--primary-color);
    width: 16px;
    height: 16px;
}

.forgot-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.btn-primary {
    width: 100%;
    height: 56px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s ease;
    box-shadow: 0 8px 20px rgba(227, 93, 35, 0.25);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
}

.auth-bottom {
    margin-top: 25px;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.auth-bottom a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 30px 0;
    color: #cbd5e1;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.divider::before, .divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-color);
}
.divider:not(:empty)::before {
    margin-right: .5em;
}
.divider:not(:empty)::after {
    margin-left: .5em;
}

.social-login {
    display: flex;
    gap: 15px;
}

.btn-social {
    flex: 1;
    height: 50px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    color: var(--navy-blue);
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}
.btn-social:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}
.btn-social img, .btn-social i {
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Responsiveness */
@media (max-width: 992px) {
    .auth-left {
        display: none;
    }
    .auth-top-nav {
        display: none;
    }
    .auth-right {
        padding: 20px;
    }
    .auth-card {
        padding: 40px 30px;
    }
}

/* 
  LANDING SECTION STYLES 
*/
.landing-section {
    background-color: transparent; /* Integrate background */
    padding: 60px 20px;
    font-family: 'Inter', sans-serif;
}

.landing-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Social Media Bar */
.social-bar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    padding: 25px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    margin-bottom: 60px;
    flex-wrap: wrap;
    gap: 30px;
}

.social-bar span {
    color: var(--navy-blue);
    font-weight: 600;
    font-size: 1rem;
}

/* Feature Blocks */
.feature-block {
    margin-bottom: 40px;
}

.feature-block h3 {
    font-size: 1.8rem;
    color: var(--navy-blue);
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.feature-block h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
}

.feature-block p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
    max-width: 600px;
}

.btn-landing {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 15px;
    box-shadow: 0 4px 15px rgba(227, 93, 35, 0.2);
    transition: all 0.3s ease;
}

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

/* Call to Action Box */
.cta-box {
    background: white;
    border-radius: 16px;
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    margin-top: 60px;
    margin-bottom: 80px;
    flex-wrap: wrap;
    gap: 20px;
}

.cta-content h3 {
    font-size: 1.4rem;
    color: var(--navy-blue);
    font-weight: 700;
    margin-bottom: 8px;
}

.cta-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Footer Section */
.landing-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    padding-bottom: 20px;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-brand img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.footer-brand span {
    font-weight: 800;
    font-style: italic;
    color: #a8b2c2; /* lighter text coloring from image */
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

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

.footer-copyright {
    text-align: center;
    color: #cbd5e1;
    font-size: 0.8rem;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .cta-box {
        flex-direction: column;
        text-align: center;
    }
    .landing-footer {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
}
