/**
 * CarsPoint Documentation - MVP Roadmap Styles
 */

/* Header */
header {
    background: linear-gradient(165deg, var(--primary) 0%, var(--primary-light) 50%, var(--accent) 100%);
    color: #ffffff;
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(201, 162, 39, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(15, 76, 117, 0.15) 0%, transparent 50%),
        url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.02' fill-rule='evenodd'/%3E%3C/svg%3E");
    pointer-events: none;
}

header::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 200%;
    height: 100px;
    background: var(--bg-cream);
    border-radius: 50%;
}

header .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

header h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: -0.02em;
}

header .subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    font-weight: 300;
    letter-spacing: 0.5px;
}

header .version-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 12px 28px;
    border-radius: 50px;
    margin-top: 25px;
    border: 1px solid rgba(255,255,255,0.15);
}

header .version-badge span {
    font-size: 0.9rem;
    font-weight: 500;
}

header .version-badge .separator {
    width: 1px;
    height: 16px;
    background: rgba(255,255,255,0.3);
}

/* Navigation */
nav {
    background: var(--bg-white);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--border);
}

nav .container {
    display: flex;
    gap: 0;
    justify-content: center;
}

nav a {
    text-decoration: none;
    color: var(--text-body);
    padding: 20px 30px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    letter-spacing: 0.3px;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transition: var(--transition);
    border-radius: 3px 3px 0 0;
}

nav a:hover {
    color: var(--primary);
    background: var(--bg-paper);
}

nav a:hover::after,
nav a.active::after {
    width: 60%;
}

nav a.active {
    color: var(--primary);
    font-weight: 600;
}

nav .nav-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}

nav .nav-indicator.mvp1 { background: var(--success); }
nav .nav-indicator.mvp2 { background: var(--warning); }
nav .nav-indicator.future { background: var(--accent); }
nav .nav-indicator.tech { background: var(--gold); }

/* Main Content */
main {
    padding: 60px 0 80px;
}

/* Stats Summary */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 70px;
}

.stat-item {
    background: var(--bg-white);
    padding: 35px 25px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-item .number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item .label {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 8px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* MVP Section */
.mvp-section {
    margin-bottom: 80px;
}

.mvp-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 2px solid var(--border);
    flex-wrap: wrap;
}

.mvp-badge {
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: var(--shadow-md);
}

.mvp-badge.mvp1 {
    background: linear-gradient(135deg, #047857 0%, #059669 100%);
    color: #ffffff;
}

.mvp-badge.mvp2 {
    background: linear-gradient(135deg, #b45309 0%, #d97706 100%);
    color: #ffffff;
}

.mvp-badge.future {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #ffffff;
}

.mvp-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--text-dark);
    flex: 1;
}

.mvp-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.mvp-status.complete {
    background: var(--success-light);
    color: #047857;
}

.mvp-status.progress {
    background: var(--warning-light);
    color: #b45309;
}

.mvp-status.planned {
    background: var(--bg-dark);
    color: var(--text-muted);
}

.mvp-status .status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.mvp-status.complete .status-dot { background: #047857; }
.mvp-status.progress .status-dot { background: #b45309; }
.mvp-status.planned .status-dot { background: var(--text-muted); animation: none; }

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

.mvp-description {
    color: var(--text-muted);
    margin-bottom: 35px;
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 900px;
}

/* Feature Cards Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--gold), var(--gold-dark));
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-light);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-icon.auth { background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%); }
.feature-icon.user { background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%); }
.feature-icon.car { background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%); }
.feature-icon.company { background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%); }
.feature-icon.upload { background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%); }
.feature-icon.notify { background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%); }
.feature-icon.customer { background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%); }
.feature-icon.audit { background: linear-gradient(135deg, #cffafe 0%, #a5f3fc 100%); }
.feature-icon.request { background: linear-gradient(135deg, #ffedd5 0%, #fed7aa 100%); }
.feature-icon.health { background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%); }
.feature-icon.cache { background: linear-gradient(135deg, #fef9c3 0%, #fde047 100%); }

.feature-card h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.feature-card h3 .wip-badge {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    padding: 3px 10px;
    background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%);
    color: white;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.7;
}

/* Feature List */
.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-body);
    transition: var(--transition);
}

.feature-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.feature-list li:hover {
    color: var(--text-dark);
    padding-left: 5px;
}

.feature-list li::before {
    content: '';
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--success-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23047857'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: center;
}

.feature-list li.endpoint::before {
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z'/%3E%3C/svg%3E");
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: center;
}

.feature-list li.wip::before {
    background: linear-gradient(135deg, #c4b5fd 0%, #a78bfa 100%);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%237c3aed'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z'/%3E%3Cpath d='M12 6c-3.31 0-6 2.69-6 6s2.69 6 6 6 6-2.69 6-6-2.69-6-6-6zm0 10c-2.21 0-4-1.79-4-4h4V8c2.21 0 4 1.79 4 4s-1.79 4-4 4z'/%3E%3C/svg%3E");
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: center;
}

.feature-list li.not-done::before {
    background: linear-gradient(135deg, #fecaca 0%, #fca5a5 100%);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23dc2626'%3E%3Cpath d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/%3E%3C/svg%3E");
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: center;
}

.feature-list li.not-done {
    opacity: 0.75;
}

.feature-list li.not-done:hover {
    opacity: 1;
}

/* Status Legend */
.status-legend {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    padding: 20px 30px;
    background: var(--bg-paper);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-body);
}

.legend-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: center;
}

.legend-icon.done {
    background-color: var(--success-light);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23047857'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
}

.legend-icon.not-done {
    background: linear-gradient(135deg, #fecaca 0%, #fca5a5 100%);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23dc2626'%3E%3Cpath d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/%3E%3C/svg%3E");
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: center;
}

.legend-icon.endpoint {
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z'/%3E%3C/svg%3E");
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: center;
}

.legend-icon.wip {
    background: linear-gradient(135deg, #c4b5fd 0%, #a78bfa 100%);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%237c3aed'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z'/%3E%3Cpath d='M12 6c-3.31 0-6 2.69-6 6s2.69 6 6 6 6-2.69 6-6-2.69-6-6-6zm0 10c-2.21 0-4-1.79-4-4h4V8c2.21 0 4 1.79 4 4s-1.79 4-4 4z'/%3E%3C/svg%3E");
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: center;
}

/* Progress Indicator */
.progress-overview {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin-bottom: 70px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.progress-overview h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 15px;
}

.progress-overview h2::before {
    content: '';
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 3px;
}

.progress-bars {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.progress-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.progress-label {
    min-width: 150px;
    font-weight: 600;
    color: var(--text-dark);
}

.progress-bar-container {
    flex: 1;
    height: 12px;
    background: var(--bg-dark);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 100%;
    border-radius: 6px;
    position: relative;
    transition: width 1s ease-out;
}

.progress-bar.mvp1 {
    background: linear-gradient(90deg, #047857, #10b981);
    width: 100%;
}

.progress-bar.mvp2 {
    background: linear-gradient(90deg, #b45309, #f59e0b);
    width: 95%;
}

.progress-bar.future {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    width: 10%;
}

.progress-percentage {
    min-width: 60px;
    text-align: right;
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1.1rem;
}

/* Tech Stack Section */
.tech-stack {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 50px;
    margin-top: 60px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.tech-stack h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.tech-stack .section-description {
    color: var(--text-muted);
    margin-bottom: 35px;
    font-size: 1.05rem;
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.tech-category {
    background: var(--bg-paper);
    border-radius: var(--radius-md);
    padding: 25px;
    border: 1px solid var(--border);
}

.tech-category h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gold-light);
}

.tech-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: var(--bg-white);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    border: 1px solid transparent;
}

.tech-item:hover {
    border-color: var(--gold-light);
    transform: translateX(5px);
}

.tech-item .tech-icon {
    font-size: 1.3rem;
    width: 30px;
    text-align: center;
}

.tech-item span {
    font-weight: 500;
    color: var(--text-body);
}

/* Timeline Section */
.timeline-section {
    margin-top: 80px;
    margin-bottom: 60px;
}

.timeline-section h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--text-dark);
    text-align: center;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--success), var(--warning), var(--accent));
    border-radius: 4px;
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-content {
    width: 45%;
    background: var(--bg-white);
    padding: 25px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.timeline-content h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.timeline-content .timeline-date {
    font-size: 0.85rem;
    color: var(--gold-dark);
    font-weight: 600;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bg-white);
    border: 4px solid var(--gold);
    z-index: 1;
}

/* API Overview */
.api-overview {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-lg);
    padding: 50px;
    margin-top: 60px;
    color: white;
    position: relative;
    overflow: hidden;
}

.api-overview::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.1) 0%, transparent 60%);
}

.api-overview h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    margin-bottom: 15px;
    position: relative;
}

.api-overview .section-description {
    opacity: 0.85;
    margin-bottom: 35px;
    font-size: 1.05rem;
    position: relative;
}

.api-endpoints-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    position: relative;
}

.api-endpoint-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    padding: 25px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}

.api-endpoint-card:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-3px);
}

.api-endpoint-card h4 {
    font-size: 1rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.api-endpoint-card .endpoint-count {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 5px;
}

.api-endpoint-card p {
    font-size: 0.9rem;
    opacity: 0.75;
}

/* Footer */
footer {
    background: linear-gradient(165deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    margin-top: 80px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 200%;
    height: 100px;
    background: var(--bg-cream);
    border-radius: 50%;
}

footer .container {
    position: relative;
    z-index: 1;
}

footer .footer-logo {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

footer p {
    opacity: 0.8;
    font-size: 0.95rem;
}

footer .footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 25px;
}

footer .footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

/* Responsive */
@media (max-width: 1024px) {
    header h1 {
        font-size: 2.5rem;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        flex-direction: row !important;
        padding-left: 60px;
    }

    .timeline-content {
        width: 100%;
    }

    .timeline-dot {
        left: 30px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 70px 0 60px;
    }

    header h1 {
        font-size: 2rem;
    }

    header .subtitle {
        font-size: 1rem;
    }

    nav .container {
        flex-wrap: wrap;
        gap: 5px;
    }

    nav a {
        padding: 12px 15px;
        font-size: 0.85rem;
    }

    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .mvp-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .tech-stack,
    .api-overview,
    .progress-overview {
        padding: 30px 20px;
    }
}

/* Print Styles */
@media print {
    nav, footer { display: none; }
    header { padding: 40px 0; }
    header::after { display: none; }
    .feature-card { break-inside: avoid; page-break-inside: avoid; }
    .mvp-section { break-before: page; }
}
