/* ============================================
   WORQ PAGE - Badge/Certificate Theme
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f8fafc;
    color: #1e293b;
    overflow-x: hidden;
}

/* Hero Section - Badge Centered Layout */
.worq-hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #0c4a6e 0%, #0369a1 25%, #0891b2 50%, #06b6d4 75%, #22d3ee 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 80px;
    overflow: hidden;
}

/* Animated grid background */
.worq-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    z-index: 0;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Glowing orbs */
.worq-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(34, 211, 238, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 40% 70%, rgba(8, 145, 178, 0.2) 0%, transparent 50%);
    animation: orbPulse 15s ease-in-out infinite;
    z-index: 0;
}

@keyframes orbPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.hero-container {
    max-width: 1400px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    color: white;
}

.badge-stack {
    margin-bottom: 24px;
}

.hero-badge {
    display: inline-block;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: white;
}

.hero-title {
    font-size: 72px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 16px;
}

.highlight {
    background: linear-gradient(135deg, #22d3ee 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 600;
    color: #a5f3fc;
    margin-bottom: 24px;
}

.hero-description {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
}

/* Central Verification Badge */
.verification-center {
    position: relative;
    width: 500px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: visible;
    background: transparent;
}

.badge-ring {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: ringPulse 3s ease-in-out infinite;
    box-shadow: none;
}

@keyframes ringPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.badge-inner {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* WORQ Coin 3D Flip Animation - Matches WAZA Style */
.coin-3d-container-worq {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
    animation: floatCoinWorq 3s ease-in-out infinite;
}

.coin-3d-worq {
    width: 280px;
    height: 280px;
    position: relative;
    transform-style: preserve-3d;
    animation: flipCoinWorq 6s ease-in-out infinite;
}

.coin-face-worq {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    backface-visibility: hidden;
    border-radius: 50%;
}

.coin-face-worq img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: transparent;
    filter: none;
    border-radius: 50%;
}

.coin-front-worq {
    transform: rotateY(0deg) translateZ(0.1px);
}

.coin-back-worq {
    transform: rotateY(180deg) translateZ(0.1px);
}

/* Hide edge */
.coin-edge-worq {
    display: none;
}

/* Floating Animation */
@keyframes floatCoinWorq {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Flip Animation - Shows Both Sides with pause */
@keyframes flipCoinWorq {
    0% {
        transform: rotateY(0deg) rotateX(5deg);
    }
    50% {
        transform: rotateY(180deg) rotateX(-5deg);
    }
    100% {
        transform: rotateY(360deg) rotateX(5deg);
    }
}

/* Floating Achievement Badges */
.floating-badge {
    position: absolute;
    background: white;
    padding: 16px 24px;
    border-radius: 50px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: floatBadge 4s ease-in-out infinite;
}

.badge-emoji {
    font-size: 28px;
}

.badge-label {
    font-size: 14px;
    font-weight: 700;
    color: #0c4a6e;
}

.badge-1 {
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.badge-2 {
    top: 30%;
    right: -15%;
    animation-delay: 1s;
}

.badge-3 {
    bottom: 30%;
    left: -15%;
    animation-delay: 2s;
}

.badge-4 {
    bottom: 10%;
    right: -10%;
    animation-delay: 3s;
}

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

/* Verification Flow Section */
.verification-flow {
    padding: 120px 0;
    background: white;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    color: #0c4a6e;
    text-align: center;
    margin-bottom: 16px;
}

.section-intro {
    font-size: 20px;
    color: #64748b;
    text-align: center;
    margin-bottom: 80px;
}

.flow-diagram {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    max-width: 1400px;
    margin: 0 auto;
}

.flow-step {
    flex: 1;
    text-align: center;
    padding: 60px 24px 40px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 24px;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.flow-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(8, 145, 178, 0.2);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 900;
    color: white;
    box-shadow: 0 4px 12px rgba(8, 145, 178, 0.3);
}

.step-icon {
    font-size: 48px;
    margin-bottom: 16px;
    line-height: 1;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flow-step h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0c4a6e;
    margin-bottom: 12px;
    line-height: 1.3;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flow-step p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
    padding: 0 8px;
}

.flow-connector {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.connector-svg {
    width: 100%;
    height: 100%;
}

/* Earn WORQ Section */
.earn-worq-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
}

.earn-grid-worq {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    grid-auto-rows: 1fr;
}

.earn-card-worq {
    background: white;
    padding: 40px 32px;
    border-radius: 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #e2e8f0;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.earn-card-worq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0891b2 0%, #06b6d4 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.earn-card-worq:hover::before {
    transform: scaleX(1);
}

.earn-card-worq:hover {
    transform: translateY(-12px);
    border-color: #0891b2;
    box-shadow: 0 20px 60px rgba(8, 145, 178, 0.2);
}

.earn-card-worq.primary {
    background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
    color: white;
}

.earn-card-worq.primary h3,
.earn-card-worq.primary p {
    color: white;
}

.card-icon {
    font-size: 56px;
    margin-bottom: 20px;
    line-height: 1;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.earn-card-worq h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0c4a6e;
    margin-bottom: 12px;
    line-height: 1.3;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.earn-card-worq p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
    padding: 0 8px;
}

/* P2P Network Section */
.p2p-network-section {
    padding: 120px 0;
    background: white;
}

.network-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.network-text h2 {
    font-size: 44px;
    font-weight: 800;
    color: #0c4a6e;
    margin-bottom: 24px;
    line-height: 1.2;
}

.lead-text {
    font-size: 20px;
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 40px;
}

.network-benefits {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.benefit-point {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.point-icon {
    font-size: 48px;
    flex-shrink: 0;
}

.point-content h4 {
    font-size: 20px;
    font-weight: 700;
    color: #0c4a6e;
    margin-bottom: 8px;
}

.point-content p {
    font-size: 16px;
    color: #64748b;
    line-height: 1.6;
}

.network-visual {
    position: relative;
    height: 500px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 24px;
    overflow: hidden;
}

#network-canvas {
    width: 100%;
    height: 100%;
}

/* Recruiter Section */
.recruiter-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #0c4a6e 0%, #0891b2 100%);
    color: white;
}

.recruiter-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.recruiter-badge {
    display: inline-block;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.recruiter-content h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 24px;
}

.recruiter-intro {
    font-size: 20px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 60px;
}

.recruiter-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
    grid-auto-rows: 1fr;
}

.feature-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-box:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
}

.feature-number {
    font-size: 48px;
    font-weight: 900;
    color: #22d3ee;
    margin-bottom: 20px;
    opacity: 0.7;
}

.feature-box h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.feature-box p {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    padding: 0 8px;
}

/* Future Vision Section */
.future-vision-section {
    padding: 120px 0;
    background: white;
}

.vision-header {
    text-align: center;
    margin-bottom: 80px;
}

.vision-badge {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
    color: white;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.vision-header h2 {
    font-size: 48px;
    font-weight: 800;
    color: #0c4a6e;
}

.vision-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    grid-auto-rows: 1fr;
}

.vision-card {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 48px 40px;
    border-radius: 24px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.vision-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(8, 145, 178, 0.2);
}

.vision-card.featured {
    background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
    color: white;
    transform: scale(1.05);
}

.vision-card.featured:hover {
    transform: scale(1.08) translateY(-12px);
}

.vision-card.featured h3,
.vision-card.featured p {
    color: white;
}

.vision-icon {
    font-size: 64px;
    margin-bottom: 20px;
    line-height: 1;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vision-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #0c4a6e;
    margin-bottom: 16px;
    line-height: 1.3;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vision-card p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
    padding: 0 8px;
}

.featured-label {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

/* CTA Section */
.worq-cta-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
}

.cta-box {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 80px 60px;
    border-radius: 32px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(8, 145, 178, 0.15);
}

.cta-box h2 {
    font-size: 48px;
    font-weight: 800;
    color: #0c4a6e;
    margin-bottom: 24px;
}

.cta-box p {
    font-size: 20px;
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 40px;
}

.btn-worq-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 56px;
    background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
    color: white;
    font-size: 20px;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(8, 145, 178, 0.3);
}

.btn-worq-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(8, 145, 178, 0.4);
}

.cta-stats {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 60px;
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid #e2e8f0;
}

.stat-item {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    font-size: 48px;
    font-weight: 900;
    color: #0891b2;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    max-width: 150px;
}

/* Responsive */
@media (max-width: 1200px) {
    .hero-container {
        gap: 60px;
    }
    
    .verification-center {
        width: 400px;
        height: 400px;
    }
    
    .badge-ring {
        width: 320px;
        height: 320px;
    }
    
    .badge-inner {
        width: 260px;
        height: 260px;
    }
}

@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-description {
        margin: 0 auto;
    }
    
    .verification-center {
        margin: 0 auto;
    }
    
    .coin-3d-worq {
        width: 240px;
        height: 240px;
    }
    
    .floating-badge {
        display: none;
    }
    
    .flow-diagram {
        flex-direction: column;
        gap: 40px;
    }
    
    .flow-connector {
        display: none;
    }
    
    .earn-grid-worq {
        grid-template-columns: 1fr;
    }
    
    .network-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .recruiter-features {
        grid-template-columns: 1fr;
    }
    
    .vision-cards {
        grid-template-columns: 1fr;
    }
    
    .vision-card.featured {
        transform: scale(1);
    }
    
    .cta-stats {
        flex-direction: column;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 48px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .section-intro {
        font-size: 16px;
    }
    
    .verification-center {
        width: 300px;
        height: 300px;
    }
    
    .badge-ring {
        width: 260px;
        height: 260px;
    }
    
    .badge-inner {
        width: 200px;
        height: 200px;
    }
    
    .coin-3d-worq {
        width: 200px;
        height: 200px;
    }
    
    .btn-worq-primary {
        padding: 16px 32px;
        font-size: 16px;
        min-height: 48px;
    }
    
    .cta-box {
        padding: 60px 24px;
    }
    
    .cta-box h2 {
        font-size: 32px;
    }
    
    .cta-box p {
        font-size: 16px;
    }
    
    .stat-value {
        font-size: 36px;
    }
    
    .stat-label {
        font-size: 12px;
    }
}
