/* ========================================
   POLUSAI - PAGE SPECIFIC STYLES
   ======================================== */

/* Hero Sections */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f0f9ff 100%);
}

.hero-content {
    z-index: 2;
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
}

.hero-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.hero-text {
    max-width: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    line-height: 1.1;
    color: #1e293b;
}

.hero .highlight {
    background: linear-gradient(45deg, #3b82f6, #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.3s forwards;
    color: #64748b;
    max-width: 600px;
}

.hero-mission {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.6s forwards;
    color: #64748b;
    max-width: 700px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: fadeInUp 1s ease 0.6s forwards;
}

/* Background Animation */
#bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Section Styles */
.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #3b82f6, #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Section */
.features-section {
    padding: 6rem 0;
    background: rgba(59, 130, 246, 0.02);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(59, 130, 246, 0.1);
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

/* Values Section */
.values-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #bae6fd 100%);
    border-top: 1px solid rgba(59, 130, 246, 0.1);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(59, 130, 246, 0.15);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(59, 130, 246, 0.05);
}

.value-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.value-icon img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.value-details {
    text-align: left;
    margin-top: 1rem;
}

.value-details p {
    margin: 0.5rem 0;
    color: #64748b;
}

/* Services Section */
.services-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f0f9ff 50%, #e0f2fe 100%);
    border-top: 1px solid rgba(59, 130, 246, 0.1);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* Two-column services grid */
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    align-items: start;
}

.service-card.highlighted {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.05) 0%, rgba(59, 130, 246, 0.08) 100%);
    border: 2px solid rgba(30, 64, 175, 0.4);
    box-shadow: 0 12px 30px rgba(30, 64, 175, 0.2);
}

.service-card.highlighted:hover {
    transform: translateY(-8px);
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.08) 0%, rgba(59, 130, 246, 0.12) 100%);
    box-shadow: 0 25px 50px rgba(30, 64, 175, 0.25);
    border-color: rgba(30, 64, 175, 0.5);
}

.service-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 3rem;
    padding-bottom: 3.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(59, 130, 246, 0.15);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(59, 130, 246, 0.05);
    cursor: pointer;
    height: 320px;
    display: flex;
    flex-direction: column;
}

.service-card:focus {
    outline: 2px solid rgba(59, 130, 246, 0.5);
    outline-offset: 2px;
}

.service-card:focus:hover {
    outline: 2px solid rgba(59, 130, 246, 0.6);
}

.service-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.2);
}

.service-card h3 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #3b82f6;
}

.service-card h3.highlighted-title {
    color: #1e40af;
    font-weight: 800;
    font-size: 1.7rem;
}

.service-card-main h3 {
    color: #1e40af;
    font-weight: 700;
    font-size: 1.7rem;
}

.service-card p {
    color: #64748b;
    line-height: 1.7;
    font-size: 1.05rem;
    flex-grow: 1;
}

/* Careers Section */
.careers-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #bae6fd 100%);
    border-top: 1px solid rgba(59, 130, 246, 0.1);
}

.careers-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.careers-intro p {
    font-size: 1.2rem;
    color: #64748b;
    line-height: 1.7;
}

.job-listings {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.job-card {
    background: rgba(59, 130, 246, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(59, 130, 246, 0.2);
    backdrop-filter: blur(10px);
}

.job-card:hover {
    transform: translateY(-5px);
    background: rgba(59, 130, 246, 0.15);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.3);
}

.job-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #3b82f6;
}

.job-details {
    margin-bottom: 1.5rem;
}

.job-details p {
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.job-description {
    color: #1e293b;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.apply-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: linear-gradient(45deg, #3b82f6, #1d4ed8);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

.apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
}

/* Team Section */
.team-section {
    padding: 6rem 0;
    background: rgba(59, 130, 246, 0.02);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.team-member {
    text-align: center;
    transition: all 0.3s ease;
}

.member-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #3b82f6;
    transition: transform 0.3s ease;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member:hover .member-image {
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(59, 130, 246, 0.2);
}

.team-member h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.member-role {
    color: #3b82f6;
    font-weight: 500;
    margin-top: 0.5rem;
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background: rgba(255, 255, 255, 0.5);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-form {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(59, 130, 246, 0.1);
    backdrop-filter: blur(10px);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.info-icon {
    font-size: 1.5rem;
    color: #3b82f6;
}

.info-content h4 {
    margin-bottom: 0.5rem;
    color: #1e293b;
    font-weight: 600;
}

.info-content p {
    color: #64748b;
}

.register-interest {
    color: #3b82f6;
    font-weight: 500;
    margin-top: 1rem;
    font-style: italic;
}

.register-interest a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.register-interest a:hover {
    color: #1d4ed8;
    border-bottom-color: #1d4ed8;
}

/* Journey Wheel Section */
.timeline-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #bae6fd 100%);
    border-top: 1px solid rgba(59, 130, 246, 0.1);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.journey-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.journey-wheel {
    position: relative;
    width: 400px;
    height: 400px;
    flex-shrink: 0;
}

/* Outer rotating ring */
.wheel-outer-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: transparent;
    animation: rotateClockwise 20s linear infinite;
    padding: 8px;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
    transition: animation-play-state 0.3s ease;
}

.wheel-outer-ring::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    background: #f8fafc;
    border-radius: 50%;
    z-index: 1;
}

/* Phase segments */
.phase-segment {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    background: transparent;
}

.phase-segment:nth-child(1) {
    background: conic-gradient(from 0deg, #3b82f6 0deg 90deg, transparent 90deg 360deg);
}

.phase-segment:nth-child(2) {
    background: conic-gradient(from 90deg, #1d4ed8 0deg 90deg, transparent 90deg 360deg);
}

.phase-segment:nth-child(3) {
    background: conic-gradient(from 180deg, #3b82f6 0deg 90deg, transparent 90deg 360deg);
}

.phase-segment:nth-child(4) {
    background: conic-gradient(from 270deg, #1d4ed8 0deg 90deg, transparent 90deg 360deg);
}

.phase-segment:focus {
    outline: 3px solid rgba(59, 130, 246, 0.6);
    outline-offset: 2px;
}

.phase-content {
    position: absolute;
    text-align: center;
    color: #1e293b;
    transition: all 0.3s ease;
    pointer-events: none;
    width: 200px;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.phase-segment:nth-child(1) .phase-content {
    transform: translate(50px, -50px);
}

.phase-segment:nth-child(2) .phase-content {
    transform: translate(50px, 50px);
}

.phase-segment:nth-child(3) .phase-content {
    transform: translate(-50px, 50px);
}

.phase-segment:nth-child(4) .phase-content {
    transform: translate(-50px, -50px);
}

.phase-content h3 {
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
    color: #1e40af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.phase-content p {
    font-size: 0.75rem;
    margin: 0;
    color: #64748b;
    font-weight: 500;
}

.phase-segment:hover .phase-content h3 {
    color: #1d4ed8;
    transform: scale(1.05);
}

.phase-segment.active {
    background: rgba(59, 130, 246, 0.1);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
    transform: scale(1.02);
    animation: phasePulse 2s ease-in-out infinite;
}

.phase-segment.active .phase-content h3 {
    color: #1d4ed8;
    font-weight: 800;
    transform: scale(1.1);
}

.phase-segment:hover {
    background: rgba(59, 130, 246, 0.05);
    transform: scale(1.01);
}

.phase-segment:hover .phase-content h3 {
    color: #1d4ed8;
    transform: scale(1.05);
}

/* Inner static ring */
.wheel-inner-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    margin: -100px 0 0 -100px;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 3px solid rgba(255, 255, 255, 0.8);
}

.inner-content {
    text-align: center;
    color: #1e293b;
}

.inner-content h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: #1e40af;
}

.inner-content p {
    font-size: 0.9rem;
    margin: 0;
    color: #64748b;
    font-weight: 500;
}

/* Details panel */
.details-panel {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 400px;
    border: 1px solid rgba(59, 130, 246, 0.15);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: translateX(0) scale(1);
}

.details-content {
    text-align: left;
}

.phase-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #3b82f6, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.phase-icon::before {
    content: '🔍';
    font-size: 1.5rem;
}

.phase-icon.discovery::before { content: '🔍'; }
.phase-icon.build::before { content: '⚙️'; }
.phase-icon.deploy::before { content: '🚀'; }
.phase-icon.refine::before { content: '📈'; }

.details-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    color: #1e40af;
}

.details-content p {
    color: #64748b;
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
}

/* Rotation animation */
@keyframes rotateClockwise {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Phase pulse animation */
@keyframes phasePulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
    }
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 50%, #7dd3fc 100%);
    border-top: 1px solid rgba(59, 130, 246, 0.1);
    text-align: center;
}
