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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f5f5f5;
    overflow: hidden;
}

/* Mobile App Container */
.mobile-app {
    width: 375px;
    height: 812px;
    margin: 20px auto;
    background: #ffffff;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    position: relative;
}

/* Status Bar */
.status-bar {
    height: 44px;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    font-size: 15px;
    font-weight: 600;
    color: #000000;
    position: relative;
    z-index: 1000;
}

.status-icons {
    display: flex;
    gap: 4px;
    align-items: center;
}

/* App Content */
.app-content {
    height: calc(100% - 44px);
    overflow-y: auto;
    position: relative;
}

/* Screen Container */
.screen {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #ffffff;
}

/* Header */
.header {
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: #ffffff;
    position: relative;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.back-btn {
    background: none;
    border: none;
    font-size: 18px;
    color: #1E40AF;
    cursor: pointer;
    padding: 4px;
}

.phase-label {
    font-size: 14px;
    font-weight: 500;
    color: #1E40AF;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.progress-text {
    font-size: 14px;
    font-weight: 500;
    color: #1E40AF;
}

.user-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}

/* Page Title */
.page-title {
    font-size: 28px;
    font-weight: 700;
    color: #1F2937;
    line-height: 1.2;
    margin: 8px 24px 16px 24px;
}

/* Progress Bar */
.progress-bar {
    height: 4px;
    background: #E5E7EB;
    margin: 0 24px 24px 24px;
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3B82F6 0%, #F59E0B 100%);
    transition: width 0.3s ease;
    border-radius: 2px;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
}

/* Illustration */
.illustration {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.illustration svg {
    max-width: 280px;
    max-height: 180px;
}

/* Description Text */
.description {
    font-size: 16px;
    line-height: 1.5;
    color: #6B7280;
    text-align: left;
    margin-bottom: 24px;
}

/* CTA Button */
.cta-button {
    background: #1E40AF;
    color: white;
    border: none;
    border-radius: 12px;
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    cursor: pointer;
    transition: transform 0.2s;
    box-shadow: 0 2px 8px rgba(30, 64, 175, 0.2);
}

.cta-button:active {
    transform: scale(0.98);
}

.cta-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cta-icon {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.cta-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.cta-subtitle {
    font-size: 14px;
    opacity: 0.8;
}

.cta-title {
    font-size: 16px;
    font-weight: 700;
}

.cta-arrow {
    font-size: 18px;
    opacity: 0.8;
}

/* Key Decisions */
.section-title {
    font-size: 18px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 16px;
}

.checklist {
    list-style: none;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 15px;
    color: #374151;
    line-height: 1.4;
}

.checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid #3B82F6;
    border-radius: 4px;
    background: #3B82F6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Welcome Screen */
.welcome-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
}

.welcome-content {
    text-align: center;
    width: 100%;
}

.welcome-illustration {
    margin-bottom: 40px;
    height: 200px;
}

.welcome-illustration svg {
    max-width: 280px;
    max-height: 180px;
}

.welcome-title {
    font-size: 32px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 16px;
}

.welcome-subtitle {
    font-size: 16px;
    color: #6B7280;
    line-height: 1.5;
    margin-bottom: 60px;
}

.welcome-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.welcome-btn {
    width: 100%;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.welcome-btn.primary {
    background: #1E40AF;
    color: white;
}

.welcome-btn.secondary {
    background: transparent;
    color: #1E40AF;
    border: 1px solid #E5E7EB;
}

.welcome-btn:active {
    transform: scale(0.98);
}

/* Signup Screen */
.signup-screen {
    padding: 16px 24px;
}

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

.signup-title {
    font-size: 28px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 12px;
}

.signup-subtitle {
    font-size: 16px;
    color: #6B7280;
    line-height: 1.5;
    margin-bottom: 32px;
}

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

.form-input, .form-select {
    width: 100%;
    padding: 16px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-size: 16px;
    background: #F9FAFB;
}

.form-input:focus, .form-select:focus {
    outline: none;
    border-color: #3B82F6;
    background: white;
}

.terms-text {
    font-size: 14px;
    color: #6B7280;
    text-align: center;
    margin: 24px 0;
    line-height: 1.4;
}

.terms-text a {
    color: #3B82F6;
    text-decoration: none;
}

.signup-btn {
    width: 100%;
    padding: 16px 24px;
    background: #1E40AF;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
    margin-bottom: 24px;
}

.signup-btn:active {
    transform: scale(0.98);
}

.login-text {
    text-align: center;
    font-size: 14px;
    color: #6B7280;
}

.login-text a {
    color: #3B82F6;
    text-decoration: none;
}

/* Onboarding Screen */
.onboarding-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
}

.onboarding-content {
    text-align: center;
    width: 100%;
}

.page-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #E5E7EB;
    transition: background 0.3s;
}

.dot.active {
    background: #3B82F6;
}

.onboarding-title {
    font-size: 28px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 16px;
}

.onboarding-subtitle {
    font-size: 16px;
    color: #6B7280;
    line-height: 1.5;
    margin-bottom: 40px;
}

.onboarding-illustration {
    height: 200px;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.onboarding-btn {
    width: 100%;
    padding: 16px 24px;
    background: #1E40AF;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

.onboarding-btn:active {
    transform: scale(0.98);
}

/* Profile Screen */
.profile-screen {
    padding: 16px 24px;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.progress-bar-container {
    flex: 1;
}

.progress-bar {
    height: 4px;
    background: #E5E7EB;
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #F59E0B;
    transition: width 0.3s ease;
    border-radius: 2px;
}

.profile-label {
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 8px;
}

.profile-title {
    font-size: 28px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 32px;
    line-height: 1.2;
}

.example-text {
    font-size: 14px;
    color: #9CA3AF;
    margin-top: 8px;
    margin-bottom: 40px;
}

.profile-btn {
    width: 100%;
    padding: 16px 24px;
    background: #1E40AF;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
    margin-top: 40px;
}

.profile-btn:active {
    transform: scale(0.98);
}

/* Loading Screen */
.loading-screen {
    background: #1E40AF;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    position: relative;
}

.loading-content {
    text-align: center;
    width: 100%;
}

.loading-title {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 60px;
}

.loading-illustration {
    height: 140px;
    margin-bottom: 40px;
}

.loading-spinner {
    display: flex;
    justify-content: center;
}

.spinner {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Dashboard Screen */
.dashboard-screen {
    padding: 20px 24px;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.user-info h2 {
    font-size: 20px;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 4px;
}

.user-info p {
    font-size: 14px;
    color: #6B7280;
}

.notification-icon {
    font-size: 24px;
    color: #6B7280;
}

.phase-card {
    background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%);
    color: white;
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 32px;
}

.phase-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.phase-header h3 {
    font-size: 14px;
    font-weight: 600;
    opacity: 0.9;
}

.phase-status {
    font-size: 12px;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 8px;
    border-radius: 12px;
}

.phase-card h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.phase-card p {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.4;
    margin-bottom: 20px;
}

.phase-progress {
    margin-bottom: 20px;
}

.phase-progress .progress-text {
    font-size: 12px;
    opacity: 0.8;
    margin-bottom: 8px;
}

.phase-progress .progress-bar {
    background: rgba(255, 255, 255, 0.2);
}

.phase-progress .progress-fill {
    background: white;
}

.start-phase-btn {
    background: white;
    color: #1E40AF;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

.start-phase-btn:active {
    transform: scale(0.98);
}

.quick-actions h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 16px;
}

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

.action-card {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 20px 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.action-card:active {
    transform: scale(0.98);
    background: #F9FAFB;
}

.action-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.action-card span {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}
.bottom-nav {
    padding: 20px 24px 32px 24px;
    background: #ffffff;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid #F3F4F6;
}

.nav-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 100px;
    justify-content: center;
}

.nav-btn:active {
    transform: scale(0.98);
}

.nav-btn.secondary {
    background: #ffffff;
    color: #374151;
    border: 1px solid #D1D5DB;
}

.nav-btn.primary {
    background: #1E40AF;
    color: white;
    border: 1px solid #1E40AF;
}

/* Google Button */
.welcome-btn.google {
    background: white;
    color: #374151;
    border: 1px solid #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.welcome-btn.google:hover {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Login Screen */
.login-screen {
    padding: 16px 24px;
}

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

.login-title {
    font-size: 28px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 12px;
}

.login-subtitle {
    font-size: 16px;
    color: #6B7280;
    line-height: 1.5;
    margin-bottom: 32px;
}

.login-btn {
    width: 100%;
    padding: 16px 24px;
    background: #1E40AF;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
    margin-bottom: 24px;
}

.login-btn:active {
    transform: scale(0.98);
}

.signup-text {
    text-align: center;
    font-size: 14px;
    color: #6B7280;
}

.signup-text a {
    color: #3B82F6;
    text-decoration: none;
}

/* App Intro Screen */
.app-intro-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
}

.intro-content {
    text-align: center;
    width: 100%;
}

.intro-illustration {
    margin-bottom: 40px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro-title {
    font-size: 28px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 16px;
}

.intro-subtitle {
    font-size: 16px;
    color: #6B7280;
    line-height: 1.5;
    margin-bottom: 40px;
}

.intro-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 60px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.feature-icon {
    font-size: 20px;
    width: 32px;
    text-align: center;
}

.feature-text {
    font-size: 16px;
    color: #374151;
}

.intro-btn {
    width: 100%;
    padding: 16px 24px;
    background: #1E40AF;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

.intro-btn:active {
    transform: scale(0.98);
}

/* Profile Setup Screen */
.profile-setup-screen {
    padding: 16px 24px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
}

/* Loading Screen Enhanced */
.loading-animation {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.loading-subtitle {
    font-size: 16px;
    opacity: 0.8;
    line-height: 1.5;
    margin-bottom: 60px;
}

.loading-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 280px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.step-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

.step-item.active .step-icon {
    background: rgba(34, 197, 94, 0.2);
}

.step-item.loading .step-icon {
    background: rgba(251, 191, 36, 0.2);
}

.step-text {
    opacity: 0.8;
}

/* Dashboard Screen Enhanced */
.user-greeting h1 {
    font-size: 24px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 4px;
}

.user-greeting p {
    font-size: 14px;
    color: #6B7280;
}

.profile-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    font-weight: 600;
}

.project-card {
    background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
}

.project-name {
    font-size: 20px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 4px;
}

.project-type {
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 16px;
}

.progress-text {
    font-size: 12px;
    color: #6B7280;
    margin-top: 8px;
}

.action-btn {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.action-btn:active {
    transform: scale(0.98);
    background: #F9FAFB;
}

.action-icon {
    font-size: 24px;
    margin-bottom: 4px;
}

.action-title {
    font-size: 14px;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 2px;
}

.action-desc {
    font-size: 12px;
    color: #6B7280;
    line-height: 1.3;
}

/* Auth Buttons (Updated Welcome Design) */
.auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 60px;
}

.auth-btn {
    width: 100%;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
}

.auth-btn.google {
    background: #4285F4;
    color: white;
}

.auth-btn.apple {
    background: #000000;
    color: white;
}

.auth-btn.email {
    background: #1E40AF;
    color: white;
}

.auth-btn:active {
    transform: scale(0.98);
}

.login-link {
    text-align: center;
    font-size: 14px;
    color: #6B7280;
    margin-top: 32px;
}

.login-link a {
    color: #3B82F6;
    text-decoration: none;
}

/* Updated Welcome Screen */
.welcome-screen .welcome-title {
    font-size: 28px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 80px;
    text-align: center;
}

/* Dashboard Celebration Design */
.congratulations-section {
    padding: 20px 24px 16px 24px;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.congratulations-title {
    font-size: 24px;
    font-weight: 700;
    color: #1F2937;
    margin: 0;
    line-height: 1.2;
}

.header-icons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.search-icon {
    font-size: 18px;
    color: #6B7280;
}

.build-begins-text {
    font-size: 14px;
    color: #6B7280;
    margin: 0;
}

.project-celebration-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    margin: 0 24px 24px 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.confetti-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.confetti-piece {
    position: absolute;
    top: -20px;
    font-size: 16px;
    animation: confettiFall 3s ease-in-out infinite;
}

@keyframes confettiFall {
    0% {
        transform: translateY(-20px) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(200px) rotate(360deg);
        opacity: 0;
    }
}

.project-main-content {
    position: relative;
    z-index: 1;
}

.project-image {
    text-align: center;
    margin: 20px 0;
}

.progress-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
}

.progress-label {
    font-size: 14px;
    color: #6B7280;
}

.phase-indicator {
    font-size: 14px;
    color: #3B82F6;
    font-weight: 600;
}

.view-plan-btn {
    width: 100%;
    background: #1E40AF;
    color: white;
    border: none;
    border-radius: 12px;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: transform 0.2s;
}

.view-plan-btn:active {
    transform: scale(0.98);
}

.arrow-icon {
    font-size: 18px;
}

.quick-tools-section {
    padding: 0 24px 24px 24px;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 16px;
}

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

.tool-btn {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 20px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.tool-btn:active {
    transform: scale(0.95);
    background: #F9FAFB;
}

.tool-icon {
    font-size: 24px;
}

.tool-text {
    font-size: 12px;
    font-weight: 500;
    color: #374151;
    text-align: center;
    line-height: 1.2;
}

.team-section {
    padding: 0 24px 24px 24px;
}

.team-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    border-radius: 12px;
    padding: 16px;
    border: 1px solid #E5E7EB;
}

.team-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.team-icon {
    font-size: 24px;
}

.team-label {
    font-size: 12px;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-name {
    font-size: 16px;
    font-weight: 600;
    color: #1F2937;
}

.team-arrow {
    font-size: 18px;
    color: #6B7280;
}

.bottom-navigation {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: white;
    border-top: 1px solid #E5E7EB;
    padding: 12px 0 20px 0;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 375px;
    max-width: 100%;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.nav-item.active .nav-icon {
    color: #1E40AF;
}

.nav-item.active .nav-label {
    color: #1E40AF;
}

.nav-icon {
    font-size: 20px;
    color: #6B7280;
}

.nav-label {
    font-size: 10px;
    color: #6B7280;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 400px) {
    .mobile-app {
        width: 100vw;
        height: 100vh;
        margin: 0;
        border-radius: 0;
    }
    
    .bottom-navigation {
        width: 100vw;
        left: 0;
        transform: none;
    }
}

/* Needs Section (Screen 2) */
.needs-section {
    margin-bottom: 24px;
}

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

.dropdown-icon {
    font-size: 18px;
    color: #6B7280;
}

.needs-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.need-button {
    background: #F3F4F6;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.need-button:hover {
    background: #E5E7EB;
}

.need-button.selected {
    background: #EBF4FF;
    border-color: #3B82F6;
}

.need-emoji {
    font-size: 20px;
}

.need-text {
    font-size: 14px;
    color: #374151;
    line-height: 1.4;
}

.add-more {
    text-align: right;
}

.add-more-btn {
    background: none;
    border: none;
    color: #3B82F6;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.save-btn {
    background: #1E40AF;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
    margin-bottom: 24px;
}

/* Ideas Screen (Screen 3) */
.ideas-card {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.blueprint-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.3;
}

.empty-state {
    position: relative;
    z-index: 1;
    margin-bottom: 24px;
}

.empty-message {
    font-size: 16px;
    color: #374151;
    margin-bottom: 16px;
    font-style: italic;
}

.sad-emoji {
    font-size: 48px;
    margin-bottom: 24px;
}

.tour-btn {
    background: #1E40AF;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

/* Time Estimation Screen (Screen 4) */
.time-estimate-card {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    text-align: center;
}

.time-estimate-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 12px;
}

.time-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.hourglass-icon {
    font-size: 24px;
}

.time-value {
    font-size: 18px;
    font-weight: 600;
    color: #1F2937;
}

.phase-breakdown {
    margin-bottom: 24px;
}

.phase-breakdown h3 {
    font-size: 16px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 16px;
}

.phases-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.phase-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #F8FAFC;
    border-radius: 8px;
    border-left: 3px solid #E5E7EB;
}

.phase-icon {
    font-size: 18px;
}

.phase-info {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.phase-name {
    font-size: 14px;
    color: #374151;
    font-weight: 500;
}

.phase-time {
    font-size: 14px;
    color: #6B7280;
    font-weight: 600;
}

.find-out-btn {
    background: #1E40AF;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
    margin-bottom: 24px;
}

/* Form Screen (Screen 5) */
.form-card {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 18px;
    color: #6B7280;
    cursor: pointer;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.form-field label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
}

.form-field select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    font-size: 16px;
    color: #374151;
    background: white;
    cursor: pointer;
}

.form-field select:focus {
    outline: none;
    border-color: #3B82F6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.start-calculating-btn {
    background: #1E40AF;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
    margin-top: 8px;
}

/* Invite Screen (Screen 6) */
.invite-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.invite-card {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 20px;
}

.invite-card .role-icon {
    width: 48px;
    height: 48px;
    background: #E5E7EB;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 12px;
}

.role-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1F2937;
    margin: 0 0 4px 0;
}

.role-info p {
    font-size: 14px;
    color: #6B7280;
    margin: 0 0 16px 0;
}

.invite-input {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.invite-input input {
    padding: 12px 16px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    font-size: 14px;
    background: white;
}

.invite-input input:focus {
    outline: none;
    border-color: #3B82F6;
}

.invite-input select {
    padding: 12px 16px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    cursor: pointer;
}

.send-btn {
    background: #1E40AF;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    align-self: flex-end;
    margin-top: 8px;
}

/* Bottom Navigation Updates */
.bottom-nav.triple {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.fade-in {
    animation: fadeIn 0.3s ease-in;
}

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