* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark: #0a0a0a;
    --bg-card: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-green: #00ff88;
    --accent-blue: #00d4ff;
    --border-color: #333;
    --grid-color: rgba(255, 255, 255, 0.05);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Grid Background Effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* Navigation */
.navbar {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-box {
    border: 2px solid var(--accent-green);
    padding: 0.75rem 1.25rem;
    position: relative;
}

.logo-box::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 1px solid var(--border-color);
}

.logo-text {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-green);
    transition: width 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--text-primary);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.btn-auth {
    background: transparent;
    border: 1px solid var(--accent-green);
    color: var(--accent-green);
    padding: 0.75rem 2rem;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.btn-auth:hover {
    background: var(--accent-green);
    color: var(--bg-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
}

/* Hero Section */
.hero {
    padding: 6rem 0 4rem;
    position: relative;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 4rem;
    max-width: 1000px;
    background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-green), var(--accent-blue));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover {
    border-color: var(--accent-green);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 255, 136, 0.1);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-green);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.stat-detail {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.graph-annotation {
    text-align: center;
    padding: 2rem;
    border: 1px solid var(--border-color);
    background: rgba(26, 26, 26, 0.5);
    font-style: italic;
    color: var(--text-secondary);
}

/* Skills Section */
.skills-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 255, 136, 0.03) 100%);
}

.skills-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 2rem;
}

.btn-primary {
    background: var(--accent-green);
    color: var(--bg-dark);
    border: none;
    padding: 1rem 3rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 255, 136, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--text-primary);
    padding: 1rem 3rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin: 3rem auto 0;
}

.btn-secondary:hover {
    background: var(--text-primary);
    color: var(--bg-dark);
    transform: translateY(-3px);
}

.image-placeholder {
    background: var(--bg-card);
    border: 2px dashed var(--border-color);
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-secondary);
}

/* Insights Section */
.insights-section {
    padding: 6rem 0;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.insight-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.insight-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.1), transparent);
    transition: left 0.5s ease;
}

.insight-card:hover::after {
    left: 100%;
}

.insight-card.large {
    grid-column: span 2;
}

.insight-card:hover {
    border-color: var(--accent-green);
    transform: translateY(-5px);
}

.insight-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.insight-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.trending-list,
.roles-list {
    list-style: none;
    display: flex;
    gap: 2rem;
    font-size: 2rem;
    color: var(--accent-green);
}

.highlight {
    color: var(--accent-green);
    font-weight: 700;
}

/* Testimonials Section */
.testimonials-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, rgba(0, 212, 255, 0.03) 0%, transparent 100%);
    overflow: hidden; /* IMPORTANT */
}

.testimonials-intro {
    text-align: center;
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: var(--text-secondary);
}

/* Horizontal Scroll Wrapper */
.testimonials-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Endless Scroll Track */
.testimonials-scroll {
    display: flex;
    gap: 2rem;
    animation: testimonialsSlide 45s linear infinite; /* Adjust speed here */
    width: max-content;
}

/* Card Styling (same theme as before) */
.testimonial-card {
    min-width: 350px;
    max-width: 350px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.testimonial-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.1);
}

.testimonial-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--accent-blue);
}

.testimonial-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: .95rem;
}

/* Small note styling */
.testimonials-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-style: italic;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    background: rgba(26, 26, 26, 0.5);
}

/* Infinite scrolling animation */
@keyframes testimonialsSlide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* 🖱️ Pause scroll when hovered */
.testimonials-scroll:hover {
    animation-play-state: paused;
}

/* Feedback Section */
.feedback-section {
    padding: 6rem 0;
}

.feedback-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feedback-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
    margin-top: 6rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--accent-green);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-green);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-section .container,
    .feedback-section .container {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        gap: 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .insights-grid {
        grid-template-columns: 1fr;
    }
    
    .insight-card.large {
        grid-column: span 1;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}
