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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: linear-gradient(135deg, #fdf2f8 0%, #f0f9ff 50%, #f0fdf4 100%);
}

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



/* Back to Home Button */
.back-home {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    color: #333;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.back-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.back-btn i {
    font-size: 1rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 50%, #06b6d4 100%);
    color: white;
    padding-top: 0;
    position: relative;
    overflow: hidden;
}

/* Add top padding for pages with back button */
.back-home + .hero {
    padding-top: 80px;
}

/* Goals Demo */
.goals-demo {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.goal-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(25px);
    border-radius: 25px;
    padding: 2.5rem;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 8px 25px rgba(255, 107, 157, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.25);
    max-width: 450px;
    width: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
}

.goal-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.2),
        0 12px 35px rgba(255, 107, 157, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.goal-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.goal-icon {
    font-size: 3rem;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 8px rgba(236, 72, 153, 0.3));
}

.goal-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
}

.goal-info h3 {
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 0.3rem 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.goal-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.4;
}

.goal-progress {
    position: relative;
    z-index: 10;
    margin-left: auto;
}

.progress-circle {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    box-shadow: 
        0 8px 20px rgba(236, 72, 153, 0.4),
        0 4px 12px rgba(139, 92, 246, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.progress-circle:hover {
    transform: scale(1.05);
    box-shadow: 
        0 12px 25px rgba(236, 72, 153, 0.5),
        0 6px 15px rgba(139, 92, 246, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.progress-number {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1;
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    display: block;
}

.progress-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 1) !important;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    display: block;
}

.goal-stats {
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
    margin-top: 1rem;
}

.stat {
    text-align: center;
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.stat-number {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.3rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Goals Grid */
.goals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.goal-category {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.goal-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.goal-category h3 {
    color: #333;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.goal-category p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.category-stats {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.category-stats span {
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Goals Workflow */
.goals-workflow {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1.5rem !important;
}

.goals-workflow .workflow-card:nth-child(4n)::after {
    display: none;
}

/* Tongue Scan Demo */
.tongue-scan-demo {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.scan-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 350px;
    width: 100%;
}

.scan-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.scan-icon {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.scan-info h3 {
    color: #333;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
}

.scan-info p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.scan-results {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.result-item:last-child {
    border-bottom: none;
}

.result-label {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

.result-value {
    color: #333;
    font-size: 0.9rem;
    font-weight: 600;
}

.result-value.score {
    color: #ec4899;
    font-weight: 700;
}

/* Tongue Insights Grid */
.tongue-insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.insight-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.insight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.insight-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.insight-card h3 {
    color: #333;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.insight-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.insight-tips {
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-item {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.benefit-item h3 {
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.benefit-item p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Tongue Types Grid */
.tongue-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(370px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    justify-items: center;
}

.tongue-type-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 0.8rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    max-width: 350px;
    margin: 0 auto;
}

.tongue-type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.tongue-image {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.tongue-type-card h3 {
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.tongue-description {
    color: #666;
    font-size: 0.8rem;
    line-height: 1.2;
    margin-bottom: 0.6rem;
    font-style: italic;
}

.tongue-meaning {
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    color: white;
    padding: 0.8rem;
    border-radius: 15px;
    margin-bottom: 0.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.meaning-label {
    font-size: 0.9rem;
    font-weight: 500;
}

.meaning-value {
    font-size: 0.9rem;
    font-weight: 600;
}

.tongue-symptoms {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.tongue-symptoms span {
    background: rgba(236, 72, 153, 0.1);
    color: #ec4899;
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(236, 72, 153, 0.2);
}

/* Realistic Tongue Styles */
.healthy-tongue {
    color: #ff6b9d !important;
    filter: drop-shadow(0 2px 4px rgba(255, 107, 157, 0.3));
}

.pale-tongue {
    color: #f8d7da !important;
    filter: drop-shadow(0 2px 4px rgba(248, 215, 218, 0.3));
    opacity: 0.8;
}

.red-tongue {
    color: #dc3545 !important;
    filter: drop-shadow(0 2px 4px rgba(220, 53, 69, 0.3));
}

.purple-tongue {
    color: #6f42c1 !important;
    filter: drop-shadow(0 2px 4px rgba(111, 66, 193, 0.3));
}

.coated-tongue {
    color: #ffc107 !important;
    filter: drop-shadow(0 2px 4px rgba(255, 193, 7, 0.3));
}

.cracked-tongue {
    color: #fd7e14 !important;
    filter: drop-shadow(0 2px 4px rgba(253, 126, 20, 0.3));
}

/* Upload Area Styles */
.upload-area {
    margin: 1rem 0;
    text-align: center;
}

.upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
}

.upload-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.4);
}

.upload-btn i {
    font-size: 1rem;
}

/* Tongue Scan Workflow */
.tongue-scan-workflow {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1.5rem !important;
}

.tongue-scan-workflow .workflow-card:nth-child(4n)::after {
    display: none;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-content {
    display: flex;
    flex-direction: column;
}



.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    min-height: 44px; /* Better touch target */
    touch-action: manipulation;
}

.btn-primary {
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    color: white;
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(236, 72, 153, 0.6);
}

.btn-primary i {
    font-size: 1.2rem;
}

/* Hero Features */
.hero-features {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    cursor: pointer;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.feature-item i {
    font-size: 1.2rem;
    color: #ec4899;
}

.feature-item span {
    font-weight: 500;
    font-size: 0.9rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
    padding: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    min-height: 80px; /* Better touch target */
    touch-action: manipulation;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.25);
}

.feature-card i {
    font-size: 1.8rem;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-card {
    text-decoration: none;
    color: inherit;
}

.feature-card span {
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    line-height: 1.2;
}

/* Info Section */
.info-section {
    padding: 5rem 0;
    background: white;
}

.info-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.info-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.info-content p {
    font-size: 1.2rem;
    color: #6b7280;
    margin-bottom: 3rem;
    line-height: 1.7;
}

.info-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.info-stats .stat {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #fdf2f8, #f0f9ff);
    border-radius: 20px;
    border: 1px solid rgba(236, 72, 153, 0.1);
    transition: all 0.3s ease;
}

.info-stats .stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.15);
}

.info-stats .stat h3 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.info-stats .stat p {
    font-weight: 600;
    color: #374151;
    margin: 0;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section h3 {
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section p {
    color: #9ca3af;
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.5);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 16px 24px;
    }

    .hero-features {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .feature-item {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        max-width: 100%;
        padding: 1.5rem;
        border-radius: 20px;
    }

    .feature-card {
        padding: 1.5rem 1rem;
        border-radius: 16px;
        min-height: 100px;
    }

    .feature-card i {
        font-size: 1.8rem;
    }

    .feature-card span {
        font-size: 0.8rem;
        line-height: 1.3;
        font-weight: 600;
    }

    .info-section {
        padding: 3rem 0;
    }

    .info-content {
        padding: 0 15px;
    }

    .info-content h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .info-content p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .info-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        max-width: 100%;
    }

    .info-stats .stat {
        padding: 1.5rem 1rem;
        border-radius: 16px;
    }

    .info-stats .stat h3 {
        font-size: 2.5rem;
    }

    .info-stats .stat p {
        font-size: 0.9rem;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .footer-section h3,
    .footer-section h4 {
        font-size: 1.1rem;
    }

    .footer-section ul li a {
        font-size: 0.9rem;
    }

    .social-links a {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .hero-container {
        padding: 0 10px;
        gap: 1rem;
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .btn {
        padding: 14px 20px;
        font-size: 0.85rem;
        width: 100%;
        max-width: 250px;
    }

    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .feature-item {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        padding: 0.75rem;
    }

    .feature-card {
        padding: 0.75rem 0.4rem;
        border-radius: 10px;
    }

    .feature-card i {
        font-size: 1.1rem;
    }

    .feature-card span {
        font-size: 0.65rem;
    }

    .info-section {
        padding: 2rem 0;
    }

    .info-content {
        padding: 0 10px;
    }

    .info-content h2 {
        font-size: 1.5rem;
    }

    .info-content p {
        font-size: 0.9rem;
    }

    .info-stats {
        gap: 0.75rem;
    }

    .info-stats .stat {
        padding: 1.25rem 0.75rem;
    }

    .info-stats .stat h3 {
        font-size: 2rem;
    }

    .info-stats .stat p {
        font-size: 0.8rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-section h3,
    .footer-section h4 {
        font-size: 1rem;
    }

    .footer-section ul li a {
        font-size: 0.85rem;
    }

    .social-links a {
        width: 35px;
        height: 35px;
    }
}

/* Smooth scrolling and animations */
html {
    scroll-behavior: smooth;
}

/* Loading animation for cards */
.service-card {
    animation: fadeInUp 0.6s ease-out;
}

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

/* Hover effects */
.service-card:hover .service-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Page-specific styles */
.glow-score-demo {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.score-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    color: white;
}

.score-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1rem;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.score-number {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.score-label {
    font-size: 0.8rem;
    opacity: 0.9;
}

.score-details p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Chat Demo */
.chat-demo {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 1.5rem;
    max-width: 400px;
    margin: 0 auto;
}

.chat-message {
    margin-bottom: 1rem;
    display: flex;
    gap: 0.5rem;
}

.chat-message.ai {
    align-items: flex-start;
}

.chat-message.user {
    justify-content: flex-end;
}

.ai-avatar {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.message-content {
    background: rgba(255, 255, 255, 0.15);
    padding: 0.75rem 1rem;
    border-radius: 15px;
    max-width: 80%;
}

.chat-message.user .message-content {
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
}

.message-content p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Community Demo */
.community-demo {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.story-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 1.5rem;
    max-width: 350px;
    color: white;
}

.story-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.user-info h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.user-info span {
    font-size: 0.8rem;
    opacity: 0.8;
}

.story-content p {
    margin: 0 0 1rem 0;
    line-height: 1.5;
    font-size: 0.9rem;
}

.story-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Clean Grid Workflow */
.workflow-grid {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    position: relative;
}

.workflow-card {
    position: relative;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 15px;
    padding: 1rem;
    border: 3px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(25px);
    transition: all 0.3s ease;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    text-align: center;
    width: 100%;
    margin: 0;
    z-index: 2;
}

.workflow-card:hover {
    transform: translateY(-5px);
    background: rgba(0, 0, 0, 0.7);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
    border-color: rgba(236, 72, 153, 0.5);
    z-index: 3;
}

/* Thick Beautiful Arrows */
.workflow-card::after {
    content: '➤';
    position: absolute;
    right: -2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5rem;
    color: #ec4899;
    font-weight: bold;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.5);
    z-index: 3;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.workflow-card:nth-child(4n)::after {
    display: none;
}

/* Glow Score specific workflow - 3 cards per row */
.glow-score-workflow {
    grid-template-columns: repeat(3, 1fr) !important;
}

.glow-score-workflow .workflow-card:nth-child(3n)::after {
    display: none;
}

/* Community specific workflow - 2 cards first row, 3 cards second row */
.community-workflow {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 2rem !important;
    max-width: 1000px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.community-workflow .flow-step {
    flex: 0 0 220px;
}

.community-workflow .flow-arrow {
    display: none !important;
}

/* Connecting Lines */
.workflow-grid::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, #ec4899, #8b5cf6, transparent);
    z-index: 1;
    transform: translateY(-50%);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(236, 72, 153, 0.3);
}

.workflow-card:hover {
    transform: translateY(-5px);
    background: rgba(0, 0, 0, 0.7);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
    border-color: rgba(236, 72, 153, 0.5);
    z-index: 3;
}

.workflow-card .step-number {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: white;
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.4);
    margin: 0 auto 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.workflow-card h3 {
    margin-bottom: 0.75rem;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.8), 0 2px 4px rgba(0, 0, 0, 0.6);
    letter-spacing: 0.5px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

/* Removed paragraph styles - no longer needed */

.workflow-card .step-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    justify-content: center;
}

.workflow-card .step-tags span {
    background: rgba(236, 72, 153, 0.6);
    color: white;
    padding: 0.4rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    border: 2px solid rgba(236, 72, 153, 0.8);
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.workflow-card {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 15px;
    padding: 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(25px);
    transition: all 0.3s ease;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    text-align: center;
    position: relative;
    max-width: 280px;
    margin: 0 auto;
}

.workflow-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 20px;
    z-index: -1;
}

.workflow-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(236, 72, 153, 0.4);
}

.workflow-card .step-number {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: white;
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.4);
    margin: 0 auto 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

/* How It Works Flow */
.how-it-works-flow {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.flow-step {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.6));
    backdrop-filter: blur(15px);
    border: 1px solid rgba(236, 72, 153, 0.4);
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    width: 220px;
    height: 240px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.flow-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 20px;
    z-index: -1;
}

.flow-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(236, 72, 153, 0.3);
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(139, 92, 246, 0.2));
    border-color: rgba(236, 72, 153, 0.5);
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    display: block;
}

.flow-step h3 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.5px;
}

.flow-step p {
    color: #ffffff;
    font-size: 0.9rem;
    line-height: 1.4;
    opacity: 1;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
    font-weight: 500;
}

.flow-arrow {
    font-size: 2rem;
    color: #ec4899;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(236, 72, 153, 0.5);
    animation: pulse 2s infinite;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(139, 92, 246, 0.2));
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(236, 72, 153, 0.3);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Mobile responsive for flow steps */
@media (max-width: 768px) {
    .how-it-works-flow {
        gap: 1rem;
    }
    
    .flow-step {
        max-width: 150px;
        padding: 1.5rem;
    }
    
    .step-icon {
        font-size: 2.5rem;
    }
    
    .flow-step h3 {
        font-size: 1rem;
    }
    
    .flow-step p {
        font-size: 0.8rem;
    }
    
    .flow-arrow {
        font-size: 1.5rem;
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .workflow-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .workflow-card {
        padding: 1.5rem;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Tracking Grid */
.tracking-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.tracking-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.tracking-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.tracking-item i {
    font-size: 2rem;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.tracking-item h3 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.tracking-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    color: white;
}

/* Form validation styles */
.form-group input:invalid,
.form-group textarea:invalid {
    border-color: #ef4444;
}

.form-group input:valid,
.form-group textarea:valid {
    border-color: #10b981;
}

/* Future Selfie Page Styles */
.future-selfie-hero {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 3rem !important;
    text-align: left !important;
}

.future-selfie-demo {
    flex: 1;
    margin-top: 0 !important;
}

/* Selfie Comparison Layout */
.selfie-comparison {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.selfie-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 280px;
    text-align: center;
    transition: all 0.3s ease;
}

.selfie-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.selfie-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.selfie-header h3 {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.glow-score-badge {
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    color: white;
    padding: 0.5rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}

.score-number {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
}

.score-label {
    font-size: 0.6rem;
    opacity: 0.9;
}

.current-score {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.future-score {
    background: linear-gradient(135deg, #10b981, #3b82f6);
}

.selfie-image {
    margin-bottom: 1rem;
    position: relative;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
}

.selfie-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.placeholder-selfie {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.placeholder-selfie i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #ec4899;
}

.selfie-stats {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.stat:last-child {
    border-bottom: none;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
}

.stat-value {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Transformation Arrow */
.transformation-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    min-width: 420px;
    max-width: 480px;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(25px);
    border-radius: 30px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 8px 25px rgba(255, 107, 157, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    transition: all 0.3s ease;
}

.transformation-arrow:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.2),
        0 12px 35px rgba(255, 107, 157, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.goal-info {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.08));
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.12),
        0 5px 15px rgba(255, 107, 157, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    text-align: center;
    width: 100%;
    transition: all 0.3s ease;
}

.goal-info:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 8px 20px rgba(255, 107, 157, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.goal-info h3 {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.goal-details {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-bottom: 1.2rem;
}

.goal-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
}

.goal-item:last-child {
    border-bottom: none;
}

.goal-name {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
}

.goal-progress {
    color: #ec4899;
    font-size: 0.9rem;
    font-weight: 600;
}

.timeline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.8rem;
    margin-left: 0.5rem;
    margin-right: 0.3rem;
    gap: 0.3rem;
    padding: 0.25rem 0.6rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.duration {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
}

.completion-rate {
    color: #10b981;
    font-weight: 600;
    font-size: 0.7rem;
}

.arrow-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ec4899, #8b5cf6, #f59e0b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    animation: pulse 2s infinite;
    box-shadow: 
        0 8px 20px rgba(236, 72, 153, 0.4),
        0 4px 12px rgba(139, 92, 246, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    margin-top: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.arrow-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.arrow-icon:hover {
    transform: scale(1.1);
    box-shadow: 
        0 12px 25px rgba(236, 72, 153, 0.5),
        0 6px 15px rgba(139, 92, 246, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.arrow-icon:hover::before {
    left: 100%;
}

.future-selfie-workflow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Transformation Steps for Future Selfie */
.transformation-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.step-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    min-width: 200px;
    max-width: 250px;
}

.step-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
}

.step-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
}

.step-item h3 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.step-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

.step-arrow {
    color: #ec4899;
    font-size: 1.5rem;
    font-weight: bold;
    animation: pulse 2s infinite;
}

/* Mobile responsive for Future Selfie */
@media (max-width: 768px) {
    .future-selfie-hero {
        flex-direction: column !important;
        text-align: center !important;
        gap: 2rem !important;
    }
    
    .future-selfie-demo {
        width: 100%;
    }
    
    .future-selfie-workflow {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .transformation-steps {
        flex-direction: column;
        gap: 1rem;
    }
    
    .step-item {
        min-width: 100%;
        max-width: 100%;
        padding: 1.2rem;
    }
    
    .step-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .step-item h3 {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }
    
    .step-item p {
        font-size: 0.85rem;
    }
    
    .step-arrow {
        transform: rotate(90deg);
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .future-selfie-demo {
        padding: 1rem;
        margin-top: 1.5rem;
    }
    
    .transformation-steps {
        gap: 0.8rem;
    }
    
    .step-item {
        padding: 1rem;
    }
    
    .step-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }
    
    .step-item h3 {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .step-item p {
        font-size: 0.8rem;
    }
    
    .step-arrow {
        font-size: 1.1rem;
    }
    
    .future-selfie-workflow {
        gap: 0.8rem;
    }
}

/* Symptom Page Styles */
.quick-symptom-input { margin-top: 2rem; margin-bottom: 2rem; }

/* Mobile App Demo Section */
.mobile-demo-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #fdf2f8 0%, #f0f9ff 50%, #f0fdf4 100%);
}

.demo-header {
    text-align: center;
    margin-bottom: 60px;
}

.demo-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.demo-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.phone-container {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
}

.screen {
    width: 320px;
    height: 640px;
    background: #000;
    border-radius: 30px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.status-icons {
    display: flex;
    gap: 5px;
}

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

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

.avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.user-details h3 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.user-details p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.notification {
    position: relative;
    color: white;
    font-size: 1.2rem;
}

.badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4757;
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 600;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.health-score {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 20px;
    backdrop-filter: blur(10px);
}

.score-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.score {
    font-size: 1.5rem;
    font-weight: 700;
}

.label {
    font-size: 0.7rem;
    opacity: 0.9;
}

.score-details p {
    color: white;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.quick-actions {
    display: flex;
    gap: 15px;
}

.action-btn {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 15px;
    text-align: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.action-btn i {
    font-size: 1.5rem;
    margin-bottom: 5px;
    display: block;
}

.action-btn span {
    font-size: 0.8rem;
    font-weight: 500;
}

.goals-progress {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 20px;
    backdrop-filter: blur(10px);
}

.goals-progress h4 {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.goal-item {
    margin-bottom: 15px;
}

.goal-item:last-child {
    margin-bottom: 0;
}

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

.goal-info span {
    color: white;
    font-size: 0.9rem;
}

.progress {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
}

.progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.social-feed {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 20px;
    backdrop-filter: blur(10px);
}

.social-feed h4 {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.post {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 15px;
}

.post-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.post-avatar {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.post-info {
    display: flex;
    flex-direction: column;
}

.username {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
}

.time {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.7rem;
}

.post p {
    color: white;
    font-size: 0.9rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.post-actions {
    display: flex;
    gap: 15px;
}

.post-actions span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.bottom-nav {
    display: flex;
    justify-content: space-around;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 15px;
    backdrop-filter: blur(10px);
    margin-top: auto;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-item.active {
    color: white;
}

.nav-item:hover {
    color: white;
}

.nav-item i {
    font-size: 1.2rem;
}

.nav-item span {
    font-size: 0.7rem;
    font-weight: 500;
}

.demo-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.demo-features .feature-item {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.demo-features .feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.demo-features .feature-item i {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.demo-features .feature-item h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.demo-features .feature-item p {
    color: #666;
    line-height: 1.6;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

.close {
    font-size: 1.5rem;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.close:hover {
    opacity: 0.7;
}

.modal-body {
    padding: 30px;
}

.scan-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.scan-option {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.scan-option:hover {
    border-color: #ec4899;
    transform: translateY(-2px);
}

.scan-option i {
    font-size: 2rem;
    color: #ec4899;
    margin-bottom: 10px;
    display: block;
}

.scan-option span {
    font-weight: 600;
    color: #333;
}

.chat-message {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.message-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.message-content {
    background: rgba(236, 72, 153, 0.1);
    border-radius: 15px;
    padding: 15px;
    flex: 1;
}

.message-content p {
    color: #333;
    margin: 0;
    line-height: 1.4;
}

.chat-input {
    display: flex;
    gap: 10px;
    align-items: center;
}

.chat-input input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 25px;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
}

.chat-input input:focus {
    border-color: #ec4899;
}

.chat-input button {
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    color: white;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-input button:hover {
    transform: scale(1.1);
}

/* Responsive Design for Mobile Demo */
@media (max-width: 768px) {
    .demo-header h2 {
        font-size: 2rem;
    }
    
    .demo-header p {
        font-size: 1rem;
    }
    
    .screen {
        width: 280px;
        height: 560px;
    }
    
    .demo-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .scan-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .demo-header h2 {
        font-size: 1.8rem;
    }
    
    .screen {
        width: 260px;
        height: 520px;
        padding: 15px;
    }
    
    .main-content {
        gap: 20px;
    }
    
    .health-score {
        padding: 15px;
    }
    
    .score-circle {
        width: 70px;
        height: 70px;
    }
    
    .quick-actions {
        gap: 10px;
    }
    
    .action-btn {
        padding: 12px;
    }
}

/* Symptom Page Styles */
.quick-symptom-input { 
    margin-top: 2rem; 
    margin-bottom: 2rem; 
}
 
 