/* ========================================
   LINK GATEWAY PAGE STYLES
   Modern, Techy, Eye-catching Design
======================================== */

/* Hero Section */
.link-hero {
    min-height: 100vh;
    padding: 160px 0 100px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.link-hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.link-hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(0, 245, 160, 0.08);
    border: 1px solid rgba(0, 245, 160, 0.2);
    border-radius: 50px;
    margin-bottom: 32px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--neon-green);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.link-hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.link-hero-title .title-line {
    display: block;
}

.link-hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 540px;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 32px;
    margin-bottom: 40px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.stat-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(237, 28, 36, 0.15), rgba(42, 54, 144, 0.1));
    border-radius: 12px;
}

.stat-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent-primary);
}

.stat-text {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Visual */
.link-hero-visual {
    position: relative;
    z-index: 1;
}

.gateway-showcase {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.showcase-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(237, 28, 36, 0.2), transparent 70%);
    border-radius: 50%;
    animation: floatGlow 6s ease-in-out infinite;
}

@keyframes floatGlow {
    0%, 100% { transform: scale(1) translate(0, 0); }
    50% { transform: scale(1.1) translate(10px, -10px); }
}

.showcase-img {
    max-width: 80%;
    height: auto;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.4));
}

/* Connection Lines Animation */
.connection-lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.conn-line {
    position: absolute;
    width: 2px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--accent-primary), transparent);
    opacity: 0.4;
    animation: dataFlow 2s ease-in-out infinite;
}

.line-1 {
    top: 10%;
    left: 20%;
    transform: rotate(-30deg);
    animation-delay: 0s;
}

.line-2 {
    top: 50%;
    right: 15%;
    transform: rotate(20deg);
    animation-delay: 0.5s;
}

.line-3 {
    bottom: 20%;
    left: 30%;
    transform: rotate(-15deg);
    animation-delay: 1s;
}

@keyframes dataFlow {
    0%, 100% { opacity: 0.2; transform: translateY(0) rotate(inherit); }
    50% { opacity: 0.6; transform: translateY(-20px) rotate(inherit); }
}

/* Data Points */
.data-point {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(10, 15, 30, 0.9);
    border: 1px solid rgba(237, 28, 36, 0.3);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    z-index: 3;
    animation: float 4s ease-in-out infinite;
}

.dp-pulse {
    width: 6px;
    height: 6px;
    background: var(--accent-primary);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.dp-labelgw {
    font-size: 0.7rem;
    font-weight: 600;
    font-family: var(--font-mono);
}

.dp-1 {
    animation-delay: 0s;
}

.dp-2 {
    animation-delay: 1s;
}

.dp-3 {
    animation-delay: 2s;
}

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

/* One Login Section */
.one-login-section {
    padding: 120px 0;
    position: relative;
}

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

.one-login-content .section-title {
    text-align: left;
}

.one-login-content > p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.feature-list {
    list-style: none;
    margin: 32px 0;
    padding: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list svg {
    width: 22px;
    height: 22px;
    stroke: var(--accent-primary);
    flex-shrink: 0;
}

.feature-list span {
    font-size: 1rem;
    color: var(--text-primary);
}

/* Dashboard Preview */
.one-login-visual {
    position: relative;
}

.dashboard-preview {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

.dashboard-preview::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(237, 28, 36, 0.1), rgba(42, 54, 144, 0.1));
    border-radius: 24px;
    pointer-events: none;
    z-index: 1;
}

.dashboard-img {
    width: 100%;
    height: auto;
    border-radius: 24px;
}

/* Features Section */
.features-section {
    padding: 120px 0;
    background: linear-gradient(180deg, transparent, rgba(237, 28, 36, 0.02), transparent);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.feature-card {
    padding: 32px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    transition: all 0.4s ease;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(237, 28, 36, 0.2);
    transform: translateY(-5px);
}

.feature-card.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(237, 28, 36, 0.08), rgba(42, 54, 144, 0.05));
    border-color: rgba(237, 28, 36, 0.15);
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(237, 28, 36, 0.15), rgba(42, 54, 144, 0.1));
    border-radius: 14px;
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--accent-primary);
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Checklist Section */
.checklist-section {
    padding: 120px 0;
}

.checklist-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.check-card {
    display: flex;
    gap: 18px;
    padding: 28px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.check-card:hover {
    border-color: rgba(237, 28, 36, 0.2);
    transform: translateY(-3px);
}

.check-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-primary), #ff4757);
    border-radius: 10px;
}

.check-icon svg {
    width: 18px;
    height: 18px;
    stroke: white;
}

.check-content h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.check-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Integration Visual Section */
.integration-visual {
    padding: 120px 0;
    background: linear-gradient(180deg, transparent, rgba(42, 54, 144, 0.03), transparent);
}

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

.integration-text .section-title {
    text-align: left;
}

.integration-text > p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 32px;
}

/* Monitoring Types */
.monitoring-types {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.mon-type {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.mon-type:hover {
    border-color: rgba(237, 28, 36, 0.3);
    background: rgba(237, 28, 36, 0.05);
}

.mon-type svg {
    width: 20px;
    height: 20px;
    stroke: var(--accent-primary);
}

.mon-type span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Integration Graphic */
.integration-graphic {
    position: relative;
}

.infographic-img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* CTA Section */
.cta {
    padding: 100px 0;
    position: relative;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(237, 28, 36, 0.05), rgba(42, 54, 144, 0.05));
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-text h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-text p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .link-hero .container {
        gap: 50px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-card.featured {
        grid-column: span 2;
    }
    
    .checklist-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .link-hero {
        padding: 140px 0 80px;
        min-height: auto;
    }
    
    .link-hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .link-hero-subtitle {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .link-hero-visual {
        order: -1;
        margin-bottom: 40px;
    }
    
    .gateway-showcase {
        min-height: 350px;
    }
    
    .data-point {
        display: none;
    }
    
    .connection-lines {
        display: none;
    }
    
    .one-login-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .one-login-content {
        text-align: center;
    }
    
    .one-login-content .section-title {
        text-align: center;
    }
    
    .feature-list li {
        justify-content: center;
    }
    
    .integration-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .integration-text {
        text-align: center;
    }
    
    .integration-text .section-title {
        text-align: center;
    }
    
    .monitoring-types {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .link-hero-title {
        font-size: 2.8rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-item {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card.featured {
        grid-column: span 1;
    }
    
    .checklist-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .one-login-section,
    .features-section,
    .checklist-section,
    .integration-visual {
        padding: 80px 0;
    }
    
    .feature-card,
    .check-card {
        padding: 24px;
    }
    
    .cta-text h2 {
        font-size: 1.8rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .monitoring-types {
        gap: 10px;
    }
    
    .mon-type {
        padding: 10px 16px;
    }
}

