/* Import the font for the tech title */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700;900&display=swap');

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #111;
    color: #fff;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Smooth Animated Grid Background */
.grid-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(0, 30, 60, 0.3) 0%, rgba(0, 0, 0, 0.9) 70%);
    z-index: -2;
    pointer-events: none;
}

/* Beautiful Animated Grid Overlay */
.animated-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    background:
        repeating-linear-gradient(0deg, rgba(0,255,255,0.15) 0, rgba(0,255,255,0.2) 1px, transparent 1px, transparent 100px),
        repeating-linear-gradient(90deg, rgba(0,128,255,0.15) 0, rgba(0,128,255,0.2) 1px, transparent 1px, transparent 100px);
    background-size: 100px 100px;
    opacity: 0.6;
    filter: blur(0.5px) brightness(1.2) drop-shadow(0 0 8px #00ffff88);
    animation: gridMove 15s linear infinite;
    transition: opacity 0.5s;
}

@keyframes gridMove {
    0% { background-position: 0 0, 0 0; }
    100% { background-position: -100px -100px, -100px -100px; }
}

.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.background-particle {
    position: absolute;
    pointer-events: none;
    animation: floatParticle linear infinite;
    opacity: 0.18;
    background: none;
    border-radius: 0;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
.background-particle svg {
    display: block;
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) translateX(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
        transform: translateY(90vh) translateX(0) scale(1);
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-10vh) translateX(var(--random-x)) scale(0);
        opacity: 0;
    }
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 2rem;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(45deg, #00ffff, #0080ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    position: relative;
}

.nav-links a:hover {
    color: #00ffff;
    background: rgba(0, 255, 255, 0.1);
    transform: translateY(-1px);
}

.nav-links a.active {
    color: #00ffff;
    background: rgba(0, 255, 255, 0.15);
    border: 1px solid rgba(0, 255, 255, 0.3);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 4.2rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    text-align: center;
    text-transform: uppercase;
    background: none;
    -webkit-text-fill-color: #fff;
}

.hero-subtitle {
    font-size: 2rem;
    color: #b0b8c9;
    font-weight: 400;
    margin-bottom: 0.5rem;
    text-align: center;
}
.hero-special {
    font-size: 1.3rem;
    color: #3399ff;
    font-weight: 500;
    margin-bottom: 2.2rem;
    text-align: center;
    letter-spacing: 0.5px;
}
.hero-features {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    margin-bottom: 2.5rem;
}
.hero-feature-card {
    background: rgba(30, 40, 60, 0.85);
    border-radius: 12px;
    padding: 0.7rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 70px;
    box-shadow: 0 2px 12px 0 rgba(0,0,0,0.10);
}
.hero-feature-icon {
    font-size: 1.3rem;
    color: #3399ff;
    margin-bottom: 0.3rem;
}
.hero-feature-label {
    color: #b0b8c9;
    font-size: 0.92rem;
    font-weight: 500;
}
.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero-cta-btn {
    display: inline-block;
    padding: 1.1rem 2.5rem;
    background: linear-gradient(90deg, #2563eb 0%, #00c6fb 100%);
    color: #fff;
    font-weight: 700;
    border: none;
    border-radius: 14px;
    font-size: 1.15rem;
    text-decoration: none;
    box-shadow: 0 4px 24px 0 rgba(0,198,251,0.13), 0 1.5px 8px 0 rgba(0,0,0,0.18);
    transition: background 0.2s, color 0.2s, transform 0.18s, box-shadow 0.18s;
    position: relative;
    overflow: hidden;
}
.hero-cta-btn:hover {
    background: linear-gradient(90deg, #00c6fb 0%, #2563eb 100%);
    color: #fff;
    transform: translateY(-2px) scale(1.045);
    box-shadow: 0 8px 32px 0 rgba(0,198,251,0.18), 0 2px 12px 0 rgba(0,0,0,0.22);
}
@media (max-width: 800px) {
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.2rem; }
    .hero-special { font-size: 1rem; }
    .hero-features { flex-direction: row; gap: 0.7rem; }
    .hero-feature-card { min-width: 0; flex: 1 1 0; }
}

/* --- Hero Main Headline Redesign --- */
.hero-main-headline {
  margin-top: 2.5rem;
  margin-bottom: 0.5rem;
  text-align: center;
}
.creative-gradient {
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: 2px;
  background: linear-gradient(90deg, #3ecbff 10%, #a259ff 50%, #ff00c8 80%, #00ffb8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  display: inline-block;
}
.hero-main-subtitle {
  font-size: 1.6rem;
  color: #b0b8c9;
  font-weight: 500;
  margin-bottom: 1.2rem;
  text-align: center;
}
.hero-main-desc {
  color: #e0e0e0;
  font-size: 1.13rem;
  text-align: center;
  margin-bottom: 2.2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero-main-cta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.hero-main-btn {
  font-size: 1rem;
  padding: 0.7rem 1.7rem;
  border-radius: 2rem;
  display: inline-block;
  color: #fff;
  font-weight: 700;
  border: none;
  background: linear-gradient(90deg, #2563eb 0%, #00c6fb 100%);
  text-decoration: none;
  box-shadow: 0 4px 24px 0 rgba(0,198,251,0.13), 0 1.5px 8px 0 rgba(0,0,0,0.18);
  transition: background 0.2s, color 0.2s, transform 0.18s, box-shadow 0.18s;
  position: relative;
  overflow: hidden;
}
.hero-main-btn-primary {
  font-size: 1rem;
  padding: 0.7rem 1.7rem;
  border-radius: 2rem;
  display: inline-block;
  color: #fff;
  font-weight: 700;
  border: none;
  background: #a259ff;
  text-decoration: none;
  box-shadow: 0 0 8px 0 #a259ff33, 0 1.5px 8px 0 rgba(0,0,0,0.18);
  transition: background 0.2s, color 0.2s, box-shadow 0.18s, transform 0.18s;
  position: relative;
  overflow: hidden;
}
.hero-main-btn-primary:hover {
  background: #fff;
  color: #a259ff;
  box-shadow: 0 0 16px 0 #a259ff66;
}
.hero-main-btn-outline {
  background: transparent;
  color: #a259ff;
  border: 2px solid #a259ff;
  transition: color 0.18s, background 0.18s, border 0.18s;
  display: inline-block;
  padding: 0.7rem 1.7rem;
  border-radius: 2rem;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
}
.hero-main-btn-outline:hover {
  background: #a259ff;
  color: #fff;
  border-color: #a259ff;
}
@media (max-width: 700px) {
  .hero-main-headline .creative-gradient {
    font-size: 2.1rem;
  }
  .hero-main-subtitle {
    font-size: 1.1rem;
  }
  .hero-main-desc {
    font-size: 0.98rem;
    padding: 0 0.5rem;
  }
  .hero-main-cta {
    flex-direction: column;
    gap: 1.1rem;
    width: auto;
    align-items: center;
    padding: 0;
  }
  .hero-main-btn {
    width: auto;
    text-align: center;
    padding: 0.7rem 1.7rem;
    font-size: 1rem;
    min-width: 0;
    box-sizing: border-box;
    border-radius: 2rem;
  }
}

@media (max-width: 600px) {
    .matrix-terminal {
        max-width: 99vw;
        padding: 0.35rem 0.02rem 0.35rem 0.02rem;
    }
    .matrix-timeline {
        gap: 1.7rem !important;
    }
    .matrix-timeline-row {
        margin-bottom: 1.7rem !important;
    }
    .matrix-timeline-content {
        font-size: 0.85rem;
        padding: 0.28rem 0.18rem 0.28rem 0.28rem;
        border-radius: 7px;
    }
    .matrix-timeline-title {
        font-size: 0.85rem;
        margin-bottom: 0.08rem;
        padding-left: 1.1em;
    }
    .matrix-timeline-price {
        font-size: 0.85rem;
        margin-bottom: 0.13rem;
        padding-left: 1.1em;
    }
    .matrix-timeline-features li {
        font-size: 0.85rem;
        margin-bottom: 0.09rem;
        padding-left: 0.45rem;
    }
    .matrix-terminal-header {
        font-size: 0.85rem;
        margin-bottom: 0.35rem;
    }
    .matrix-terminal-btn {
        font-size: 0.89rem;
        padding: 0.5rem 0.7rem;
        border-radius: 0.9rem;
    }
    .matrix-timeline-features li {
        position: relative;
        padding-left: 1.1em;
    }
    .matrix-timeline-features li::before {
        content: '\2022'; /* Unicode bullet • */
        position: absolute;
        left: 0;
        color: #fff;
        font-size: 1em;
        line-height: 1;
        top: 0.1em;
    }
}

/* Section Styles */
section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #a259ff;
    -webkit-text-fill-color: #a259ff;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    color: #cccccc;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.skill-tag {
    padding: 0.5rem 1rem;
    background: #222;
    border: 1px solid #a159ff00;
    border-radius: 25px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    color: #fff;
}

.skill-tag:hover {
    background: #a259ff;
    color: #fff;
}

/* Projects Carousel */
.projects-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.projects-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.project-slide {
    min-width: 100%;
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    margin: 1rem;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.project-preview {
    flex: 1;
    position: relative;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.project-preview iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

.project-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,255,255,0.1), rgba(0,128,255,0.1));
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-slide:hover .project-preview::before {
    opacity: 1;
}

.project-info {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-info h3 {
    color: #00ffff;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.project-info p {
    color: #cccccc;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.project-tech {
    color: #0080ff;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.project-link {
    display: inline-block;
    color: #00ffff;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border: 1px solid #00ffff;
    border-radius: 25px;
    align-self: flex-start;
}

.project-link:hover {
    background: #00ffff;
    color: #000;
    transform: translateY(-2px);
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border: 2px solid #00ffff;
    background: rgba(0, 255, 255, 0.1);
    color: #00ffff;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.carousel-btn:hover {
    background: #00ffff;
    color: #000;
    transform: scale(1.1);
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #00ffff;
    transform: scale(1.2);
}

/* Featured Projects Grid - Modern Responsive Layout */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin: 2.5rem 0 2rem 0;
}
.project-card {
  background: #181818;
  border: 1.5px solid rgba(0,255,255,0.13);
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(0,255,255,0.07);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.project-card:hover {
  box-shadow: 0 8px 32px 0 rgba(0,255,255,0.13), 0 2px 12px 0 rgba(0,0,0,0.18);
  transform: translateY(-4px) scale(1.03);
}
.project-image {
  width: 100%;
  height: 180px;
  background: #181e25;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.project-image iframe,
.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
  border-radius: 0;
}
.project-details {
  padding: 1.2rem 1.1rem 1.1rem 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: none;
}
.project-details h3 {
  color: #a159ff !important;
}
.project-details p {
  color: #cccccc;
  font-size: 1.01rem;
  margin-bottom: 0.7rem;
  line-height: 1.6;
}
.project-tech {
  color: #3399ff;
  font-size: 0.93rem;
  margin-bottom: 0.7rem;
  font-weight: 500;
}
.project-link {
  display: inline-block;
  color: #00ffff;
  background: rgba(0,255,255,0.08);
  border: 1px solid #00ffff;
  border-radius: 18px;
  padding: 0.45rem 1.2rem;
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 0.2rem;
  transition: background 0.2s, color 0.2s;
}
.project-link:hover {
  background: #00ffff;
  color: #181e25;
}

@media (max-width: 700px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    margin: 1.2rem 0 1.2rem 0;
  }
  .project-card {
    border-radius: 12px;
  }
  .project-image {
    height: 120px;
    border-radius: 12px 12px 0 0;
  }
  .project-details {
    padding: 0.9rem 0.7rem 0.8rem 0.7rem;
  }
  .project-details h3 {
    font-size: 1.05rem;
  }
  .project-details p {
    font-size: 0.95rem;
  }
  .project-tech {
    font-size: 0.88rem;
  }
  .project-link {
    font-size: 0.93rem;
    padding: 0.38rem 1rem;
  }
}

/* Contact Section */
.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

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

.discord-card {
    background: rgba(114, 137, 218, 0.1);
    border: 1px solid rgba(114, 137, 218, 0.3);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.discord-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(114, 137, 218, 0.1), transparent);
    transform: rotate(45deg);
    transition: transform 0.6s ease;
}

.discord-card:hover::before {
    transform: rotate(45deg) translate(50%, 50%);
}

.discord-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(114, 137, 218, 0.2);
}

.discord-link {
    display: inline-block;
    color: #7289da;
    text-decoration: none;
    font-weight: bold;
    padding: 0.8rem 1.5rem;
    border: 2px solid #7289da;
    border-radius: 25px;
    margin-top: auto;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.discord-link:hover {
    background: #7289da;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(114, 137, 218, 0.4);
}

/* Floating particles */
.particle {
    position: fixed;
    width: 4px;
    height: 4px;
    background: #00ffff;
    border-radius: 50%;
    pointer-events: none;
    animation: float 6s linear infinite;
    opacity: 0.7;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.7;
    }
    90% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        display: none;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-slide {
        flex-direction: column;
        margin: 0.5rem;
    }

    .project-preview {
        min-height: 200px;
    }
}

/* Hide the projects carousel and related controls on mobile */
@media (max-width: 700px) {
  .projects-carousel,
  .carousel-controls,
  .carousel-indicators {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .mobile-projects-list {
    display: block !important;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
  }
  .mobile-project {
    background: rgba(0,255,255,0.04);
    border: 1px solid rgba(0,255,255,0.13);
    border-radius: 12px;
    margin-bottom: 1.2rem;
    padding: 1.1rem 1rem 0.8rem 1rem;
    box-shadow: 0 2px 10px 0 rgba(0,255,255,0.06);
  }
  .mobile-project h3 {
    color: #00ffff;
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
  }
  .mobile-project p {
    color: #cccccc;
    font-size: 0.98rem;
    margin-bottom: 0.5rem;
    line-height: 1.5;
  }
  .mobile-project .project-tech {
    color: #3399ff;
    font-size: 0.92rem;
    margin-bottom: 0.7rem;
    font-weight: 500;
  }
  .mobile-project .project-link {
    display: inline-block;
    color: #00ffff;
    background: rgba(0,255,255,0.08);
    border: 1px solid #00ffff;
    border-radius: 18px;
    padding: 0.45rem 1.2rem;
    font-size: 0.98rem;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 0.2rem;
    transition: background 0.2s, color 0.2s;
  }
  .mobile-project .project-link:hover {
    background: #00ffff;
    color: #181e25;
  }
}

/* Hide the mobile projects list on desktop */
.mobile-projects-list {
  display: none;
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* --- MATRIX TERMINAL PRICING TIMELINE (BLACK & WHITE VARIANT, SLIGHTLY LARGER) --- */
.matrix-terminal-section {
    background: none;
    padding: 0 0 2.5rem 0;
}
.matrix-terminal {
    background: #101010;
    border-radius: 16px;
    box-shadow: 0 3px 24px 0 rgba(0,0,0,0.18);
    max-width: 500px;
    margin: 2rem auto 0 auto;
    padding: 1.35rem 1rem 1.35rem 1rem;
    font-family: 'Fira Mono', 'Consolas', 'Menlo', monospace;
    color: #fff;
    border: 1.5px solid #222;
    position: relative;
}
.matrix-terminal-header {
    font-size: 1.09rem;
    color: #fff;
    margin-bottom: 1.25rem;
    letter-spacing: 0.04em;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.matrix-cursor {
    color: #fff;
    font-weight: 900;
    font-size: 1.25rem;
    animation: blink 1.1s steps(1) infinite;
}
.matrix-timeline {
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
    position: relative;
    margin-bottom: 1.25rem;
}
.matrix-timeline-row {
    display: flex;
    align-items: flex-start;
    gap: 1.1rem;
    position: relative;
}
.matrix-timeline-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 10px #fff8, 0 0 1.5px #fff;
    margin-top: 0.22rem;
    flex-shrink: 0;
    border: 2px solid #222;
    margin-right: -0.5rem;
}
.matrix-timeline-dot-popular {
    background: #fff;
    box-shadow: 0 0 16px #fff, 0 0 1.5px #fff;
}
.matrix-timeline-content {
    background: #181818;
    border-radius: 10px;
    padding: 0.9rem 1.1rem 0.9rem 1.1rem;
    box-shadow: 0 1.5px 8px 0 rgba(0,0,0,0.08);
    border-left: 2.5px solid #fff;
    width: 100%;
    position: relative;
}
.matrix-timeline-title {
    font-size: 1.07rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.2rem;
    letter-spacing: 0.015em;
}
.matrix-popular-badge {
    background: #fff;
    color: #181818;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.15rem 0.7rem;
    border-radius: 7px;
    margin-left: 0.5rem;
    box-shadow: 0 1.5px 6px 0 #fff2;
    letter-spacing: 0.4px;
}
.matrix-timeline-price {
    font-size: 1.01rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.32rem;
}
.matrix-timeline-price span {
    font-size: 1.09rem;
}
.matrix-timeline-features {
    list-style: none;
    padding-left: 0;
}
.matrix-timeline-features li {
    list-style: none;
}
.matrix-timeline-features li::before {
    content: none !important;
}
.matrix-terminal-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
}
.matrix-terminal-btn {
    display: inline-block;
    padding: 1.1rem 2.0rem;
    background: #fff;
    color: #181818;
    font-weight: 700;
    border: 2.5px solid #181818;
    border-radius: 2rem;
    font-size: 0.98rem;
    text-decoration: none !important;
    font-family: inherit;
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.10), 0 1.5px 8px 0 rgba(0,0,0,0.18);
    transition: background 0.2s, color 0.2s, border 0.18s, transform 0.18s, box-shadow 0.18s;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    margin-top: -0.7rem;
}
.matrix-terminal-btn:hover {
    background: #181818;
    color: #fff;
    border-color: #fff;
    transform: translateY(-2px) scale(1.045);
    box-shadow: 0 8px 32px 0 rgba(0,0,0,0.18), 0 2px 12px 0 rgba(0,0,0,0.22);
}
@media (max-width: 800px) {
    .matrix-terminal {
        padding: 1rem 0.4rem 1rem 0.4rem;
    }
    .matrix-timeline-content {
        padding: 0.7rem 0.7rem 0.7rem 0.8rem;
    }
}
@media (max-width: 600px) {
    .matrix-terminal {
        max-width: 99vw;
        padding: 0.35rem 0.02rem 0.35rem 0.02rem;
    }
    .matrix-timeline {
        gap: 1.7rem !important;
    }
    .matrix-timeline-row {
        margin-bottom: 1.7rem !important;
    }
    .matrix-timeline-content {
        font-size: 0.85rem;
        padding: 0.28rem 0.18rem 0.28rem 0.28rem;
        border-radius: 7px;
    }
    .matrix-timeline-title {
        font-size: 0.85rem;
        margin-bottom: 0.08rem;
        padding-left: 1.1em;
    }
    .matrix-timeline-price {
        font-size: 0.85rem;
        margin-bottom: 0.13rem;
        padding-left: 1.1em;
    }
    .matrix-timeline-features li {
        font-size: 0.85rem;
        margin-bottom: 0.09rem;
        padding-left: 0.45rem;
    }
    .matrix-terminal-header {
        font-size: 0.85rem;
        margin-bottom: 0.35rem;
    }
    .matrix-terminal-btn {
        font-size: 0.89rem;
        padding: 0.5rem 0.7rem;
        border-radius: 0.9rem;
    }
    .matrix-timeline-features li {
        position: relative;
        padding-left: 1.1em;
    }
    .matrix-timeline-features li::before {
        content: '\2022'; /* Unicode bullet • */
        position: absolute;
        left: 0;
        color: #fff;
        font-size: 1em;
        line-height: 1;
        top: 0.1em;
    }
}

/* Remove old pricing card styles */
.pricing-cards-container, .pricing-card, .pricing-title, .pricing-subtitle, .pricing-price, .pricing-features, .pricing-btn, .popular, .popular-badge {
    display: none !important;
}

/* --- Modal: Black & White Matrix Terminal Style --- */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.85);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}
.modal {
    background: #181818;
    border-radius: 18px;
    box-shadow: 0 8px 32px 0 #000b, 0 2px 12px 0 #0008;
    padding: 2.5rem 2rem 2rem 2rem;
    max-width: 350px;
    width: 90vw;
    text-align: center;
    position: relative;
    animation: modalIn 0.3s cubic-bezier(.25,.46,.45,.94);
    border: 1.5px solid #222;
}
@keyframes modalIn {
    from { transform: translateY(40px) scale(0.95); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}
.modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
}
.modal-close:hover {
    color: #fff;
    background: #222;
    border-radius: 50%;
}
.modal-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.7rem;
    letter-spacing: 0.03em;
}
.modal-desc {
    color: #e0e0e0;
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}
.modal-discord-btn {
    display: inline-block;
    padding: 1.1rem 2.5rem;
    background: #fff;
    color: #181818;
    font-weight: 700;
    border: 2.5px solid #181818;
    border-radius: 2rem;
    font-size: 1.15rem;
    text-decoration: none !important;
    font-family: inherit;
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.10), 0 1.5px 8px 0 rgba(0,0,0,0.18);
    transition: background 0.2s, color 0.2s, border 0.18s, transform 0.18s, box-shadow 0.18s;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    margin-top: 0.5rem;
}
.modal-discord-btn:hover {
    background: #181818;
    color: #fff;
    border-color: #fff;
    transform: translateY(-2px) scale(1.045);
    box-shadow: 0 8px 32px 0 rgba(0,0,0,0.18), 0 2px 12px 0 rgba(0,0,0,0.22);
}

/* Process Timeline - Redesigned to match the black & white theme */
.process-timeline-container {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2rem;
}
.process-timeline {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 3.5rem;
    position: relative;
    margin: 3rem 0 2rem 0;
    min-width: 700px;
}
.process-timeline::before {
    content: '';
    position: absolute;
    top: 38px;
    left: 0;
    right: 0;
    height: 3px;
    background: #232a36;
    opacity: 1;
    z-index: 0;
    border-radius: 2px;
}
.process-step-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    min-width: 120px;
    max-width: 180px;
    flex: 1 1 120px;
}
.process-step-circle {
    width: 44px;
    height: 44px;
    background: #181e25;
    color: #b0b8c9;
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #232a36;
    margin-bottom: 0.7rem;
    position: relative;
    z-index: 2;
    transition: transform 0.2s, box-shadow 0.2s;
}
.process-step-label {
    font-size: 1.05rem;
    font-weight: 700;
    color: #b0b8c9;
    margin-bottom: 0.3rem;
    text-align: center;
}
.process-step-desc {
    color: #7a8599;
    font-size: 0.97rem;
    text-align: center;
    margin-bottom: 0.5rem;
    margin-top: 0.1rem;
}
.process-step-chart:hover .process-step-circle {
    transform: scale(1.08);
    box-shadow: none;
    border-color: #2c3440;
    background: #232a36;
    color: #fff;
}
.process-bar {
  /* Center horizontally (default) */
  align-self: center;

  /* Move left: */
  /* align-self: flex-start; */

  /* Move right: */
  /* align-self: flex-end; */

  /* Move up or down: */
  margin-top: 15px;
  /* margin-bottom: 20px; */
}
@media (max-width: 1100px) {
    .process-timeline {
        gap: 1.5rem;
        min-width: 500px;
    }
    .process-step-chart {
        min-width: 100px;
        max-width: 200px;
    }
}
@media (max-width: 700px) {
    .process-bar {
      display: none !important;
    }
    .process-timeline {
      flex-direction: column;
      align-items: stretch;
      gap: 1.5rem;
      min-width: 0;
      margin: 1.2rem 0 1.2rem 0;
    }
    .process-step-chart {
      display: block !important;
      flex-direction: column !important;
      align-items: flex-start !important;
      padding-left: 0 !important;
      margin-bottom: 0 !important;
      width: 100% !important;
      max-width: 100% !important;
      min-width: 0 !important;
      background: none !important;
      box-shadow: none !important;
    }
    .process-step-label, .process-step-desc {
      text-align: left !important;
      word-break: break-word !important;
      width: 100% !important;
      font-size: 1rem !important;
      line-height: 1.5 !important;
      margin: 0.2rem 0 0.2rem 0 !important;
      padding: 0 !important;
    }
    .process-step-label {
      font-weight: 700 !important;
      color: #00ffff !important;
      margin-bottom: 0.1rem !important;
    }
    .process-step-desc {
      color: #cccccc !important;
      font-weight: 400 !important;
    }
}

/* Soft shadow overlay at the top */
.top-shadow-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 48px;
  z-index: 1001;
  pointer-events: none;
  background: linear-gradient(to bottom, rgb(0, 0, 0) 0%, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0) 100%);
  box-shadow: 0 6px 24px 0 rgba(0,0,0,0.18);
}