/* Login Page Styles */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, #1a2a50 100%);
    padding: 20px;
}

.login-container {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 450px;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h1 {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 10px;
}

.login-header p {
    color: var(--text-light);
}

.login-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    background: var(--bg-main);
    padding: 5px;
    border-radius: var(--radius);
}

.login-tab {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-light);
    transition: var(--transition);
}

.login-tab.active {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

/* Home Page New Styles */
.hero-v2 {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
    z-index: -2;
    transform: scale(1.05);
    animation: zoomOut 20s ease-out infinite alternate;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(10, 17, 40, 0.4), rgba(10, 17, 40, 0.9));
    z-index: -1;
}

@keyframes zoomOut {
    0% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.hero-content h1 {
    color: var(--white);
    font-size: 64px;
    margin-bottom: 20px;
    letter-spacing: -1px;
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    color: rgba(255,255,255,0.9);
    font-size: 22px;
    max-width: 700px;
    margin: 0 auto 40px;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero-content .hero-buttons {
    animation: fadeInUp 1s ease-out 0.4s backwards;
    display: flex;
    gap: 20px;
    justify-content: center;
}

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

/* Features Section */
.features-section {
    padding: 100px 5%;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-box {
    text-align: center;
    padding: 40px 20px;
    border-radius: var(--radius-lg);
    background: var(--bg-main);
    transition: var(--transition);
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    background: var(--white);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    border-radius: 50%;
}

.feature-box h3 {
    margin-bottom: 15px;
    font-size: 22px;
}

/* Layout Image Uploader */
.upload-area {
    border: 2px dashed #ccc;
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    background: #f9f9f9;
    cursor: pointer;
    transition: var(--transition);
}
.upload-area:hover {
    border-color: var(--accent);
    background: #fff;
}
.upload-area p { color: var(--text-light); margin-top: 10px; }

/* Signature Developments Section */
.signature-section {
    background-color: #F8FBFF;
    padding: 100px 5%;
}

.signature-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.signature-title-area {
    max-width: 600px;
}

.signature-title-area h2 {
    font-size: 36px;
    color: #0A1128;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

.signature-title-area h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background-color: #0A1128;
}

.signature-title-area p {
    color: #555;
    font-size: 16px;
    line-height: 1.6;
}

.signature-btn {
    background-color: #0A1128;
    color: #fff;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

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

.signature-stats {
    display: flex;
    justify-content: space-between;
    max-width: 1000px;
    margin: 60px auto 0;
    text-align: center;
}

.stat-item h3 {
    font-size: 48px;
    color: #0A1128;
    margin-bottom: 5px;
    font-weight: 500;
}

.stat-item p {
    color: #888;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* About Page Styles */
.about-hero {
    height: 400px;
    background-image: url('https://images.unsplash.com/photo-1600880292203-757bb62b4baf?auto=format&fit=crop&w=2000&q=80'); /* Business people looking at plans */
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 5%;
    margin-top: 70px;
}

.about-hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(10, 17, 40, 0.8), rgba(10, 17, 40, 0.3));
    z-index: 1;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.about-hero-content h1 {
    color: white;
    font-size: 48px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.legacy-section {
    padding: 100px 5%;
    background: white;
}

.legacy-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 80px;
    align-items: center;
}

.legacy-image-wrapper {
    flex: 1;
    position: relative;
    padding: 0 20px 20px 0; /* space for the offset border */
}

.legacy-image-wrapper::after {
    content: '';
    position: absolute;
    top: 40px;
    left: 40px;
    right: -20px;
    bottom: 0;
    border: 3px solid #0A1128;
    z-index: 1;
}

.legacy-image {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 450px;
    background-image: url('https://images.unsplash.com/photo-1605810230434-7631ac76ec81?auto=format&fit=crop&w=800&q=80');
    background-size: cover;
    background-position: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.legacy-content {
    flex: 1;
}

.legacy-content h2 {
    font-size: 36px;
    color: #0A1128;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.legacy-content h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: #0A1128;
}

.legacy-content p {
    color: #555;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 40px;
}

.legacy-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.legacy-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: #333;
    font-size: 15px;
}

.check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background-color: #0A1128;
    color: white;
    border-radius: 50%;
    font-size: 10px;
}

@media (max-width: 900px) {
    .legacy-container {
        flex-direction: column;
    }
    .legacy-image-wrapper { padding: 0 0 20px 0; }
    .legacy-image-wrapper::after { top: 20px; left: 20px; right: 0; }
}

@media (max-width: 768px) {
    .hero-v2 {
        flex-direction: column;
        padding-top: 100px;
        text-align: center;
    }
    .hero-content { text-align: center; margin-bottom: 40px; }
    .hero-content h1 { font-size: 40px; }
    .hero-buttons { justify-content: center !important; }
    .hero-3d-container { display: none; /* hide 3d element on mobile to save space */ }
    
    .signature-header { flex-direction: column; text-align: center; gap: 20px; }
    .signature-title-area h2::after { left: 50%; transform: translateX(-50%); }
    .signature-stats { flex-direction: column; gap: 40px; }
    
    .about-hero-content h1 { font-size: 36px; text-align: center; }
}
