/**
 * wasn.net - Premium Homepage Styles
 * Advanced animations and premium effects
 */

/* ================================
   Premium Hero Section
   ================================ */
.hero-premium {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: radial-gradient(circle at top right, var(--gray-800), var(--gray-900));
}

.hero-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(79, 70, 229, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

@keyframes gradientShift {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

/* Floating elements */
.hero-premium .floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.floating-shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

.floating-shape:nth-child(1) {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-shape:nth-child(2) {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    animation-delay: -5s;
}

.floating-shape:nth-child(3) {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 20%;
    animation-delay: -10s;
}

.floating-shape:nth-child(4) {
    width: 120px;
    height: 120px;
    top: 30%;
    right: 25%;
    animation-delay: -15s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-20px) rotate(5deg);
    }

    50% {
        transform: translateY(0) rotate(0deg);
    }

    75% {
        transform: translateY(20px) rotate(-5deg);
    }
}

.hero-premium .hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-premium .hero-content {
    text-align: left;
    padding: 2rem 0;
}

/* Tool Preview Mockup */
.hero-premium .hero-visual {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.tool-preview-mockup {
    width: 480px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.8s ease 0.3s both;
}

.mockup-toolbar {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
}

.mockup-dots span:first-child {
    background: #ef4444;
}

.mockup-dots span:nth-child(2) {
    background: #eab308;
}

.mockup-dots span:last-child {
    background: #22c55e;
}

.mockup-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mockup-tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.05);
}

.mockup-tool-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 2rem 1.5rem;
    background: rgba(15, 23, 42, 0.6);
    transition: background 0.2s ease;
}

.mockup-tool-item:hover {
    background: rgba(99, 102, 241, 0.2);
}

.mockup-tool-item i {
    font-size: 2rem;
    color: var(--primary-400);
}

.mockup-tool-item span {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.hero-premium .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 100px;
    color: var(--primary-300);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease;
}

.hero-premium .hero-badge .pulse {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.hero-premium h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: white;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-premium h1 .highlight {
    background: linear-gradient(90deg, var(--primary-400), var(--accent-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes shimmer {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

.hero-premium .hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-premium .hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-premium .btn-hero {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 100px;
    transition: all 0.3s ease;
}

.hero-premium .btn-hero-primary {
    background: var(--primary-600);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(79, 70, 229, 0.39);
}

.hero-premium .btn-hero-primary:hover {
    background: var(--primary-700);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.23);
    color: white;
}

.hero-premium .btn-hero-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-premium .btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Stats */
.hero-stats-premium {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
}

/* Wave separator */
.wave-separator {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    overflow: hidden;
}

.wave-separator svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ================================
   Featured Categories
   ================================ */
.featured-categories {
    padding: 5rem 0;
    background: var(--bg-primary);
}

.featured-categories .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.featured-categories .section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.featured-categories .section-subtitle {
    color: var(--text-secondary);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.category-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.category-card {
    position: relative;
    padding: 1.75rem;
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-200);
}

.category-card:hover .cat-name {
    color: var(--primary-600);
}

.category-card:hover .cat-icon-wrap {
    color: var(--primary-600);
    background: var(--primary-50);
}

.category-card>* {
    position: relative;
    z-index: 1;
}

.cat-icon-wrap {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: var(--bg-secondary);
    border-radius: 1rem;
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
}

.cat-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.cat-count {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.cat-arrow {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--primary-600);
    transition: all 0.3s ease;
}

.cat-arrow i {
    transition: transform 0.3s ease;
}

.category-card:hover .cat-arrow i {
    transform: translateX(5px);
}

/* ================================
   Popular Tools Section
   ================================ */
.popular-tools-section {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.popular-tools-section .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3rem;
}

/* Premium Tool Cards */
.tool-card-premium {
    position: relative;
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.tool-card-premium:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-200);
}

.tool-card-premium .tool-icon-wrap {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    background: linear-gradient(135deg, var(--primary-100), var(--accent-400)/20);
    border-radius: 1rem;
    margin-bottom: 1.25rem;
}

.tool-card-premium h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.tool-card-premium p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.tool-card-premium .tool-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tool-card-premium .tool-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.375rem 0.75rem;
    background: var(--primary-50);
    color: var(--primary-700);
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 100px;
}

.tool-card-premium .tool-arrow-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.tool-card-premium:hover .tool-arrow-btn {
    background: var(--gradient-primary);
    color: white;
    transform: translateX(3px);
}

/* ================================
   Trust Section
   ================================ */
.trust-section {
    padding: 4rem 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.trust-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
}

.trust-item i {
    font-size: 1.5rem;
    color: var(--primary-500);
}

.trust-item span {
    font-weight: 500;
}

/* ================================
   CTA Section
   ================================ */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.125rem;
    max-width: 500px;
    margin: 0 auto 2rem;
}

.cta-section .btn {
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    border-radius: 100px;
}

/* ================================
   Responsive for Premium Homepage
   ================================ */
@media (max-width: 992px) {
    .hero-premium .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-premium .hero-content {
        text-align: center;
    }

    .hero-premium .hero-visual {
        display: none;
    }

    .hero-premium .hero-description {
        margin: 0 auto 2.5rem;
    }

    .hero-premium .hero-cta {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-premium {
        min-height: auto;
        padding: 4rem 1rem;
    }

    .hero-premium h1 {
        font-size: 2.5rem;
    }

    .hero-stats-premium {
        flex-direction: column;
        gap: 2rem;
        margin-top: 3rem;
    }

    .featured-categories {
        padding: 3rem 0;
    }

    .category-cards {
        grid-template-columns: 1fr;
    }

    .popular-tools-section {
        padding: 3rem 0;
    }

    .popular-tools-section .section-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }

    .tools-grid {
        grid-template-columns: 1fr !important;
    }

    .trust-items {
        gap: 2rem;
        flex-direction: column;
    }

    .cta-section h2 {
        font-size: 1.75rem;
    }
}