/* DYSTNT - Tech Section Styles */
@import url('../store/store.css');

/* Hero adjustments */
.hero {
    height: 50vh;
}

/* Tech Overview */
.tech-overview {
    padding: 4rem 2rem;
    background: rgba(21, 21, 21, 0.5);
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.overview-card {
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid var(--border-color);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.overview-card:hover {
    border-color: var(--accent-red);
    transform: translateY(-5px);
}

.overview-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.overview-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.3rem;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.overview-stat {
    font-family: 'Bebas Neue', cursive;
    font-size: 3rem;
    color: var(--accent-red);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.overview-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Tools Section */
.tools-section {
    padding: 6rem 2rem;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.tool-card {
    background: rgba(21, 21, 21, 0.8);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.tool-card:hover {
    border-color: var(--accent-red);
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.3);
}

.tool-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.tool-icon {
    font-size: 3rem;
}

.tool-badge {
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 3px;
}

.tool-badge.active {
    background: rgba(0, 255, 136, 0.2);
    color: #00ff88;
    border: 1px solid #00ff88;
}

.tool-badge:not(.active) {
    background: rgba(255, 165, 0, 0.2);
    color: #ffa500;
    border: 1px solid #ffa500;
}

.tool-name {
    font-family: 'Bebas Neue', cursive;
    font-size: 2rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.tool-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.tool-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.feature-tag {
    background: rgba(0, 212, 255, 0.1);
    color: var(--accent-red);
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid var(--accent-red);
}

.tool-btn {
    width: 100%;
    background: var(--accent-red);
    color: var(--text-primary);
    border: none;
    padding: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tool-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(179, 136, 255, 0.5);
}

/* API Section */
.api-section {
    padding: 6rem 2rem;
    background: rgba(21, 21, 21, 0.5);
}

.api-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.api-card {
    background: rgba(10, 10, 10, 0.9);
    border: 1px solid var(--border-color);
    padding: 2rem;
    transition: all 0.3s ease;
}

.api-card:hover {
    border-color: var(--accent-red);
}

.api-method {
    display: inline-block;
    padding: 0.4rem 1rem;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.api-method.get {
    background: rgba(0, 255, 136, 0.2);
    color: #00ff88;
    border: 1px solid #00ff88;
}

.api-method.post {
    background: rgba(255, 165, 0, 0.2);
    color: #ffa500;
    border: 1px solid #ffa500;
}

.api-endpoint {
    font-family: 'Roboto Mono', monospace;
    font-size: 1.3rem;
    color: var(--accent-red);
    margin-bottom: 1rem;
}

.api-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.api-code {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    overflow-x: auto;
}

.api-code code {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.85rem;
    color: #00ff88;
    line-height: 1.8;
}

.api-btn {
    background: transparent;
    border: 2px solid var(--accent-red);
    color: var(--accent-red);
    padding: 0.8rem 2rem;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.api-btn:hover {
    background: var(--accent-red);
    color: var(--text-primary);
}

/* Resources Section */
.resources-section {
    padding: 6rem 2rem;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.resource-card {
    background: rgba(21, 21, 21, 0.8);
    border: 1px solid var(--border-color);
    padding: 2.5rem 2rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    position: relative;
}

.resource-card:hover {
    border-color: var(--accent-red);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(179, 136, 255, 0.3);
}

.resource-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.resource-name {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.8rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.resource-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.resource-arrow {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    font-size: 2rem;
    color: var(--accent-red);
    transition: transform 0.3s ease;
}

.resource-card:hover .resource-arrow {
    transform: translateX(10px);
}

/* Responsive */
@media (max-width: 768px) {
    .overview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tools-grid,
    .api-grid,
    .resources-grid {
        grid-template-columns: 1fr;
    }
}


