/* Hero Section CSS */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 24px;
    min-height: 70vh;
    position: relative;
}

.hero-content {
    max-width: 600px;
    z-index: 2;
    padding: 16px;
}
.h1 {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--text), var(--accent));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-visual {
    width: 300px;
    height: 300px;
    background: conic-gradient(
        from 0deg,
        #d9d9d9 0%,
        #c0c0c0 10%,
        #bfbfbf 20%,
        #a9a9a9 30%,
        #e0e0e0 40%,
        #cccccc 50%,
        #bbbbbb 60%,
        #999999 70%,
        #e6e6e6 80%,
        #d3d3d3 90%,
        #d9d9d9 100%
    );
    border-radius: 50%;
    position: relative;
    opacity: 0.1;

    /* Glow Effect - multiple layers for softness */
    box-shadow:
        0 0 20px rgba(255, 255, 255, 0.05),
        0 0 40px rgba(255, 255, 255, 0.08),
        0 0 60px rgba(255, 255, 255, 0.06),
        0 0 100px rgba(255, 255, 255, 0.04);

    /* Animation */
    animation: spin 10s linear infinite, heroColorFlow 12s linear infinite;
}
@keyframes glowPulse {
  0%, 100% {
    box-shadow:
      0 0 20px rgba(255, 255, 255, 0.05),
      0 0 40px rgba(255, 255, 255, 0.08),
      0 0 60px rgba(255, 255, 255, 0.06),
      0 0 100px rgba(255, 255, 255, 0.04);
  }
  50% {
    box-shadow:
      0 0 25px rgba(255, 255, 255, 0.08),
      0 0 60px rgba(255, 255, 255, 0.12),
      0 0 80px rgba(255, 255, 255, 0.1),
      0 0 120px rgba(255, 255, 255, 0.06);
  }
}


.hero-visual::before {
    animation: spin 10s linear infinite, heroColorFlow 12s linear infinite, glowPulse 6s ease-in-out infinite;

    content: '';
    position: absolute;
    inset: 20px;
    background: var(--surface);
    border-radius: 50%;
    border: 1px solid var(--border);
}
.btn {
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    border: 1px solid transparent;
    font-family: inherit;
    font-size: 14px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg);
    border-color: var(--accent);
    box-shadow: var(--glow);
}

.btn-primary:hover {
    background: transparent;
    color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: var(--glow);
}
.hero-visual::after {
    content: '';
    position: absolute;
    inset: 60px;
    background: var(--bg);
    border-radius: 50%;
    border: 1px solid var(--accent);
    box-shadow: inset var(--glow);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes heroColorFlow {
    0% {
        filter: hue-rotate(0deg);
    }
    100% {
        filter: hue-rotate(360deg);
    }
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--accent);
    border-radius: 50%;
    animation: particleFloat 8s infinite linear;
}

@keyframes particleFloat {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
}

#hero.visible, #hero-content.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Responsive Design for Hero Section */
@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 16px;
        min-height: auto;
    }

    .hero-content {
        padding: 12px;
    }

    .hero-visual {
        width: 250px;
        height: 250px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 8px;
    }

    .hero-visual {
        width: 200px;
        height: 200px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 250px;
        gap: 20px;
    }

    .hero-visual {
        width: 250px;
        height: 250px;
    }
}