:root {
  --bg-color: #0f172a;
  --text-color: #f3f4f6;
  --text-muted: #9ca3af;
  --primary-color: #6366f1;
  /* Indigo 500 */
  --primary-hover: #4f46e5;
  /* Indigo 600 */
  --secondary-color: #1e293b;
  /* Slate 800 */
  --secondary-hover: #334155;
  /* Slate 700 */
  --accent-color: #a855f7;
  /* Purple 500 */
  --card-bg: rgba(30, 41, 59, 0.7);
  --border-color: rgba(255, 255, 255, 0.1);
  --gradient-primary: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
  --gradient-text: linear-gradient(to right, #818cf8, #c084fc);
  --font-main: 'Inter', sans-serif;
  --max-width: 1200px;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Background Effects */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 15% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(168, 85, 247, 0.15) 0%, transparent 25%);
  z-index: -2;
  pointer-events: none;
}

body::after {
  content: '';
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50vw;
  height: 50vw;
  background-image: url('logo/ciso99_bg_logo.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: -1;
  pointer-events: none;
  opacity: 0.1;
  mix-blend-mode: screen;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* Buttons */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  border: 1px solid transparent;
  box-shadow: 0 4px 6px -1px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: white;
  border: 1px solid var(--border-color);
  backdrop-filter: blur(4px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.25rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}

.header-content {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.logo img {
  height: 40px;
  width: auto;
}

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

.nav-list a:not(.btn-primary) {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.nav-list a:not(.btn-primary):hover {
  color: white;
}

/* Hero Section */
.hero {
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 6rem;
  position: relative;
  display: flex;
  align-items: center;
  min-height: 80vh;
}

.hero-content {
  text-align: center;
  max-width: 800px;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  letter-spacing: -0.025em;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* Sections General */
.section {
  padding: 5rem 0;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 4rem;
  font-size: 1.125rem;
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: 2rem;
}

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

.team-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 800px;
  margin: 0 auto;
}

/* Cards */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 2rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(99, 102, 241, 0.3);
}

/* Service Card Specifics */
.service-card .icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0.75rem;
  color: var(--primary-color);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

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

/* Team Card Specifics */
.team-card {
  text-align: center;
}

.team-img-placeholder {
  width: 100px;
  height: 100px;
  background: var(--gradient-primary);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: white;
}

.team-card h3 {
  margin-bottom: 0.25rem;
}

.team-card .role {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.team-card .bio {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Contact Section */
.contact-content {
  text-align: center;
  background: linear-gradient(to bottom, rgba(30, 41, 59, 0.5), rgba(15, 23, 42, 0.5));
  padding: 4rem 2rem;
  border-radius: 1.5rem;
  border: 1px solid var(--border-color);
}

.contact-form {
  max-width: 500px;
  margin: 2rem auto 0;
  text-align: left;
}

.form-group {
  margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  color: var(--text-color);
  font-family: var(--font-main);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-muted);
}

.btn-block {
  width: 100%;
  border: none;
  font-size: 1.1rem;
}


/* Footer */
.footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border-color);
  margin-top: 2rem;
}

.footer-content {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .header {
    height: auto;
    position: relative;
  }

  .nav-list {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding-top: 4rem;
    text-align: center;
  }

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

  .hero-actions {
    flex-direction: column;
    max-width: 300px;
    margin: 0 auto;
  }
}

/* Social Links */
.social-links {
  margin-bottom: 1rem;
}

.social-links a {
  color: var(--text-muted);
  font-size: 1.5rem;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.social-links a:hover {
  color: #0077b5;
  /* LinkedIn Blue */
  transform: translateY(-2px);
}

/* Inline LinkedIn Icon */
.linkedin-icon {
  margin-right: 0.5rem;
  color: var(--text-muted);
  font-size: 1.2rem;
  vertical-align: middle;
}

.linkedin-icon:hover {
  color: #0077b5;
}

/* Thank You Page */
.full-height {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-height);
}

.icon-large {
  font-size: 5rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
  animation: scaleIn 0.5s ease-out forwards;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

#confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 999;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-color);
  padding: 1.5rem 0;
  z-index: 2000;
  transform: translateY(0);
  transition: transform 0.3s ease-in-out;
}

.cookie-banner.hidden {
  transform: translateY(100%);
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.cookie-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

.cookie-link {
  color: var(--primary-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.cookie-link:hover {
  color: var(--primary-hover);
}

.cookie-actions {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  /* .cookie-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  } */
}