/* ============================================
   CYBERZ - OFFENSIVE SECURITY WEBSITE STYLES
   ============================================ */

/* CSS Variables */
:root {
    --primary-color: #00ff41;
    --secondary-color: #0f0;
    --accent-color: #ff0080;
    --bg-dark: #0a0e27;
    --bg-darker: #050814;
    --bg-card: rgba(15, 23, 42, 0.8);
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0a0;
    --border-color: rgba(0, 255, 65, 0.3);
    --shadow-glow: 0 0 20px rgba(0, 255, 65, 0.3);
    --terminal-bg: #0d1117;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Courier New', monospace;
    background: var(--bg-darker);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Matrix Background Effect */
.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(0deg, transparent 24%, rgba(0, 255, 65, 0.02) 25%, rgba(0, 255, 65, 0.02) 26%, transparent 27%, transparent 74%, rgba(0, 255, 65, 0.02) 75%, rgba(0, 255, 65, 0.02) 76%, transparent 77%, transparent),
        linear-gradient(90deg, transparent 24%, rgba(0, 255, 65, 0.02) 25%, rgba(0, 255, 65, 0.02) 26%, transparent 27%, transparent 74%, rgba(0, 255, 65, 0.02) 75%, rgba(0, 255, 65, 0.02) 76%, transparent 77%, transparent);
    background-size: 50px 50px;
    z-index: -1;
    opacity: 0.3;
}

/* Scan Line Effect */
.scan-line {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,
        transparent,
        var(--primary-color),
        transparent
    );
    animation: scan 4s linear infinite;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.5;
}

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

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(5, 8, 20, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.logo-text {
    color: var(--text-primary);
    letter-spacing: 2px;
}

.bracket {
    color: var(--primary-color);
    font-size: 1.8rem;
}

.highlight {
    color: var(--accent-color);
    text-shadow: 0 0 10px var(--accent-color);
}

.cursor {
    color: var(--primary-color);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
}

.nav-link:hover {
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    box-shadow: var(--shadow-glow);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    position: relative;
}

.terminal-window {
    background: var(--terminal-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-glow);
    overflow: hidden;
}

.terminal-header {
    background: rgba(0, 0, 0, 0.5);
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

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

.terminal-button.red { background: #ff5f56; }
.terminal-button.yellow { background: #ffbd2e; }
.terminal-button.green { background: #27c93f; }

.terminal-title {
    margin-left: auto;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.terminal-body {
    padding: 1.5rem;
    font-size: 0.95rem;
}

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

.prompt {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

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

.terminal-output {
    margin-top: 1rem;
    line-height: 1.8;
}

.success {
    color: var(--primary-color);
}

.hero-title {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(0, 255, 65, 0.5);
    letter-spacing: 4px;
}

/* Glitch Effect */
.glitch {
    position: relative;
    animation: glitch 5s infinite;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 var(--accent-color);
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim 3s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 var(--primary-color);
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim 2s infinite linear alternate-reverse;
}

@keyframes glitch {
    0%, 90%, 100% { transform: translate(0); }
    91%, 93%, 95%, 97%, 99% { transform: translate(-2px, 2px); }
}

@keyframes glitch-anim {
    0% { clip: rect(10px, 9999px, 31px, 0); }
    20% { clip: rect(70px, 9999px, 71px, 0); }
    40% { clip: rect(120px, 9999px, 130px, 0); }
    60% { clip: rect(25px, 9999px, 95px, 0); }
    80% { clip: rect(60px, 9999px, 80px, 0); }
    100% { clip: rect(10px, 9999px, 85px, 0); }
}

.hero-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

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

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    padding: 0.8rem 2rem;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    text-decoration: none;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn:hover {
    background: var(--primary-color);
    color: var(--bg-darker);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.btn-secondary:hover {
    background: var(--accent-color);
    color: var(--bg-darker);
    box-shadow: 0 0 20px rgba(255, 0, 128, 0.5);
}

/* ============================================
   SECTIONS
   ============================================ */

section {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 3px;
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services {
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-color);
}

.service-card.featured {
    border: 2px solid var(--accent-color);
    box-shadow: 0 0 30px rgba(255, 0, 128, 0.3);
}

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-color);
    color: var(--bg-darker);
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 4px;
}

.card-header {
    margin-bottom: 1rem;
}

.card-header .icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
    display: block;
    color: var(--primary-color);
    stroke-width: 2;
    transition: all 0.3s ease;
}

.service-card:hover .icon {
    color: var(--accent-color);
    transform: scale(1.1);
}

.card-header h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.card-body {
    margin-bottom: 1.5rem;
}

.card-body p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.service-list {
    list-style: none;
    padding-left: 0;
}

.service-list li {
    padding: 0.5rem 0;
    color: var(--text-primary);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.bullet {
    color: var(--primary-color);
}

.card-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.card-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.card-link:hover {
    color: var(--accent-color);
}

/* ============================================
   TOOLS SECTION
   ============================================ */

.tools {
    background: var(--bg-dark);
}

.tools-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.tools-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.tool-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-color);
}

.tool-header {
    text-align: center;
    margin-bottom: 1rem;
}

.tool-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    display: block;
    color: var(--primary-color);
    stroke-width: 2;
    transition: all 0.3s ease;
}

.tool-card:hover .tool-icon {
    color: var(--accent-color);
    transform: scale(1.1) rotate(5deg);
}

.tool-header h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.tool-price {
    color: var(--accent-color);
    font-weight: bold;
}

.tool-body {
    text-align: center;
}

.tool-desc {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    min-height: 60px;
}

.tool-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.tag {
    background: rgba(0, 255, 65, 0.1);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

.tools-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.tools-cta p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.terminal-contact {
    background: var(--terminal-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: var(--shadow-glow);
}

.contact-item {
    margin: 0.8rem 0;
    display: flex;
    gap: 1rem;
}

.label {
    color: var(--primary-color);
    min-width: 100px;
}

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

.security-notice {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
}

.security-notice h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.security-notice p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--primary-color);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.8rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.2);
}

.form-group textarea {
    resize: vertical;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left .logo {
    margin-bottom: 0.5rem;
}

.footer-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-contact {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.footer-email,
.footer-phone {
    color: var(--primary-color);
}

.footer-right {
    text-align: right;
}

.footer-right p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
}

.footer-disclaimer {
    font-size: 0.75rem;
    max-width: 400px;
    font-style: italic;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none; /* Implement mobile menu if needed */
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .services-grid,
    .tools-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-right {
        text-align: center;
    }

    .footer-disclaimer {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2rem;
        letter-spacing: 2px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .service-card,
    .tool-card {
        padding: 1.5rem;
    }
}

/* ============================================
   ANIMATIONS & UTILITIES
   ============================================ */

.fade-in {
    animation: fadeIn 1s ease-in;
}

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

/* Typing Animation */
@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

/* Selection Style */
::selection {
    background: var(--primary-color);
    color: var(--bg-darker);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}
