/* Landing Page Specific Styles */

.landing-header {
    background: var(--logo-gradient);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.landing-header.scrolled {
    background: rgba(28, 47, 110, 0.95); /* Nextra navy with slight transparency */
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    padding: 0.75rem 0;
}

.landing-header.scrolled .nav-links a {
    color: var(--white);
}

.landing-header.scrolled .logo img {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
}

.auth-buttons {
    display: flex;
    gap: 12px;
}

.btn {
    padding: 8px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.875rem;
    border: none;
    transition: all 0.2s ease;
}

.btn-login {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--white);
}

.btn-register {
    background: var(--white);
    color: var(--primary-color);
}

.btn-primary {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: var(--white) !important;
}

.btn-primary:hover {
    background: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.landing-header.scrolled .btn-login {
    color: var(--white);
    border-color: var(--white);
}

.landing-header.scrolled .btn-register {
    background: var(--white);
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: var(--logo-gradient);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
    color: var(--white);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero::after {
    display: none;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    color: var(--white);
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Login Modal - Refined to match screenshot */
.modal-content {
    border: none;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    min-height: 500px;
}

.modal-body {
    padding: 0;
    display: flex;
}

.modal-left {
    flex: 1;
    background: var(--bg-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 48px;
    color: var(--white);
    position: relative;
}

.modal-left h3 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.modal-right {
    flex: 1.2;
    padding: 48px;
    background: var(--white);
}

.login-form-container {
    max-width: 400px;
    margin: 0 auto;
}

.login-form-container h5 {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.login-form-container h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: #F1F5F9;
    color: var(--text-main);
    transition: all 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--white);
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: var(--primary-color);
    color: var(--white);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 16px;
    border-radius: var(--radius-md);
}

.features {
    padding: 100px 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    padding: 40px;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    border-color: var(--primary-color);
}

.feature-icon-wrapper {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--white);
    box-shadow: 0 4px 6px -1px rgba(28, 47, 110, 0.2);
}

.feature-icon-wrapper .material-symbols-rounded {
    font-size: 24px;
}

.feature-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-main);
}

.feature-card p {
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Offers Section */
.offers {
    padding: 100px 0;
    background: #F8FAFC;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (max-width: 992px) {
    .offers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .offers-grid {
        grid-template-columns: 1fr;
    }
}

.offer-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.offer-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.offer-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.offer-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.offer-content {
    padding: 32px;
}

.offer-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-main);
}

.offer-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 24px;
}

/* Profile Section */
.profile {
    padding: 100px 0;
    background: var(--white);
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    align-items: center;
}

.profile-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.profile-form {
    padding: 40px;
    background: #F8FAFC;
    border-radius: var(--radius-lg);
}

/* Footer */
footer {
    background: var(--logo-gradient);
    color: var(--white);
    padding: 100px 0 40px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    margin-top: 16px;
    max-width: 300px;
}

.footer-links h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.2s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
}

/* CTA Section (Bottom Get Started) */
.cta-section {
    padding: 100px 0;
    background: var(--logo-gradient);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.06) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.06) 0%, transparent 50%);
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 0 24px;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 24px;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
}
