/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Light Mode Colors */
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #00d4ff;
    --text-primary: #2d3748;
    --text-secondary: #4a5568;
    --bg-primary: #ffffff;
    --bg-secondary: #f7fafc;
    --bg-tertiary: #edf2f7;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-lg: rgba(0, 0, 0, 0.15);
    --border-color: #e2e8f0;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-accent: linear-gradient(135deg, #00d4ff 0%, #667eea 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 100px 20px;

    /* Transitions */
    --transition-base: all 0.3s ease;
    --transition-slow: all 0.5s ease;
}

body.dark-mode {
    --text-primary: #f7fafc;
    --text-secondary: #e2e8f0;
    --bg-primary: #1a202c;
    --bg-secondary: #2d3748;
    --bg-tertiary: #4a5568;
    --shadow: rgba(0, 0, 0, 0.3);
    --shadow-lg: rgba(0, 0, 0, 0.5);
    --border-color: #4a5568;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: var(--transition-base);
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== THEME TOGGLE ===== */
.theme-toggle {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 1000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 20px var(--shadow-lg);
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 6px 30px var(--shadow-lg);
}

/* ===== LANGUAGE TOGGLE ===== */
.language-toggle {
    position: fixed;
    top: 100px;
    right: 30px;
    z-index: 1000;
    display: flex;
    gap: 5px;
    background: var(--bg-primary);
    padding: 5px;
    border-radius: 25px;
    box-shadow: 0 4px 20px var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.lang-btn {
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition-base);
    cursor: pointer;
}

.lang-btn:hover {
    background: var(--bg-secondary);
}

.lang-btn.active {
    background: var(--gradient-primary);
    color: white;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 100px 20px 50px;
    background: var(--gradient-primary);
    overflow: hidden;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    width: 350px;
    height: 350px;
    margin: 0 auto;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: morph 8s ease-in-out infinite;
    border: 5px solid rgba(255, 255, 255, 0.3);
}

@keyframes morph {
    0%, 100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    }
    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    }
    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    }
}

.image-border {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph 8s ease-in-out infinite reverse;
}

.hero-text {
    color: white;
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.1;
}

.glitch {
    position: relative;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin: 30px 0;
    align-items: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.stat-number::after {
    content: '+';
}

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

.stat-divider {
    width: 2px;
    height: 60px;
    background: rgba(255, 255, 255, 0.3);
}

.hero-tagline {
    font-size: 1.2rem;
    font-style: italic;
    margin: 20px 0;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin: 30px 0;
}

.btn {
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-base);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    transition: var(--transition-base);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.social-links a:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 10px;
    background: white;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { top: 8px; opacity: 1; }
    100% { top: 28px; opacity: 0; }
}

/* ===== SECTION STYLES ===== */
section {
    padding: var(--section-padding);
    position: relative;
}

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

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

/* ===== ABOUT SECTION ===== */
.about {
    background: var(--bg-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text {
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-text .lead {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--bg-primary);
    border-radius: 10px;
    box-shadow: 0 2px 10px var(--shadow);
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-card {
    background: var(--bg-primary);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow);
    transition: var(--transition-base);
    border: 1px solid var(--border-color);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-lg);
}

.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.stat-card h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===== SKILLS SECTION ===== */
.skills {
    background: var(--bg-primary);
}

.skills-content {
    display: grid;
    gap: 40px;
}

.skills-category h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 15px;
}

.skills-category h3 i {
    color: var(--primary-color);
}

.skills-grid {
    display: grid;
    gap: 20px;
}

.skill-item {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: 15px;
    transition: var(--transition-base);
    border: 1px solid var(--border-color);
}

.skill-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px var(--shadow);
}

.skill-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-weight: 600;
}

.skill-percent {
    color: var(--primary-color);
}

.skill-bar {
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 10px;
    width: 0;
    transition: width 1.5s ease-in-out;
    position: relative;
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ===== EXPERIENCE SECTION ===== */
.experience {
    background: var(--bg-secondary);
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 50px;
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 0 5px var(--bg-secondary), 0 0 0 10px var(--primary-color);
    z-index: 2;
}

.timeline-date {
    position: absolute;
    left: 50%;
    top: -5px;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    z-index: 3;
}

.timeline-content {
    width: calc(50% - 40px);
    background: var(--bg-primary);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow);
    border: 1px solid var(--border-color);
    margin-top: 30px;
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.timeline-content h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.timeline-content .location {
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.timeline-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

.timeline-content li {
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.tech-tags span {
    padding: 5px 12px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ===== EDUCATION SECTION ===== */
.education {
    background: var(--bg-primary);
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.education-card {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition-base);
    border: 1px solid var(--border-color);
}

.education-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow-lg);
}

.education-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.education-year {
    display: inline-block;
    padding: 5px 15px;
    background: var(--primary-color);
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.education-card h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.education-card h4 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.education-card .location {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===== SERVICES SECTION ===== */
.services {
    background: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-primary);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition-base);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.service-card.featured {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border: 2px solid var(--primary-color);
    text-align: left;
}

.service-card.featured p {
    line-height: 1.8;
    font-size: 0.95rem;
}

.service-card.featured p br {
    display: block;
    margin: 5px 0;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition-base);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-lg);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--gradient-accent);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    transition: var(--transition-base);
}

.service-card:hover .service-icon {
    transform: rotateY(360deg);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== MARKETPLACE SECTION ===== */
.marketplace {
    background: var(--bg-primary);
}

.marketplace-intro {
    max-width: 900px;
    margin: 0 auto 50px;
    text-align: center;
}

.marketplace-intro .lead {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.marketplace-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.marketplace-card {
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: var(--transition-base);
}

.marketplace-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-lg);
}

.marketplace-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.platform-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.platform-tag {
    padding: 8px 16px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.marketplace-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.integration-features {
    background: var(--bg-secondary);
    padding: 50px;
    border-radius: 20px;
    border: 2px solid var(--primary-color);
}

.integration-features h3 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--bg-primary);
    border-radius: 15px;
    transition: var(--transition-base);
    border: 1px solid var(--border-color);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow);
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-item h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== VISION SECTION ===== */
.vision {
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.vision-content {
    max-width: 800px;
    margin: 0 auto;
}

.vision-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.vision h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.vision p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    opacity: 0.95;
}

/* ===== CONTACT SECTION ===== */
.contact {
    background: var(--bg-secondary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-base);
}

.contact-details a:hover {
    color: var(--secondary-color);
}

.contact-details p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-form-wrapper {
    background: var(--bg-primary);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow);
    border: 1px solid var(--border-color);
}

.contact-form {
    display: grid;
    gap: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    justify-self: start;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-tertiary);
    padding: 40px 20px;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
}

.footer p {
    color: var(--text-secondary);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: var(--transition-base);
    border: 1px solid var(--border-color);
}

.footer-social a:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-3px);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .image-wrapper {
        width: 280px;
        height: 280px;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

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

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

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

    .timeline-dot {
        left: 20px;
    }

    .timeline-date {
        left: 60px;
        transform: translateX(0);
    }

    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px;
    }

    .timeline-item:nth-child(odd) .timeline-content {
        margin-left: 80px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 20px;
    }

    .hero {
        padding: 80px 20px 40px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .stat-item {
        align-items: center;
        text-align: center;
    }

    .stat-divider {
        display: none;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .about-stats {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
    }

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

    .integration-features {
        padding: 30px 20px;
    }

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

@media (max-width: 480px) {
    .theme-toggle {
        top: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .language-toggle {
        top: 80px;
        right: 20px;
    }

    .image-wrapper {
        width: 220px;
        height: 220px;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 1.75rem;
    }
}

/* ===== ANIMATIONS (AOS Integration) ===== */
[data-aos] {
    pointer-events: auto;
}

.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

@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);
    }
}