/*
Theme Name: System Security Pro - Premium Dark
Theme URI: https://systemsecurity.pro
Author: Tharindu Damith
Author URI: https://systemsecurity.pro
Description: Premium dark theme for cybersecurity consulting - Tharindu Damith
Version: 1.0
License: GPL v3
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: system-security-pro
Domain Path: /languages
*/

:root {
    --color-black: #0a0e27;
    --color-charcoal: #1a1f3a;
    --color-dark-bg: #111827;
    --color-card-bg: #1f2937;
    --color-green-primary: #2dd4bf;
    --color-green-light: #5eead4;
    --color-green-muted: #14b8a6;
    --color-text-primary: #f8fafc;
    --color-text-secondary: #cbd5e1;
    --color-text-muted: #94a3b8;
    --color-border: #2d3748;
    --shadow-lg: 0 10px 25px 0 rgba(0, 0, 0, 0.5);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
    background-color: var(--color-black);
    color: var(--color-text-primary);
    line-height: 1.6;
    font-size: 16px;
}

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

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
}

.accent {
    color: var(--color-green-primary);
}

a {
    color: var(--color-green-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--color-green-light);
}

/* Header */
header {
    background: var(--color-black);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background-color: rgba(10, 14, 39, 0.95);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.logo {
    font-size: 1rem;
    font-weight: 800;
    color: var(--color-green-primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 6px;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-green-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

nav a {
    color: var(--color-text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-bottom: 8px;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-green-primary);
    transition: width 0.3s ease;
}

nav a:hover {
    color: var(--color-green-primary);
}

nav a:hover::after {
    width: 100%;
}

.primary-navigation {
    display: block;
}

/* Hero */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--color-black) 0%, var(--color-charcoal) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

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

.hero-title {
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    max-width: 700px;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 700px;
    margin-bottom: 2.5rem;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border: 2px solid transparent;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    margin-right: 1rem;
    margin-bottom: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-green-primary) 0%, var(--color-green-muted) 100%);
    color: var(--color-black);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 50px rgba(45, 212, 191, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--color-green-primary);
    border-color: var(--color-green-primary);
}

.btn-secondary:hover {
    background: rgba(45, 212, 191, 0.1);
}

/* Sections */
section {
    padding: 100px 0;
    position: relative;
}

section:nth-child(odd) {
    background: var(--color-black);
}

section:nth-child(even) {
    background: var(--color-charcoal);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

#about {
    background: linear-gradient(135deg, var(--color-charcoal) 0%, var(--color-dark-bg) 100%);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

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

.section-header h2 {
    margin-bottom: 1rem;
}

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

.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Cards */
.card {
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.card p {
    color: var(--color-text-muted);
}

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

/* Service Cards */
.service-card {
    background: linear-gradient(135deg, var(--color-card-bg) 0%, rgba(45, 212, 191, 0.02) 100%);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.service-card:hover {
    border-color: var(--color-green-primary);
    box-shadow: 0 0 30px rgba(45, 212, 191, 0.15);
    transform: translateY(-8px);
}

/* Feature Box */
.feature-box {
    background: var(--color-card-bg);
    border-left: 4px solid var(--color-green-primary);
    padding: 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-green-primary);
    margin-bottom: 0.5rem;
}

.feature-box:hover {
    box-shadow: var(--shadow-lg);
}

/* Case Study Card */
.case-study-card {
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.case-study-header {
    background: linear-gradient(135deg, var(--color-green-primary) 0%, var(--color-green-muted) 100%);
    padding: 2rem;
    color: var(--color-black);
}

.case-study-header h3 {
    color: var(--color-black);
    margin-bottom: 0.5rem;
}

.case-study-meta {
    font-size: 0.9rem;
    color: rgba(10, 14, 39, 0.8);
}

.case-study-content {
    padding: 2rem;
}

.case-study-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

/* Cert Badge */
.cert-badge {
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.cert-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cert-badge h4 {
    color: var(--color-text-primary);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.cert-issuer {
    font-size: 0.85rem;
    color: var(--color-green-primary);
}

.cert-badge:hover {
    border-color: var(--color-green-primary);
    box-shadow: var(--shadow-lg);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--color-charcoal) 0%, var(--color-dark-bg) 100%);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 4rem;
    text-align: center;
}

.cta-section h2 {
    color: var(--color-text-primary);
}

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

/* Footer */
footer {
    background: var(--color-charcoal);
    border-top: 1px solid var(--color-border);
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    color: var(--color-green-primary);
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

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

.footer-section li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: var(--color-text-secondary);
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding-top: 2rem;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    nav ul {
        gap: 1.5rem;
    }
    
    nav a {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .header-content {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .primary-navigation {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--color-charcoal);
        border-bottom: 1px solid var(--color-border);
        z-index: 999;
    }
    
    .primary-navigation.active {
        display: block;
    }
    
    .primary-navigation ul {
        flex-direction: column;
        gap: 0;
        padding: 1rem;
    }
    
    .primary-navigation li {
        border-bottom: 1px solid var(--color-border);
    }
    
    .primary-navigation a {
        display: block;
        padding: 12px 16px;
        font-size: 0.9rem;
    }
    
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 60px 0;
    }
    
    .cta-section {
        padding: 2rem;
    }
    
    .btn {
        display: block;
        width: 100%;
        margin-right: 0;
        margin-bottom: 0.75rem;
    }
    
    .container {
        padding: 0 1.25rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    p {
        font-size: 0.95rem;
    }
    
    .hero {
        padding: 40px 0 30px;
    }
    
    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
    
    section {
        padding: 40px 0;
    }
    
    .card {
        padding: 1.25rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    nav a {
        font-size: 0.75rem;
        padding: 6px 10px;
    }
}
