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

html, body {
    height: 100%;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0B0D17;
    color: #ffffff;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

html {
    overflow: scroll;
    overflow-x: hidden;
}
::-webkit-scrollbar {
    width: 0;  /* Remove scrollbar space */
    background: transparent;  /* Optional: just make scrollbar invisible */
}

/* Animated background */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    opacity: 0.4;
    pointer-events: none;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(11, 13, 23, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #FF0000;
    text-decoration: none;
}

.nav-logo img {
    width: 32px;
    height: 32px;
}

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

.nav-links a {
    color: #B3C5D4;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #FF0000;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 2rem;
}

.hero-content {
    max-width: 900px;
    animation: fadeInUp 1s ease-out;
}

.hero-badge {
    display: inline-block;
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: #FF0000;
    font-weight: 500;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ff0000 35%, #524261 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.3rem;
    color: #B3C5D4;
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.btn-primary {
    background: linear-gradient(135deg, #362b41 0%, #FF0000 100%);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(0, 217, 255, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 1rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

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

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

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

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

.section-title h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ff0000 35%, #524261 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title p {
    font-size: 1.2rem;
    color: #B3C5D4;
    max-width: 600px;
    margin: 0 auto;
}

/* dev-guard Product Card */
.product-showcase {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 3rem;
    margin: 4rem auto;
    max-width: 800px;
    backdrop-filter: blur(20px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-showcase:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 217, 255, 0.2);
}

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

.product-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: white;
    padding: 8px;
}

.product-info h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #FF0000;
    margin-bottom: 0.5rem;
}

.product-info p {
    color: #B3C5D4;
    font-size: 1.1rem;
}

.product-features {
    display: grid;
    flex-direction: column; /* stack vertically */
    gap: 1.5rem;           /* space between items */
    /*grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));*/
    gap: 2rem;
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #FF0000 0%, #362b41 100%);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.feature-text {
    color: #E0E8F0;
    line-height: 1.6;
}

/* Footer */
.footer {
    padding: 4rem 2rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.footer p {
    color: #6B7280;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: #B3C5D4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #FF0000;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .hero {
        padding: 0 1rem;
    }

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

    .product-header {
        flex-direction: column;
        text-align: center;
    }

    .product-features {
        grid-template-columns: 1fr;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

.project-table-container {
    margin-top: 3rem;
    overflow-x: auto; /* responsive scroll for small screens */
}

.project-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    overflow: hidden;
}

.project-table th,
.project-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.project-table th {
    background: rgba(255, 255, 255, 0.1);
    font-weight: 600;
    color: #fff;
}

.project-table td {
    color: #ddd;
}

.project-table a {
    color: #FF0000;
    text-decoration: none;
    font-weight: 500;
}

.project-table a:hover {
    text-decoration: underline;
}

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


.blog-post {
  max-width: 800px;
  margin: 4rem auto;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.2);
}

.blog-title {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #ffffff 0%, #FF0000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.blog-meta {
  color: #aaa;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.blog-content {
  line-height: 1.7;
  color: #ddd;
}

.blog-list {
  display: grid;
  gap: 2rem;
}

.blog-card {
  padding: 1.5rem;
  background: rgba(15, 15, 15, 0.8);
  border-radius: 10px;
  transition: transform 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
}

.blog-card h3 a {
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #ffffff 0%, #FF0000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

:root {
  /* tune these to taste */
  --kosec-red-deep: #B80D12;   /* deep crimson */
  --kosec-red:       #D61A1F;  /* primary red */
  --kosec-orange:    #FF5A2C;  /* warm orange edge */
}

.kosec-gradient{
  background:
    radial-gradient(120% 120% at 0% 100%, rgba(0,0,0,0.25), transparent 50%) ,
    linear-gradient(135deg, #B80D12 0%, #D61A1F 45%, #FF5A2C 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 12px rgba(255, 70, 40, 0.22);
}


/* Dark backdrop like your sample */
body { background: #0b0b0b; }

/* KOSEC Syntax Highlighting Theme */

pre,
code {
  font-family: "Fira Code", "JetBrains Mono", "Courier New", monospace;
  font-size: 0.95rem;
  background: #0a0a0a; /* deep black background */
  color: #E6E6E6; /* default neutral text */
  border-radius: 8px;
  padding: 1rem;
  overflow-x: auto;
}

/* Inline code */
code {
  padding: 0.2rem 0.4rem;
  background: #1a1a1a;
  border-radius: 4px;
}

/* Syntax colors */
.highlight .c, /* Comment */
.highlight .cm,
.highlight .c1,
.highlight .cs {
  color: #666666;
  font-style: italic;
}

.highlight .k, /* Keywords */
.highlight .kd,
.highlight .kn,
.highlight .kp,
.highlight .kr,
.highlight .kt {
  color: #FF0000; /* KOSEC red */
  font-weight: bold;
}

.highlight .s, /* Strings */
.highlight .sb,
.highlight .sc,
.highlight .sd,
.highlight .s2,
.highlight .se,
.highlight .sh,
.highlight .si,
.highlight .sx,
.highlight .sr,
.highlight .s1,
.highlight .ss {
  color: #FF5555; /* lighter red for contrast */
}

.highlight .n, /* Names (variables, functions) */
.highlight .na,
.highlight .nb,
.highlight .bp,
.highlight .nc,
.highlight .no,
.highlight .nd,
.highlight .ni,
.highlight .ne,
.highlight .nf,
.highlight .nl,
.highlight .nn,
.highlight .nx,
.highlight .py,
.highlight .nt,
.highlight .nv,
.highlight .vc,
.highlight .vg,
.highlight .vi {
  color: #E6E6E6; /* default neutral */
}

.highlight .m, /* Numbers */
.highlight .mi,
.highlight .mf,
.highlight .mh,
.highlight .mo,
.highlight .il {
  color: #FF8800; /* warm accent for numbers */
}

.highlight .o, /* Operators */
.highlight .ow {
  color: #FF0000;
}

.highlight .p { /* Punctuation */
  color: #B3B3B3;
}

.highlight .gd { /* Deletions in diffs */
  background: rgba(255, 0, 0, 0.15);
  color: #FF4444;
}

.highlight .gi { /* Additions in diffs */
  background: rgba(0, 255, 0, 0.15);
  color: #55FF55;
}

/* Line numbers (if enabled) */
.highlight .lineno {
  color: #444;
  padding-right: 1rem;
  user-select: none;
}

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

.blog-card {
  background: rgba(0,0,0,0.4); /* dark translucent for contrast */
  border: 1px solid #ff0000;
  border-radius: 1rem;
  padding: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card h3 a {
  background: linear-gradient(135deg, #ff5555, #ff0000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
}

.blog-card p.blog-meta {
  font-size: 0.9rem;
  color: #ff5555;
  margin-bottom: 0.5rem;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.4);
}

.blog-all-link {
  text-align: center;
  margin-top: 2rem;
}

.blog-card {
  background: rgba(15, 15, 15, 0.85);
  border: 1px solid #ff0000;
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.4);
}

.blog-card h3 a {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #ff5555 0%, #ff0000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.blog-card p.blog-meta {
  font-size: 0.85rem;
  color: #ff5555;
  margin-bottom: 0.75rem;
}

.blog-card p {
  color: #ddd;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.blog-card .btn-secondary {
  align-self: flex-start;
  margin-top: auto;
}

.blog-list-alt {
    display: flex;
    flex-direction: column; /* stack vertically */
    gap: 2rem; /* space between cards */
}

.blog-card-alt {
    background-color: #1a1a1a; /* or whatever your card background is */
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card-alt:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.4);
}

.blog-card-alt h3 a {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #ff5555 0%, #ff0000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.blog-card-alt p.blog-meta {
  font-size: 0.85rem;
  color: #ff5555;
  margin-bottom: 0.75rem;
}

.blog-card-alt p {
  color: #ddd;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.blog-card-alt .btn-secondary {
  align-self: flex-start;
  margin-top: auto;
}

.blog-all-link-alt {
  text-align: center;
  margin-top: 2rem;
}
