/* Edge Page Styles */
/* Version: 202512130915 */

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

.edge-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.edge-hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0a1628 0%, #1a365d 50%, #0f2847 100%);
}

.edge-hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

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

.edge-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 50px;
    color: #60a5fa;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

.edge-hero-badge i {
    font-size: 1rem;
}

.edge-hero-title {
    margin-bottom: 28px;
}

.edge-hero-title .title-line {
    display: block;
    font-size: 3.9rem;
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
    letter-spacing: -1px;
    opacity: 0;
    transform: translateY(10px) scale(1.12);
    transform-origin: center;
    will-change: transform, opacity;
}

.edge-hero-title.edge-title-animate .title-line {
    animation: edgeTitleIn 0.9s cubic-bezier(0.2, 0.9, 0.2, 1) forwards;
}

.edge-hero-title.edge-title-animate .title-line:nth-child(2) {
    animation-delay: 0.12s;
}

@keyframes edgeTitleIn {
    0% {
        opacity: 0;
        transform: translateY(10px) scale(1.12);
        filter: blur(2px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.edge-hero-title .gradient-text {
    background: linear-gradient(to right, #0056d2 0%, #00c6fb 50%, #0056d2 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.edge-hero-desc {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 40px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.edge-hero-desc strong {
    color: #60a5fa;
    font-weight: 600;
}

.edge-hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.edge-hero-actions .btn {
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.edge-hero-actions .btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}

.edge-hero-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.5);
}

.edge-hero-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.edge-hero-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Section Common Styles */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-tag.light {
    background: rgba(255, 255, 255, 0.15);
    color: #60a5fa;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.problem-section {
    padding: 100px 0;
    background: var(--bg-section);
}

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

.problem-explain {
    margin-top: 36px;
    padding: 32px 36px;
    border-radius: 24px;
    background:
        radial-gradient(900px circle at 8% -5%, rgba(59, 130, 246, 0.08), transparent 50%),
        radial-gradient(600px circle at 95% 30%, rgba(139, 92, 246, 0.06), transparent 55%),
        radial-gradient(400px circle at 50% 100%, rgba(16, 185, 129, 0.04), transparent 60%),
        #ffffff;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(300px, 1.15fr) 2fr;
    gap: 28px;
    align-items: start;
    border: 1px solid rgba(59, 130, 246, 0.12);
    box-shadow: 
        0 4px 24px rgba(59, 130, 246, 0.06),
        0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.problem-explain:hover {
    border-color: rgba(59, 130, 246, 0.2);
    box-shadow: 
        0 8px 32px rgba(59, 130, 246, 0.1),
        0 2px 6px rgba(0, 0, 0, 0.04);
}

.problem-explain-head {
    text-align: left;
    margin-bottom: 0;
    padding-right: 8px;
}

.problem-explain-title {
    display: block;
    font-size: 1.28rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.2px;
    margin-bottom: 6px;
    text-align: left;
    line-height: 1.25;
}

.problem-explain-subtitle {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin: 0;
    text-align: left;
}

.problem-explain-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.problem-explain-item {
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.032), rgba(15, 23, 42, 0.018));
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    min-height: 112px;
}

.problem-explain-item-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 6px;
}

.problem-explain-item-title::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 3px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.95), rgba(139, 92, 246, 0.95));
    flex: 0 0 auto;
}

.problem-explain-item-desc {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.lora-note {
    margin-top: 22px;
    padding: 22px 24px;
    border-radius: 22px;
    background:
        radial-gradient(820px circle at 50% 0%, rgba(0, 86, 210, 0.08), transparent 58%),
        radial-gradient(720px circle at 50% 100%, rgba(0, 198, 251, 0.06), transparent 60%),
        rgba(255, 255, 255, 0.94);
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.lora-note-title {
    font-weight: 900;
    letter-spacing: -0.25px;
    line-height: 1.2;
    color: var(--text-main);
    max-width: 840px;
    margin: 0 auto 12px;
}

.lora-note-lead {
    display: block;
    font-size: 1.58rem;
}

.lora-note-sub {
    display: block;
    font-size: 1.3rem;
    color: rgba(0, 86, 210, 0.92);
    margin-top: 6px;
}

.lora-note-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .problem-explain-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .problem-explain {
        grid-template-columns: 1fr;
        gap: 14px;
        max-width: 720px;
        padding: 22px;
    }

    .problem-explain-head {
        padding-right: 0;
    }

    .lora-note {
        padding: 20px;
    }

    .lora-note-lead {
        font-size: 1.42rem;
    }

    .lora-note-sub {
        font-size: 1.16rem;
    }

    .lora-note-text {
        font-size: 1.04rem;
    }
}

@media (max-width: 640px) {
    .problem-explain-grid {
        grid-template-columns: 1fr;
    }

    .lora-note {
        padding: 18px;
    }

    .lora-note-lead {
        font-size: 1.3rem;
    }

    .lora-note-sub {
        font-size: 1.08rem;
    }

    .lora-note-text {
        font-size: 0.98rem;
    }
}

.problem-card {
    background: white;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.problem-card:hover {
    transform: none;
    box-shadow: none;
    border-color: rgba(59, 130, 246, 0.24);
    background:
        radial-gradient(900px circle at 50% 0%, rgba(59, 130, 246, 0.08), transparent 56%),
        #ffffff;
}

.problem-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    font-size: 1.5rem;
}

.problem-icon.warning {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.problem-icon.danger {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.problem-icon.muted {
    background: rgba(107, 114, 128, 0.1);
    color: #6b7280;
}

.problem-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 12px;
}

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

.problem-card p strong {
    color: #ef4444;
}

/* Solution Section */
.solution-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a1628 0%, #1a365d 100%);
    color: white;
}

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

.solution-header h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.solution-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
}

.solution-content {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.solution-visual {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.solution-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.flow-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.flow-step.rl-gradient .flow-icon {
    background: linear-gradient(to right, #2563eb 0%, #3b82f6 50%, #2563eb 100%);
    background-size: 200% auto;
    color: white;
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.35);
}

.flow-step.domain-gradient .flow-icon {
    background: linear-gradient(to right, #f97316 0%, #fb923c 50%, #f97316 100%);
    background-size: 200% auto;
    color: white;
    box-shadow: 0 8px 30px rgba(249, 115, 22, 0.4);
}

.flow-step.expert-gradient .flow-icon {
    background: linear-gradient(to right, #10b981 0%, #34d399 50%, #10b981 100%);
    background-size: 200% auto;
    color: white;
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.4);
}

.flow-step span {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.flow-step.rl-gradient span,
.flow-step.domain-gradient span,
.flow-step.expert-gradient span {
    color: white;
    font-weight: 600;
}

.flow-arrow {
    color: rgba(255, 255, 255, 0.3);
    font-size: 1.2rem;
}

.solution-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.feature-item {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.feature-check {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: white;
    margin-bottom: 8px;
}

.feature-text p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Comparison Section */
.comparison-section {
    padding: 100px 0;
    background: white;
}

.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.comparison-table th,
.comparison-table td {
    padding: 20px 24px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    background: var(--bg-section);
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.95rem;
}

.comparison-table th.highlight {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.comparison-table td {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.comparison-table td.highlight {
    background: rgba(59, 130, 246, 0.05);
    color: var(--text-main);
    font-weight: 500;
}

.comparison-table td.highlight i {
    color: #10b981;
    margin-right: 8px;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table tbody tr:hover td {
    background: rgba(59, 130, 246, 0.02);
}

.comparison-table tbody tr:hover td.highlight {
    background: rgba(59, 130, 246, 0.08);
}

/* Products Section Edge */
.products-section-edge {
    padding: 100px 0;
    background: var(--bg-section);
}

.products-grid-edge {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.product-card-edge {
    position: relative;
    background: white;
    border-radius: 18px;
    padding: 28px 24px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    overflow: hidden;
}

.product-card-edge:hover {
    transform: none;
    box-shadow: none;
    border-color: rgba(59, 130, 246, 0.25);
    background: radial-gradient(900px circle at 20% -10%, rgba(59, 130, 246, 0.12), transparent 55%), #ffffff;
}

.product-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 14px;
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 50px;
}

.product-header-edge {
    text-align: center;
    margin-bottom: 18px;
}

.product-icon-edge {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    color: #3b82f6;
    font-size: 1.55rem;
}

.product-header-edge h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
}

.product-tagline {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.product-body {
    margin-bottom: 18px;
}

.product-features-list {
    list-style: none;
    margin-bottom: 24px;
}

.product-features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 0.95rem;
    color: var(--text-main);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.product-features-list li i {
    color: #10b981;
    font-size: 0.85rem;
}

.product-cta {
    display: block;
    text-align: center;
    padding: 14px 24px;
    background: var(--bg-section);
    color: #3b82f6;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.product-cta:hover {
    background: #3b82f6;
    color: white;
}

.product-cta i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.product-cta:hover i {
    transform: translateX(4px);
}

/* Use Cases Section */
.usecases-section {
    padding: 100px 0;
    background: white;
}

.usecases-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.usecase-card {
    background: var(--bg-section);
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.usecase-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: var(--card-hover-shadow);
}

.usecase-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    color: #3b82f6;
    font-size: 1.3rem;
}

.usecase-card:hover .usecase-icon {
    background: linear-gradient(to right, #2563eb 0%, #3b82f6 50%, #2563eb 100%);
    background-size: 200% auto;
    color: white;
}

.usecase-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
}

.usecase-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
}

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

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-actions .btn {
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-light {
    background: white;
    color: #3b82f6;
}

.btn-light:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.btn i {
    margin-left: 8px;
}

/* Responsive */
@media (max-width: 1024px) {
    .problem-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .usecases-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .edge-hero {
        padding: 120px 0 80px;
        min-height: auto;
    }
    
    .edge-hero-title .title-line {
        font-size: 2.8rem;
    }
    
    .edge-hero-desc {
        font-size: 1.05rem;
    }
    
    .edge-hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .edge-hero-actions .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .problem-grid {
        grid-template-columns: 1fr;
    }
    
    .solution-features {
        grid-template-columns: 1fr;
    }
    
    .solution-flow {
        flex-direction: column;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
    }
    
    .products-grid-edge {
        grid-template-columns: 1fr;
    }
    
    .usecases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .edge-hero-title .title-line {
        font-size: 2.2rem;
    }
    
    .usecases-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 14px 16px;
        font-size: 0.85rem;
    }
}
