* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    display: flex;
    flex-direction: column;
    color: #f1f5f9;
    line-height: 1.6;
}

header {
    background: rgba(15, 23, 42, 0.95);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    padding: 1.2rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.logo-container {
    display: flex;
    justify-content: center;
    flex-grow: 1;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #60a5fa;
    letter-spacing: -0.5px;
    background: linear-gradient(to right, #60a5fa, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-icon {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.menu-btn {
    background: rgba(96, 165, 250, 0.2);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    font-size: 1.5rem;
    color: #60a5fa;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.menu-btn:hover {
    background: rgba(96, 165, 250, 0.3);
    transform: rotate(90deg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 2rem;
    width: 280px;
    background: rgba(15, 23, 42, 0.98);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    padding: 1.5rem;
    display: none;
    z-index: 200;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(96, 165, 250, 0.2);
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-height: 80vh;
    overflow-y: auto;
}

.dropdown-menu.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Spacer for header balance */
.header-spacer {
    width: 50px;
    visibility: hidden;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        padding: 1rem;
    }
    
    .dropdown-menu {
        left: 1rem;
        width: calc(100% - 2rem);
        max-height: 70vh;
    }
    
    .menu-btn {
        position: static;
    }
}

@media (max-width: 480px) {
    .dropdown-menu {
        width: 100%;
        left: 0;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
}

.logo-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
}

.menu-header {
    padding: 1rem;
    border-bottom: 1px solid rgba(96, 165, 250, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.home-link {
    color: #60a5fa;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.menu-items {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.menu-item {
    background: rgba(30, 41, 59, 0.7);
    border-radius: 8px;
    padding: 10px 15px;
    color: #cbd5e1;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
}

.menu-item:hover {
    background: rgba(59, 130, 246, 0.2);
    transform: translateX(5px);
    color: white;
}

.menu-item i {
    width: 20px;
    text-align: center;
}

.menu-footer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(96, 165, 250, 0.2);
}

.fa-ellipsis-v {
    font-size: 1.2rem;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 2rem; 
    width: 280px;
    background: rgba(15, 23, 42, 0.98);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    padding: 1.5rem;
    display: none;
    z-index: 200;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(96, 165, 250, 0.2);
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-height: 80vh;
    overflow-y: auto;
}

.dropdown-menu.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-menu h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: #60a5fa;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.dropdown-menu h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 2px;
    background: linear-gradient(to right, transparent, #3b82f6, transparent);
}

.menu-category {
    margin-bottom: 1.8rem;
}

.menu-category h4 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: #93c5fd;
    display: flex;
    align-items: center;
    gap: 8px;
}

.menu-category h4 i {
    color: #3b82f6;
}

.menu-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.menu-item {
    background: rgba(30, 41, 59, 0.7);
    border-radius: 10px;
    padding: 10px 15px;
    font-size: 0.95rem;
    color: #cbd5e1;
    transition: all 0.2s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.menu-item:hover {
    background: rgba(59, 130, 246, 0.2);
    transform: translateX(5px);
    color: white;
}

.menu-item i {
    color: #60a5fa;
    font-size: 0.9rem;
}

/* Main Content */
main {
    flex-grow: 1;
    padding: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.welcome-section {
    margin-bottom: 3rem;
    text-align: center;
    padding: 0 20px;
}

.welcome-section h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
    line-height: 1.2;
    background: linear-gradient(to right, #93c5fd, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.welcome-section p {
    font-size: 1.25rem;
    color: #cbd5e1;
    max-width: 800px;
    margin: 0 auto;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.8rem;
    margin-top: 2rem;
}

.card {
    background: rgba(30, 41, 59, 0.7);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(96, 165, 250, 0.1);
    backdrop-filter: blur(10px);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.2);
    border-color: rgba(96, 165, 250, 0.3);
}

.card-ip {
    border-left: 4px solid #3b82f6;
}

.card-browser {
    border-left: 4px solid #8b5cf6;
}

.card-visitors {
    border-left: 4px solid #10b981;
}

.card-content {
    padding: 1.8rem;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.icon-ip {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.icon-browser {
    background: rgba(139, 92, 246, 0.15);
    color: #8b5cf6;
}

.icon-visitors {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.card-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.card-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

#user-agent {
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #cbd5e1;
}

/* Visitor Counter Animation */
.counter-animation {
    transition: all 0.5s ease;
    display: inline-block;
}

/* Tools Section */
.tools-section {
    margin-top: 4rem;
    padding: 0 20px;
}

.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 2.5rem;
    color: white;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, #3b82f6, #8b5cf6);
    border-radius: 2px;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.8rem;
    margin-top: 1rem;
}

.tool-card {
    background: rgba(30, 41, 59, 0.7);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(96, 165, 250, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
    border-color: rgba(96, 165, 250, 0.3);
}

.tool-header {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(15, 23, 42, 0.5);
    border-bottom: 1px solid rgba(96, 165, 250, 0.1);
}

.tool-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.tool-icon.decode {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.tool-icon.security {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.tool-icon.pentest {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.tool-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
}

.tool-items {
    padding: 1.5rem;
}

.tool-item {
    padding: 12px 15px;
    margin-bottom: 10px;
    background: rgba(15, 23, 42, 0.4);
    border-radius: 10px;
    color: #cbd5e1;
    transition: all 0.2s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tool-item:hover {
    background: rgba(96, 165, 250, 0.2);
    transform: translateX(5px);
}

.tool-item i {
    color: #60a5fa;
}

/* Footer */
footer {
    background: rgba(15, 23, 42, 0.95);
    color: white;
    padding: 2.5rem 1.5rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(96, 165, 250, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.footer-links {
    display: flex;
    gap: 1.8rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: #93c5fd;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
    position: relative;
}

.footer-links a:hover {
    color: #60a5fa;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #3b82f6;
    transition: width 0.3s ease;
}

.footer-links a:hover::after {
    width: 100%;
}

.copyright {
    color: #94a3b8;
    text-align: center;
    font-size: 0.95rem;
}

.heart {
    color: #f87171;
    margin: 0 4px;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.card {
    animation: fadeIn 0.6s ease-out forwards;
    opacity: 0;
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }

.tool-card {
    animation: fadeIn 0.6s ease-out forwards;
    opacity: 0;
}

.tool-card:nth-child(1) { animation-delay: 0.2s; }
.tool-card:nth-child(2) { animation-delay: 0.3s; }
.tool极

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(59, 130, 246, 0.3);
    border-radius: 50%;
    border-top-color: #3b82f6;
    animation: spin 1s ease-in-out infinite;
    margin-right: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        padding: 1rem;
    }
    
    main {
        padding: 1.5rem;
    }
    
    .welcome-section h2 {
        font-size: 2.2rem;
    }
    
    .welcome-section p {
        font-size: 1.1rem;
    }
    
    .dropdown-menu {
        left: 1rem;
        width: calc(100% - 2rem);
        max-height: 70vh;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .menu-btn {
        left: 1rem;
    }
}

@media (max-width: 480px) {
    .card-value {
        font-size: 1.2rem;
    }
    
    .dropdown-menu {
        width: 100%;
        left: 0;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    
    .menu-items {
        grid-template-columns: 1fr;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
}

.legal-page {
    padding: 2rem;
    max-width: 900px;
    margin: 0 auto;
    color: #e2e8f0;
    display: flex;
    flex-direction: column;
    align-items: center; /* Ini yang akan memusatkan konten */
    text-align: center; /* Untuk teks rata tengah */
}

.legal-section {
    background: rgba(15, 23, 42, 0.8);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid rgba(96, 165, 250, 0.2);
    width: 100%; /* Pastikan memenuhi container */
    text-align: left; /* Untuk konten policy tetap rata kiri */
}

.legal-section h1,
.legal-section h2 {
    text-align: center; /* Judul tetap di tengah */
}

.last-updated {
    text-align: center;
    color: #94a3b8;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.legal-article {
    margin-bottom: 2rem;
}

.legal-article h2 {
    color: #93c5fd;
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    border-bottom: 1px solid rgba(96, 165, 250, 0.3);
    padding-bottom: 0.5rem;
}

.legal-article p, .legal-article li {
    line-height: 1.7;
    color: #cbd5e1;
    margin-bottom: 0.8rem;
}

.legal-article ul {
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.legal-article li {
    margin-bottom: 0.5rem;
}

.legal-contact {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(96, 165, 250, 0.3);
    text-align: center;
}

@media (max-width: 768px) {
    .legal-page {
        padding: 1rem;
    }
    
    .legal-section {
        padding: 1.5rem;
    }
}

.header-spacer {
    width: 50px; 
    visibility: hidden;
}

header {
    background: rgba(15, 23, 42, 0.95);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    padding: 1.2rem 2rem;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-btn {
    background: rgba(96, 165, 250, 0.2);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    font-size: 1.5rem;
    color: #60a5fa;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative; 
    z-index: 1;
}

.header-spacer {
    width: 50px;
    visibility: hidden;
    margin-left: auto; header {
    background: rgba(15, 23, 42, 0.95);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    padding: 1.2rem 2rem;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

/* Logo Positioning */
.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Menu Button */
.menu-btn {
    background: rgba(96, 165, 250, 0.2);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    font-size: 1.5rem;
    color: #60a5fa;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative; /* Ubah dari absolute */
    z-index: 1;
}

/* Spacer for header balance */
.header-spacer {
    width: 50px;
    visibility: hidden;
    margin-left: auto; /* Pindahkan spacer ke kanan */
}
}

 :root {
  --neon-cyan: #08f7fe;
  --neon-purple: #7122fa;
  --neon-pink: #f70094;
  --dark-bg: #0a0a12;
  --darker-bg: #050508;
  --blue-500: #3b82f6;
  --blue-400: #60a5fa;
  --blue-300: #93c5fd;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --emerald-500: #10b981;
  --violet-500: #8b5cf6;
  --rose-500: #f43f5e;
}

/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: linear-gradient(135deg, var(--dark-bg), var(--darker-bg));
  color: var(--slate-100);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Header Styles */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem;
  border-bottom: 1px solid rgba(96, 165, 250, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  justify-content: center;
  flex-grow: 1;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.logo:active {
  transform: scale(0.97);
}

.logo h1 {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(to right, var(--blue-400), var(--blue-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue-500), var(--violet-500));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--darker-bg);
  z-index: 200;
  padding: 2rem 1.5rem;
  overflow-y: auto;
  animation: fadeIn 0.3s ease-out;
}

.mobile-menu.active {
  display: block;
}

.menu-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  font-size: 1.5rem;
  color: var(--neon-pink);
  background: none;
  border: none;
  cursor: pointer;
}

/* Menu Content */
.menu-category {
  margin-bottom: 1.5rem;
}

.menu-category h4 {
  font-size: 1.1rem;
  color: var(--blue-300);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.menu-items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.menu-item {
  padding: 0.75rem 1rem;
  background: rgba(30, 41, 59, 0.6);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.2s ease;
  color: var(--slate-200);
  text-decoration: none;
}

.menu-item:active {
  background: rgba(59, 130, 246, 0.3);
  transform: translateX(4px);
}

.menu-item i {
  color: var(--blue-400);
  font-size: 0.9rem;
}

/* Main Content */
main {
  flex: 1;
  padding: 1.5rem;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}

/* Hero Section */
.hero-section {
  margin-bottom: 2.5rem;
  text-align: center;
}

.hero-section h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(to right, var(--blue-400), var(--violet-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.hero-section p {
  color: var(--slate-300);
  max-width: 600px;
  margin: 0 auto 1.5rem;
}

/* Card Grid */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.card {
  background: rgba(30, 41, 59, 0.7);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(96, 165, 250, 0.1);
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.card:active {
  transform: scale(0.98);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.icon-ip {
  background: rgba(59, 130, 246, 0.15);
  color: var(--blue-500);
}

.icon-browser {
  background: rgba(139, 92, 246, 0.15);
  color: var(--violet-500);
}

.icon-visitors {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-500);
}

.card-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--slate-400);
  font-weight: 600;
}

.card-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
}

/* Tools Section */
.tools-section {
  margin-top: 3rem;
}

.section-title {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 1.5rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, var(--blue-500), var(--violet-500));
  border-radius: 3px;
}

.tools-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.tool-card {
  background: rgba(30, 41, 59, 0.7);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(96, 165, 250, 0.1);
  transition: all 0.3s ease;
}

.tool-header {
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(15, 23, 42, 0.5);
}

.tool-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.tool-icon.decode {
  background: rgba(59, 130, 246, 0.15);
  color: var(--blue-500);
}

.tool-icon.security {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-500);
}

.tool-icon.pentest {
  background: rgba(244, 63, 94, 0.15);
  color: var(--rose-500);
}

.tool-title {
  font-size: 1.2rem;
  font-weight: 600;
}

.tool-items {
  padding: 1.25rem;
}

.tool-item {
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  background: rgba(15, 23, 42, 0.4);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.2s ease;
}

.tool-item:active {
  background: rgba(96, 165, 250, 0.2);
  transform: translateX(4px);
}

.tool-item i {
  color: var(--blue-400);
  font-size: 0.85rem;
}

/* Footer */
footer {
  background: rgba(15, 23, 42, 0.95);
  padding: 2rem 1rem;
  margin-top: 3rem;
  border-top: 1px solid rgba(96, 165, 250, 0.1);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.footer-links a {
  color: var(--blue-300);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-links a:active {
  color: var(--blue-400);
}

.copyright {
  text-align: center;
  color: var(--slate-500);
  font-size: 0.9rem;
}

.heart {
  color: var(--rose-500);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.4s ease-out forwards;
  opacity: 0;
}

.card {
  animation: fadeIn 0.4s ease-out forwards;
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }

.tool-card {
  animation: fadeIn 0.4s ease-out forwards;
}

.tool-card:nth-child(1) { animation-delay: 0.2s; }
.tool-card:nth-child(2) { animation-delay: 0.3s; }
.tool-card:nth-child(3) { animation-delay: 0.4s; }

/* Loading Animation */
.loading {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 3px solid rgba(59, 130, 246, 0.2);
  border-radius: 50%;
  border-top-color: var(--blue-500);
  animation: spin 1s linear infinite;
  margin-right: 0.5rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Legal Pages */
.legal-page {
  padding: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.legal-section {
  background: rgba(30, 41, 59, 0.7);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.legal-section h1 {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--blue-300);
}

.last-updated {
  text-align: center;
  color: var(--slate-500);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.legal-article {
  margin-bottom: 1.5rem;
}

.legal-article h2 {
  color: var(--blue-300);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(96, 165, 250, 0.2);
}

.legal-article p, .legal-article li {
  color: var(--slate-300);
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.legal-article ul {
  padding-left: 1.25rem;
  margin: 1rem 0;
}

.legal-article li {
  margin-bottom: 0.5rem;
}

.legal-contact {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(96, 165, 250, 0.2);
  text-align: center;
}

/* Responsive Design */
@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  header {
    padding: 1rem 2rem;
  }
  
  main {
    padding: 2rem;
  }
  
  .logo h1 {
    font-size: 1.7rem;
  }
  
  .logo-icon {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }
  
  .hero-section h1 {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .menu-items {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .tools-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .legal-page {
    padding: 2rem;
  }
  
  .legal-section {
    padding: 2rem;
  }
}