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

:root {
    --shopify-green: #95BF47;
    --shopify-dark-green: #5E8E3E;
    --shopify-teal: #008060;
    --shopify-dark-teal: #004C3F;
    --primary-color: #008060;
    --primary-hover: #004C3F;
    --text-dark: #202223;
    --text-medium: #6D7175;
    --text-light: #8C9196;
    --border-color: #E1E3E5;
    --background-light: #F6F6F7;
    --white: #FFFFFF;
    --error-color: #D72C0D;
    --success-color: #008060;
    --shopify-purple: #5C6AC4;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #004C3F 0%, #008060 50%, #5E8E3E 100%);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Background Pattern */
.background-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(149, 191, 71, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 128, 96, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(94, 142, 62, 0.15) 0%, transparent 50%);
    z-index: 0;
}

/* Main Container */
.login-container {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 100vh;
    max-width: 1440px;
    margin: 0 auto;
    background: transparent;
}

/* Branding Section */
.branding-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 80px;
    position: relative;
    overflow: hidden;
}

.logo-container {
    margin-bottom: 50px;
    animation: fadeInDown 0.8s ease-out;
}

.shopify-logo {
    height: 40px;
    filter: brightness(0) invert(1);
}

.branding-content {
    position: relative;
    z-index: 2;
}

.main-heading {
    font-size: 56px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.1;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.sub-heading {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 60px;
    font-weight: 400;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 20px;
    animation: fadeInLeft 0.8s ease-out both;
}

.feature-item:nth-child(1) { animation-delay: 0.4s; }
.feature-item:nth-child(2) { animation-delay: 0.5s; }
.feature-item:nth-child(3) { animation-delay: 0.6s; }

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.feature-icon img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
}

.feature-item:hover .feature-icon {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.feature-text h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.demo-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    color: var(--white);
    font-weight: 500;
    animation: fadeInUp 0.8s ease-out 0.7s both;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.badge-icon {
    font-size: 20px;
}

.illustration-container {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    opacity: 0.2;
    pointer-events: none;
}

.hero-illustration {
    width: 100%;
    max-width: 500px;
}

/* Form Section */
.form-section {
    width: 520px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.form-wrapper {
    width: 100%;
    max-width: 400px;
    animation: fadeInRight 0.8s ease-out;
}

.company-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
}

.company-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #95BF47, #5E8E3E);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(149, 191, 71, 0.3);
}

.company-logo h2 {
    font-size: 24px;
    color: var(--text-dark);
    font-weight: 700;
}

.form-header {
    margin-bottom: 32px;
}

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

.form-subtitle {
    font-size: 15px;
    color: var(--text-medium);
}

/* Form Styles */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 16px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    pointer-events: none;
}

.form-input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    color: var(--text-dark);
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(92, 106, 196, 0.1);
}

.toggle-password {
    position: absolute;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: var(--primary-color);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.checkbox-text {
    font-size: 14px;
    color: var(--text-medium);
    user-select: none;
}

.forgot-link {
    font-size: 14px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.submit-button {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #95BF47, #5E8E3E);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-family: inherit;
    box-shadow: 0 4px 12px rgba(149, 191, 71, 0.2);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(149, 191, 71, 0.4);
    background: linear-gradient(135deg, #A5CF57, #6E9E4E);
}

.submit-button:active {
    transform: translateY(0);
}

.divider {
    position: relative;
    text-align: center;
    margin: 8px 0;
}

.divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: var(--border-color);
}

.divider-text {
    position: relative;
    background: var(--white);
    padding: 0 16px;
    font-size: 13px;
    color: var(--text-light);
}

.social-login {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.social-button {
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--white);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-family: inherit;
    color: var(--text-dark);
}

.social-button:hover {
    border-color: var(--primary-color);
    background: var(--background-light);
}

.social-icon {
    width: 20px;
    height: 20px;
}

.signup-prompt {
    text-align: center;
    font-size: 14px;
    color: var(--text-medium);
}

.signup-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

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

.security-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    font-size: 13px;
    color: var(--text-light);
}

.security-notice svg {
    color: var(--success-color);
}

/* Floating Elements */
.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floating-element {
    position: absolute;
    width: 80px;
    height: 80px;
    opacity: 0.15;
    animation: float 6s ease-in-out infinite;
}

.floating-element svg {
    width: 100%;
    height: 100%;
    stroke: white;
    fill: none;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.element-1 {
    top: 10%;
    left: 15%;
    animation-delay: 0s;
}

.element-2 {
    top: 70%;
    left: 10%;
    animation-delay: 2s;
}

.element-3 {
    top: 40%;
    left: 25%;
    animation-delay: 4s;
}

.element-4 {
    top: 25%;
    left: 5%;
    animation-delay: 1s;
    width: 60px;
    height: 60px;
}

.element-5 {
    top: 85%;
    left: 20%;
    animation-delay: 3s;
    width: 70px;
    height: 70px;
}

.element-6 {
    top: 55%;
    left: 8%;
    animation-delay: 5s;
    width: 50px;
    height: 50px;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .login-container {
        flex-direction: column;
    }
    
    .branding-section {
        padding: 40px 40px 60px;
        min-height: auto;
    }
    
    .main-heading {
        font-size: 42px;
    }
    
    .sub-heading {
        font-size: 20px;
        margin-bottom: 40px;
    }
    
    .form-section {
        width: 100%;
        padding: 40px 20px;
    }
    
    .illustration-container {
        display: none;
    }
}

@media (max-width: 640px) {
    .branding-section {
        padding: 30px 20px 40px;
    }
    
    .main-heading {
        font-size: 32px;
    }
    
    .sub-heading {
        font-size: 18px;
    }
    
    .features-list {
        gap: 20px;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
    }
    
    .feature-icon img {
        width: 24px;
        height: 24px;
    }
    
    .form-wrapper {
        max-width: 100%;
    }
    
    .form-title {
        font-size: 24px;
    }
    
    .social-login {
        grid-template-columns: 1fr;
    }
}

