/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

:root {
    --orange: #E66A00;
    --dark-blue: #1E3A5F;
    --steel-blue: #344255;
    --dark-gray: #4A4A4A;
    --light-gray: #D3D3D3;
    --off-white: #F0EAD6;
    --white: #FFFFFF;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    padding-left: 16px;
}

/* Header */
.header {
    background-color: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform: translateY(0);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

@media (max-width: 768px) {
    .header {
        padding: 16px 0;
    }
    
    .header-content {
        flex-wrap: wrap;
    }
    
    .logo {
        flex: 1 1 auto;
        min-width: 0;
    }
    
    .logo-text {
        font-size: 18px;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
    }
    
    .nav {
        flex: 1 1 100%;
        order: 3;
        justify-content: center;
        margin-top: 8px;
    }
    
    .nav .btn {
        flex: 1;
        max-width: 150px;
        padding: 10px 20px;
        font-size: 14px;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 2px;
}

.logo-icon {
    width: 48px;
    height: 48px;
    display: block;
    flex-shrink: 0;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-gray);
    line-height: 1.2;
}

.nav {
    display: flex;
    gap: 12px;
}

/* Buttons */
.btn {
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

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

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

.btn-secondary {
    background-color: transparent;
    color: var(--dark-gray);
    border: 1px solid var(--light-gray);
}

.btn-secondary:hover {
    background-color: var(--light-gray);
}

.btn-hero {
    background-color: var(--white);
    color: var(--orange);
    padding: 14px 32px;
    font-size: 18px;
    margin-top: 24px;
}

.btn-hero:hover {
    background-color: var(--off-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-cta {
    background-color: var(--orange);
    color: var(--white);
    padding: 14px 32px;
    font-size: 18px;
    margin-top: 32px;
}

.btn-cta:hover {
    background-color: #d45f00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Hero Section */
.hero {
    background-color: var(--orange);
    color: var(--white);
    padding: 60px 0;
    margin-top: 88px;
    text-align: left;
    position: relative;
    overflow: hidden;
    min-height: auto;
    display: flex;
    align-items: center;
}

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

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-title {
    font-size: 40px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 20px;
    margin: 0;
    line-height: 1.6;
    color: var(--white);
    opacity: 0.95;
    max-width: 500px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-auth-card {
    background-color: var(--white);
    border: 1px solid #E5E5E5;
    border-radius: 12px;
    padding: 32px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.hero-auth-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-gray);
    margin: 0 0 24px 0;
    text-align: left;
}

.btn-google-auth {
    width: 100%;
    padding: 12px 16px;
    background-color: var(--white);
    color: var(--dark-gray);
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
}

.btn-google-auth:hover {
    background-color: #F5F5F5;
    border-color: #D3D3D3;
}

.hero-auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
    color: var(--dark-gray);
    font-size: 14px;
}

.hero-auth-divider::before,
.hero-auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #E5E5E5;
}

.hero-auth-divider span {
    padding: 0 12px;
}

.btn-create-account {
    width: 100%;
    padding: 12px 16px;
    background-color: var(--white);
    color: var(--orange);
    border: 1px solid var(--orange);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 16px;
}

.btn-create-account:hover {
    background-color: #FFF5E8;
    border-color: var(--orange);
}

.hero-auth-terms {
    font-size: 12px;
    color: var(--dark-gray);
    opacity: 0.7;
    line-height: 1.5;
    margin: 0 0 20px 0;
    text-align: left;
}

.hero-auth-terms a {
    color: var(--orange);
    text-decoration: none;
}

.hero-auth-terms a:hover {
    text-decoration: underline;
}

.hero-auth-existing {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid #E5E5E5;
}

.hero-auth-existing-text {
    font-size: 14px;
    color: var(--dark-gray);
    margin: 0;
    text-align: left;
}

.btn-sign-in {
    width: 100%;
    padding: 12px 16px;
    background-color: transparent;
    color: var(--orange);
    border: 1px solid var(--orange);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-sign-in:hover {
    background-color: rgba(230, 106, 0, 0.1);
}

@media (max-width: 968px) {
    .hero {
        padding: 60px 0;
        min-height: auto;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-left {
        text-align: center;
        align-items: center;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 20px;
        max-width: 100%;
    }
    
    .hero-auth-card {
        max-width: 100%;
    }
    
    .why-content .section-title {
        font-size: 36px;
    }
    
    .why-content .section-description {
        font-size: 16px;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 40px 0;
        min-height: auto;
    }
    
    .hero-container {
        gap: 32px;
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 36px;
        text-align: center;
        color: var(--white);
    }
    
    .hero-subtitle {
        font-size: 18px;
        text-align: center;
        color: var(--white);
        opacity: 0.95;
    }
    
    .hero-auth-card {
        padding: 24px;
    }
    
    .why-section {
        padding: 60px 0;
    }
    
    .why-section {
        padding: 60px 0;
    }
    
    .why-content {
        gap: 32px;
    }
    
    .why-text-section {
        gap: 6px;
    }
    
    .why-content .section-title {
        font-size: 32px;
    }
    
    .why-content .section-description {
        font-size: 16px;
        margin-top: 12px;
    }
}

/* Why Section */
.why-section {
    background-color: var(--white);
    padding: 80px 0;
}

.why-content {
    max-width: 1200px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.why-text-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.why-content .section-label {
    text-align: left;
    color: var(--orange);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.why-content .section-title {
    text-align: left;
    font-size: 40px;
    font-weight: 700;
    color: var(--dark-gray);
    margin: 0;
    line-height: 1.2;
}

.why-content .section-description {
    text-align: left;
    font-size: 18px;
    line-height: 1.7;
    color: var(--dark-gray);
    margin: 16px 0 0 0;
    max-width: 900px;
}

.why-video-container {
    width: 100%;
    max-width: 1000px;
    margin: 0;
}

.video-placeholder {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background-color: #E5E5E5;
    position: relative;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.video-placeholder:hover {
    background-color: #D3D3D3;
}

.video-placeholder svg {
    width: 100%;
    height: 100%;
}

/* Section Styles */
.section-label {
    color: var(--orange);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-description {
    font-size: 18px;
    color: var(--dark-gray);
    line-height: 1.7;
    margin-bottom: 32px;
}

/* How It Works Section */
.how-section {
    background-color: #FFF5E8;
    padding: 80px 0;
    position: relative;
}

.how-section .section-divider {
    display: none; /* Hide divider if section has one, or customize */
}

.different-section {
    background-color: var(--white);
    padding: 60px 0 80px 0;
}

.different-header {
    text-align: left;
    margin: 0 0 50px 0;
    max-width: 1200px;
}

.different-header .section-label {
    color: var(--orange);
    display: block;
    margin-bottom: 4px;
    text-align: left;
}

.different-header .section-title {
    text-align: left;
    font-size: 40px;
    font-weight: 700;
    color: var(--dark-gray);
    margin: 0;
    line-height: 1.3;
}

.different-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.different-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.different-list-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 0;
    border-left: 2px solid #E5E5E5;
    padding-left: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.different-list-item.active {
    padding-bottom: 20px;
}

.different-list-item:hover {
    border-left-color: rgba(230, 106, 0, 0.3);
}

.different-list-item.active {
    border-left-color: var(--orange);
}

.different-list-item.active .list-item-indicator {
    background-color: var(--orange);
}

.list-item-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #E5E5E5;
    flex-shrink: 0;
    margin-top: 6px;
    transition: all 0.3s ease;
    position: absolute;
    left: -7px;
}

.list-item-content {
    flex: 1;
}

.list-item-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark-gray);
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.different-list-item.active .list-item-title {
    color: var(--orange);
}

.list-item-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-gray);
    margin: 0;
    opacity: 0.8;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.3s ease;
}

.different-list-item.active .list-item-description {
    max-height: 200px;
    opacity: 0.8;
    margin-top: 8px;
}

.different-image-container {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    background-color: #F5F5F5;
}

.different-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.different-image.active {
    opacity: 1;
}

.different-image svg {
    width: 100%;
    height: 100%;
}

@media (max-width: 968px) {
    .different-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .different-image-container {
        height: 400px;
        order: -1;
    }
    
    .different-header .section-title {
        font-size: 36px;
    }
}

@media (max-width: 640px) {
    .different-section {
        padding: 60px 0;
    }
    
    .different-header {
        margin-bottom: 40px;
    }
    
    .different-header .section-title {
        font-size: 28px;
    }
    
    .different-image-container {
        height: 300px;
    }
    
    .list-item-title {
        font-size: 20px;
    }
    
    .list-item-description {
        font-size: 15px;
    }
}

.how-section .section-label,
.how-section .section-title,
.how-section .section-description {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.how-section .section-label {
    margin-bottom: 4px;
}

.how-section .section-title {
    margin-bottom: 12px;
}

.how-section .section-description {
    margin-bottom: 0;
}

/* Feature List (How It Works) */
.feature-list {
    max-width: 800px;
    margin: 60px auto 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: left;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    border-radius: 8px;
    background-color: #FAFAFA;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background-color: #F5F5F5;
    transform: translateX(4px);
}

.feature-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--orange);
    color: var(--white);
    border-radius: 50%;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
}

.feature-text {
    font-size: 18px;
    line-height: 1.6;
    color: var(--dark-gray);
    margin: 0;
    padding-top: 2px;
}

@media (max-width: 640px) {
    .feature-text {
        font-size: 16px;
    }
    
    .feature-item {
        padding: 16px 20px;
    }
}

/* Legacy feature cards (keeping for compatibility) */
/* Feature List (How It Works) */
.feature-list {
    max-width: 800px;
    margin: 60px auto 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: left;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    border-radius: 8px;
    background-color: #FAFAFA;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background-color: #F5F5F5;
    transform: translateX(4px);
}

.feature-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--orange);
    color: var(--white);
    border-radius: 50%;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
}

.feature-text {
    font-size: 18px;
    line-height: 1.6;
    color: var(--dark-gray);
    margin: 0;
    padding-top: 2px;
}

@media (max-width: 640px) {
    .feature-text {
        font-size: 16px;
    }
    
    .feature-item {
        padding: 16px 20px;
    }
    
    .feature-icon-line {
        width: 32px;
        height: 32px;
        min-width: 32px;
    }
}

/* Feature Cards Horizontal Scrolling */
.feature-cards-scroll-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    margin-top: 60px;
    padding-bottom: 20px;
    scrollbar-width: thin;
    scrollbar-color: rgba(230, 106, 0, 0.3) transparent;
    -webkit-overflow-scrolling: touch;
}

.feature-cards-scroll-container::-webkit-scrollbar {
    height: 8px;
}

.feature-cards-scroll-container::-webkit-scrollbar-track {
    background: transparent;
}

.feature-cards-scroll-container::-webkit-scrollbar-thumb {
    background-color: rgba(230, 106, 0, 0.3);
    border-radius: 4px;
}

.feature-cards-scroll-container::-webkit-scrollbar-thumb:hover {
    background-color: rgba(230, 106, 0, 0.5);
}

.feature-cards-horizontal {
    display: flex;
    flex-direction: row;
    gap: 24px;
    width: max-content;
    padding-right: 24px;
}

.feature-card-item {
    background-color: #E66A00;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(230, 106, 0, 0.2);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    width: 360px;
    min-width: 360px;
    flex-shrink: 0;
}

.feature-card-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(230, 106, 0, 0.3);
}

.feature-card-image {
    width: 100%;
    height: 240px;
    background-color: rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}

.feature-card-image svg {
    width: 100%;
    height: 100%;
    display: block;
}

.feature-card-content {
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    position: relative;
    background-color: #E66A00;
}

.feature-card-title {
    font-size: 22px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 20px 0;
    line-height: 1.4;
    flex: 1;
}

.feature-card-plus {
    position: absolute;
    bottom: 28px;
    right: 28px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.feature-card-plus:hover {
    background-color: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.feature-card-plus svg {
    width: 24px;
    height: 24px;
}

/* Feature Modal */
.feature-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.feature-modal.active {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.feature-modal-content {
    position: relative;
    background-color: var(--white);
    border-radius: 16px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 1001;
}

.feature-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(74, 74, 74, 0.1);
    border: none;
    color: var(--dark-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 1002;
}

.feature-modal-close:hover {
    background-color: rgba(74, 74, 74, 0.2);
    transform: rotate(90deg);
}

.feature-modal-body {
    padding: 48px;
}

.feature-modal-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark-gray);
    margin: 0 0 24px 0;
    line-height: 1.3;
}

.feature-modal-description {
    font-size: 18px;
    line-height: 1.7;
    color: var(--dark-gray);
    margin: 0 0 32px 0;
}

.feature-modal-details {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(74, 74, 74, 0.8);
    margin: 0;
}

@media (max-width: 968px) {
    .feature-card-item {
        width: 320px;
        min-width: 320px;
    }
    
    .feature-card-image {
        height: 220px;
    }
    
    .feature-card-title {
        font-size: 20px;
    }
    
    .feature-card-content {
        padding: 24px;
    }
}

@media (max-width: 640px) {
    .feature-card-item {
        width: 300px;
        min-width: 300px;
    }
    
    .feature-card-image {
        height: 200px;
    }
    
    .feature-card-content {
        padding: 20px;
    }
    
    .feature-card-title {
        font-size: 18px;
        margin-bottom: 16px;
    }
    
    .feature-card-plus {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
    }
    
    .feature-card-plus svg {
        width: 20px;
        height: 20px;
    }
    
    .feature-modal-body {
        padding: 32px 24px;
    }
    
    .feature-modal-title {
        font-size: 26px;
        margin-bottom: 20px;
    }
    
    .feature-modal-description {
        font-size: 16px;
        margin-bottom: 24px;
    }
    
    .feature-modal-close {
        top: 16px;
        right: 16px;
        width: 36px;
        height: 36px;
    }
}

/* Legacy feature cards (keeping for compatibility) */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.feature-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.card-image-placeholder {
    width: 100%;
    height: 200px;
    background-color: var(--dark-gray);
}

.card-content {
    padding: 24px;
}

.card-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 12px;
}

.card-description {
    font-size: 16px;
    color: var(--dark-gray);
    line-height: 1.6;
    margin-bottom: 16px;
}

.card-btn {
    background-color: var(--light-gray);
    color: var(--dark-gray);
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.card-btn:hover {
    background-color: var(--dark-gray);
    color: var(--white);
}

.card-btn-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--dark-gray);
    color: var(--white);
    border: none;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.card-btn-icon:hover {
    background-color: var(--orange);
}


.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.grid-card {
    background-color: var(--light-gray);
    padding: 32px;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.grid-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 12px;
}

.grid-card-description {
    font-size: 16px;
    color: var(--dark-gray);
    line-height: 1.6;
    margin-bottom: 16px;
}

.grid-card-link {
    color: var(--orange);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.grid-card-link:hover {
    color: #d45f00;
    text-decoration: underline;
}

/* CTA Banner & Footer Section */
.cta-banner-footer {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 60px 0 40px 0;
}

.cta-footer-content {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.cta-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 24px 0;
    line-height: 1.3;
    color: var(--white);
}

.btn-cta {
    background-color: var(--white);
    color: var(--dark-blue);
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-cta:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Footer */
/* Footer Section (within CTA Banner) */
.footer-section {
    width: 100%;
}

.footer-main {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 80px;
    align-items: end;
    margin-bottom: 30px;
}

.footer-logo-section {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.footer-logo {
    display: flex;
    align-items: flex-start;
}

.footer-logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    white-space: nowrap;
    margin: 0;
}

.footer-cta-section {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links li {
    margin: 0;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
    line-height: 1.5;
}

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

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

.footer-copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

@media (max-width: 968px) {
    .cta-banner-footer {
        padding: 60px 0 50px 0;
    }
    
    .cta-title {
        font-size: 24px;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-logo-section {
        gap: 24px;
    }
    
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 640px) {
    .cta-banner-footer {
        padding: 50px 0 40px 0;
    }
    
    .cta-title {
        font-size: 22px;
        margin-bottom: 20px;
    }
    
    .btn-cta {
        padding: 10px 24px;
        font-size: 14px;
    }
    
    .footer-main {
        gap: 32px;
        margin-bottom: 32px;
    }
    
    .footer-logo-section {
        gap: 20px;
    }
    
    .footer-logo-text {
        font-size: 16px;
    }
    
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        padding-top: 24px;
        text-align: center;
    }
}

/* Auth Modals */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(4px);
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: var(--white);
    border-radius: 12px;
    width: 100%;
    max-width: 440px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--dark-gray);
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    z-index: 10;
}

.modal-close:hover {
    background-color: var(--light-gray);
    color: var(--dark-gray);
}

.modal-header {
    padding: 40px 40px 24px;
    text-align: center;
    border-bottom: 1px solid var(--light-gray);
}

.modal-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 8px;
}

.modal-header p {
    font-size: 16px;
    color: var(--dark-gray);
    opacity: 0.7;
}

/* Auth Forms */
.auth-form {
    padding: 32px 40px 40px;
}

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--light-gray);
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: #FFFFFF;
    color: var(--dark-gray);
}

.form-group input::placeholder {
    color: var(--dark-gray);
    opacity: 0.4;
}

.username-input-wrapper {
    display: flex;
    align-items: center;
    border: 2px solid var(--light-gray);
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.username-input-wrapper:focus-within {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(230, 106, 0, 0.1);
}

.username-prefix {
    padding: 12px 8px 12px 16px;
    background-color: #FAFAFA;
    color: var(--dark-gray);
    font-size: 16px;
    border-right: 2px solid var(--light-gray);
    font-weight: 500;
}

.username-input-wrapper input {
    border: none;
    border-radius: 0;
    padding-left: 8px;
    flex: 1;
}

.username-input-wrapper input:focus {
    outline: none;
    box-shadow: none;
}

.field-hint {
    display: block;
    font-size: 12px;
    color: var(--dark-gray);
    opacity: 0.6;
    margin-top: 4px;
}

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

.form-group input.error {
    border-color: #dc3545;
}

.error-message {
    display: block;
    color: #dc3545;
    font-size: 12px;
    margin-top: 6px;
    min-height: 18px;
}

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

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
    cursor: pointer;
}

.forgot-password {
    color: var(--orange);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #d45f00;
    text-decoration: underline;
}

.btn-full {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    margin-bottom: 20px;
}

.form-footer {
    text-align: center;
    font-size: 14px;
    color: var(--dark-gray);
    margin-top: 24px;
}

.switch-form {
    color: var(--orange);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.switch-form:hover {
    color: #d45f00;
    text-decoration: underline;
}

/* Google Sign In Button */
.btn-google {
    width: 100%;
    padding: 12px 16px;
    background-color: var(--white);
    color: var(--dark-gray);
    border: 2px solid var(--light-gray);
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
    font-family: inherit;
}

.btn-google:hover {
    background-color: #f9f9f9;
    border-color: var(--dark-gray);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-google svg {
    flex-shrink: 0;
}

/* Form Divider */
.form-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 24px 0;
    color: var(--dark-gray);
    opacity: 0.6;
    font-size: 14px;
}

.form-divider::before,
.form-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--light-gray);
}

.form-divider span {
    padding: 0 16px;
}

/* Success/Error Messages */
.form-message {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Multi-Step Signup */
.signup-step {
    display: none;
}

.signup-step.active {
    display: block;
}

.step-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 8px;
}

.step-description {
    font-size: 15px;
    color: var(--dark-gray);
    opacity: 0.7;
    margin-bottom: 24px;
}

/* Form Rows for Two-Column Layout */
.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.label-spacer {
    visibility: hidden;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
    
    .form-row .form-group {
        margin-bottom: 0;
    }
    
    .form-row .form-group:last-child {
        margin-bottom: 20px;
    }
}

.dob-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 8px;
}

.dob-description {
    font-size: 13px;
    color: var(--dark-gray);
    opacity: 0.7;
    margin-bottom: 16px;
    line-height: 1.5;
}

.dob-inputs {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 12px;
}

.dob-inputs select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--light-gray);
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
    background-color: var(--white);
    color: var(--dark-gray);
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%234A4A4A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.dob-inputs select:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(230, 106, 0, 0.1);
}

.verification-input {
    text-align: center;
    font-size: 24px;
    letter-spacing: 8px;
    font-weight: 600;
}

.resend-link {
    display: block;
    text-align: center;
    color: #1DA1F2;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 24px;
    font-weight: 500;
}

.resend-link:hover {
    text-decoration: underline;
}

.password-input-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-gray);
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.password-toggle:hover {
    opacity: 1;
}

.password-toggle svg {
    width: 20px;
    height: 20px;
}

/* User Greeting */
.user-greeting {
    font-size: 16px;
    color: var(--dark-gray);
    font-weight: 500;
    margin-right: 12px;
}

/* Responsive Design */
@media (max-width: 968px) {
    
    .feature-cards {
        grid-template-columns: 1fr;
    }
    
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .cta-title {
        font-size: 36px;
    }
}

/* Signup Location Selection */
.btn-outline {
    background-color: #FFFFFF;
    border: 2px solid var(--light-gray);
    color: var(--dark-gray);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
}

.btn-outline:hover {
    border-color: var(--orange);
    background-color: #FFFFFF;
}

.btn-outline svg {
    transition: transform 0.2s ease;
}

.btn-outline:hover svg {
    transform: translateY(2px);
}

/* Signup Topics Selection */
.signup-topics-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    min-height: 120px;
    background-color: #FFFFFF;
}

.topic-chip {
    padding: 10px 18px;
    border: 2px solid #E5E5E5;
    border-radius: 20px;
    background-color: #FFFFFF;
    color: var(--dark-gray);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.topic-chip:hover {
    background-color: #F5F5F5;
    border-color: var(--orange);
    color: var(--orange);
}

.topic-chip.selected {
    background-color: rgba(230, 106, 0, 0.1);
    border-color: var(--orange);
    color: var(--orange);
    font-weight: 600;
}

@media (max-width: 640px) {
    .section-title {
        font-size: 28px;
    }
    
    .cta-title {
        font-size: 28px;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .why-section,
    .how-section,
    .different-section {
        padding: 60px 0;
    }
}

