/* ========================================
   MODERN PORTFOLIO WEBSITE - PURPLE THEME
   ======================================== */

   :root {
    --primary-purple: #8b5cf6;
    --secondary-purple: #a855f7;
    --light-purple: #c084fc;
    --dark-purple: #6d28d9;
    --accent-purple: #7c3aed;
    --purple-glow: #a855f7;
    --text-light: #ffffff;
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --bg-dark: #0f0f23;
    --bg-card: rgba(139, 92, 246, 0.1);
    --border-purple: rgba(139, 92, 246, 0.3);
    --shadow-purple: 0 0 20px rgba(139, 92, 246, 0.3);
    --gradient-purple: linear-gradient(135deg, #8b5cf6, #a855f7, #c084fc);
    --gradient-dark: linear-gradient(135deg, #1e1b4b, #312e81, #3730a3);
}

/* --- Laptop Video Adaptive Styles --- */
.laptop-video-wrapper {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  aspect-ratio: 16/10;
  display: flex;
  justify-content: center;
  align-items: center;
}

html, body {
  -webkit-text-size-adjust: 100% !important;
}


.laptop-frame {
  display: block;
  width: 100%;
  position: relative;
  z-index: 2;
  pointer-events: none;
}

@media (max-width: 900px) {
  .laptop-video-wrapper {
    max-width: 400px;
  }
}
@media (max-width: 600px) {
  .laptop-video-wrapper {
    max-width: 95vw;
    aspect-ratio: 16/11;
  }
  .laptop-video {
    border-radius: 10px;
  }
}
a, a:visited, a:active, a.button, button, .button, .nav-link, .stake-btn {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}
.social-links a, .flex > a {
    width: auto !important;
    height: auto !important;
    display: inline-flex !important;
    max-width: 100%;
    max-height: 100%;
  }
.but-5, .ff-euclid, .flex {
  cursor: default;
}
.social-links a {
    display: inline-flex; /* или inline-block */
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
  }

/* ========================================
   CERTIFICATE BUTTON STYLES
   ======================================== */
.view-certificate-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    margin-top: 20px;
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 50%, #c084fc 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
    outline: none;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.view-certificate-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #6d28d9 0%, #8b5cf6 50%, #a855f7 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.view-certificate-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.5);
}

.view-certificate-btn:hover::before {
    opacity: 1;
    animation: gradientMove 2s ease infinite;
}

.view-certificate-btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(139, 92, 246, 0.5);
}

.view-certificate-btn span {
    margin-right: 8px;
    transition: all 0.3s ease;
}

.view-certificate-btn i {
    transition: transform 0.3s ease;
}

.view-certificate-btn:hover i {
    transform: translateX(5px);
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* ========================================
   LANGUAGE SWITCHER STYLES
   ======================================== */
.language-switcher {
    position: relative;
    display: inline-block;
    margin-left: 20px;
}

.language-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    min-width: 80px;
    justify-content: center;
}

.language-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-purple);
}

.language-btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.language-switcher.active .language-btn i {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #1a1a2e;
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 8px;
    padding: 5px 0;
    min-width: 150px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.language-switcher.active .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.language-option {
    display: block;
    padding: 10px 20px;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.2s ease;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.language-option:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--primary-purple);
    transform: scaleY(0);
    transition: transform 0.2s ease;
}

.language-option:hover, 
.language-option.active {
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary-purple);
    padding-left: 25px;
}

.language-option:hover:before,
.language-option.active:before {
    transform: scaleY(1);
}

/* Mobile styles */
@media (max-width: 1024px) {
    .language-switcher {
        margin: 7px auto 7px 5.5%;
        width: 100%;
        position: relative;
    }
    
    .language-btn {
        width: 90%;
        justify-content: center;
        
    }
    
    .language-dropdown {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        background-color: #111;
        border: 1px solid rgba(139, 92, 246, 0.3);
        border-radius: 4px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }
    
    .language-switcher.active .language-dropdown {
        opacity: 1;
        visibility: visible;
        height: auto;
        margin-top: 10px;
        padding: 5px 0;
        border: 1px solid rgba(139, 92, 246, 0.3);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
}

/* ========================================
   GLOBAL STYLES
   ======================================== */

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

.cap-icon {
  display: inline-block;
  width: 48px;
  height: 48px;
  background-image: url("/static/img/cap-icon.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.aegis-cert-logo {
  display: inline-block;
  width: 48px;
  height: 48px;
  background-image: url("/static/img/logo2.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}


.burp-icon {
  display: inline-block;
  width: 48px;
  height: 48px;
  background-image: url("/static/img/burp-suite.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}




html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Euclid Circular A', 'Inter', Arial, sans-serif;
    background: linear-gradient(135deg, #0f0f23 0%, #1e1b4b 50%, #0f0f23 100%);
    background-attachment: fixed;
    background-size: cover;
    color: var(--text-light);
    overflow-x: hidden;
    overflow-y: auto;
    line-height: 1.6;
    position: relative;
    min-height: 100vh;
}

/* Background pattern removed for cleaner look */

html {
    height: auto !important;
    min-height: 100%;
    overflow-y: auto !important;
}

/* 3D Background and Particles removed for cleaner design */
    animation-duration: 18s;
}

.particle-3 {
    width: 3px;
    height: 3px;
    top: 60%;
    left: 20%;
    animation-delay: 4s;
    animation-duration: 22s;
}

.particle-4 {
    width: 5px;
    height: 5px;
    top: 40%;
    left: 70%;
    animation-delay: 6s;
    animation-duration: 16s;
}

.particle-5 {
    width: 4px;
    height: 4px;
    top: 80%;
    left: 40%;
    animation-delay: 8s;
    animation-duration: 24s;
}

.particle-6 {
    width: 7px;
    height: 7px;
    top: 15%;
    left: 60%;
    animation-delay: 10s;
    animation-duration: 19s;
}

.particle-7 {
    width: 3px;
    height: 3px;
    top: 70%;
    left: 85%;
    animation-delay: 12s;
    animation-duration: 21s;
}

.particle-8 {
    width: 5px;
    height: 5px;
    top: 35%;
    left: 10%;
    animation-delay: 14s;
    animation-duration: 17s;
}

.particle-9 {
    width: 4px;
    height: 4px;
    top: 90%;
    left: 75%;
    animation-delay: 16s;
    animation-duration: 23s;
}

.particle-10 {
    width: 6px;
    height: 6px;
    top: 50%;
    left: 30%;
    animation-delay: 18s;
    animation-duration: 20s;
}

/* Floating Light Orbs */
.light-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.light-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(20px);
    animation: orb-float 12s infinite ease-in-out;
}

.orb-1 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, rgba(139, 92, 246, 0.1) 50%, transparent 100%);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 15s;
}

.orb-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.3) 0%, rgba(168, 85, 247, 0.1) 50%, transparent 100%);
    top: 60%;
    right: 15%;
    animation-delay: 5s;
    animation-duration: 18s;
}

.orb-3 {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(192, 132, 252, 0.4) 0%, rgba(192, 132, 252, 0.1) 50%, transparent 100%);
    bottom: 20%;
    left: 30%;
    animation-delay: 10s;
    animation-duration: 14s;
}

.orb-4 {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.3) 0%, rgba(147, 51, 234, 0.1) 50%, transparent 100%);
    top: 40%;
    right: 40%;
    animation-delay: 7s;
    animation-duration: 16s;
}

/* ========================================
   FLOATING INTERACTIVE ELEMENTS
   ======================================== */

.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
}

.floating-element {
    position: absolute;
    /* cursor: pointer; */
    transition: all 0.3s ease;
    pointer-events: auto;
}

.floating-element:hover {
    transform: scale(1.2) rotate(15deg);
    filter: brightness(1.5);
}

/* Cube */
.cube {
    width: 60px;
    height: 60px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate 8s infinite linear;
}

.cube .face {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--gradient-purple);
    border: 2px solid var(--light-purple);
    opacity: 0.8;
    backdrop-filter: blur(10px);
}

.cube .front { transform: translateZ(30px); }
.cube .back { transform: translateZ(-30px); }
.cube .right { transform: rotateY(90deg) translateZ(30px); }
.cube .left { transform: rotateY(-90deg) translateZ(30px); }
.cube .top { transform: rotateX(90deg) translateZ(30px); }
.cube .bottom { transform: rotateX(-90deg) translateZ(30px); }

/* Sphere */
.sphere {
    width: 50px;
    height: 50px;
    background: var(--gradient-purple);
    border-radius: 50%;
    border: 2px solid var(--light-purple);
    box-shadow: var(--shadow-purple);
    animation: pulse 4s infinite ease-in-out;
}

/* Pyramid */
.pyramid {
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 52px solid var(--primary-purple);
    position: relative;
    animation: float 6s infinite ease-in-out;
}

.pyramid::before {
    content: '';
    position: absolute;
    top: 17px;
    left: -15px;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 26px solid var(--light-purple);
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes rotate {
    from { transform: rotateX(0deg) rotateY(0deg); }
    to { transform: rotateX(360deg) rotateY(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px var(--purple-glow); }
    50% { box-shadow: 0 0 40px var(--purple-glow), 0 0 60px var(--purple-glow); }
}

/* ========================================
   AEGISMARTIN HERO SECTION - PREMIUM DESIGN
   ======================================== */

.aegis-hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 40px 80px;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(168, 85, 247, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 40% 40%, rgba(192, 132, 252, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    position: relative;
    overflow: visible;
}

/* Animated Background Elements */
.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(168, 85, 247, 0.05));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 10%;
    animation: float-1 20s infinite ease-in-out;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation: float-2 25s infinite ease-in-out;
}

.shape-3 {
    width: 100px;
    height: 100px;
    top: 30%;
    right: 30%;
    animation: float-3 15s infinite ease-in-out;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.6;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, transparent 70%);
    top: -10%;
    left: -10%;
    animation: pulse-1 8s infinite ease-in-out;
}

.orb-2 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.3) 0%, transparent 70%);
    bottom: -10%;
    right: -10%;
    animation: pulse-2 10s infinite ease-in-out;
}

.aegis-hero-container {
    max-width: 1400px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.aegis-hero-content {
    padding-right: 40px;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50px;
    color: var(--light-purple);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.hero-badge i {
    font-size: 1rem;
}

/* Company Name with Enhanced Typography */
.aegis-company-name {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 30px;
    font-family: 'Inter', 'Euclid Circular A', sans-serif;
    position: relative;
}

.name-highlight {
    background: linear-gradient(135deg, #8b5cf6, #a855f7, #c084fc, #ffffff);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 4s ease-in-out infinite;
}

.aegis-company-name {
    color: rgba(255, 255, 255, 0.95);
}

/* Enhanced Slogan */
.aegis-slogan {
    font-size: 1.3rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    max-width: 520px;
    margin-bottom: 40px;
    position: relative;
}

/* Hero Statistics */
.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-purple), var(--light-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Contact Information Section */
.aegis-contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
    max-width: 400px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 16px;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.1), transparent);
    transition: left 0.5s ease;
}

.contact-item:hover::before {
    left: 100%;
}

.contact-item:hover {
    background: rgba(139, 92, 246, 0.12);
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.2);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple));
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    transition: all 0.3s ease;
}

.contact-icon i {
    font-size: 1.2rem;
    color: white;
    transition: transform 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
}

.contact-item:hover .contact-icon i {
    transform: scale(1.1);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.contact-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-value {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-item:hover .contact-value {
    color: var(--light-purple);
}

/* Enhanced Visual Section */
.aegis-hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    position: relative;
    padding: 0 20px;
    overflow: visible;
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Decorative Rings */
.image-decoration {
    position: absolute;
    width: 600px;
    height: 600px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.decoration-ring {
    position: absolute;
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ring-1 {
    width: 400px;
    height: 400px;
    animation: rotate-slow 30s linear infinite;
    border-style: dashed;
}

.ring-2 {
    width: 500px;
    height: 500px;
    animation: rotate-slow 40s linear infinite reverse;
    border-style: dotted;
}

.ring-3 {
    width: 600px;
    height: 600px;
    animation: rotate-slow 50s linear infinite;
    opacity: 0.5;
}

/* Enhanced Image Container */
.aegis-image-container {
    position: relative;
    width: 500px;
    max-width: auto;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 
        0 25px 80px rgba(139, 92, 246, 0.4),
        0 0 0 1px rgba(139, 92, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(168, 85, 247, 0.05));
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
}

.aegis-image-container:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 35px 100px rgba(139, 92, 246, 0.6),
        0 0 0 1px rgba(139, 92, 246, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.aegis-hero-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
    position: relative;
    z-index: 1;
}

.image-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, transparent 70%);
    filter: blur(60px);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.aegis-image-container:hover .image-glow {
    opacity: 1;
}

/* Floating Info Cards */
.floating-cards {
    position: absolute;
    width: 120%;
    height: 120%;
    top: -10%;
    left: -10%;
    pointer-events: none;
    overflow: visible;
}

.info-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.4);
    border-radius: 50px;
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 500;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    animation: float-card 6s infinite ease-in-out;
    white-space: nowrap;
    z-index: 10;
}

.info-card i {
    font-size: 1rem;
    color: var(--light-purple);
}

.card-1 {
    top: 15%;
    left: -15%;
    animation-delay: 0s;
}

.card-2 {
    top: 65%;
    right: -15%;
    animation-delay: 2s;
}

.card-3 {
    bottom: 15%;
    left: -10%;
    animation-delay: 4s;
}

/* Animations */
@keyframes float-1 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes float-2 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(-180deg); }
}

@keyframes float-3 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(90deg); }
}

@keyframes pulse-1 {
    0%, 100% { transform: scale(1) opacity(0.6); }
    50% { transform: scale(1.1) opacity(0.8); }
}

@keyframes pulse-2 {
    0%, 100% { transform: scale(1) opacity(0.6); }
    50% { transform: scale(1.2) opacity(0.4); }
}

@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(139, 92, 246, 0.3); }
    50% { box-shadow: 0 0 30px rgba(139, 92, 246, 0.6); }
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes rotate-slow {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes float-card {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Dynamic Background Animations */
@keyframes background-shift {
    0%, 100% {
        background-position: 0% 0%, 100% 100%, 50% 0%, 0% 100%, 0% 0%;
    }
    25% {
        background-position: 25% 25%, 75% 75%, 75% 25%, 25% 75%, 25% 25%;
    }
    50% {
        background-position: 50% 50%, 50% 50%, 100% 50%, 50% 50%, 50% 50%;
    }
    75% {
        background-position: 75% 75%, 25% 25%, 25% 75%, 75% 25%, 75% 75%;
    }
}

@keyframes pattern-drift {
    0% {
        transform: translateX(0) translateY(0) rotate(0deg);
        opacity: 1;
    }
    25% {
        transform: translateX(20px) translateY(-10px) rotate(90deg);
        opacity: 0.8;
    }
    50% {
        transform: translateX(0) translateY(-20px) rotate(180deg);
        opacity: 0.6;
    }
    75% {
        transform: translateX(-20px) translateY(-10px) rotate(270deg);
        opacity: 0.8;
    }
    100% {
        transform: translateX(0) translateY(0) rotate(360deg);
        opacity: 1;
    }
}

@keyframes conic-rotation {
    0% {
        transform: rotate(0deg) scale(1);
        opacity: 0.5;
    }
    25% {
        transform: rotate(90deg) scale(1.1);
        opacity: 0.7;
    }
    50% {
        transform: rotate(180deg) scale(1);
        opacity: 0.5;
    }
    75% {
        transform: rotate(270deg) scale(0.9);
        opacity: 0.3;
    }
    100% {
        transform: rotate(360deg) scale(1);
        opacity: 0.5;
    }
}

/* Particle System Animations */
@keyframes particle-float {
    0%, 100% {
        transform: translateY(0px) translateX(0px) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-30px) translateX(20px) scale(1.2);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-60px) translateX(-10px) scale(0.8);
        opacity: 1;
    }
    75% {
        transform: translateY(-30px) translateX(-25px) scale(1.1);
        opacity: 0.5;
    }
}

@keyframes orb-float {
    0%, 100% {
        transform: translateY(0px) translateX(0px) scale(1) rotate(0deg);
        opacity: 0.4;
    }
    20% {
        transform: translateY(-20px) translateX(15px) scale(1.1) rotate(72deg);
        opacity: 0.6;
    }
    40% {
        transform: translateY(-40px) translateX(-10px) scale(0.9) rotate(144deg);
        opacity: 0.8;
    }
    60% {
        transform: translateY(-25px) translateX(-30px) scale(1.2) rotate(216deg);
        opacity: 0.5;
    }
    80% {
        transform: translateY(-10px) translateX(25px) scale(0.8) rotate(288deg);
        opacity: 0.7;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .aegis-image-container {
        width: 100%;
        max-width: auto;
    }

    .aegis-hero-container {
        grid-template-columns: 1fr;
        gap: 0;
        padding-top: 20px;
        display: flex;
        flex-direction: column;
    }
    
    .aegis-hero-content {
        order: 1;
        padding: 0 15px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .aegis-hero-visual {
        order: 2;
        margin: 20px 0;
        display: flex;
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .aegis-image-container {
        width: 100%;
        max-width: auto;
    }


    .aegis-hero-section {
        padding: 100px 15px 60px;
    }
    
    .aegis-company-name {
        font-size: 3rem;
    }
    
    .aegis-slogan {
        font-size: 1.1rem;
    }
    
    .aegis-contact-info {
        max-width: 100%;
    }
    
    .contact-item {
        padding: 14px 16px;
    }
    
    .contact-icon {
        width: 42px;
        height: 42px;
    }
    
    .contact-icon i {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .floating-cards {
        display: none;
    }
}

@media (max-width: 480px) {

    .aegis-image-container {
        width: 100%;
        max-width: auto;
    }

    .aegis-company-name {
        font-size: 2.5rem;
    }
    
    .aegis-slogan {
        font-size: 1rem;
    }
    
    .aegis-hero-container {
        gap: 40px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
}

/* ========================================
   HEADER STYLES (KEPT FROM ORIGINAL)
   ======================================== */

/* Плавная прокрутка для всех ссылок */
html {
  scroll-behavior: smooth;
}

/* Отступ для фиксированного header */
section[id] {
  scroll-margin-top: 120px;
}

/* --- Laptop Video Adaptive Styles --- */
.laptop-video-wrapper {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  aspect-ratio: 16/10;
  display: flex;
  justify-content: center;
  align-items: center;
}

a, a:visited, a:active {
    /* cursor: pointer; */
  }
  
  .but-5, .ff-euclid, .flex {
    cursor: default;
  }

.laptop-video {
    position: absolute;
    top: 1.5%;
    left: 7.9%;
    width: 84.1%;
    height: 88.1%;
    object-fit: cover;
  
    z-index: 18;
    background: #000;
    box-shadow: 0 2px 16px rgba(0,0,0,0.15);
    transition: all 0.2s;
    border-top-left-radius: 12px;
    border-top-right-radius: 10px;
  }

.laptop-frame {
  display: block;
  width: 100%;
  position: relative;
  z-index: 2;
  pointer-events: none;
}

@media (max-width: 900px) {
  .laptop-video-wrapper {
    max-width: 400px;
  }
.aegis-image-container {
    width: 100%;
    max-width: auto;
}


}
@media (max-width: 600px) {
    .aegis-image-container {
    width: 100%;
    max-width: auto;
}


  .laptop-video-wrapper {
    max-width: 95vw;
    aspect-ratio: 16/11;
  }
  .laptop-video {
    border-radius: 10px;
  }
}

/* --- Burger menu styles --- */
.burger {
  position: relative;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  /* cursor: pointer; */
  z-index: 2001;
}
.burger span {
  display: block;
  width: 28px;
  height: 4px;
  margin: 4px 0;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

/* --- Mobile nav --- */
.mobile-nav {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(40, 30, 60, 0.98);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
  opacity: 0;
  pointer-events: none;
}
.mobile-nav.open {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}
.mobile-link {
  color: #fff;
  font-size: 2rem;
  margin: 18px 0;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 2px;
  transition: color 0.2s;
}
.mobile-link:hover {
  color: #a084ee;
}

@media (max-width: 900px) {
  .header-nav {
    display: none !important;
  }
  .stake-btn {
    display: none !important;
  }
  .burger {
    display: flex !important;
  }
  .header-inner {
    border: none !important;
  }
}

/* Новый header */
.main-header {
  width: 100%;
  background: transparent;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}

.header-inner {
  width: 95%;
  max-width: 1700px;
  background: rgba(80, 60, 120, 0.7);
  border-radius: 40px;
  box-shadow: 0 0 24px 2px #00000033;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 80px;
  border: 2px solid #bcaaff33;
  margin-top: 20px;
  backdrop-filter: blur(8px);
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-header {
	width: 62px;
	height: 73px;
	object-fit: cover;
}

.logo-text {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  font-family: 'Euclid Circular A', 'Inter', Arial, sans-serif;
}

.header-nav {
  display: flex;
  gap: 36px;
  flex: 1 1 auto;
  justify-content: center;
}

.nav-link {
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s;
  padding: 4px 4px;
  font-family: 'Euclid Circular A', 'Inter', Arial, sans-serif;
}

.nav-link:hover {
  color: #d1b3ff;
}

.stake-btn {
  background: linear-gradient(90deg, #a084ee 0%, #8f5cff 100%);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: none;
  border-radius: 32px;
  padding: 14px 32px;
  box-shadow: 0 2px 8px #8f5cff33;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
  margin-left: 32px;
  display: inline-block;
  font-family: 'Euclid Circular A', 'Inter', Arial, sans-serif;
  background-size: 300% 300%;
}

.stake-btn:hover {
  animation: purple-gradient 12s linear infinite;
  background: linear-gradient(270deg, #a084ee, #8f5cff, #bcaaff, #a084ee, #ffb6e6, #a084ee);
  background-size: 1200% 1200%;
  color: #fff;
}

@keyframes purple-gradient {
  0% {
    background-position: 0% 50%;
  }
  25% {
    background-position: 50% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  75% {
    background-position: 50% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* ========================================
   TOP SECTION (UNTOUCHED)
   ======================================== */

.head-sect{
	background-color: #F5F9FA;
	padding-top:104px ;
	background-image: url("../img/Group\ 57\ \(2\).png");
	background-size: cover;
	aspect-ratio: 1440/786;
	width: 100%;
	background-repeat: no-repeat;
}

.head-sect .head-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.head-sect .head-content {
  flex: 1 1 0;
  min-width: 250px;
}

.head-sect .laptop-img {
  max-width: 40vw;
  height: auto;
  min-width: 200px;
  max-height: 400px;
  position: static;
  margin-right: 2%;
  margin-top:10%;
}

/* ========================================
   NEW SECTIONS
   ======================================== */

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 20px;
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-underline {
    width: 100px;
    height: 4px;
    background: var(--gradient-purple);
    margin: 0 auto;
    border-radius: 2px;
    position: relative;
}

.title-underline::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 8px;
    background: var(--light-purple);
    border-radius: 4px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-top: 20px;
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about-section {
    padding: 80px 0 40px 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(15, 15, 35, 0.8) 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 30px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-purple);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-purple);
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-purple);
    margin-bottom: 10px;
}

.stat-item p {
    color: var(--text-gray);
    font-size: 1rem;
}

.tech-globe {
    position: relative;
    width: 100%;
    height: 100%;
}

/* ========================================
   SKILLS SECTION
   ======================================== */

.skills-section {
    padding: 120px 0;
    background: linear-gradient(135deg, rgba(15, 15, 35, 0.8) 0%, rgba(139, 92, 246, 0.05) 100%);
}

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

.skill-card {
    background: var(--bg-card);
    border: 1px solid var(--border-purple);
    border-radius: 20px;
    padding: 40px 30px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.1), transparent);
    transition: left 0.5s ease;
}

.skill-card:hover::before {
    left: 100%;
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-purple);
    border-color: var(--primary-purple);
}

.skill-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-purple);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 2rem;
    color: white;
}

.skill-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.skill-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 15px;
}

.skill-description {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

.skill-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.feature-tag {
    background: rgba(139, 92, 246, 0.2);
    color: var(--light-purple);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    border: 1px solid var(--border-purple);
}

/* ========================================
   SERVICES SECTION
   ======================================== */

.services-section {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(15, 15, 35, 0.8) 100%);
}

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

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-purple);
    border-radius: 25px;
    padding: 40px 30px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-purple);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.service-card:hover::after {
    opacity: 0.1;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-purple);
}

.service-icon {
    width: 100px;
    height: 100px;
    background: var(--gradient-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2.5rem;
    color: white;
    transition: all 0.3s ease;
}

.service-icon {
    transition: background 0.5s cubic-bezier(0.4, 0, 0.2, 1), color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-icon {
    background: #e0c8ff !important; /* нежный светло-фиолетовый */
    color: #7c3aed !important; /* мягкий фиолетовый для иконки */
    box-shadow: 0 0 32px 8px #e0c8ff99;

    transform: scale(1.1);
    animation: glow 2s infinite;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 15px;
}

.service-description {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 25px;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 30px;
}

.service-features .feature {
    color: var(--light-purple);
    font-size: 0.9rem;
    transition: color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-features .feature:hover {
    color: var(--accent-purple);
}

.service-btn {
    background: var(--gradient-purple);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    /* cursor: pointer; */
    transition: all 0.3s ease;
}

.service-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4);
}

/* ========================================
   PROJECTS SECTION
   ======================================== */

.projects-section {
    padding: 120px 0;
    background: linear-gradient(135deg, rgba(15, 15, 35, 0.8) 0%, rgba(139, 92, 246, 0.05) 100%);
}

.project-showcase {
    max-width: 900px;
    margin: 0 auto;
}

.project-hero {
    text-align: center;
    margin-bottom: 60px;
}

.project-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 30px;
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.project-features {
    background: var(--bg-card);
    border: 1px solid var(--border-purple);
    border-radius: 25px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.features-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 30px;
    text-align: center;
}

.feature-list {
    display: grid;
    gap: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: rgba(139, 92, 246, 0.05);
    border-radius: 15px;
    border: 1px solid var(--border-purple);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateX(10px);
    background: rgba(139, 92, 246, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-purple);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.feature-content h5 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 8px;
    text-align: left;
}

.feature-content p {
    color: var(--text-gray);
    line-height: 1.6;
}

.project-summary {
    font-size: 1.1rem;
    color: rgb(134, 0, 134);
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 15px;
    border: 1px solid var(--border-purple);
}

/* ========================================
   CERTIFICATES SECTION
   ======================================== */

.certificates-section {
    padding: 120px 0;
    background: linear-gradient(135deg, rgba(15, 15, 35, 0.8) 0%, rgba(139, 92, 246, 0.05) 100%);
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.certificate-card {
    background: var(--bg-card);
    border: 1px solid var(--border-purple);
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.certificate-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-purple);
    border-color: var(--primary-purple);
}

.certificate-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: white;
}

.certificate-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 10px;
}

.certificate-card p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* ========================================
   REGISTRATION SECTION
   ======================================== */

.registration-section {
    padding: 120px 0;
    background: linear-gradient(135deg, rgba(15, 15, 35, 0.8) 0%, rgba(139, 92, 246, 0.05) 100%);
}

.registration-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.signup-form {
    background: var(--bg-card);
    border: 1px solid var(--border-purple);
    border-radius: 25px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-purple);
    border-radius: 15px;
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

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

.submit-btn {
    width: 100%;
    background: var(--gradient-purple);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    /* cursor: pointer; */
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.4);
}

.registration-benefits {
    padding: 40px;
}

.registration-benefits h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 30px;
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-gray);
}

.benefits-list i {
    color: var(--primary-purple);
    font-size: 1.2rem;
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact-section {
    padding: 120px 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(15, 15, 35, 0.8) 100%);
}

.contact-content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
}


.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: var(--bg-card);
    border: 1px solid var(--border-purple);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
    border-color: var(--primary-purple);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-purple);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 5px;
}

.contact-details p {
    color: var(--text-gray);
}

.contact-form-element {
    width: 70%;
    max-width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-purple);
    border-radius: 25px;
    padding: 40px;
    backdrop-filter: blur(10px);
}
c

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-submit-btn {
    width: 100%;
    background: var(--gradient-purple);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    /* cursor: pointer; */
    transition: all 0.3s ease;
    margin-top: 20px;
}

.contact-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.4);
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: linear-gradient(135deg, rgba(15, 15, 35, 0.95) 0%, rgba(139, 92, 246, 0.1) 100%);
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-purple);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 20px;
}

.footer-description {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    width: 100%;
}

.social-link {
    width: 45px;
    height: 45px;
    background: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-purple);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-purple);
    color: var(--text-gray);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */


@media (max-width: 1024px) {
    .about-content,
    .registration-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form-element {
        width: 100%;
        max-width: 100%;
    }

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

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-badge {
        margin-bottom: 15px !important;
    }
    
    .aegis-company-name {
        font-size: 2.2rem !important;
        margin: 0 0 10px 0 !important;
        line-height: 1.2;
        padding: 0 15px;
    }
    
    .aegis-slogan {
        font-size: 1.1rem !important;
        margin: 0 0 25px 0 !important;
        padding: 0 10px;
        max-width: 100% !important;
    }
    
    .hero-stats {
        order: 3;
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 90%;
        margin: 25px auto 0 !important;
        padding: 0;
        background: transparent;
        gap: 10px;
    }
    
    .stat-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 15px 10px;
        width: 100%;
        background: rgba(139, 92, 246, 0.1);
        border-radius: 12px;
        text-align: center;
    }
    
    .stat-number {
        font-size: 1.8rem !important;
        margin-bottom: 5px !important;
        font-weight: 700;
        color: #fff;
        display: block;
        width: 100%;
    }
    
    .stat-label {
        font-size: 0.75rem !important;
        text-align: center;
        line-height: 1.2;
        color: #c4b5fd;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        display: block;
        width: 100%;
    }
    
    .aegis-contact-info {
        display: none !important;
    }
    
    .aegis-hero-visual {
        margin: 15px 0 25px !important;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .skills-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .certificates-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .skill-card,
    .service-card {
        padding: 25px 20px;
    }
    
    .project-title {
        font-size: 2rem;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.ff-neue {
    font-family: 'NeueMachina';
}

.fw-900 {
    font-weight: 900;
}

.fs-64 {
    font-size: 64px;
}

.uppercase {
    text-transform: uppercase;
}

.ls-4 {
    letter-spacing: 4px;
}

.blue {
    color: var(--primary-purple);
}

.gray {
    color: var(--text-gray);
}

.white {
    color: var(--text-light);
}

.relative {
    position: relative;
}

.flex {
    display: flex;
}

.mb-8 {
    margin-bottom: 8px;
}

.mr-12 {
    margin-right: 12px;
}

.mr-10 {
    margin-right: 10px;
}

.fs-20 {
    font-size: 20px;
}

.fw-400 {
    font-weight: 400;
}

.fs-16 {
    font-size: 16px;
}

.fw-500 {
    font-weight: 500;
}

.fs-24 {
    font-size: 24px;
}

.but-4 {
    padding: 20px 24px;
    background-color: white;
    color: var(--text-dark);
    align-items: center;
    border-radius: 10px;
    text-decoration: none;
    display: inline-flex;
    transition: all 0.3s ease;
}

.but-4:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.but-5 {
    padding: 16px;
    border: 1px solid white;
    border-radius: 10px;
    height: 56px;
    text-decoration: none;
    color: white;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.but-5:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* ========================================
   MOBILE HEADER FIXES
   ======================================== */

@media (max-width: 900px) {
    .main-header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 56px;
        background: rgba(43,34,80,0.85);
        box-shadow: 0 2px 12px 0 #1a133333;
        border-bottom: 1px solid #3a2e5c;
        z-index: 2000;
        margin: 0;
        padding: 0;
        border-radius: 0;
    }
    
    .header-inner {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100vw;
        max-width: 100vw;
        height: 56px;
        padding: 0 14px;
        margin: 0;
        box-shadow: none;
        border-radius: 0;
        background: none;
        gap: 0;
    }
    
    .logo-header {
        width: 36px !important;
        height: 36px !important;
        object-fit: contain;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .burger {
        position: relative;
        width: 40px;
        height: 40px;
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: none;
        border: none;
        /* cursor: pointer; */
        margin: 0;
        padding: 0;
    }
    
    .burger span {
        display: block;
        width: 28px;
        height: 4px;
        margin: 4px 0;
        background: #fff;
        border-radius: 2px;
        transition: 0.3s;
    }
    
    /* --- Smooth cross animation --- */
    /* add smooth transitions to bars */
    .burger span {
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                    opacity 0.25s ease;
    }

    /* when menu is open, transform bars into a cross */
    .burger.open span {
        position: absolute;
        top: 50%;
        left: 6px;               /* center horizontally inside 40px button */
        transform-origin: center;
    }
    .burger.open span:nth-child(1) {
        transform: translateY(-50%) rotate(45deg);
    }
    .burger.open span:nth-child(2) {
        opacity: 0;
    }
    .burger.open span:nth-child(3) {
        transform: translateY(-50%) rotate(-45deg);
    }
    
    .header-nav, .stake-btn {
        display: none !important;
    }
    
    .mobile-nav {
        top: 56px;
        padding-top: 24px;
    }
    
    .head-sect {
        padding-top: 70px;
        background-size: cover;
        aspect-ratio: unset;
        min-height: 100vh;
    }
    
    .head-flex {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .head-content {
        min-width: unset;
        width: 100%;
        padding: 0 8px;
    }
    
    .laptop-img {
        max-width: 90vw;
        min-width: 120px;
        max-height: 180px;
        margin: 24px auto 0 auto;
        display: block;
        position: static;
    }
    
    h1.fs-64 {
        font-size: 2.2rem;
        line-height: 1.1;
    }
    
    .fs-20, .fs-24, .fs-28, .fs-32, .fs-48, .fs-64, .fs-75, .fs-96, .fs-112, .fs-144 {
        font-size: 1rem !important;
    }
}

/* ========================================
   FLOATING ELEMENTS POSITIONING
   ======================================== */

.floating-element[data-type="cube"] {
    top: 20%;
    left: 10%;
    animation: float 8s infinite ease-in-out;
}

.floating-element[data-type="sphere"] {
    top: 60%;
    right: 15%;
    animation: float 6s infinite ease-in-out reverse;
}

.floating-element[data-type="pyramid"] {
    top: 30%;
    right: 25%;
    animation: float 10s infinite ease-in-out;
}

/* ========================================
   INTERACTIVE HOVER EFFECTS
   ======================================== */

.floating-element:hover .cube {
    animation-play-state: paused;
}

.floating-element:hover .sphere {
    animation-play-state: paused;
}

.floating-element:hover .pyramid {
    animation-play-state: paused;
}

/* ========================================
   CUSTOM SCROLLBAR
   ======================================== */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-purple);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--light-purple);
} 
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #0f0a1a !important;
    overflow-x: hidden;
    font-family: Arial, sans-serif;
}

/* Удаляем все анимированные фоны и градиенты */
#background-canvas,
.background-particles,
.background-layer,
.animated-bg {
    display: none !important;
}

/* Отключаем анимации фона */
@keyframes none {
    from {}
    to {}
}

.animated-bg,
.background-shift,
.particle {
    animation: none !important;
    display: none !important;
}

#eyeContainer {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    perspective: 1000px;
}

.eye {
    width: 300px;
    height: 300px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
}

.eyeball {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: 
        radial-gradient(circle at 30% 30%, #ffffff 0%, #f8f8f8 30%, #e8e8e8 70%, #d0d0d0 100%);
    position: relative;
    box-shadow: 
        inset -20px -20px 40px rgba(0,0,0,0.1),
        inset 10px 10px 20px rgba(255,255,255,0.3),
        0 20px 40px rgba(0,0,0,0.3);
    overflow: hidden;
}

.iris {
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: 
        radial-gradient(circle at 30% 40%,
            #e6b3ff 0%,
            #d699ff 15%,
            #cc80ff 30%,
            #b366ff 45%,
            #9933ff 60%,
            #7300cc 80%,
            #4d0080 100%
        );
    box-shadow: 
        inset 0 0 30px rgba(0,0,0,0.3),
        0 0 20px rgba(153, 51, 255, 0.4);
    transition: all 0.1s ease-out;
}
@media (max-width: 600px) {
    .laptop-video {
      height: 80%;
      top: 6.1%;
      border-radius: 0 !important; /* Reset all border radius first */
      border-top-left-radius: 12px !important; 
      border-top-right-radius: 10px !important;
      border-bottom-left-radius: 0 !important;
      border-bottom-right-radius: 0 !important;
    }
    .contact-form-element {
      padding: 25px;
    }
}

.iris::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: 
        repeating-conic-gradient(
            from 0deg at center,
            transparent 0deg,
            rgba(0,0,0,0.1) 2deg,
            transparent 4deg,
            transparent 6deg
        );
    opacity: 0.6;
}

.iris::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: 
        repeating-radial-gradient(
            circle at center,
            transparent 0px,
            rgba(255,255,255,0.1) 8px,
            transparent 16px,
            transparent 24px
        );
    opacity: 0.4;
}

.pupil {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: 
        radial-gradient(circle at 30% 30%, 
            #333 0%, 
            #111 40%, 
            #000 100%);
    box-shadow: 
        inset 0 0 15px rgba(0,0,0,0.8),
        0 0 10px rgba(0,0,0,0.5);
}

.highlight {
    position: absolute;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    top: 35%;
    left: 40%;
    background: 
        radial-gradient(circle, 
            rgba(255,255,255,0.9) 0%, 
            rgba(255,255,255,0.6) 50%,
            rgba(255,255,255,0.2) 100%);
    filter: blur(2px);
    box-shadow: 0 0 15px rgba(255,255,255,0.8);
}

.highlight2 {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    top: 60%;
    left: 65%;
    background: 
        radial-gradient(circle, 
            rgba(255,255,255,0.7) 0%, 
            rgba(255,255,255,0.3) 100%);
    filter: blur(1px);
}



.info {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.8);
    text-align: center;
    font-size: 16px;
    background: rgba(0,0,0,0.3);
    padding: 15px 25px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(153, 51, 255, 0.3);
}

@keyframes blink {
    0%, 90%, 100% { transform: scaleY(1); }
    95% { transform: scaleY(0.1); }
}

.eye.blink {
    animation: blink 0.3s ease-in-out;
}
.fa, .fa-twitter, .fa-youtube-play, .fa-telegram {
    transition: color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.ff-euclid:hover .fa,
.ff-euclid:hover .fa-twitter,
.ff-euclid:hover .fa-youtube-play,
.ff-euclid:hover .fa-telegram {
    color: var(--accent-purple) !important;
}

/* ========================================
   CERTIFICATES SECTION
   ======================================== */

.certificates-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(15, 15, 35, 0.8) 0%, rgba(139, 92, 246, 0.05) 100%);
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.certificate-card {
    background: rgba(30, 27, 75, 0.7);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(139, 92, 246, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.certificate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.3);
    border-color: rgba(139, 92, 246, 0.4);
}

.certificate-content {
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.certificate-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.google-icon {
    background: linear-gradient(135deg, #a855f7, #7c3aed); /* soft to deep purple */
}

.google-icon i {
    font-size: 28px;
    background: linear-gradient(90deg, #d9b6fe, #d9b6fe); /* vibrant gradient text */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    z-index: 1;
}
.tryhackme-icon {
    background: linear-gradient(135deg, #7e22ce, #581c87); /* dark rich purples */
}

.tryhackme-icon i {
    color: #d8b4fe; /* light pastel purple */
    font-size: 28px;
    transition: transform 0.3s ease;
}


.tryhackme-icon i {
    font-size: 28px;
    transition: transform 0.3s ease;
}

.tryhackme-icon:hover i {
    transform: scale(1.1);
}

.certificate-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    opacity: 0.3;
    transition: all 0.3s ease;
}

.certificate-card:hover .certificate-icon::before {
    opacity: 0.5;
}

.certificate-card h3 {
    font-size: 22px;
    margin: 0 0 8px 0;
    color: white;
    font-weight: 600;
}

.certificate-issuer {
    color: var(--light-purple);
    font-size: 16px;
    margin: 0 0 20px 0;
    font-weight: 500;
}

.certificate-description {
    color: #e2e8f0;
    margin: 0 0 20px 0;
    line-height: 1.7;
    flex-grow: 1;
}

.certificate-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.certificate-tags .tag {
    background: rgba(139, 92, 246, 0.15);
    color: var(--light-purple);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.view-certificate-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple));
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: auto;
    border: none;
    cursor: pointer;
    font-size: 15px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.view-certificate-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-purple), var(--primary-purple));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.view-certificate-btn:hover::before {
    opacity: 1;
}

.view-certificate-btn span {
    display: inline-block;
    transition: transform 0.3s ease;
}

.view-certificate-btn i {
    margin-left: 10px;
    font-size: 14px;
    transition: transform 0.3s ease, margin-left 0.3s ease;
}

.view-certificate-btn:hover span {
    transform: translateX(-3px);
}

.view-certificate-btn:hover i {
    transform: translateX(5px);
    margin-left: 15px;
}

/* Google Certificate Button (first) */
.certificate-card:first-child .view-certificate-btn {
    background: linear-gradient(135deg, #a855f7, #7c3aed);
}

.certificate-card:first-child .view-certificate-btn::before {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
}

/* TryHackMe Certificate Button (last) */
.certificate-card:last-child .view-certificate-btn {
    background: linear-gradient(135deg, #7e22ce, #581c87);
}

.certificate-card:last-child .view-certificate-btn::before {
    background: linear-gradient(135deg, #581c87, #7e22ce);
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .certificates-grid {
        grid-template-columns: 1fr;
    }
    
    .certificate-card {
        max-width: 100%;
    }
}



.aegis-program-card{
    margin-top: 40px;
    border-radius: 24px;
    padding: 28px;
    background: linear-gradient(135deg, rgba(30,27,75,0.85), rgba(17,17,30,0.85));
    border: 1px solid rgba(139, 92, 246, 0.35);
    box-shadow: 0 18px 50px rgba(139,92,246,0.25);
    position: relative;
    overflow: hidden;
}

.aegis-program-card::before{
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(600px 120px at -10% -20%, rgba(168,85,247,0.18), transparent 60%),
      radial-gradient(600px 120px at 110% -20%, rgba(192,132,252,0.14), transparent 60%);
    pointer-events: none;
    opacity: 1;
}

.badge-new{
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.6px;
    background: linear-gradient(135deg, #a855f7, #8b5cf6);
    color: #fff;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 8px 20px rgba(139,92,246,0.3);
}

.aegis-program-content{
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 22px;
    align-items: center;
}

.aegis-icon{
    background: linear-gradient(135deg, #7c3aed, #a78bfa);
    box-shadow: 0 10px 28px rgba(124,58,237,0.45);
}

.aegis-program-title{
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 6px 0;
    color: var(--text-light);
}

.aegis-program-card .certificate-issuer{
    color: var(--light-purple);
    margin-bottom: 10px;
    font-weight: 600;
}

.aegis-program-card .certificate-description{
    color: #e5e7eb;
    margin-bottom: 16px;
}

.aegis-program-card .certificate-tags .tag{
    backdrop-filter: blur(6px);
}

.aegis-program-card .verify-btn{
    padding: 14px 28px;
    font-weight: 700;
}
.aegis-program-card .verify-btn::before{
    background: linear-gradient(135deg, #c084fc, #8b5cf6);
}

@media (max-width: 768px){
    .aegis-program-content{
        grid-template-columns: 1fr;
        gap: 14px;
        align-items: start;
    }
}
  :root{
    --primary-purple:#8b5cf6; --secondary-purple:#a855f7; --light-purple:#c4b5fd;
    --gradient-purple:linear-gradient(90deg,#8b5cf6,#a855f7,#c084fc);
    --text-light:#e5e7eb; --text-gray:#a6a6b3;
  }

  .featured-certificate-section { 
    padding: 110px 0; 
    background: linear-gradient(135deg, rgba(15,15,35,0.92) 0%, rgba(139,92,246,0.06) 100%);
  }

  /* Gradient frame wrapper (subtle neon border) */
  .featured-certificate-card {
    position: relative; border-radius: 26px; padding: 2px; overflow: hidden;
    background: linear-gradient(135deg, var(--primary-purple), var(--light-purple), var(--secondary-purple));
    box-shadow: 0 30px 80px rgba(139, 92, 246, 0.25);
    display: grid; grid-template-columns: 1.15fr 1fr; gap: 0;
    transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
    will-change: transform;
  }
  .featured-certificate-card:hover{ transform: translateY(-6px); box-shadow: 0 40px 100px rgba(139,92,246,.35); filter: saturate(1.05); }

  .featured-certificate-card::before{ content:""; position:absolute; inset:-150px; border-radius:inherit; 
    background: conic-gradient(from 0deg, rgba(139,92,246,.65), rgba(168,85,247,.3), rgba(192,132,252,.65), rgba(139,92,246,.65));
    animation: spinBorder 16s linear infinite; filter: blur(32px); opacity:.33; pointer-events:none;
  }
  @keyframes spinBorder{ to{ transform: rotate(360deg);} }

  .featured-certificate-card > * { position: relative; z-index: 1; }
  .featured-media, .featured-details { background: rgba(8,8,22,0.9); border-radius: 24px; }

  .featured-media { padding: 26px; }
  .media-frame { position: relative; border-radius: 18px; overflow: hidden; 
    background: radial-gradient(120% 120% at 15% 10%, rgba(139,92,246,.22), rgba(10,10,24,.85));
    border:1px solid rgba(139,92,246,.25); isolation:isolate;
  }
  .featured-image { width:100%; height:auto; display:block; object-fit: cover; transition: transform .5s ease; will-change: transform; }
  .media-frame:hover .featured-image{ transform: scale(1.04) rotate(.25deg); }

  /* Image shine */
  .media-frame::after{ content:""; position:absolute; inset:0; 
    background: linear-gradient(120deg, transparent, rgba(255,255,255,.08), transparent);
    transform: translateX(-120%);
    transition: transform .8s ease;
    pointer-events:none;
  }
  .media-frame:hover::after{ transform: translateX(120%); }

  .media-glow { position:absolute; inset:-40%; background: radial-gradient(circle, rgba(139,92,246,.22), transparent 60%); filter: blur(40px); }

  .ribbon { position: absolute; top:16px; left:-40px; transform: rotate(-12deg);
    background: var(--gradient-purple); color:#fff; font-weight:800; letter-spacing:.08em;
    padding:8px 48px; border-radius: 10px; box-shadow: 0 10px 24px rgba(139,92,246,.35);
    text-transform: uppercase; font-size:.8rem; transition: transform .25s ease;
  }
  .media-frame:hover .ribbon{ transform: rotate(-12deg) translateY(-2px); }

  .media-meta { display:flex; gap:12px; flex-wrap:wrap; margin-top:16px; }
  .meta-item { display:flex; align-items:center; gap:8px; padding:10px 12px; border:1px solid rgba(139,92,246,.25); border-radius: 12px; background: rgba(139,92,246,.08); font-size:.9rem; color: var(--text-light); transition: border-color .2s ease, background .2s ease, transform .2s ease; }
  .meta-item:hover{ border-color: rgba(139,92,246,.55); background: rgba(139,92,246,.14); transform: translateY(-2px); }

  .featured-details { padding: 32px 28px; border-left: 1px solid rgba(139,92,246,.2); display:flex; flex-direction:column; justify-content:center; }
  .aegis-icon { margin: 0 0 10px 0; }
  .featured-title { font-size: 1.6rem; font-weight: 800; margin: 6px 0 6px; color: var(--text-light); }
  .certificate-issuer { color: #c4b5fd; font-weight: 600; margin-bottom: 6px; }
  .certificate-description { color: var(--text-gray); margin: 6px 0 16px; }

  .certificate-highlights { list-style:none; display:grid; gap:10px; margin: 6px 0 18px; padding-left:0; }
  .certificate-highlights li { display:flex; align-items:center; gap:10px; color: var(--text-light); transition: transform .2s ease; }
  .certificate-highlights li:hover{ transform: translateX(3px); }
  .certificate-highlights i { color: var(--light-purple); }

  .certificate-tags { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:18px; }
  .certificate-tags .tag { background: rgba(139,92,246,.18); color: var(--light-purple); padding:6px 12px; border:1px solid rgba(139,92,246,.3); border-radius:14px; font-size:.85rem; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
  .certificate-tags .tag:hover{ transform: translateY(-2px); box-shadow:0 8px 16px rgba(139,92,246,.25); border-color: rgba(139,92,246,.55); }

  .cta-row { display:flex; gap:12px; flex-wrap:wrap; margin: 8px 0 0; }
  .verify-btn, .view-certificate-btn { display:inline-flex; align-items:center; gap:8px; padding:12px 16px; border-radius:14px; text-decoration:none; color:#fff; background: var(--gradient-purple); box-shadow: 0 6px 18px rgba(139,92,246,.35); transition: background-position .4s ease, transform .2s ease, box-shadow .2s ease; background-size:200% 100%; }
  .verify-btn:hover, .view-certificate-btn:hover { background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(139,92,246,.45); }
  .verify-btn i, .view-certificate-btn i{ transition: transform .2s ease; }
  .verify-btn:hover i, .view-certificate-btn:hover i{ transform: translateX(4px); }

  .signature-row { display:flex; align-items:center; gap:12px; margin-top: 18px; opacity:.9; }
  .sig { height: 34px; width:auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); transition: transform .2s ease; }
  .signature-row:hover .sig{ transform: translateY(-2px); }
  .sig-label { color: var(--text-gray); font-size:.95rem; }

  /* Focus states */
  a:focus-visible, button:focus-visible { outline: 3px solid rgba(139,92,246,.6); outline-offset: 2px; border-radius: 12px; }

  /* Responsive */
  @media (max-width: 1024px){
    .featured-certificate-card { grid-template-columns: 1fr; }
    .featured-details { border-left: none; border-top: 1px solid rgba(139,92,246,.2); }
  }
  @media (max-width: 560px){
    .media-meta { gap:8px; }
    .verify-btn, .view-certificate-btn{ width:100%; justify-content:center; }
  }
@media (max-width: 600px) {
  .ribbon {
    top: 8px;
    left: -20px;
    font-size: .65rem;
    padding: 6px 28px;
    transform: rotate(-8deg);
  }
}
  /* Reduced motion */
  @media (prefers-reduced-motion: reduce){
    .featured-certificate-card, .featured-image, .media-frame::after, .ribbon, .meta-item, .certificate-highlights li, .certificate-tags .tag, .verify-btn, .view-certificate-btn, .sig {
      transition: none !important;
      animation: none !important;
    }
  }

  



