/* ========================================
   HERO SECTION - PREMIUM STYLING
   ======================================== */

/* Animation Keyframes */
@keyframes blob {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* Hero Section Base */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 5rem 1rem;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #0f172a 100%);
    z-index: 0;
}

/* Animated Background Blobs */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.2;
    z-index: 1;
}

.hero-blob-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #06b6d4 0%, #0ea5e9 100%);
    top: 20%;
    right: -100px;
    animation: blob 7s infinite;
}

.hero-blob-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    top: 40%;
    left: -150px;
    animation: blob 7s infinite 2s;
}

.hero-blob-3 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #0ea5e9 0%, #1e40af 100%);
    bottom: 0;
    right: 10%;
    animation: blob 7s infinite 4s;
    opacity: 0.1;
}

/* Grid Pattern */
.hero-grid {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.03;
    background-image:
        linear-gradient(0deg, transparent 24%, rgba(255, 255, 255, 0.1) 25%, rgba(255, 255, 255, 0.1) 26%, transparent 27%, transparent 74%, rgba(255, 255, 255, 0.1) 75%, rgba(255, 255, 255, 0.1) 76%, transparent 77%, transparent),
        linear-gradient(90deg, transparent 24%, rgba(255, 255, 255, 0.1) 25%, rgba(255, 255, 255, 0.1) 26%, transparent 27%, transparent 74%, rgba(255, 255, 255, 0.1) 75%, rgba(255, 255, 255, 0.1) 76%, transparent 77%, transparent);
    background-size: 50px 50px;
}

/* Content Container */
.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }
}

/* Left Content Section */
.hero-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    animation: slideInLeft 0.8s ease-out;
}

@media (min-width: 768px) {
    .hero-text {
        gap: 2rem;
    }
}

/* Status Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #06b6d4;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #06b6d4;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

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

/* Main Heading */
.hero-heading {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hero-name {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.hero-title {
    font-size: clamp(2rem, 7vw, 3rem);
    font-weight: 900;
    line-height: 1.1;
    background: linear-gradient(90deg, #06b6d4 0%, #0ea5e9 50%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

/* Subtitle */
.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #d1d5db;
    font-weight: 300;
    line-height: 1.6;
    max-width: 600px;
}

/* Features Grid */
.hero-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 0.5rem;
}

@media (min-width: 640px) {
    .hero-features {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
}

.feature-card {
    display: flex;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 0.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(6, 182, 212, 0.5);
    transform: translateY(-2px);
}

.feature-icon {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    margin-top: 0.25rem;
    color: #06b6d4;
}

.feature-content h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 0.25rem 0;
}

.feature-content p {
    font-size: 0.75rem;
    color: #9ca3af;
    margin: 0;
}

/* Tech Stack */
.hero-tech-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9ca3af;
    margin-bottom: 0.75rem;
}

.hero-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-badge {
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(59, 130, 246, 0.1));
    border: 1px solid rgba(6, 182, 212, 0.3);
    color: #06b6d4;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: default;
}

.tech-badge:hover {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(59, 130, 246, 0.2));
    border-color: rgba(6, 182, 212, 0.6);
    transform: translateY(-2px);
}

/* CTA Buttons */
.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #06b6d4 0%, #0ea5e9 100%);
    color: #ffffff;
    font-weight: 600;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 20px 25px -5px rgba(6, 182, 212, 0.3);
    text-decoration: none;
    font-size: 1rem;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0891b2 0%, #0284c7 100%);
    box-shadow: 0 25px 40px -5px rgba(6, 182, 212, 0.4);
    transform: translateY(-2px);
}

.btn-primary svg {
    transition: transform 0.3s ease;
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background-color: transparent;
    color: #06b6d4;
    font-weight: 600;
    border: 2px solid rgba(6, 182, 212, 0.5);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1rem;
}

.btn-secondary:hover {
    background-color: rgba(6, 182, 212, 0.1);
    border-color: #06b6d4;
    color: #ffffff;
}

/* Social Links */
.hero-socials {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.social-link {
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #9ca3af;
    transition: all 0.3s ease;
    cursor: pointer;
}

.social-link:hover {
    background-color: rgba(6, 182, 212, 0.1);
    border-color: rgba(6, 182, 212, 0.5);
    color: #06b6d4;
    transform: translateY(-3px);
}

.social-link svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* Right Side - Card */
.hero-card {
    display: none;
    animation: slideInRight 0.8s ease-out;
}

@media (min-width: 1024px) {
    .hero-card {
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

.card-container {
    position: relative;
    width: 100%;
    max-width: 320px;
}

.card-glow-1 {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
    border-radius: 1rem;
    opacity: 0.2;
    filter: blur(50px);
}

.card-glow-2 {
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, #06b6d4 0%, #0ea5e9 50%, #06b6d4 100%);
    border-radius: 1rem;
    opacity: 0.3;
    filter: blur(30px);
    animation: pulse 3s ease-in-out infinite;
}

.card-main {
    position: relative;
    z-index: 10;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.95));
    backdrop-filter: blur(10px);
    padding: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.card-icon-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card-icon {
    width: 100px;
    height: 100px;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(59, 130, 246, 0.2));
    border: 1px solid rgba(6, 182, 212, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.card-icon:hover {
    transform: scale(1.1);
}

.card-icon svg {
    width: 3rem;
    height: 3rem;
    color: #06b6d4;
}

.card-text {
    text-align: center;
    margin-bottom: 1.5rem;
}

.card-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.5rem 0;
}

.card-text p {
    font-size: 0.875rem;
    color: #06b6d4;
    font-weight: 500;
    margin: 0.25rem 0;
}

.card-text p:last-child {
    color: #9ca3af;
    margin-top: 0.5rem;
}

.card-stats {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.75rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-divider {
    height: 4px;
    width: 48px;
    margin: 1.5rem auto;
    background: linear-gradient(90deg, #06b6d4 0%, #0ea5e9 100%);
    border-radius: 9999px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    animation: bounce 2s infinite;
    color: #06b6d4;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

.scroll-indicator svg {
    width: 1.5rem;
    height: 1.5rem;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

@media (max-width: 1023px) {
    .scroll-indicator {
        display: none;
    }
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .hero-section {
        padding: 3rem 1rem;
    }

    .hero-name {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
}
