/* Pages Specific Styles for HexCore Website */

/* ===========================
   Page Hero Section
   =========================== */
.page-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 150px 20px 80px;
    text-align: center;
    background: var(--gradient-primary);
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%);
}

.page-title {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, var(--bright-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
}

.page-subtitle {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* ===========================
   Content Sections
   =========================== */
.content-section {
    padding: 100px 20px;
    position: relative;
}

.content-section.alt-bg {
    background: var(--secondary-blue);
}

.content-header {
    text-align: center;
    margin-bottom: 60px;
}

.lead-text {
    font-size: 20px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

/* ===========================
   Problem Section Styles
   =========================== */
.problem-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
}

.problem-visual {
    display: flex;
    height: 100%;
}

.problem-stats {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}

.stat-card {
    background: var(--gradient-glow);
    border: 2px solid var(--bright-blue);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition-smooth);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.4);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 64px;
    font-weight: 900;
    color: var(--bright-blue);
    margin-bottom: 10px;
}

.stat-number::after {
    content: '+';
    font-size: 48px;
    margin-left: 5px;
}

.stat-label {
    font-size: 18px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.problem-text {
    display: flex;
    height: 100%;
}

.text-card {
    background: rgba(31, 71, 136, 0.3);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.text-card i {
    font-size: 48px;
    color: var(--bright-blue);
    margin-bottom: 20px;
    display: block;
}

.text-card p {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

/* ===========================
   Alternatives Section
   =========================== */
.alternatives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.alternative-card {
    background: rgba(31, 71, 136, 0.3);
    border: 2px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    padding: 40px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.alternative-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

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

.alternative-card:hover {
    transform: translateY(-10px);
    border-color: var(--bright-blue);
    box-shadow: 0 20px 50px rgba(0, 212, 255, 0.3);
}

.alternative-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 36px;
    color: #ffffff;
}

.alternative-card h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--bright-blue);
    margin-bottom: 20px;
}

.alternative-card p {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.limitation-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid rgba(255, 68, 68, 0.3);
    border-radius: 20px;
    color: #ff6b6b;
    font-size: 14px;
    font-weight: 600;
}

/* ===========================
   Motivation Section
   =========================== */
.motivation-section {
    background: var(--primary-blue);
}

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

.motivation-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hexagon-large {
    width: 250px;
    height: 289px;
    background: var(--gradient-accent);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 100px;
    color: #ffffff;
    animation: float 3s ease-in-out infinite;
    box-shadow: 0 0 80px rgba(0, 212, 255, 0.5);
}

.motivation-values {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--bright-blue);
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    color: var(--bright-blue);
    transition: var(--transition-smooth);
}

.value-item:hover {
    background: var(--bright-blue);
    color: var(--primary-blue);
    transform: scale(1.05);
}

.value-item i {
    font-size: 20px;
}

/* ===========================
   Team Page Styles
   =========================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.team-card-flip {
    background-color: transparent;
    perspective: 1000px;
    height: 400px;
    cursor: pointer;
}

.team-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.team-card-flip:hover .team-card-inner,
.team-card-flip.flipped .team-card-inner {
    transform: rotateY(180deg);
}

.team-card-front,
.team-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.team-card-front {
    background: rgba(31, 71, 136, 0.3);
    border: 2px solid rgba(0, 212, 255, 0.2);
}

.team-card-back {
    background: rgba(31, 71, 136, 0.5);
    border: 2px solid var(--bright-blue);
    transform: rotateY(180deg);
    justify-content: center;
}

.team-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    border: 4px solid var(--bright-blue);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-name {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--bright-blue);
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.team-role {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.team-bio {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    text-align: left;
    padding: 0 10px;
}

.team-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.skill-tag {
    padding: 6px 14px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--bright-blue);
    border-radius: 15px;
    font-size: 12px;
    color: var(--bright-blue);
    font-weight: 500;
}

/* ===========================
   Innovation Page Styles
   =========================== */
.innovation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.innovation-card {
    background: rgba(31, 71, 136, 0.2);
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 20px;
    padding: 40px;
    transition: var(--transition-smooth);
}

.innovation-card:hover {
    transform: translateY(-10px);
    border-color: var(--bright-blue);
    box-shadow: 0 20px 50px rgba(0, 212, 255, 0.4);
}

.innovation-number {
    font-family: var(--font-heading);
    font-size: 72px;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 2px var(--bright-blue);
    margin-bottom: 20px;
    line-height: 1;
}

.innovation-card h3 {
    font-family: var(--font-heading);
    font-size: 26px;
    color: var(--bright-blue);
    margin-bottom: 20px;
}

.innovation-card p {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

/* Technical Roadmap */
.roadmap-container {
    position: relative;
    padding: 40px 0;
}

.roadmap-line {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-accent);
}

.roadmap-item {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
    flex-direction: row;
    justify-content: flex-end;
}

.roadmap-content {
    flex: 1;
    background: rgba(31, 71, 136, 0.3);
    border: 2px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    margin-right: 50px;
}

.roadmap-dot {
    width: 30px;
    height: 30px;
    background: var(--bright-blue);
    border-radius: 50%;
    border: 4px solid var(--primary-blue);
    position: absolute;
    right: 0;
    transform: translateX(50%);
    z-index: 2;
    box-shadow: 0 0 20px var(--bright-blue);
    flex-shrink: 0;
}

.roadmap-phase {
    font-family: var(--font-heading);
    font-size: 14px;
    color: var(--bright-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.roadmap-content h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 15px;
}

.roadmap-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* ===========================
   Gallery Page Styles
   =========================== */
.gallery-stages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.stage-tab {
    background: rgba(31, 71, 136, 0.3);
    border: 2px solid rgba(0, 212, 255, 0.2);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.stage-tab:hover,
.stage-tab.active {
    border-color: var(--bright-blue);
    background: rgba(0, 212, 255, 0.1);
}

.stage-tab i {
    font-size: 40px;
    color: var(--bright-blue);
    margin-bottom: 15px;
    display: block;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.gallery-item {
    background: rgba(31, 71, 136, 0.2);
    border: 2px solid rgba(0, 212, 255, 0.2);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.gallery-item:hover {
    transform: scale(1.05);
    border-color: var(--bright-blue);
    box-shadow: 0 20px 50px rgba(0, 212, 255, 0.4);
}

.gallery-image {
    width: 100%;
    height: 550px;
    background: linear-gradient(135deg, var(--secondary-blue), var(--accent-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: var(--bright-blue);
}

.gallery-caption {
    padding: 20px;
}

.gallery-caption h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--bright-blue);
    margin-bottom: 10px;
}

.gallery-caption p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* ===========================
   Impact Page Styles
   =========================== */
.impact-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.metric-box {
    background: var(--gradient-glow);
    border: 2px solid var(--bright-blue);
    border-radius: 20px;
    padding: 40px 20px;
    text-align: center;
    transition: var(--transition-smooth);
}

.metric-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.4);
}

.metric-value {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 900;
    color: var(--bright-blue);
    margin-bottom: 10px;
}

.metric-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.customer-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.customer-card {
    background: rgba(31, 71, 136, 0.3);
    border: 2px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    padding: 40px;
    transition: var(--transition-smooth);
}

.customer-card:hover {
    transform: translateY(-10px);
    border-color: var(--bright-blue);
    box-shadow: 0 20px 50px rgba(0, 212, 255, 0.3);
}

.customer-card i {
    font-size: 50px;
    color: var(--bright-blue);
    margin-bottom: 20px;
    display: block;
}

.customer-card h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--bright-blue);
    margin-bottom: 20px;
}

/* ===========================
   Brand Page Styles
   =========================== */
.color-palette {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.color-swatch {
    height: 200px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.color-swatch::before {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    filter: brightness(1.2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.color-swatch:hover::before {
    opacity: 1;
}

.color-name {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 5px;
    position: relative;
    z-index: 1;
}

.color-code {
    font-family: monospace;
    font-size: 14px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.swatch-primary {
    background: var(--primary-blue);
}

.swatch-accent {
    background: var(--accent-blue);
}

.swatch-bright {
    background: var(--bright-blue);
}

.swatch-purple {
    background: var(--purple);
}

.logo-showcase {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px;
    background: rgba(31, 71, 136, 0.2);
    border: 2px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    margin: 40px 0;
}

.logo-display {
    font-family: var(--font-heading);
    font-size: 80px;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--bright-blue);
}

.logo-display .logo-hex {
    font-size: 100px;
}

/* ===========================
   Timeline Page Styles
   =========================== */
.timeline-container {
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-track {
    position: relative;
    padding: 40px 0;
}

.timeline-track::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-accent);
}

.timeline-event {
    position: relative;
    padding-left: 120px;
    margin-bottom: 60px;
}

.timeline-marker {
    position: absolute;
    left: 35px;
    top: 0;
    width: 30px;
    height: 30px;
    background: var(--bright-blue);
    border-radius: 50%;
    border: 4px solid var(--primary-blue);
    box-shadow: 0 0 20px var(--bright-blue);
}

.timeline-date {
    font-family: var(--font-heading);
    font-size: 14px;
    color: var(--bright-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.timeline-event-content {
    background: rgba(31, 71, 136, 0.3);
    border: 2px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    transition: var(--transition-smooth);
}

.timeline-event-content:hover {
    transform: translateX(10px);
    border-color: var(--bright-blue);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.timeline-event-content h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 15px;
}

/* ===========================
   Contact Page Styles
   =========================== */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: stretch;
}

.contact-info-card {
    background: rgba(31, 71, 136, 0.3);
    border: 2px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-info-item i {
    font-size: 28px;
    color: var(--bright-blue);
    margin-top: 5px;
}

.contact-info-item h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--bright-blue);
    margin-bottom: 8px;
}

.contact-form {
    background: rgba(31, 71, 136, 0.2);
    border: 2px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    padding: 50px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.9);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(10, 22, 40, 0.5);
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 10px;
    color: #ffffff;
    font-size: 16px;
    font-family: var(--font-body);
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--bright-blue);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.download-resources {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.resource-card {
    background: rgba(31, 71, 136, 0.2);
    border: 2px solid rgba(0, 212, 255, 0.2);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: var(--transition-smooth);
    text-decoration: none;
    color: inherit;
    display: block;
}

.resource-card:hover {
    transform: translateY(-5px);
    border-color: var(--bright-blue);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.3);
}

.resource-card i {
    font-size: 50px;
    color: var(--bright-blue);
    margin-bottom: 20px;
    display: block;
}

.resource-card h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--bright-blue);
    margin-bottom: 10px;
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 1024px) {
    .page-title {
        font-size: 42px;
    }
    
    .problem-content,
    .motivation-content,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    .team-card-flip {
        height: 380px;
    }
    
    .roadmap-item {
        flex-direction: column !important;
        align-items: flex-end;
    }
    
    .roadmap-line {
        right: 30px;
        left: auto;
    }
    
    .roadmap-dot {
        right: 30px;
        left: auto;
        transform: translateX(50%);
        position: relative;
        margin-bottom: 20px;
    }
    
    .roadmap-content {
        margin: 0 0 20px 0;
        flex: 1;
    }
    
    .timeline-track::before {
        left: 30px;
    }
    
    .timeline-marker {
        left: 15px;
    }
    
    .timeline-event {
        padding-left: 80px;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 32px;
    }
    
    .page-subtitle {
        font-size: 18px;
    }
    
    .alternatives-grid,
    .innovation-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .team-card-flip {
        height: 350px;
    }
    
    .hexagon-large {
        width: 200px;
        height: 231px;
        font-size: 80px;
    }
    
    .logo-display {
        font-size: 50px;
    }
    
    .logo-display .logo-hex {
        font-size: 60px;
    }
    
    .contact-form {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .page-hero {
        min-height: 40vh;
        padding: 120px 20px 60px;
    }
    
    .content-section {
        padding: 60px 20px;
    }
    
    .stat-number {
        font-size: 48px;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .team-card-flip {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .team-card-flip {
        height: 400px;
    }
}