/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Color Variables */
:root {
    --primary-red: #DC2626;
    --secondary-red: #EF4444;
    --light-red: #FEE2E2;
    --dark-red: #991B1B;
    --accent-red: #F87171;
    --white: #FFFFFF;
    --light-gray: #F9FAFB;
    --gray: #6B7280;
    --dark-gray: #374151;
    --black: #111827;
    --success: #10B981;
    --warning: #F59E0B;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--gray);
}

.highlight {
    color: var(--primary-red);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.75rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    color: var(--white);
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.35);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
}

.btn-secondary:hover {
    background: var(--primary-red);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-download {
    background: linear-gradient(135deg, var(--dark-red), var(--primary-red));
    color: var(--white);
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 1rem;
    box-shadow: 0 6px 20px rgba(153, 27, 27, 0.3);
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(153, 27, 27, 0.4);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(220, 38, 38, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-red);
    background: none;
    border: none;
    padding: 0;
}

.nav-logo .logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: opacity 0.3s ease;
    padding: 0;
    margin: 0;
    display: block;
}

.nav-logo .logo-image:hover {
    opacity: 0.8;
}

/* Fallback for when logo fails to load */
.nav-logo .logo-image[src="assets/images/redsync-logo.png"]:not([src*="data:"]) {
    /* Remove background box - just show logo image */
    background: none;
    border-radius: 0;
    padding: 0;
}

.nav-logo i {
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-red);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-red);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, #FEF2F2 0%, #FFFFFF 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    margin-bottom: 1.5rem;
    color: var(--black);
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    padding: 0.75rem 1rem;
    border-radius: 2rem;
    border: 1px solid var(--light-red);
    color: var(--primary-red);
    font-size: 0.9rem;
    font-weight: 500;
}

.badge i {
    font-size: 1.1rem;
    color: var(--primary-red);
    font-weight: 600;
}

/* Phone Mockup */
/* Hero Image & Phone Mockup */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.phone-container {
    position: relative;
    perspective: 1000px;
}

.phone-mockup {
    width: 280px;
    height: 580px;
    position: relative;
    transform: rotateY(-15deg) rotateX(5deg);
    transition: transform 0.3s ease;
}

.phone-mockup:hover {
    transform: rotateY(-10deg) rotateX(2deg) scale(1.02);
}

.phone-frame {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #1a1a1a, #2d2d2d);
    border-radius: 35px;
    padding: 8px;
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.3),
        0 8px 20px rgba(0, 0, 0, 0.2),
        inset 0 1px 3px rgba(255, 255, 255, 0.1);
    position: relative;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 25px;
    background: #1a1a1a;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 10;
}

.screen-content {
    padding: 35px 20px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Status Bar */
.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
}

.status-left .time {
    font-weight: 700;
}

.status-right {
    display: flex;
    align-items: center;
    gap: 5px;
}

.signal-bars {
    display: flex;
    gap: 2px;
    align-items: end;
}

.signal-bars .bar {
    width: 3px;
    background: #1a1a1a;
    border-radius: 1px;
}

.signal-bars .bar:nth-child(1) { height: 4px; }
.signal-bars .bar:nth-child(2) { height: 6px; }
.signal-bars .bar:nth-child(3) { height: 8px; }
.signal-bars .bar:nth-child(4) { height: 10px; }

/* App Header */
.app-header {
    text-align: center;
    margin-bottom: 30px;
}

.app-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.logo-circle {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.logo-circle i {
    color: white;
    font-size: 20px;
}

.app-header h3 {
    color: var(--primary-red);
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 5px 0;
}

.app-subtitle {
    color: var(--gray);
    font-size: 12px;
    margin: 0;
    font-weight: 500;
}

/* Featured Card */
.featured-card {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(220, 38, 38, 0.1);
    position: relative;
    overflow: hidden;
}

.featured-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-red), var(--secondary-red));
}

.featured-card .card-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
}

.featured-card .card-icon i {
    color: white;
    font-size: 18px;
}

.featured-card h4 {
    color: var(--black);
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.featured-card p {
    color: var(--gray);
    font-size: 12px;
    line-height: 1.4;
    margin: 0 0 15px 0;
}

.card-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--light-red);
    border-radius: 10px;
    padding: 10px 15px;
    color: var(--primary-red);
    font-size: 12px;
    font-weight: 600;
}

.card-button i {
    font-size: 10px;
}

/* Quick Stats */
.quick-stats {
    display: flex;
    gap: 15px;
    margin-bottom: auto;
}

.stat-item {
    flex: 1;
    text-align: center;
    background: rgba(220, 38, 38, 0.05);
    border-radius: 12px;
    padding: 12px 8px;
}

.stat-number {
    color: var(--primary-red);
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    color: var(--gray);
    font-size: 9px;
    font-weight: 500;
    margin-top: 4px;
}

/* Bottom Navigation */
.bottom-nav {
    display: flex;
    justify-content: space-around;
    padding: 15px 0 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--gray);
    font-size: 10px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-item.active {
    color: var(--primary-red);
}

.nav-item i {
    font-size: 14px;
}

/* Floating Elements */
.floating-element {
    position: absolute;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
    animation: float 3s ease-in-out infinite;
}

.element-1 {
    top: 10%;
    right: -20px;
    animation-delay: 0s;
}

.element-2 {
    top: 60%;
    left: -20px;
    animation-delay: 1s;
}

.element-3 {
    bottom: 15%;
    right: -15px;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    color: var(--black);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 1.5rem;
    border: 1px solid #F3F4F6;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(220, 38, 38, 0.1);
    border-color: var(--light-red);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
}

.feature-card .feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: var(--white);
}

.feature-card .feature-icon i {
    font-size: 3rem;
    color: #FFFFFF;
}

.feature-card .feature-icon span {
    font-size: 3rem;
    color: #FFFFFF;
    font-weight: bold;
    font-family: Arial, sans-serif;
}

.feature-card .feature-icon .icon-small {
    font-size: 2.5rem;
}

/* Fallback for empty icons */
.feature-card .feature-icon:empty:before {
    content: "⚡";
    font-size: 2rem;
    color: var(--white);
    display: block;
    text-align: center;
}

.feature-card h3 {
    color: var(--black);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--gray);
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--light-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text h2 {
    color: var(--black);
    margin-bottom: 1rem;
}

.about-subtitle {
    font-size: 1.1rem;
    color: var(--primary-red);
    font-weight: 500;
    margin-bottom: 2rem;
}

.research-context {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, var(--white), #FEFEFE);
    border-radius: 1.5rem;
    border-left: 6px solid var(--primary-red);
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.08);
}

.objectives-section {
    margin: 2rem 0;
    padding: 2.5rem;
    background: linear-gradient(135deg, #FEF2F2, var(--white));
    border-radius: 1.5rem;
    border-left: 6px solid var(--primary-red);
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.08);
}

.objectives-section h3 {
    color: var(--primary-red);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

.objective-category {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 1rem;
    border: 1px solid rgba(220, 38, 38, 0.1);
}

.objective-category h4 {
    color: var(--secondary-red);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.objective-category h4 i {
    color: var(--primary-red);
    font-size: 1.2rem;
}

.objective-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.objective-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(220, 38, 38, 0.1);
    color: var(--dark-gray);
    line-height: 1.6;
    position: relative;
    padding-left: 1.5rem;
}

.objective-list li:last-child {
    border-bottom: none;
}

.objective-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: bold;
    font-size: 1.1rem;
}

.context-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--light-red);
    border-radius: 1rem;
    border: 1px solid rgba(220, 38, 38, 0.1);
    transition: transform 0.2s ease;
}

.context-item:hover {
    transform: translateY(-2px);
}

.context-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-red);
    min-width: 100px;
    text-align: center;
    line-height: 1;
    flex-shrink: 0;
}

.context-text {
    color: var(--gray);
    line-height: 1.6;
    flex: 1;
}

.context-text strong {
    color: var(--black);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.about-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.detail-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.detail-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
    transition: transform 0.2s ease;
}

.detail-icon:hover {
    transform: scale(1.05);
}

.detail-icon i {
    color: var(--white);
    font-size: 1.6rem;
    font-weight: 600;
    display: block;
    text-align: center;
    line-height: 1;
}

.detail-content h4 {
    color: var(--black);
    margin-bottom: 0.5rem;
}

.detail-content p {
    color: var(--gray);
    margin: 0;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    border: 1px solid #E5E7EB;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.stat-detail {
    color: var(--primary-red);
    font-size: 0.85rem;
    font-weight: 500;
}

/* Research Foundation Section */
.research-foundation {
    padding: 100px 0;
    background: var(--white);
}

.research-content h2 {
    text-align: center;
    color: var(--black);
    margin-bottom: 1rem;
}

.research-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto 4rem;
}

.challenges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.challenge-card {
    background: var(--light-red);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    border: 1px solid rgba(220, 38, 38, 0.1);
    transition: transform 0.3s ease;
}

.challenge-card:hover {
    transform: translateY(-5px);
}

.challenge-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.challenge-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.challenge-card h4 {
    color: var(--dark-red);
    margin-bottom: 1rem;
}

.challenge-card p {
    color: var(--gray);
    line-height: 1.6;
}

.solution-highlight {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    background: linear-gradient(135deg, var(--light-gray), var(--white));
    padding: 3rem;
    border-radius: 1.5rem;
    border: 1px solid #E5E7EB;
}

.solution-text h3 {
    color: var(--black);
    margin-bottom: 1rem;
}

.solution-text p {
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.evidence-points {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.evidence-point {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.evidence-point i {
    color: var(--success);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.evidence-point span {
    color: var(--gray);
    line-height: 1.5;
}

.sdg-alignment {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid #E5E7EB;
}

.sdg-alignment h4 {
    color: var(--black);
    margin-bottom: 1.5rem;
    text-align: center;
}

.sdg-goals {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.sdg-goal {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: var(--light-red);
    border-radius: 0.75rem;
    text-align: center;
}

.sdg-number {
    width: 40px;
    height: 40px;
    background: var(--primary-red);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.sdg-goal span {
    font-size: 0.85rem;
    color: var(--dark-red);
    font-weight: 500;
    line-height: 1.2;
}

/* Download Section */
.download {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    color: var(--white);
}

.download-content {
    text-align: center;
}

.download-content h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.download-content > p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
}

.download-card {
    background: var(--white);
    border-radius: 1.5rem;
    padding: 2.5rem;
    margin: 0 auto 3rem;
    max-width: 600px;
    display: flex;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.download-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
}

.app-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    border-radius: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.25);
    transition: transform 0.3s ease;
}

.app-icon:hover {
    transform: scale(1.05);
}

.app-icon::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 15%;
    width: 20%;
    height: 20%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    filter: blur(4px);
}

.app-icon i {
    font-size: 2.5rem;
    color: var(--white);
    z-index: 1;
    position: relative;
}

.app-details h3 {
    color: var(--black);
    margin-bottom: 0.5rem;
}

.app-details p {
    color: var(--gray);
    margin-bottom: 1rem;
}

.app-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.app-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.85rem;
    color: var(--gray);
}

.app-meta i {
    color: var(--primary-red);
}

.download-actions {
    text-align: center;
}

.download-note {
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: 1rem;
    margin-bottom: 0;
}

.installation-steps {
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 2rem;
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.installation-steps h3 {
    color: var(--white);
    margin-bottom: 1rem;
    text-align: center;
}

.installation-steps ol {
    color: rgba(255, 255, 255, 0.9);
    padding-left: 1.5rem;
}

.installation-steps li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 1rem;
    background: none;
    border: none;
    padding: 0;
}

.footer-logo .logo-image {
    height: 45px;
    width: auto;
    object-fit: contain;
    padding: 0;
    margin: 0;
    display: block;
}

.footer-logo i {
    font-size: 1.8rem;
}

.footer-brand p {
    color: #9CA3AF;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-red);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
}

.medical-disclaimer {
    background: rgba(220, 38, 38, 0.1);
    padding: 1.5rem;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-red);
}

.medical-disclaimer h4 {
    color: var(--primary-red);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.medical-disclaimer p {
    color: var(--white);
    line-height: 1.6;
    margin: 0;
}

.research-attribution {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.research-attribution p {
    color: #D1D5DB;
    margin: 0;
    line-height: 1.6;
}

.footer-bottom p {
    color: #9CA3AF;
    margin-bottom: 0.5rem;
    text-align: center;
}

.sustainability-note {
    font-size: 0.85rem;
    color: #6B7280;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-badges {
        justify-content: center;
    }
    
    .phone-mockup {
        width: 240px;
        height: 490px;
        transform: rotateY(0deg) rotateX(0deg);
    }
    
    .phone-mockup:hover {
        transform: rotateY(0deg) rotateX(0deg) scale(1.02);
    }
    
    .floating-element {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 2rem;
    }
    
    .challenges-grid {
        grid-template-columns: 1fr;
    }
    
    .solution-highlight {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .sdg-goals {
        grid-template-columns: 1fr;
    }
    
    .research-context {
        padding: 1.5rem;
    }
    
    .context-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.25rem;
    }
    
    .context-number {
        min-width: auto;
        font-size: 2.2rem;
    }
    
    .detail-icon {
        width: 50px;
        height: 50px;
    }
    
    .detail-icon i {
        font-size: 1.2rem;
    }
    
    .app-icon {
        width: 80px;
        height: 80px;
        border-radius: 1.25rem;
    }
    
    .app-icon i {
        font-size: 2rem;
    }
    
    .nav-logo .logo-image {
        height: 42px;
        padding: 0;
        margin: 0;
    }
    
    .footer-logo .logo-image {
        height: 38px;
        padding: 0;
        margin: 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-stats {
        flex-direction: row;
        justify-content: space-around;
    }
    
    .stat-card {
        padding: 1.5rem;
        flex: 1;
        margin: 0 0.5rem;
    }
    
    .download-card {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .medical-disclaimer,
    .research-attribution {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .phone-mockup {
        width: 200px;
        height: 400px;
        transform: none;
    }
    
    .phone-mockup:hover {
        transform: scale(1.02);
    }
    
    .screen-content {
        padding: 25px 15px 15px;
    }
    
    .featured-card {
        padding: 15px;
    }
    
    .quick-stats {
        gap: 10px;
    }
    
    .stat-item {
        padding: 8px 5px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .about-stats {
        flex-direction: column;
    }
    
    .stat-card {
        margin: 0;
    }
}

/* Team Section */
.team {
    padding: 6rem 0;
    background: linear-gradient(135deg, #FEF2F2, var(--white));
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    background: var(--white);
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(220, 38, 38, 0.15);
}

.member-photo {
    margin-bottom: 1.5rem;
}

.member-photo i {
    font-size: 4rem;
    color: var(--primary-red);
    background: var(--light-red);
    padding: 1.5rem;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.member-info h3 {
    color: var(--primary-red);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.member-role {
    color: var(--secondary-red);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.member-description {
    color: var(--dark-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.member-details {
    text-align: left;
    padding-top: 1rem;
    border-top: 1px solid rgba(220, 38, 38, 0.1);
}

.member-details p {
    color: var(--dark-gray);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.member-details i {
    color: var(--primary-red);
    width: 16px;
}

.team-footer {
    margin-top: 3rem;
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 1rem;
    border: 1px solid rgba(220, 38, 38, 0.1);
}

.university-info h4 {
    color: var(--primary-red);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.university-info p {
    color: var(--dark-gray);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.academic-year {
    color: var(--secondary-red);
    font-weight: 600;
}

/* Waitlist Section */
.waitlist {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--white), #FEF2F2);
}

.waitlist-content {
    text-align: center;
}

.waitlist-content h2 {
    color: var(--primary-red);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.waitlist-content > p {
    color: var(--dark-gray);
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.waitlist-card {
    background: var(--white);
    border-radius: 2rem;
    padding: 3rem;
    box-shadow: 0 16px 48px rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.1);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.waitlist-info {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(220, 38, 38, 0.1);
}

.waitlist-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(220, 38, 38, 0.2);
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.btn-waitlist {
    width: 100%;
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Download Options */
.download-options {
    text-align: center;
    margin-bottom: 2rem;
}

.download-options h3 {
    color: var(--black);
    margin-bottom: 1.5rem;
}

.download-buttons {
    display: flex;
    justify-content: center;
    max-width: 250px;
    margin: 0 auto;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 500;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.35);
}

/* Logo Link Styles */
.logo-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.8;
}

.waitlist-benefits {
    margin-top: 3rem;
}

.waitlist-benefits h4 {
    color: var(--primary-red);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--light-red);
    border-radius: 0.75rem;
    border: 1px solid rgba(220, 38, 38, 0.1);
}

.benefit-item i {
    color: var(--primary-red);
    font-size: 1.2rem;
}

.benefit-item span {
    color: var(--dark-gray);
    font-weight: 500;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-text {
    animation: fadeInLeft 1s ease-out;
}

.hero-image {
    animation: fadeInRight 1s ease-out 0.2s both;
}

.feature-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Notification System */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    max-width: 400px;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    font-weight: 500;
}

.notification.show {
    transform: translateX(0);
}

.notification-success {
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
}

.notification-error {
    background: linear-gradient(135deg, #EF4444, #DC2626);
    color: white;
}

.notification-warning {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: white;
}

.notification-info {
    background: linear-gradient(135deg, #3B82F6, #2563EB);
    color: white;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.notification-content i {
    font-size: 1.2rem;
}

.notification-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 0.25rem;
    transition: background-color 0.2s ease;
    margin-left: auto;
}

.notification-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

/* Responsive Design for Team and Waitlist */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .team-member {
        padding: 1.5rem;
    }
    
    .member-photo i {
        font-size: 3rem;
        width: 80px;
        height: 80px;
    }
    
    .waitlist-info {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .waitlist-card {
        padding: 2rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .notification {
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .team-member {
        padding: 1rem;
    }
    
    .member-info h3 {
        font-size: 1.3rem;
    }
    
    .waitlist-card {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .form-group input,
    .form-group select {
        padding: 0.8rem 1rem;
    }
}