:root {
    --bg-dark: #050a14;
    --bg-panel: #0a1324;
    --bg-card: #0c182c;
    --primary-cyan: #00e5ff;
    --primary-blue: #005ce6;
    --secondary-blue: #3385ff;
    --text-main: #e2e8f0;
    --text-muted: #8b9bb4;
    --border-color: rgba(0, 229, 255, 0.2);
    --border-highlight: rgba(0, 229, 255, 0.6);
    --shadow-cyan: 0 0 15px rgba(0, 229, 255, 0.2);
    --font-main: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    background-image: 
        linear-gradient(rgba(0, 229, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
}

.particles-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography styles */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-main);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.text-cyan {
    color: var(--primary-cyan);
}

.font-mono {
    font-family: var(--font-mono);
}

/* cyber-header components */
.cyber-header {
    background-color: rgba(5, 10, 20, 0.9);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.cyber-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-mark {
    color: var(--primary-cyan);
    font-size: 24px;
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 2px;
}

.logo-text .highlight {
    color: var(--primary-cyan);
}

.cyber-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.cyber-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13.5px;
    font-family: var(--font-mono);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.cyber-nav a span {
    font-family: var(--font-mono);
    color: var(--primary-blue);
}

.cyber-nav a:hover, .cyber-nav a.active {
    color: var(--primary-cyan);
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.4);
}

.mobile-menu-toggle {
    display: none;
    color: var(--primary-cyan);
    font-size: 24px;
    cursor: pointer;
}

/* Main Content Area */
.main-content {
    min-height: calc(100vh - 200px);
    padding: 60px 0;
}

/* Shared UI Components */
.cyber-card {
    background-color: transparent;
    padding: 30px;
    position: relative;
    transition: transform 0.3s ease;
    z-index: 1;
    margin-bottom: 20px;
}

/* Background panel with clip-path for border */
.cyber-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: var(--border-color);
    clip-path: polygon(25px 0, 100% 0, 100% calc(100% - 25px), calc(100% - 25px) 100%, 0 100%, 0 25px);
    z-index: -2;
    transition: all 0.3s ease;
}

/* Inner panel */
.cyber-card::after {
    content: '';
    position: absolute;
    top: 1px; left: 1px; right: 1px; bottom: 1px;
    background-color: var(--bg-card);
    clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px);
    z-index: -1;
    transition: all 0.3s ease;
}

.cyber-card:hover::before {
    background-color: var(--border-highlight);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.4);
}

.cyber-card.highlight {
    transform: translateY(-10px);
}

.cyber-card.highlight::before {
    background-color: var(--primary-cyan);
    filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.5));
}

.cyber-card:hover {
    transform: translateY(-5px);
}


.cyber-btn {
    display: inline-block;
    background: transparent;
    color: var(--primary-cyan);
    padding: 12px 30px;
    text-transform: uppercase;
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    z-index: 1;
    border: none;
}

.cyber-btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: var(--primary-cyan);
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    z-index: -2;
    transition: all 0.3s ease;
}

.cyber-btn::after {
    content: '';
    position: absolute;
    top: 1px; left: 1px; right: 1px; bottom: 1px;
    background-color: var(--bg-dark); /* Transparent inside basically */
    clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
    z-index: -1;
    transition: all 0.3s ease;
}

.cyber-btn:hover {
    color: #000;
}

.cyber-btn:hover::after {
    background-color: var(--primary-cyan);
    box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.3);
}

.cyber-btn.primary {
    color: #000;
}

.cyber-btn.primary::after {
    background-color: var(--primary-cyan);
}

.cyber-btn.primary:hover::after {
    background-color: #00b3cc;
}

/* Page Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--text-main);
    margin-bottom: 15px;
}

.section-header .line {
    width: 60px;
    height: 3px;
    background-color: var(--primary-cyan);
    margin: 0 auto;
    position: relative;
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Footer styles */
.cyber-footer {
    background-color: var(--bg-panel);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 20px;
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--text-main);
    margin-bottom: 20px;
    font-size: 16px;
    border-left: 2px solid var(--primary-cyan);
    padding-left: 10px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul a:hover {
    color: var(--primary-cyan);
}

.system-status {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 13px;
    margin-bottom: 10px;
}

.status-indicator {
    width: 8px;
    height: 8px;
    background-color: #00ff00;
    border-radius: 50%;
    box-shadow: 0 0 8px #00ff00;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 14px;
}

/* Home / Hero specific */
.hero-section {
    display: flex;
    align-items: center;
    min-height: 70vh;
    border: none;
    background: transparent;
    padding: 60px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin-top: 20px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: var(--border-color);
    clip-path: polygon(60px 0, 100% 0, 100% calc(100% - 60px), calc(100% - 60px) 100%, 0 100%, 0 60px);
    z-index: -2;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 1px; left: 1px; right: 1px; bottom: 1px;
    background: linear-gradient(135deg, rgba(10, 19, 36, 0.8) 0%, rgba(5, 10, 20, 0.9) 100%);
    clip-path: polygon(59px 0, 100% 0, 100% calc(100% - 59px), calc(100% - 59px) 100%, 0 100%, 0 59px);
    z-index: -1;
}

.hero-content {
    flex: 1;
    z-index: 2;
}

.hero-title {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-family: var(--font-mono);
    color: var(--primary-cyan);
    margin-bottom: 30px;
    font-size: 18px;
}

.hero-text {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-graphic {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.cyber-cube {
    width: 250px;
    height: 250px;
    border: 2px solid var(--primary-cyan);
    position: relative;
    box-shadow: inset 0 0 50px rgba(0, 229, 255, 0.1), 0 0 50px rgba(0, 229, 255, 0.2);
    animation: pulseCube 4s infinite alternate;
}

.cyber-cube::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 1px dashed var(--secondary-blue);
}

.cyber-cube::after {
    content: '< system_ready />';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-mono);
    color: var(--primary-cyan);
    white-space: nowrap;
}

@keyframes pulseCube {
    0% { transform: scale(1); box-shadow: inset 0 0 20px rgba(0, 229, 255, 0.1), 0 0 20px rgba(0, 229, 255, 0.2); }
    100% { transform: scale(1.05); box-shadow: inset 0 0 60px rgba(0, 229, 255, 0.4), 0 0 60px rgba(0, 229, 255, 0.4); }
}

/* Service Card */
.service-icon {
    font-size: 40px;
    color: var(--primary-cyan);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 15px;
}

/* Pricing Page Details */
.pricing-card {
    text-align: center;
    padding: 40px 30px;
}

.pricing-card .price {
    font-size: 40px;
    font-weight: 800;
    color: var(--primary-cyan);
    margin: 20px 0;
    font-family: var(--font-mono);
}

.pricing-card ul {
    list-style: none;
    text-align: left;
    margin: 30px 0;
}

.pricing-card ul li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    color: var(--text-muted);
}

.pricing-card ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-cyan);
}

/* Responsive */
@media (max-width: 992px) {
    .grid-3 { grid-template-columns: 1fr 1fr; }
    .hero-section { flex-direction: column; text-align: center; }
    .hero-text { margin: 0 auto 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .grid-2 { grid-template-columns: 1fr; }
    .grid-3 { grid-template-columns: 1fr; }
    .cyber-nav { display: none; }
    .mobile-menu-toggle { display: block; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 32px; }
}
