.page-hero {
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--dark-bg);
    padding: 120px 20px 60px;
    text-align: center;
}

.page-hero > div:first-child {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero p {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
}

.content-section {
    padding: 80px 0;
    background: var(--darker-bg);
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.content-section h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.content-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.industry-scroll-container {
    margin-top: 3rem;
    overflow: hidden;
    padding: 2rem 0;
    position: relative;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(0, 255, 204, 0.05) 100%);
    border-radius: 0;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.industry-scroll-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(0, 255, 204, 0.1) 0%, transparent 50%);
    animation: pulse 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

.industry-scroll-wrapper {
    display: flex;
    gap: 2rem;
    padding: 1rem 2rem;
    animation: scroll 40s linear infinite;
    width: max-content;
    position: relative;
}

.industry-scroll-container:hover .industry-scroll-wrapper {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 1rem));
    }
}

.industry-card {
    background: linear-gradient(135deg, rgba(26, 31, 58, 0.9) 0%, rgba(10, 14, 39, 0.9) 100%);
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid rgba(0, 212, 255, 0.2);
    min-width: 320px;
    max-width: 320px;
    flex-shrink: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.1);
    overflow: hidden;
}

.industry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.industry-card:hover::before {
    left: 100%;
}

.industry-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.industry-card:hover::after {
    opacity: 1;
}

.industry-scroll-container:hover .industry-card:hover {
    transform: scale(1.2) translateY(-15px) rotateY(5deg);
    border-color: var(--primary-color);
    box-shadow: 0 30px 60px rgba(0, 212, 255, 0.5),
                0 0 40px rgba(0, 212, 255, 0.3),
                inset 0 0 30px rgba(0, 212, 255, 0.1);
    z-index: 10;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15) 0%, rgba(0, 255, 204, 0.15) 100%);
}

.industry-card:not(:hover) {
    transform: scale(1);
}

.industry-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    transition: all 0.5s ease;
}

.industry-card:hover h3 {
    color: var(--accent-color);
    text-shadow: 0 0 30px rgba(0, 255, 204, 0.5);
    transform: translateX(5px);
}

.industry-card h3 i {
    font-size: 2rem;
    color: var(--primary-color);
    transition: all 0.5s ease;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
    animation: float 3s ease-in-out infinite;
}

.industry-card:nth-child(1) h3 i,
.industry-card:nth-child(7) h3 i {
    animation-delay: 0s;
}

.industry-card:nth-child(2) h3 i,
.industry-card:nth-child(8) h3 i {
    animation-delay: 0.5s;
}

.industry-card:nth-child(3) h3 i,
.industry-card:nth-child(9) h3 i {
    animation-delay: 1s;
}

.industry-card:nth-child(4) h3 i,
.industry-card:nth-child(10) h3 i {
    animation-delay: 1.5s;
}

.industry-card:nth-child(5) h3 i,
.industry-card:nth-child(11) h3 i {
    animation-delay: 2s;
}

.industry-card:nth-child(6) h3 i,
.industry-card:nth-child(12) h3 i {
    animation-delay: 2.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

.industry-card:hover h3 i {
    color: var(--accent-color);
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 0 20px rgba(0, 255, 204, 0.8));
    animation: none;
}

.industry-card p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.8;
    position: relative;
    z-index: 2;
    transition: all 0.5s ease;
    font-size: 1rem;
}

.industry-card:hover p {
    color: var(--text-primary);
    transform: translateX(5px);
}

.dev-services-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 50%, var(--darker-bg) 100%);
    position: relative;
    overflow: hidden;
}

.dev-services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(0, 255, 204, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.dev-services-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.dev-services-header {
    text-align: center;
    margin-bottom: 4rem;
}

.dev-services-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dev-services-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.dev-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.dev-service-card {
    background: var(--light-bg);
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dev-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.dev-service-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 12px 32px rgba(0, 212, 255, 0.3);
}

.dev-service-card:hover::before {
    opacity: 0.05;
}

.device-mockup {
    width: 100%;
    height: 300px;
    background: var(--darker-bg);
    border-radius: 12px;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    border: 3px solid rgba(0, 212, 255, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.device-mockup.desktop {
    border-radius: 8px;
}

.device-mockup.mobile {
    width: 200px;
    height: 400px;
    margin: 0 auto 2rem;
    border-radius: 25px;
    padding: 10px;
    background: #1a1a1a;
}

.device-mockup.mobile::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: #333;
    border-radius: 3px;
}

.device-screen {
    width: 100%;
    height: 100%;
    background: #0d1117;
    position: relative;
    overflow: hidden;
}

.code-window {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.code-header {
    background: #161b22;
    padding: 10px 15px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.code-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.code-dot.red { background: #ff5f56; }
.code-dot.yellow { background: #ffbd2e; }
.code-dot.green { background: #27c93f; }

.code-content {
    flex: 1;
    padding: 20px;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: #c9d1d9;
    overflow-y: auto;
    line-height: 1.6;
}

.code-line {
    margin-bottom: 8px;
}

.code-keyword { color: #ff7b72; }
.code-string { color: #a5d6ff; }
.code-function { color: #d2a8ff; }
.code-comment { color: #8b949e; }
.code-number { color: #79c0ff; }

.dev-service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.dev-service-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.dev-features {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 1;
}

.dev-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dev-features li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

.dev-services-cta {
    text-align: center;
    margin-top: 4rem;
}

.dev-services-cta .btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--gradient-1);
    color: var(--dark-bg);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.3);
}

.dev-services-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 212, 255, 0.5);
}

@media (max-width: 1024px) {
    .dev-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .dev-services-container {
        padding: 0 20px;
    }
    
    .dev-services-grid {
        grid-template-columns: 1fr;
    }
    
    .device-mockup.mobile {
        width: 180px;
        height: 360px;
    }
}
    </style>
