/* css/index.css */

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6rem 0;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.text-gradient {
    background: linear-gradient(to right, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.39);
}

.btn-primary:hover {
    background-color: #2563eb;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
    transform: translateY(-2px);
}

.hero-image-placeholder {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Abstract Circuit Graphic */
.circuit-graphic {
    width: 300px;
    height: 300px;
    position: relative;
}

.node {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent);
    position: absolute;
    box-shadow: 0 0 15px var(--accent);
    animation: pulse 2s infinite alternate;
}

.node-1 { top: 20%; left: 20%; }
.node-2 { top: 50%; left: 80%; animation-delay: 0.5s; }
.node-3 { top: 80%; left: 40%; animation-delay: 1s; }

.line {
    position: absolute;
    background: rgba(16, 185, 129, 0.3);
    transform-origin: left center;
}

.line-1 {
    top: 20%; left: 20%;
    width: 60%; height: 2px;
    transform: rotate(26deg);
}

.line-2 {
    top: 80%; left: 40%;
    width: 50%; height: 2px;
    transform: rotate(-36deg);
}

@keyframes pulse {
    0% { box-shadow: 0 0 10px rgba(16, 185, 129, 0.5); }
    100% { box-shadow: 0 0 25px rgba(16, 185, 129, 0.9); }
}

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

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

.tool-card {
    display: block;
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 100%);
    z-index: 1;
    pointer-events: none;
}

.tool-card:hover:not(.coming-soon) {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.tool-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.tool-icon svg {
    width: 28px;
    height: 28px;
}

.tool-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.tool-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.coming-soon {
    opacity: 0.6;
    cursor: default;
}

.coming-soon:hover {
    transform: none;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 4rem 0;
    }
    .hero-title {
        font-size: 2.5rem;
    }
}
