/* Terminal/SOC Theme Landing Page Styles */

:root {
    --bg-dark: #0a0e27;
    --cyan: #00d9ff;
    --green: #00ff41;
    --amber: #ffb800;
    --red: #ff0055;
    --green-dim: rgba(0, 255, 65, 0.5);
    --cyan-dim: rgba(0, 217, 255, 0.5);
}

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

body {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    background: var(--bg-dark);
    color: var(--green);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Animations */
@keyframes flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.95; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 217, 255, 0.5); }
    50% { box-shadow: 0 0 40px rgba(0, 217, 255, 0.8); }
}

@keyframes scanLine {
    0% { top: 0%; }
    100% { top: 100%; }
}

.terminal-text {
    text-shadow: 0 0 10px currentColor;
    animation: flicker 3s infinite;
}

/* Background Effects */
.scan-line {
    position: fixed;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to bottom, transparent, var(--cyan-dim), transparent);
    pointer-events: none;
    z-index: 100;
    animation: scanLine 8s linear infinite;
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(0, 217, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 217, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    opacity: 0.3;
    z-index: 0;
}

.bg-blob {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.blob-1 {
    top: 10%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.2) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

.blob-2 {
    bottom: 20%;
    left: 5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 255, 65, 0.15) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite;
    animation-delay: 2s;
}

/* Navigation */
.terminal-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1.5rem 3rem;
    border-bottom: 2px solid rgba(0, 217, 255, 0.25);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.shield-icon {
    animation: pulse 2s infinite;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--cyan);
    letter-spacing: 0.1em;
}

.logo-subtitle {
    font-size: 0.7rem;
    color: var(--green-dim);
    letter-spacing: 0.05em;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--cyan-dim);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--cyan);
    text-shadow: 0 0 10px var(--cyan);
}

.time-display {
    padding: 0.5rem 1rem;
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid rgba(0, 217, 255, 0.25);
    font-size: 0.75rem;
    color: var(--cyan);
    letter-spacing: 0.05em;
}

.btn-login {
    padding: 0.75rem 1.5rem;
    background: rgba(0, 217, 255, 0.1);
    color: var(--cyan);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border: 1px solid var(--cyan);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 217, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-login:hover::before {
    left: 100%;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.8);
}

/* Hero Section */
.hero-section {
    padding: 8rem 3rem;
    position: relative;
    z-index: 1;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
}

.hero-content {
    text-align: center;
    margin-bottom: 4rem;
}

.status-banner {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 184, 0, 0.1);
    border: 1px solid var(--amber);
    margin-bottom: 2rem;
    font-size: 0.8rem;
    color: var(--amber);
    letter-spacing: 0.1em;
    animation: slideUp 0.8s ease-out;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin: 0 0 1.5rem 0;
    letter-spacing: 0.05em;
    line-height: 1.2;
    animation: slideUp 0.8s ease-out 0.2s backwards;
}

.hero-title .cyan { color: var(--cyan); }
.hero-title .green { color: var(--green); }
.hero-title .amber { color: var(--amber); }

.typed-text {
    font-size: 1.2rem;
    color: var(--cyan-dim);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    animation: slideUp 0.8s ease-out 0.4s backwards;
    min-height: 40px;
}

.cursor {
    animation: pulse 1s infinite;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--green-dim);
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
    animation: slideUp 0.8s ease-out 0.6s backwards;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    animation: slideUp 0.8s ease-out 0.8s backwards;
}

.btn-primary, .btn-secondary {
    padding: 1.25rem 2.5rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.btn-primary {
    background: rgba(0, 255, 65, 0.1);
    color: var(--green);
    border: 1px solid var(--green);
}

.btn-secondary {
    background: rgba(0, 0, 0, 0.5);
    color: var(--cyan);
    border: 1px solid rgba(0, 217, 255, 0.25);
}

.glow-green {
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.5), inset 0 0 20px rgba(0, 255, 65, 0.1);
}

.glow-cyan {
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.5), inset 0 0 20px rgba(0, 217, 255, 0.1);
}

.btn-primary::before, .btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 217, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before, .btn-secondary:hover::before {
    left: 100%;
}

.btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.8);
}

/* Terminal Preview */
.terminal-preview {
    margin: 0 auto;
    max-width: 1100px;
    animation: slideUp 1s ease-out 1s backwards;
}

.terminal-window {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid var(--cyan);
    box-shadow: 0 0 50px rgba(0, 217, 255, 0.5);
}

.terminal-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(0, 217, 255, 0.25);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 217, 255, 0.05);
}

.terminal-buttons {
    display: flex;
    gap: 0.5rem;
}

.terminal-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-btn.red { background: var(--red); }
.terminal-btn.amber { background: var(--amber); }
.terminal-btn.green { background: var(--green); }

.terminal-title {
    font-size: 0.8rem;
    color: var(--cyan-dim);
    letter-spacing: 0.05em;
}

.terminal-content {
    padding: 2rem;
    font-size: 0.9rem;
    line-height: 2;
}

.terminal-line {
    margin-bottom: 0.25rem;
}

.terminal-line.cyan { color: var(--cyan); }
.terminal-line.green { color: var(--green); }
.terminal-line.green-dim { color: var(--green-dim); }
.terminal-line.amber { color: var(--amber); }

.stats-box {
    margin-top: 0.5rem;
    white-space: pre;
}

/* Stats Section */
.stats-section {
    padding: 3rem;
    border-top: 2px solid rgba(0, 217, 255, 0.25);
    border-bottom: 2px solid rgba(0, 217, 255, 0.25);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.stat-item {
    text-align: center;
    animation: slideUp 0.8s ease-out;
}

.stat-item:nth-child(2) { animation-delay: 0.1s; }
.stat-item:nth-child(3) { animation-delay: 0.2s; }
.stat-item:nth-child(4) { animation-delay: 0.3s; }

.stat-item svg {
    margin-bottom: 1rem;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--green);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px currentColor;
    font-variant-numeric: tabular-nums;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--cyan-dim);
    letter-spacing: 0.05em;
}

/* Features Section */
.features-section {
    padding: 8rem 3rem;
    position: relative;
    z-index: 1;
}

.features-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-tag {
    font-size: 0.8rem;
    color: var(--amber);
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin: 0 0 1rem 0;
    letter-spacing: 0.05em;
}

.section-title .cyan { color: var(--cyan); }
.section-title .green { color: var(--green); }

.section-description {
    font-size: 1rem;
    color: var(--green-dim);
    max-width: 700px;
    margin: 0 auto;
}

/* Phases Grid */
.phases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.phase-card {
    padding: 2.5rem;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(59, 130, 246, 0.25);
}

.phase-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.5);
}

.phase-card:nth-child(1) { border-color: rgba(59, 130, 246, 0.25); animation: slideInLeft 0.8s ease-out; }
.phase-card:nth-child(2) { border-color: rgba(139, 92, 246, 0.25); animation: slideInRight 0.8s ease-out; }
.phase-card:nth-child(3) { border-color: rgba(236, 72, 153, 0.25); animation: slideInLeft 0.8s ease-out; }
.phase-card:nth-child(4) { border-color: rgba(245, 158, 11, 0.25); animation: slideInRight 0.8s ease-out; }

.phase-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}

.phase-card:nth-child(1) .phase-border { background: #3b82f6; }
.phase-card:nth-child(2) .phase-border { background: #8b5cf6; }
.phase-card:nth-child(3) .phase-border { background: #ec4899; }
.phase-card:nth-child(4) .phase-border { background: #f59e0b; }

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

.phase-icon-box {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid;
}

.phase-card:nth-child(1) .phase-icon-box { 
    background: rgba(59, 130, 246, 0.13);
    border-color: #3b82f6;
}
.phase-card:nth-child(2) .phase-icon-box { 
    background: rgba(139, 92, 246, 0.13);
    border-color: #8b5cf6;
}
.phase-card:nth-child(3) .phase-icon-box { 
    background: rgba(236, 72, 153, 0.13);
    border-color: #ec4899;
}
.phase-card:nth-child(4) .phase-icon-box { 
    background: rgba(245, 158, 11, 0.13);
    border-color: #f59e0b;
}

.phase-number {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
}

.phase-card:nth-child(1) .phase-number { color: rgba(59, 130, 246, 0.5); }
.phase-card:nth-child(2) .phase-number { color: rgba(139, 92, 246, 0.5); }
.phase-card:nth-child(3) .phase-number { color: rgba(236, 72, 153, 0.5); }
.phase-card:nth-child(4) .phase-number { color: rgba(245, 158, 11, 0.5); }

.phase-title {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.phase-card:nth-child(1) .phase-title { color: #3b82f6; }
.phase-card:nth-child(2) .phase-title { color: #8b5cf6; }
.phase-card:nth-child(3) .phase-title { color: #ec4899; }
.phase-card:nth-child(4) .phase-title { color: #f59e0b; }

.phase-description {
    font-size: 0.95rem;
    color: var(--green-dim);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.phase-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--cyan);
    letter-spacing: 0.03em;
}

/* Enterprise Features */
.enterprise-features {
    padding: 3rem;
    background: rgba(0, 217, 255, 0.05);
    border: 1px solid rgba(0, 217, 255, 0.25);
}

.enterprise-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--cyan);
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
    text-align: center;
}

.enterprise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.enterprise-card {
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 217, 255, 0.13);
    transition: all 0.3s ease;
}

.enterprise-card:hover {
    border-color: var(--cyan);
    transform: translateY(-5px);
}

.enterprise-card svg {
    margin-bottom: 1rem;
}

.enterprise-card-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--cyan);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.enterprise-card-desc {
    font-size: 0.85rem;
    color: var(--green-dim);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 6rem 3rem;
    background: rgba(0, 217, 255, 0.05);
    border-top: 2px solid rgba(0, 217, 255, 0.25);
    border-bottom: 2px solid rgba(0, 217, 255, 0.25);
    text-align: center;
}

.cta-container {
    max-width: 900px;
    margin: 0 auto;
}

.cta-tag {
    font-size: 0.8rem;
    color: var(--amber);
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.cta-title {
    font-size: 3rem;
    font-weight: 800;
    margin: 0 0 1.5rem 0;
    letter-spacing: 0.05em;
}

.cta-description {
    font-size: 1.1rem;
    color: var(--green-dim);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.cta-buttons-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.btn-cta, .btn-cta-secondary {
    padding: 1.5rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border: 2px solid;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-cta {
    background: rgba(0, 255, 65, 0.1);
    color: var(--green);
    border-color: var(--green);
}

.btn-cta-secondary {
    background: rgba(0, 217, 255, 0.1);
    color: var(--cyan);
    border-color: var(--cyan);
}

.btn-cta:hover, .btn-cta-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.8);
}

.cta-benefits {
    font-size: 0.85rem;
    color: var(--cyan-dim);
    letter-spacing: 0.03em;
}

/* Footer */
.terminal-footer {
    padding: 4rem 3rem 2rem;
    border-top: 2px solid rgba(0, 217, 255, 0.25);
    background: rgba(0, 0, 0, 0.8);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    color: var(--green-dim);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--cyan);
    letter-spacing: 0.1em;
}

.footer-brand p {
    font-size: 0.85rem;
    line-height: 1.8;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--cyan);
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
}

.footer-section a {
    color: var(--green-dim);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a::before {
    content: '> ';
}

.footer-section a:hover {
    color: var(--cyan);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 217, 255, 0.25);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--cyan-dim);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--cyan-dim);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--cyan);
}

/* Scroll Indicator */
.scroll-indicator {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    animation: float 3s ease-in-out infinite;
    opacity: 0.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .phases-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .enterprise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .enterprise-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
