* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    margin: 0;
    background: #0f172a;
    color: #e2e8f0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

header {
    background: #1e293b;
    padding: 4rem 2rem 5rem 2rem;
    color: white;
    text-align: center;
    border-bottom: 4px solid #f59e0b;
    position: relative;
}

header h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    margin: 0 0 1rem 0;
    letter-spacing: -0.03em;
    color: #fbbf24;
}

header p {
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
    font-size: clamp(1rem, 3vw, 1.25rem);
    line-height: 1.5;
    color: #cbd5e1;
}

main {
    max-width: 1400px;
    margin: 3rem auto 4rem auto;
    padding: 0 1rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 600;
    color: #fbbf24;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    margin: 0.8rem auto 0 auto;
    width: 80px;
    height: 4px;
    border-radius: 2px;
    background: #f59e0b;
}

.tech-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .tech-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1200px) {
    .tech-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.tech-card {
    background: #1e293b;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 2px solid #334155;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.tech-card:hover {
    transform: translateY(-4px);
    border-color: #f59e0b;
    box-shadow: 0 12px 30px rgba(245, 158, 11, 0.2);
}

.tech-header {
    background: #334155;
    padding: 1.5rem 1.8rem;
    border-bottom: 2px solid #475569;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.tech-header .icon {
    width: 24px;
    height: 24px;
    fill: #fbbf24;
    flex-shrink: 0;
}

.tech-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #f1f5f9;
}

.tech-content {
    padding: 1.8rem;
}

.tech-section {
    margin-bottom: 1.5rem;
}

.tech-section:last-child {
    margin-bottom: 0;
}

.tech-section h4 {
    color: #f59e0b;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 0.5rem 0;
}

.tech-section p {
    margin: 0;
    font-size: 0.9rem;
    color: #cbd5e1;
    line-height: 1.5;
}

.sources {
    background: #1e293b;
    padding: 2.5rem;
    border-radius: 16px;
    margin-top: 4rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    color: #cbd5e1;
    border: 2px solid #334155;
    position: relative;
}

.sources::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    border-radius: 16px 16px 0 0;
}

.sources h3 {
    text-align: center;
    color: #fbbf24;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.source-item {
    border-left: 4px solid #f59e0b;
    background: #334155;
    margin: 0.8rem 0;
    padding: 1rem 1.2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    color: #e2e8f0;
}

.source-item:hover {
    transform: translateX(4px);
    background: #475569;
    border-left-color: #fbbf24;
}

footer {
    text-align: center;
    color: #64748b;
    padding: 2rem 1rem;
    font-weight: 500;
    border-top: 1px solid #334155;
    background: #1e293b;
    margin-top: 4rem;
}

.tech-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

.tech-card:nth-child(1) { animation-delay: 0.1s; }
.tech-card:nth-child(2) { animation-delay: 0.2s; }
.tech-card:nth-child(3) { animation-delay: 0.3s; }
.tech-card:nth-child(4) { animation-delay: 0.4s; }
.tech-card:nth-child(5) { animation-delay: 0.5s; }
.tech-card:nth-child(6) { animation-delay: 0.6s; }
.tech-card:nth-child(7) { animation-delay: 0.7s; }
.tech-card:nth-child(8) { animation-delay: 0.8s; }
.tech-card:nth-child(9) { animation-delay: 0.9s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 767px) {
    header {
        padding: 3rem 1rem 4rem 1rem;
    }

    main {
        margin: 2rem auto 3rem auto;
        padding: 0 0.5rem;
    }

    .tech-header {
        padding: 1.2rem 1.5rem;
    }

    .tech-content {
        padding: 1.5rem;
    }

    .tech-header h3 {
        font-size: 1.1rem;
    }
}
