:root {
    --bg-color: #fafafa;
    --border-color: #dbdbdb;
    --btn-blue: #0095f6;
    --btn-hover: #1877f2;
    --text-black: #262626;
    --text-gray: #8e8e8e;
    --fb-blue: #385185;
    --white: #ffffff;
}

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

body {
    background-color: var(--bg-color);
    font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Fixed-width stage to respect original absolute values */
.container {
    position: relative;
    width: 1200px;
    height: 700px;
    margin: 32px auto 0;
}

/* Phone Mockup Section */
.phone-section {
    position: absolute;
    left: 340px;
    top: 0;
    height: 638px;
}

.phone-mockup {
    position: relative;
    height: 638px;
}

#phone-frame {
    height: 638px;
}

#slideshow-container {
    position: absolute;
    top: 27px;
    left: 157px; /* (497px original left) - (340px phone left) = 157px offset */
    width: 250px;
    height: 538px;
    overflow: hidden;
}

.slide {
    width: 100%;
    height: 100%;
    background-image: url('images/ss1.png');
    background-size: cover;
    animation: slideAnimation 6s ease-in infinite;
}

@keyframes slideAnimation {
    0%, 33% { background-image: url('images/ss1.png'); }
    34%, 66% { background-image: url('images/ss2.png'); }
    67%, 100% { background-image: url('images/ss3.png'); }
}

/* Auth Section (Login & Signup) */
.auth-section {
    position: absolute;
    left: 800px;
    top: 20px;
    width: 350px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.login-box {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    text-align: center;
    padding: 10px 0;
    height: auto;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-container {
    margin: 36px 0 12px;
}

#insta-logo {
    width: 175px;
}

#login-form {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0 40px;
    margin-top: 24px;
}

.input-field {
    background: #fafafa;
    border: 1px solid var(--border-color);
    border-radius: 3px;
    height: 38px;
    padding: 9px 8px;
    font-size: 12px;
    width: 100%;
    margin-bottom: 6px;
    font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}

#login-btn {
    background-color: #0095f6;
    color: var(--white);
    border: none;
    border-radius: 8px;
    height: 32px;
    width: 100%;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    margin-top: 8px;
    font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}

/* OR Separator */
.separator {
    display: flex;
    align-items: center;
    margin: 10px 40px 18px;
    width: calc(100% - 80px);
}

.line {
    flex: 1;
    height: 1px;
    background-color: var(--border-color);
}

.or-text {
    color: var(--text-gray);
    font-size: 13px;
    font-weight: 600;
    margin: 0 18px;
    text-transform: uppercase;
}

/* FB Login & Forgot Pass */
.fb-login {
    margin-top: 8px;
    margin-bottom: 12px;
}

.fb-link {
    text-decoration: none;
    color: #385185;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}

.fb-icon {
    width: 16px;
    border-radius: 2px;
}

#forgot-password {
    text-decoration: none;
    color: #385185;
    font-size: 12px;
    display: block;
    margin-top: 10px;
    margin-bottom: 20px;
    font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}

/* Signup Box */
.signup-box {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    height: 65px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
}

#signup-link {
    text-decoration: none;
    color: #1fa2f6;
    font-weight: 550;
    margin-left: 5px;
}

/* App Section */
.get-app-section {
    text-align: center;
    padding: 10px 0;
}

.get-app-text {
    font-size: 14px;
    margin-bottom: 20px;
}

.app-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.store-badge {
    height: 40px;
    cursor: pointer;
}

/* Footer */
.footer {
    padding: 24px 0;
    color: rgb(103, 103, 103);
    font-size: 14px;
    text-align: center;
    margin-top: auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-links a {
    text-decoration: none;
    color: rgb(103, 103, 103);
    font-weight: 200;
}

.footer-copyright {
    text-transform: none;
}

/* Responsive */
@media (max-width: 1200px) {
    .container {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .phone-section {
        display: none;
    }
    .auth-section {
        position: relative;
        left: 0;
        top: 0;
    }
}
