/* Activity Page Styles */

/* Modern Card Styles */
.modern-card {
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease-in-out;
}

.modern-card:hover {
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    transform: translateY(-1px);
}

.gradient-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.glass-effect {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.responsive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.compact-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .compact-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .compact-layout {
        gap: 1rem;
    }
    
    .modern-card {
        padding: 1rem;
    }
    
    .section-title {
        font-size: 1.125rem;
    }
    
    .section-header {
        margin-bottom: 1rem;
        padding-bottom: 0.5rem;
    }
}

.metric-card {
    background: linear-gradient(135deg, #2563eb, #647a69);
    color: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.metric-card:hover::before {
    transform: translateX(100%);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e2e8f0;
}

.section-header i {
    color: #889a8c;
    font-size: 1.25rem;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.floating-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    background: #2563eb;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.floating-cta:hover {
    background: #647a69;
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.segments-preview-content {
    max-height: 300px;
    overflow: hidden;
    position: relative;
}

.segments-preview-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, transparent, #ffffff);
    pointer-events: none;
}

/* Hero Section */
.hero-background {
    background-image: url('https://images.unsplash.com/photo-1571019613454-1cb2f99b2d8b?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(40px);
    transform: scale(1.1);
}

.hero-overlay {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.blur-background {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.activity-avatar-image > div > a > img {
    border-radius: 5.3rem;
}

/* Breadcrumb */
.breadcrumb {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    font-size: 16px;
    font-weight: 500;
}

.breadcrumb:hover {
    color: white;
}

/* Two Column Layout */
.two-column-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
}

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

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

/* Content Sections */
.content-section {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.section-title {
    color: #1f2937;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    border-bottom: 2px solid #889a8c;
    padding-bottom: 8px;
    display: flex;
    align-items: center;
}

.section-title i {
    margin-right: 10px;
    color: #889a8c;
    font-size: 18px;
}

/* Meta Grid */
.meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .meta-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .meta-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

.meta-item {
    text-align: center;
    padding: 16px;
    background: #647a69;
    border-radius: 12px;
    border: 1px solid #647a69;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.3s ease;
}

.meta-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(136, 154, 140, 0.3);
}

.meta-item h4 {
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.meta-item p {
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

.stat-item {
    text-align: center;
    padding: 16px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.3s ease;
    border: 0.5px solid #647a69;
}

.stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.stat-item h4 {
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.stat-item p {
    color: #1f2937;
    font-weight: 600;
    font-size: 18px;
}

/* Public View Stat Items */
.public-view .stat-item {
    background: #647a69;
    border: 1px solid #647a69;
    color: white;
}

.public-view .stat-item h4,
.public-view .stat-item p {
    color: white;
}

.public-view .stat-item:hover {
    border-color: #2563eb;
    transform: translateY(-2px);
}

/* Navigation Tabs */
.nav-tabs {
    display: flex;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 1.5rem;
    background-color: white;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
    overflow: hidden;
}

.nav-tab {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    color: #4b5563;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: none;
    border: none;
    flex: 1;
}

.nav-tab::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #889a8c;
    transition: width 0.3s ease;
}

.nav-tab:hover {
    color: #111827;
    background-color: #f9fafb;
}

.nav-tab:hover::before {
    width: 100%;
}

.nav-tab.active {
    color: #889a8c;
    border-bottom-color: #889a8c;
    background-color: #f9fafb;
}

.nav-tab.active::before {
    width: 100%;
    background: #889a8c;
}

/* Performance Metrics */
.performance-metric {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background-color: #f9fafb;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.performance-metric:hover {
    background-color: #f3f4f6;
    transform: translateY(-1px);
}

.metric-label-left {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    display: flex;
    align-items: center;
}

.metric-value-right {
    font-weight: 700;
    color: #111827;
    display: flex;
    align-items: center;
}

/* Progress Bars */
.progress-bar {
    width: 100px;
    background-color: #e5e7eb;
    border-radius: 9999px;
    height: 0.75rem;
    overflow: hidden;
}

/* Compact Segments Styles */
.compact-segments {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.compact-segment {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.compact-segment.expanded {
    height: auto;
    min-height: 200px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.compact-segment:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.compact-segment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f3f4f6;
}

.compact-segment-title {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    display: flex;
    align-items: center;
}

.compact-segment-title i {
    margin-right: 8px;
    color: #889a8c;
}

.compact-segment-notes {
    font-size: 11px;
    color: #6b7280;
    background: #f3f4f6;
    padding: 2px 8px;
    border-radius: 12px;
}

.expand-indicator {
    position: absolute;
    bottom: 8px;
    right: 16px;
    background: #889a8c;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.compact-segment:hover .expand-indicator {
    opacity: 1;
    transform: scale(1.1);
}

.compact-segment.expanded .expand-indicator {
    transform: rotate(180deg);
}

.compact-exercises {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 120px;
    overflow: hidden;
}

.compact-segment.expanded .compact-exercises {
    max-height: none;
}

.compact-exercise {
    background: #f8fafc;
    border-radius: 6px;
    padding: 12px;
    border: 1px solid #e2e8f0;
}

.compact-exercise-name {
    font-size: 13px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

.compact-sets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 8px;
    margin-bottom: 8px;
}

.compact-set {
    background: white;
    border-radius: 4px;
    padding: 6px 8px;
    text-align: center;
    border: 1px solid #e5e7eb;
    font-size: 11px;
}

.compact-set-label {
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 9px;
    margin-bottom: 2px;
}

.compact-set-value {
    color: #1f2937;
    font-weight: 600;
    font-size: 12px;
}

.compact-exercise-stats {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #f1f5f9;
}

.compact-stat {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
}

.compact-stat-label {
    color: #6b7280;
    font-weight: 500;
}

.compact-stat-value {
    color: #1f2937;
    font-weight: 600;
}

.compact-exercise-notes {
    font-size: 11px;
    color: #6b7280;
    font-style: italic;
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid #f1f5f9;
}

/* Compact Sets Display */
.sets-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 8px;
    font-size: 11px;
    display: none;
}

.compact-segment.expanded .sets-table {
    display: table;
}

.sets-table th {
    background: #f8fafc;
    padding: 6px 8px;
    text-align: center;
    font-weight: 600;
    color: #6b7280;
    border: 1px solid #e2e8f0;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sets-table td {
    padding: 6px 8px;
    text-align: center;
    border: 1px solid #e2e8f0;
    font-size: 11px;
    font-weight: 500;
}

.sets-table tr:nth-child(even) {
    background: #f8fafc;
}

.sets-table tr:hover {
    background: #f1f5f9;
}

/* Progress Bar Fix */
.progress-fill {
    height: 0.75rem;
    border-radius: 9999px;
    transition: all 0.3s;
}

.intensity-fill {
    background-color: #f97316;
}

.rpe-fill {
    background-color: #ef4444;
}

/* Rating Stars */
.rating-stars {
    display: flex;
    gap: 0.25rem;
    margin-left: 0.5rem;
}

.star {
    font-size: 0.875rem;
}

.star.filled {
    color: #eab308;
}

.star.empty {
    color: #d1d5db;
}

/* Heart Rate Zones */
.heart-rate-zone {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    border: 1px solid;
    transition: all 0.3s ease;
}

.heart-rate-zone:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.zone-indicator {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    margin-right: 0.75rem;
}

/* Timeline */
.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f3f4f6;
    transition: all 0.3s ease;
}

.timeline-item:hover {
    background-color: #f9fafb;
    border-radius: 0.5rem;
    padding: 1rem;
    margin: 0 -1rem;
}

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

.timeline-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.25rem;
    color: black;
    background: darkolivegreen;
}

.timeline-content {
    flex: 1;
}

.timeline-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
}

.timeline-time {
    font-size: 0.75rem;
    color: #4b5563;
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    color: #6b7280;
}

.empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #d1d5db;
}

/* Notes Section */
.notes-section {
    background: linear-gradient(to right, #f0f9ff, #e0f2fe);
    border-radius: 0.75rem;
    padding: 1.5rem;
    border: 1px solid #bae6fd;
}

.notes-content {
    color: #1f2937;
    line-height: 1.625;
}

/* Public View Styles */
.public-view {
    background: #f9fafb;
    min-height: 100vh;
    color: #1f2937;
}

.cta-section {
    background: #475e4c;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(0, 0, 0, 0.05);
    margin-top: 24px;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.cta-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: white;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cta-button.primary {
    background: #889a8c;
    color: white;
}

.cta-button.primary:hover {
    background: #6b7c6e;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(136, 154, 140, 0.4);
}

.cta-button.secondary {
    background: #f3f4f6;
    color: #374151;
    border: 2px solid #e5e7eb;
}

.cta-button.secondary:hover {
    background: #e5e7eb;
    transform: translateY(-2px);
}

/* Icons */
.star-icon {
    color: #eab308;
    margin-right: 0.75rem;
}

.intensity-icon {
    color: #f97316;
    margin-right: 0.75rem;
}

.rpe-icon {
    color: #ef4444;
    margin-right: 0.75rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .two-column-layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .public-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .meta-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .nav-tabs {
        flex-wrap: wrap;
    }
    
    .nav-tab {
        flex: 1 1 50%;
    }
    
    .public-hero h1 {
        font-size: 2rem;
    }
    
    .public-stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Utility Classes */
.page-section {
    scroll-margin-top: 2rem;
}

.text-center {
    text-align: center;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.font-bold {
    font-weight: 700;
}

.text-gray-900 {
    color: #111827;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-gray-600 {
    color: #4b5563;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.bg-blue-600 {
    background-color: #889a8c;
}

.text-white {
    color: white;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.hover-bg-blue-700:hover {
    background-color: #6b7c6e;
}

.transition-colors {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

/* Avatar Styles */
.avatar-image {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.3);
    object-fit: cover;
    transition: all 0.3s ease;
}

.avatar-image:hover {
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

.avatar-link {
    display: block;
}

/* Tailwind-like utility classes */
.bg-green-100 {
    background-color: #dcfce7;
}

.border-green-200 {
    border-color: #bbf7d0;
}

.bg-blue-100 {
    background-color: #dbeafe;
}

.border-blue-200 {
    border-color: #bfdbfe;
}

.bg-yellow-100 {
    background-color: #fef3c7;
}

.border-yellow-200 {
    border-color: #fde68a;
}

.bg-orange-100 {
    background-color: #fed7aa;
}

.border-orange-200 {
    border-color: #fed7aa;
}

.bg-red-100 {
    background-color: #fee2e2;
}

.border-red-200 {
    border-color: #fecaca;
}

.text-gray-700 {
    color: #374151;
}

.font-medium {
    font-weight: 500;
}

.text-green-700 {
    color: #15803d;
}

.text-blue-700 {
    color: #1d4ed8;
}

.text-yellow-700 {
    color: #a16207;
}

.text-orange-700 {
    color: #c2410c;
}

.text-red-700 {
    color: #b91c1c;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.space-y-3 > * + * {
    margin-top: 0.75rem;
}

.space-y-4 > * + * {
    margin-top: 1rem;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

/* Tailwind-like utility classes for segments toggle */
.hidden {
    display: none;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.text-center {
    text-align: center;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-gray-700 {
    color: #374151;
}

.bg-gray-100 {
    background-color: #f3f4f6;
}

.hover\:bg-gray-200:hover {
    background-color: #e5e7eb;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.rounded-md {
    border-radius: 0.375rem;
}

.transition-colors {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.duration-200 {
    transition-duration: 200ms;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.gap-2 {
    gap: 0.5rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.transition-transform {
    transition-property: transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

/* Responsive Compact Design */
@media (max-width: 768px) {
    .compact-segments {
        grid-template-columns: 1fr;
    }
    
    .compact-segment {
        height: 180px;
    }
    
    .compact-sets-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sets-table {
        font-size: 10px;
    }
    
    .sets-table th,
    .sets-table td {
        padding: 4px 6px;
    }
    
    /* Mobile-specific responsive styles */
    .floating-cta {
        bottom: 1rem;
        right: 1rem;
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
    
    .space-y-6 > * + * {
        margin-top: 1rem;
    }
    
    .p-6 {
        padding: 1rem;
    }
    
    .modern-card {
        padding: 1rem;
    }
    
    .section-title {
        font-size: 1.125rem;
    }
    
    .section-header {
        margin-bottom: 1rem;
        padding-bottom: 0.5rem;
    }
    
    /* Mobile navigation adjustments */
    .nav-tabs {
        flex-wrap: wrap;
    }
    
    .nav-tab {
        flex: 1 1 50%;
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
    }
    
    /* Mobile grid adjustments */
    .meta-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    /* Mobile text adjustments */
    .text-4xl {
        font-size: 1.875rem;
        line-height: 2.25rem;
    }
    
    .text-xl {
        font-size: 1.125rem;
        line-height: 1.75rem;
    }
    
    .text-lg {
        font-size: 1rem;
        line-height: 1.5rem;
    }
}

@media (max-width: 480px) {
    .floating-cta {
        bottom: 0.75rem;
        right: 0.75rem;
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }
    
    .modern-card {
        border-radius: 0.75rem;
        padding: 0.75rem;
    }
    
    .section-title {
        font-size: 1rem;
    }
    
    .meta-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .nav-tab {
        flex: 1 1 100%;
        font-size: 0.75rem;
        padding: 0.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
    }
    
    /* Small screen text adjustments */
    .text-4xl {
        font-size: 1.5rem;
        line-height: 2rem;
    }
    
    .text-xl {
        font-size: 1rem;
        line-height: 1.5rem;
    }
    
    .text-lg {
        font-size: 0.875rem;
        line-height: 1.25rem;
    }
    
    /* Small screen spacing */
    .space-y-6 > * + * {
        margin-top: 0.75rem;
    }
    
    .p-6 {
        padding: 0.75rem;
    }
    
    .mt-6 {
        margin-top: 1rem;
    }
    
    .mt-4 {
        margin-top: 0.75rem;
    }
} 