@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;900&display=swap');

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

/* Prevent scrollbar flickering */
html, body {
    scrollbar-gutter: stable;
}

/* Additional scrollbar stability fixes */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

/* Webkit scrollbar styling for consistency */
*::-webkit-scrollbar {
    width: 8px;
}

*::-webkit-scrollbar-track {
    background: transparent;
}

*::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

*::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

html {
    overflow-x: hidden;
    overflow-y: auto;
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: 'Raleway', sans-serif;
    background: linear-gradient(225deg, #3d0f4a 0%, #000000 100%);
    background-attachment: fixed;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    color: #fff;
    overflow-x: hidden;
    line-height: 1.5;
    min-height: 100vh;
    height: auto;
    margin: 0;
    padding: 0;
}

/* (removed override so services page uses global animated grid) */

/* Animated Background Grid */
body::before {
    content: "";
    position: fixed;
    top: -25px;
    left: -25px;
    width: calc(100% + 50px);
    height: calc(100% + 50px);
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s ease-in-out infinite;
    z-index: -1;
}

/* Additional subtle grid overlay */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: -1;
    pointer-events: none;
}

@keyframes gridMove {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(25px, 25px); }
}



/* Floating Particles */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: linear-gradient(45deg, #b74fff, #00ff88);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

/* Additional Glowing Dots */
.glow-dot {
    position: absolute;
    border-radius: 50%;
    animation: glowPulse 3s ease-in-out infinite;
}

.glow-dot:nth-child(6) {
    width: 6px;
    height: 6px;
    top: 15%;
    left: 25%;
    background: #00ff88;
    box-shadow: 0 0 15px #00ff88;
    animation-delay: 0.5s;
}

.glow-dot:nth-child(7) {
    width: 5px;
    height: 5px;
    top: 75%;
    left: 15%;
    background: #b74fff;
    box-shadow: 0 0 12px #b74fff;
    animation-delay: 1.5s;
}

.glow-dot:nth-child(8) {
    width: 7px;
    height: 7px;
    top: 25%;
    right: 20%;
    background: #ff3db8;
    box-shadow: 0 0 18px #ff3db8;
    animation-delay: 2.5s;
}

.glow-dot:nth-child(9) {
    width: 4px;
    height: 4px;
    top: 65%;
    right: 30%;
    background: #00ff88;
    box-shadow: 0 0 10px #00ff88;
    animation-delay: 3.5s;
}

.glow-dot:nth-child(10) {
    width: 6px;
    height: 6px;
    bottom: 25%;
    left: 35%;
    background: #b74fff;
    box-shadow: 0 0 15px #b74fff;
    animation-delay: 1s;
}

/* Moving Lines */
.moving-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, #b74fff, transparent);
    animation: lineMove 4s linear infinite;
}

.moving-line:nth-child(11) {
    width: 80px;
    top: 35%;
    left: 5%;
    animation-delay: 0s;
}

.moving-line:nth-child(12) {
    width: 60px;
    top: 55%;
    right: 10%;
    animation-delay: 1s;
}

.moving-line:nth-child(13) {
    width: 100px;
    bottom: 35%;
    left: 20%;
    animation-delay: 2s;
}

.moving-line:nth-child(14) {
    width: 70px;
    top: 85%;
    right: 25%;
    animation-delay: 3s;
}

.particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 60%;
    left: 85%;
    animation-delay: 2s;
}

.particle:nth-child(3) {
    top: 80%;
    left: 20%;
    animation-delay: 4s;
}

.particle:nth-child(4) {
    top: 30%;
    left: 70%;
    animation-delay: 1s;
}

.particle:nth-child(5) {
    top: 50%;
    left: 5%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) scale(1);
        opacity: 0.7;
    }
    50% { 
        transform: translateY(-20px) scale(1.2);
        opacity: 1;
    }
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.4);
    }
}

@keyframes lineMove {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(100px);
        opacity: 0;
    }
}

/* Logo Animations */
@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
        filter: drop-shadow(0 0 20px rgba(255, 61, 184, 0.3));
    }
    50% {
        transform: translateY(-8px) scale(1.05);
        filter: drop-shadow(0 0 30px rgba(255, 61, 184, 0.5));
    }
}

@keyframes logoRing {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1) rotate(180deg);
        opacity: 0.6;
    }
}

@keyframes logoGeoFloat {
    0%, 100% {
        opacity: 0.4;
        transform: translateY(0px) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-8px) scale(1.1);
    }
}

/* Navigation */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(26, 10, 46, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    color: white;
    padding: 6px 50px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border: none;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar .nav-links {
    margin-left: auto;
    margin-right: 150px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 6px;
}

.brand-logo {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    background: transparent;
    border: none;
    animation: logoBulge 3s ease-in-out infinite;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.brand-logo::before,
.brand-logo::after {
    display: none;
}

/* Logo Geometric Elements */
.logo-geo {
    display: none !important;
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: 50% 50%;
    animation: logoBulge 3.2s ease-in-out infinite;
    will-change: transform;
    transform: translateZ(0);
    filter: brightness(1.1) contrast(1.2);
    border-radius: 12px;
}

@keyframes logoBulge {
    0%   { transform: scale(1); }
    25%  { transform: scale(1.06); }
    50%  { transform: scale(1); }
    75%  { transform: scale(0.98); }
    100% { transform: scale(1); }
}

/* Reduced motion media query removed - animations already disabled */

/* Services page: trim busy background elements and logo geometry */
.services-page .particle,
.services-page .glow-dot,
.services-page .moving-line,
.services-page .logo-geo { display: none !important; }

.brand-name {
    color: #fff;
    text-decoration: none;
    font-size: 24px;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 60px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    transition: all 0.3s ease;
    padding: 8px 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #00ff88;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

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

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.btn-register {
    background: #5b3ab1;
    color: white;
    border: 1px solid #5b3ab1;
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.btn-register:hover {
    transform: translateY(-2px);
    background: rgba(91, 58, 177, 0.8);
    border-color: #5b3ab1;
    box-shadow: 0 8px 20px rgba(91, 58, 177, 0.3);
}

/* Register Form Popup */
.register-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.register-popup.active {
    opacity: 1;
    visibility: visible;
}

.register-form {
    background: linear-gradient(135deg, rgba(26, 10, 46, 0.95) 0%, rgba(22, 33, 62, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    width: 90%;
    max-width: 500px;
    transform: scale(0.8) translateY(50px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.register-popup.active .register-form {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.register-form h2 {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    background: linear-gradient(45deg, #00ff88, #b74fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.form-group label {
    display: block;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #00ff88;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

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

.submit-btn {
    width: 100%;
    padding: 16px 30px;
    background: linear-gradient(45deg, #00ff88, #b74fff);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 255, 136, 0.4);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.form-footer {
    text-align: center;
    margin-top: 25px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.form-footer a {
    color: #00ff88;
    text-decoration: none;
    font-weight: 500;
}

.form-footer a:hover {
    color: #b74fff;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    height: auto;
    padding: 120px 40px 60px;
    position: relative;
    gap: 120px;
    overflow: visible;
}

/* Animated Lines and Dots */
.accent-line {
    position: absolute;
    height: 3px;
    border-radius: 2px;
    animation: lineGlow 3s ease-in-out infinite, accentFloat 16s ease-in-out infinite;
}

.accent-line.top-left {
    width: 60px;
    top: 140px;
    left: 60px;
    background: linear-gradient(90deg, #b74fff, transparent);
}

.accent-line.top-left-2 {
    width: 40px;
    top: 160px;
    left: 40px;
    background: linear-gradient(90deg, #00ff88, transparent);
    animation-delay: 1s;
}

.accent-line.bottom-left {
    width: 80px;
    bottom: 120px;
    left: 40px;
    background: linear-gradient(90deg, #ff3db8, transparent);
    animation-delay: 0.5s;
}

.accent-line.top-right {
    width: 60px;
    top: 140px;
    right: 60px;
    background: linear-gradient(-90deg, #b74fff, transparent);
}

.accent-line.top-right-2 {
    width: 40px;
    top: 160px;
    right: 40px;
    background: linear-gradient(-90deg, #00ff88, transparent);
    animation-delay: 1s;
}

.accent-line.bottom-right {
    width: 80px;
    bottom: 120px;
    right: 40px;
    background: linear-gradient(-90deg, #ff3db8, transparent);
    animation-delay: 0.5s;
}

.accent-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite, accentDotFloat 14s ease-in-out infinite;
}

.accent-dot.top-left {
    top: 200px;
    left: 80px;
    background: #b74fff;
    box-shadow: 0 0 20px #b74fff;
}

.accent-dot.bottom-left {
    bottom: 80px;
    left: 60px;
    background: #00ff88;
    box-shadow: 0 0 20px #00ff88;
    animation-delay: 1s;
}

.accent-dot.top-right {
    top: 200px;
    right: 80px;
    background: #b74fff;
    box-shadow: 0 0 20px #b74fff;
}

.accent-dot.bottom-right {
    bottom: 80px;
    right: 60px;
    background: #00ff88;
    box-shadow: 0 0 20px #00ff88;
    animation-delay: 1s;
}

@keyframes lineGlow {
    0%, 100% {
        opacity: 0.6;
        transform: scaleX(0.8);
    }
    50% {
        opacity: 1;
        transform: scaleX(1.2);
    }
}

@keyframes dotPulse {
    0%, 100% {
        opacity: 0.7;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.5);
    }
}

/* Global gentle drift for all accent lines and dots */
@keyframes accentFloat {
    0%   { transform: translate(0, 0); opacity: 0.85; }
    25%  { transform: translate(10px, -6px); opacity: 1; }
    50%  { transform: translate(6px, 8px); opacity: 0.9; }
    75%  { transform: translate(-8px, 4px); opacity: 1; }
    100% { transform: translate(0, 0); opacity: 0.85; }
}

@keyframes accentDotFloat {
    0%   { transform: translate(0, 0) scale(1); opacity: 0.8; }
    25%  { transform: translate(6px, -4px) scale(1.05); opacity: 1; }
    50%  { transform: translate(4px, 6px) scale(1.08); opacity: 0.9; }
    75%  { transform: translate(-6px, 2px) scale(1.03); opacity: 1; }
    100% { transform: translate(0, 0) scale(1); opacity: 0.8; }
}

/* Hero Content - Desktop wrapper for positioning */
.hero-content {
    max-width: 600px;
    z-index: 10;
    text-align: center;
    flex: 0 1 auto;
    margin-right: 40px;
}

/* Desktop: arrange content in wrapper */
@media (min-width: 769px) {
    .hero {
        gap: 120px;
        flex-direction: row;
    }
    
    .hero-title, .hero-subtitle, .hero-description, .hero-link, .hero-buttons {
        order: unset;
    }
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 15px;
    color: #65c643;
    text-align: justify;
}

.hero-subtitle {
    font-size: 2.5rem;
    color: #65c643;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: justify;
}

.hero-description {
    font-size: 1.2rem;
    color: #fff;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
}

.hero-link {
    color: #00ff88;
    text-decoration: none;
    font-size: 1.1rem;
    margin-bottom: 50px;
    display: block;
    transition: color 0.3s ease;
    text-align: justify;
    text-align: center;
}

.hero-link:hover {
    color: #b74fff;
}

.hero-buttons {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
    text-align: justify;
}

.btn-hero {
    padding: 18px 35px;
    border: none;
    border-radius: 30px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
}

.btn-buy {
    background: linear-gradient(45deg, #b74fff, #ff3db8);
    color: white;
}

.btn-sell {
    background: linear-gradient(45deg, #00ff88, #00cc6a);
    color: white;
}

.btn-auction {
    background: transparent;
    color: white;
    border: 2px solid #fff;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Hero Visual */
.hero-visual {
    flex: 0 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-left: 40px;
}

.video-container {
    position: relative;
    width: 500px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(183, 79, 255, 0.05) 0%, transparent 70%);
    border-radius: 30px;
    padding: 30px;
    margin: 20px;
}

.hero-video {
    width: 460px;
    height: 460px;
    border-radius: 20px;
    object-fit: cover;
    background: transparent;
    box-shadow: none;
    animation: none;
    filter: none;
    mix-blend-mode: screen;
}

/* Glowing Rings around Video */
.glow-ring {
    position: absolute;
    border: 2px solid;
    border-radius: 50%;
    animation: ringFloat 4s ease-in-out infinite;
}

/* Geometric Elements around Video */
.geo-element {
    position: absolute;
    border: 2px solid;
    animation: geoFloat 5s ease-in-out infinite;
    mix-blend-mode: screen;
}

.geo-square-1 {
    width: 60px;
    height: 60px;
    top: 20%;
    right: 15%;
    border-color: rgba(183, 79, 255, 0.8);
    transform: rotate(45deg);
    animation-delay: 0s;
    filter: drop-shadow(0 0 10px rgba(183, 79, 255, 0.6));
}

.geo-square-2 {
    width: 40px;
    height: 40px;
    bottom: 25%;
    left: 10%;
    border-color: rgba(0, 255, 136, 0.7);
    transform: rotate(30deg);
    animation-delay: 1.5s;
    filter: drop-shadow(0 0 8px rgba(0, 255, 136, 0.5));
}

.geo-diamond {
    width: 50px;
    height: 50px;
    top: 70%;
    right: 25%;
    border-color: rgba(255, 61, 184, 0.6);
    transform: rotate(45deg);
    animation-delay: 2.5s;
    filter: drop-shadow(0 0 12px rgba(255, 61, 184, 0.4));
}

/* Additional embedded elements */
.geo-triangle {
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 40px solid rgba(183, 79, 255, 0.5);
    top: 15%;
    left: 20%;
    animation: geoFloat 4s ease-in-out infinite;
    animation-delay: 0.5s;
    mix-blend-mode: screen;
    filter: drop-shadow(0 0 15px rgba(183, 79, 255, 0.4));
}

.geo-circle {
    width: 35px;
    height: 35px;
    border: 2px solid rgba(0, 255, 136, 0.6);
    border-radius: 50%;
    bottom: 15%;
    right: 20%;
    animation: geoFloat 3.5s ease-in-out infinite;
    animation-delay: 2s;
    mix-blend-mode: screen;
    filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.3));
}

/* Embedded floating particles */
.embedded-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: embeddedFloat 8s ease-in-out infinite;
    mix-blend-mode: screen;
}

.embedded-particle:nth-child(1) {
    top: 25%;
    left: 30%;
    animation-delay: 0s;
}

.embedded-particle:nth-child(2) {
    top: 45%;
    right: 25%;
    animation-delay: 2s;
}

.embedded-particle:nth-child(3) {
    bottom: 30%;
    left: 40%;
    animation-delay: 4s;
}

.embedded-particle:nth-child(4) {
    top: 60%;
    left: 15%;
    animation-delay: 6s;
}

@keyframes embeddedFloat {
    0%, 100% {
        opacity: 0.3;
        transform: translateY(0px) scale(1);
    }
    50% {
        opacity: 1;
        transform: translateY(-15px) scale(1.2);
    }
}

@keyframes geoFloat {
    0%, 100% {
        opacity: 0.4;
        transform: rotate(45deg) translateY(0px) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: rotate(45deg) translateY(-15px) scale(1.1);
    }
}

.glow-ring-1 {
    width: 400px;
    height: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-color: rgba(183, 79, 255, 0.6);
    animation-delay: 0s;
    mix-blend-mode: screen;
    filter: drop-shadow(0 0 20px rgba(183, 79, 255, 0.3));
}

.glow-ring-2 {
    width: 500px;
    height: 500px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-color: rgba(0, 255, 136, 0.5);
    animation-delay: 1s;
    mix-blend-mode: screen;
    filter: drop-shadow(0 0 25px rgba(0, 255, 136, 0.2));
}

@keyframes ringFloat {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1) rotate(180deg);
        opacity: 0.6;
    }
}

/* Bottom accent line */
.bottom-accent {
    position: absolute;
    bottom: 20px;
    left: 50%;
    width: 400px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #b74fff, #00ff88, transparent);
    transform: translateX(-50%);
    animation: bottomGlow 4s ease-in-out infinite;
    z-index: 1;
}

@keyframes bottomGlow {
    0%, 100% {
        opacity: 0.5;
        transform: translateX(-50%) scaleX(0.8);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) scaleX(1.2);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    /* Mobile viewport optimization */
    html {
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }
    
    /* Prevent mobile zoom issues */
    * {
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
    
    /* Allow text selection for content */
    p, h1, h2, h3, h4, h5, h6, span, div, a, button {
        -webkit-user-select: text;
        -moz-user-select: text;
        -ms-user-select: text;
        user-select: text;
    }
    /* Mobile-optimized background gradient */
    body {
        background: radial-gradient(ellipse at top right, #3d0f4a 0%, #2a0a35 20%, #1a0a2e 35%, #0f0515 55%, #0a030d 75%, #000000 100%);
        background-attachment: fixed;
        background-size: 100% 100%;
        background-repeat: no-repeat;
        background-position: top center;
        min-height: 100vh;
        height: auto;
    }
    
    /* Ensure full coverage on mobile */
    html, body {
        height: 100%;
        min-height: 100vh;
        overflow-x: hidden;
        overflow-y: auto;
    }
    
    /* Prevent horizontal scrolling caused by elements */
    * {
        max-width: 100vw;
        box-sizing: border-box;
    }
    
    /* Ensure all sections have transparent backgrounds */
    .hero, .services-hero, .services-content, .packages-showcase, .services-cta {
        background: transparent !important;
    }
    
    /* Mobile fallback for continuous gradient - more robust */
    body::before {
        content: '';
        position: fixed;
        top: -25px;
        left: -25px;
        right: -25px;
        bottom: -25px;
        width: calc(100vw + 50px);
        height: calc(100vh + 50px);
        background: radial-gradient(ellipse at top right, #3d0f4a 0%, #2a0a35 20%, #1a0a2e 35%, #0f0515 55%, #0a030d 75%, #000000 100%);
        z-index: -1;
        pointer-events: none;
        transform: translateZ(0); /* Hardware acceleration */
        will-change: transform;
    }

    body::after {
        content: '';
        position: fixed;
        top: -25px;
        left: -25px;
        right: -25px;
        bottom: -25px;
        width: calc(100vw + 50px);
        height: calc(100vh + 50px);
        background-image:
            linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
        background-size: 40px 40px;
        animation: gridMove 20s ease-in-out infinite;
        z-index: -1;
        pointer-events: none;
        transform: translateZ(0);
        will-change: transform;
    }
    
    .navbar {
        padding: 8px 20px;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .brand-logo {
        width: 55px;
        height: 55px;
        animation: logoBulge 3.2s ease-in-out infinite !important;
        will-change: transform;
        transform: translateZ(0);
        backface-visibility: hidden;
    }

    .logo-geo {
        display: none;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
        position: relative;
    }

    .btn-register {
        background: transparent;
        color: white;
        border: 1px solid rgba(255, 255, 255, 0.3);
        padding: 8px 16px;
        font-size: 14px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 10px;
    }

    .btn-register:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.5);
        transform: translateY(-2px);
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        gap: 20px;
        padding: 20px 0;
        z-index: 1000;
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        visibility: hidden;
        opacity: 0;
        border-radius: 0 0 15px 15px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }

    .nav-links.active {
        display: flex;
        transform: translateY(0);
        visibility: visible;
        opacity: 1;
    }

    .nav-links li {
        text-align: center;
        padding: 0;
        border: none;
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 15px 20px;
        display: block;
        color: white;
        text-decoration: none;
        transition: color 0.3s ease;
        border-radius: 8px;
        margin: 0 10px;
    }
    
    .nav-links a:hover {
        color: #00ff88;
        background: rgba(255, 255, 255, 0.05);
    }



    /* Hero Section Mobile */
    .hero {
        padding: 90px 20px 50px;
        text-align: center;
    }

    .hero h1 {
        font-size: clamp(2.5rem, 8vw, 4rem);
        line-height: 1.1;
        margin-bottom: 20px;
    }

    .hero p {
        font-size: clamp(1rem, 4vw, 1.2rem);
        line-height: 1.6;
        margin-bottom: 30px;
        max-width: 100%;
    }

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

    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
        padding: 15px 25px;
        font-size: 1rem;
    }

    /* Service Cards Mobile */
    .services-content {
        padding: 60px 15px;
    }

    .services-content .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .service-card {
        padding: 25px 20px;
        margin: 0;
    }

    .service-card .service-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        margin-bottom: 20px;
    }

    .service-card .service-title {
        font-size: 1.2rem;
        width: 100%;
        text-align: center;
    }

    .service-card .service-badge {
        align-self: center;
    }

    .service-card .service-desc {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 15px;
    }

    .service-card .service-points {
        gap: 10px;
    }

    .service-card .service-point {
        font-size: 0.9rem;
        padding: 8px 0;
    }

    .service-card .service-cta {
        margin-top: 20px;
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    /* Package Cards Mobile */
    .packages-showcase {
        padding: 60px 15px;
    }

    .packages-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .package-card {
        padding: 25px 20px;
        margin: 0;
    }

    .package-card .package-tier {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }

    .package-card .package-price {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }

    .package-card .package-features {
        gap: 12px;
        margin-bottom: 25px;
    }

    .package-card .package-feature {
        font-size: 0.9rem;
        padding: 8px 0;
    }

    .package-card .package-cta {
        padding: 15px 25px;
        font-size: 1rem;
        width: 100%;
    }

    /* CTA Section Mobile */
    .cta-content {
        padding: 60px 20px;
        text-align: center;
    }

    .cta-content h2 {
        font-size: clamp(2rem, 6vw, 3rem);
        margin-bottom: 20px;
    }

    .cta-content p {
        font-size: clamp(1rem, 4vw, 1.2rem);
        margin-bottom: 30px;
    }

    /* Footer Mobile */
    .footer {
        padding: 40px 20px 20px;
        text-align: center;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .footer-section {
        width: 100%;
    }

    .footer-section h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

    .footer-section p,
    .footer-section a {
        font-size: 0.9rem;
    }

    .nav-links a {
        display: block;
        padding: 10px 20px;
        font-size: 18px;
    }

    .hero {
        flex-direction: column;
        min-height: 100vh;
        height: auto;
        padding: 90px 20px 20px;
        text-align: center;
        gap: 15px;
        justify-content: flex-start;
        box-sizing: border-box;
        display: flex;
        overflow: visible;
    }

    .hero-content {
        display: contents;
    }





    .hero-title {
        font-size: 2.3rem;
        margin-bottom: 8px;
        line-height: 1.1;
        text-align: center;
        order: 1;
        margin-left: 20px;
        margin-right: 20px;
        color: #65c643;
        font-weight: 900;
    }

    .hero-subtitle {
        font-size: 1.6rem;
        margin-bottom: 10px;
        text-align: center;
        order: 2;
        margin-left: 40px;
        margin-right: 40px;
        color: #65c643;
        font-weight: 600;
    }

    .hero-description {
        font-size: 0.85rem;
        margin-bottom: 12px;
        max-width: 100%;
        line-height: 1.4;
        text-align: justify;
        order: 4;
        margin-left: 25px;
        margin-right: 25px;
    }

    .hero-link {
        font-size: 0.8rem;
        margin-bottom: 15px;
        text-align: center;
        order: 5;
        margin-left: 20px;
        margin-right: 20px;
    }

    .hero-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 15px;
        flex-wrap: nowrap;
        margin-bottom: 0;
        width: 100%;
        order: 6;
        margin-left: 20px;
        margin-right: 20px;
    }

    .btn-hero {
        min-width: 80px;
        padding: 12px 18px;
        font-size: 13px;
        flex: 1;
        max-width: 120px;
    }

    .hero-visual {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 0;
        margin-left: 10px;
        margin-right: 10px;
        min-height: 0;
        order: 3;
    }

    .video-container {
        width: 190px;
        height: 180px;
        margin-bottom: 0;
        padding: 5px;
        margin: 2px;
    }

    .hero-video {
        width: 180px;
        height: 160px;
        mix-blend-mode: screen;
    }

    .glow-ring-1 {
        width: 180px;
        height: 180px;
    }

    .glow-ring-2 {
        width: 220px;
        height: 220px;
    }

    .accent-line {
        display: none;
    }

    .accent-dot {
        display: none;
    }

    .geo-element {
        opacity: 0.5;
        animation-duration: 10s;
    }
    
    .geo-square-1 {
        width: 30px;
        height: 30px;
        top: 15%;
        right: 20%;
    }
    
    .geo-square-2 {
        width: 20px;
        height: 20px;
        bottom: 20%;
        left: 15%;
    }
    
    .geo-diamond {
        width: 25px;
        height: 25px;
        top: 60%;
        right: 30%;
    }
    
    .geo-triangle {
        border-left: 12px solid transparent;
        border-right: 12px solid transparent;
        border-bottom: 20px solid rgba(183, 79, 255, 0.5);
        top: 10%;
        left: 20%;
    }
    
    .geo-circle {
        width: 18px;
        height: 18px;
        bottom: 10%;
        right: 15%;
    }

    .bottom-accent {
        bottom: 15px;
        width: 200px;
    }

    /* Mobile animation optimizations */
    .particle, .glow-dot {
        animation-duration: 10s;
        opacity: 0.7;
    }
    
    /* Hide glowing dots on mobile to fix video blending */
    .particle, .glow-dot, .accent-dot {
        display: none !important;
    }

    .moving-line {
        animation-duration: 8s;
        opacity: 0.6;
    }

    .geo-element {
        opacity: 0.3;
        animation-duration: 15s;
    }
    
    .geo-square-1 {
        width: 15px;
        height: 15px;
        top: 8%;
        right: 30%;
    }
    
    .geo-square-2 {
        width: 12px;
        height: 12px;
        bottom: 12%;
        left: 25%;
    }
    
    .geo-diamond {
        width: 14px;
        height: 14px;
        top: 45%;
        right: 40%;
    }
    
    .geo-triangle {
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-bottom: 12px solid rgba(183, 79, 255, 0.3);
        top: 3%;
        left: 30%;
    }
    
    .geo-circle {
        width: 10px;
        height: 10px;
        bottom: 3%;
        right: 25%;
    }

    .glow-ring {
        animation-duration: 12s;
        opacity: 0.4;
    }
    
    /* Mobile video blending - keep it simple like it was working */
    .hero-video {
        mix-blend-mode: screen;
    }
}

@media (max-width: 480px) {
    /* Extra Small Mobile - Enhanced background gradient */
    body {
        background: radial-gradient(ellipse at top right, #3d0f4a 0%, #2a0a35 15%, #1a0a2e 30%, #0f0515 45%, #0a030d 65%, #050207 80%, #000000 100%);
        background-attachment: fixed;
        background-size: 100% 100%;
        background-repeat: no-repeat;
        background-position: top center;
        min-height: 100vh;
        height: auto;
    }
    
    /* Ensure full coverage on small mobile */
    html, body {
        height: 100%;
        min-height: 100vh;
    }
    
    /* Ensure all sections have transparent backgrounds */
    .hero, .services-hero, .services-content, .packages-showcase, .services-cta {
        background: transparent !important;
    }
    
    /* Mobile fallback for continuous gradient - optimized for small screens */
    body::before {
        content: '';
        position: fixed;
        top: -25px;
        left: -25px;
        right: -25px;
        bottom: -25px;
        width: calc(100vw + 50px);
        height: calc(100vh + 50px);
        background: radial-gradient(ellipse at top right, #3d0f4a 0%, #2a0a35 15%, #1a0a2e 30%, #0f0515 45%, #0a030d 65%, #050207 80%, #000000 100%);
        z-index: -1;
        pointer-events: none;
        transform: translateZ(0);
        will-change: transform;
    }

    body::after {
        content: '';
        position: fixed;
        top: -25px;
        left: -25px;
        right: -25px;
        bottom: -25px;
        width: calc(100vw + 50px);
        height: calc(100vh + 50px);
        background-image:
            linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
        background-size: 35px 35px;
        animation: gridMove 20s ease-in-out infinite;
        z-index: -1;
        pointer-events: none;
        transform: translateZ(0);
        will-change: transform;
    }
    
    .navbar {
        padding: 6px 15px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .brand-logo {
        width: 48px;
        height: 48px;
        animation: logoBulge 3.4s ease-in-out infinite !important;
        will-change: transform;
        transform: translateZ(0);
        backface-visibility: hidden;
    }

    .btn-register {
        background: transparent;
        color: white;
        border: 1px solid rgba(255, 255, 255, 0.3);
        padding: 8px 16px;
        font-size: 14px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 10px;
    }

    .btn-register:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.5);
        transform: translateY(-2px);
    }

    .hero {
        padding: 75px 8px 8px;
        gap: 16px;
        height: auto;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        overflow: visible;
    }

    .hero-content {
        display: contents;
    }

    /* Additional Mobile Improvements */
    .hero h1 {
        font-size: clamp(2rem, 7vw, 3.5rem);
        line-height: 1.1;
        margin-bottom: 15px;
    }

    .hero p {
        font-size: clamp(0.9rem, 3.5vw, 1.1rem);
        line-height: 1.5;
        margin-bottom: 25px;
    }

    .cta-buttons {
        gap: 12px;
    }

    .cta-buttons .btn {
        padding: 12px 20px;
        font-size: 0.95rem;
        max-width: 250px;
    }

    /* Services Page Mobile */
    .services-content {
        padding: 50px 10px;
    }

    .service-card {
        padding: 20px 15px;
    }

    .service-card .service-title {
        font-size: 1.1rem;
        padding: 6px 12px;
    }

    .service-card .service-badge {
        padding: 6px 12px;
        font-size: 0.9rem;
    }

    .service-card .service-desc {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .service-card .service-point {
        font-size: 0.85rem;
        padding: 6px 0;
    }

    .service-card .service-cta {
        padding: 10px 18px;
        font-size: 0.9rem;
    }

    /* Package Cards Extra Small */
    .packages-showcase {
        padding: 50px 10px;
    }

    .package-card {
        padding: 20px 15px;
    }

    .package-card .package-tier {
        font-size: 1rem;
    }

    .package-card .package-price {
        font-size: 2.2rem;
    }

    .package-card .package-feature {
        font-size: 0.85rem;
    }

    .package-card .package-cta {
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    /* Touch-friendly interactions */
    .btn, .service-cta, .package-cta {
        min-height: 44px;
        min-width: 44px;
        touch-action: manipulation;
    }

    .hamburger {
        min-height: 44px;
        min-width: 44px;
        touch-action: manipulation;
    }

    .btn-register {
        background: transparent;
        color: white;
        border: 1px solid rgba(255, 255, 255, 0.3);
        padding: 8px 16px;
        font-size: 14px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 10px;
    }

    .btn-register:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.5);
        transform: translateY(-2px);
    }

    /* Improve scrolling on mobile */
    body {
        -webkit-overflow-scrolling: touch;
    }

    /* Optimize decorative elements on very small screens */
    .services-accents {
        opacity: 0.4;
    }

    .accent-line, .accent-dot {
        display: none;
    }

    /* Optimize animations for mobile */
    .service-card, .package-card {
        transform: none !important;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .service-card:hover, .package-card:hover {
        transform: translateY(-2px) !important;
    }

    /* Mobile particle optimizations */
    .particle, .glow-dot {
        animation-duration: 8s;
        opacity: 0.6;
    }

    .moving-line {
        animation-duration: 6s;
        opacity: 0.5;
    }

    /* Mobile geometric optimizations */
    .geo-element {
        opacity: 0.4;
        animation-duration: 12s;
    }
    
    .geo-square-1 {
        width: 20px;
        height: 20px;
        top: 10%;
        right: 25%;
    }
    
    .geo-square-2 {
        width: 15px;
        height: 15px;
        bottom: 15%;
        left: 20%;
    }
    
    .geo-diamond {
        width: 18px;
        height: 18px;
        top: 50%;
        right: 35%;
    }
    
    .geo-triangle {
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-bottom: 15px solid rgba(183, 79, 255, 0.4);
        top: 5%;
        left: 25%;
    }
    
    .geo-circle {
        width: 12px;
        height: 12px;
        bottom: 5%;
        right: 20%;
    }

    .glow-ring {
        animation-duration: 10s;
        opacity: 0.3;
    }

    /* Reduce motion for better performance */
    @media (prefers-reduced-motion: reduce) {
        *, *::before, *::after {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }
    }

    /* CTA Section Extra Small */
    .cta-content {
        padding: 50px 15px;
    }

    .cta-content h2 {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }

    .cta-content p {
        font-size: clamp(0.9rem, 3.5vw, 1.1rem);
    }

    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 2px;
        line-height: 1.1;
        text-align: center;
        order: 1;
        margin-left: 2px;
        margin-right: 2px;
        color: #65c643;
        font-weight: 900;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 16px;
        text-align: center;
        order: 2;
        margin-left: 30px;
        margin-right: 30px;
        color: #65c643;
        font-weight: 600;
    }

    .hero-description {
        font-size: 0.75rem;
        margin-bottom: 5px;
        line-height: 1.4;
        text-align: justify;
        order: 4;
        margin-left: 15px;
        margin-right: 15px;
    }

    .hero-link {
        font-size: 0.7rem;
        margin-bottom: 6px;
        text-align: center;
        order: 5;
        margin-left: 2px;
        margin-right: 2px;
    }

    .hero-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 6px;
        flex-wrap: nowrap;
        margin-bottom: 0;
        width: 100%;
        order: 6;
        margin-left: 2px;
        margin-right: 2px;
    }

    .btn-hero {
        min-width: 70px;
        padding: 10px 16px;
        font-size: 11px;
        flex: 1;
        max-width: 100px;
    }

    .hero-visual {
        margin: 14px 0;
        flex: 0 0 auto;
        order: 3;
    }

    .video-container {
        width: 120px;
        height: 100px;
        margin-bottom: 0;
        padding: 2px;
        margin: 0px;
    }

    .hero-video {
        width: 116px;
        height: 96px;
        mix-blend-mode: screen;
        margin-bottom: 14px;
    }

    .glow-ring-1 {
        width: 100px;
        height: 100px;
    }

    .glow-ring-2 {
        width: 120px;
        height: 120px;
    }

    .bottom-accent {
        bottom: 10px;
        width: 160px;
    }
}
        /* Mobile Responsiveness for Register Form */
        @media (max-width: 768px) {
    .register-popup {
        padding: 15px;
        align-items: flex-start;
        padding-top: 60px;
    }

    .register-form {
        padding: 25px 20px;
        width: 90%;
        max-width: none;
        margin-top: 15px;
        margin-bottom: 15px;
        max-height: calc(100vh - 100px);
    }

    .register-form h2 {
        font-size: 1.6rem;
        margin-bottom: 20px;
        margin-top: 5px;
    }

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

    .form-group label {
        font-size: 0.8rem;
        margin-bottom: 5px;
    }

    .form-group input,
    .form-group select {
        padding: 10px 14px;
        font-size: 0.9rem;
    }

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

    .submit-btn {
        padding: 12px 20px;
        font-size: 0.95rem;
        margin-top: 12px;
    }

    .close-btn {
        top: 12px;
        right: 12px;
        width: 30px;
        height: 30px;
        font-size: 1.3rem;
    }

    .form-footer {
        margin-top: 15px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .register-popup {
        padding: 10px;
        padding-top: 50px;
    }

    .register-form {
        padding: 20px 15px;
        width: 95%;
        margin-top: 10px;
        margin-bottom: 10px;
        max-height: calc(100vh - 80px);
    }

    .register-form h2 {
        font-size: 1.4rem;
        margin-bottom: 15px;
        margin-top: 0;
    }

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

    .form-group label {
        font-size: 0.75rem;
        margin-bottom: 4px;
    }

    .form-group input,
    .form-group select {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    .form-row {
        gap: 10px;
    }

    .submit-btn {
        padding: 10px 18px;
        font-size: 0.9rem;
        margin-top: 10px;
    }

    .close-btn {
        top: 10px;
        right: 10px;
        width: 25px;
        height: 25px;
        font-size: 1.1rem;
    }

    .form-footer {
        margin-top: 12px;
        font-size: 0.75rem;
    }
}

/* Services Page Styles */
.services-hero {
    padding: 120px 40px 40px;
    text-align: center;
    background: transparent; /* match homepage */
    position: relative;
    overflow: visible;
}

.services-page { position: relative; overflow: visible; }

/* Flexible Title System */
:root {
    --title-accent: #2ed0ff;
    --title-muted: rgba(255,255,255,0.75);
}

.title {
    font-size: clamp(2rem, 6vw, 3.75rem); /* ~32px to ~60px */
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0.2px;
    margin: 0 0 24px 0;
    display: inline-block;
    color: #ffffff;
}

.title .title-strong {
    font-weight: 900;
    color: #65c643;
}

.title .title-light {
    font-weight: 400;
    color: #ffffff;
}

.title .break { display: block; }

@media (max-width: 768px) {
    .title { margin-bottom: 18px; letter-spacing: 0.1px; }
}

@media (max-width: 480px) {
    .title { margin-bottom: 14px; }
}

.corner-image { display:none; }

/* Services page corner image placement */
.services-hero { position: relative; }
/* Global corner image at top-left (outside hero) */
.corner-image-global {
    position: absolute !important;
    top: -40px;
    left: 0;
    z-index: 500;
    width: 320px;
    height: 320px;
    pointer-events: none;
}
.corner-image-global.top-left { transform: scaleX(-1) scaleY(-1); }
.corner-image-global img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    transform: none;
    filter: brightness(1.08) contrast(1.12) saturate(1.18);
}

.services-hero::before { content: none; }

.services-hero-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Contact Page */
.contact-hero { position: relative; padding: 120px 40px 60px; text-align: center; background: transparent; overflow: visible; }
.contact-hero-inner { max-width: 1000px; margin: 0 auto; }
.contact-title { font-size: clamp(2.2rem, 5.2vw, 4rem); font-weight: 900; line-height: 1.1; margin-bottom: 24px; color: #65c643; }
.contact-intro { max-width: 780px; margin: 0 auto 32px; color: rgba(255,255,255,0.9); font-size: clamp(1rem, 2.4vw, 1.2rem); line-height: 1.6; text-align: justify; }
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; max-width: 1050px; margin: 24px auto 0; }
.contact-card { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 12px; background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 100%), radial-gradient(90% 60% at 10% 0%, rgba(46,208,255,0.10), transparent 60%), radial-gradient(80% 60% at 100% 40%, rgba(183,79,255,0.09), transparent 60%); box-shadow: 0 8px 30px rgba(0,0,0,0.25) inset; border: 1px solid rgba(255,255,255,0.08); transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease, background .35s ease; will-change: transform, box-shadow; }
.contact-card-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 8px; background: linear-gradient(135deg, #00ff88, #b74fff); color: #fff; font-size: 20px; box-shadow: 0 4px 14px rgba(183,79,255,0.35); animation: contactIconFloat 6s ease-in-out infinite; will-change: transform; }
.contact-card:nth-child(1) .contact-card-icon { animation-delay: .0s; }
.contact-card:nth-child(2) .contact-card-icon { animation-delay: .8s; }
.contact-card:nth-child(3) .contact-card-icon { animation-delay: 1.6s; }

.contact-card:hover, .contact-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 10px 34px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.12) inset;
  border-color: rgba(255,255,255,0.22);
  background: linear-gradient(135deg, rgba(0,255,136,0.32), rgba(183,79,255,0.32));
  background-size: 220% 220%;
  animation: contactCardBG 4.5s ease-in-out infinite;
}

@keyframes contactCardBG {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.contact-card:hover .contact-card-icon, .contact-card:focus-within .contact-card-icon { transform: translateY(-2px) scale(1.06); }

@keyframes contactIconFloat {
  0%   { transform: translateY(0) }
  25%  { transform: translateY(-4px) }
  50%  { transform: translateY(0) }
  75%  { transform: translateY(3px) }
  100% { transform: translateY(0) }
}

@media (prefers-reduced-motion: reduce){
  .contact-card-icon { animation: none !important; }
  .contact-card, .contact-card:hover, .contact-card:focus-within { transition: none; transform: none; animation: none; }
}
.contact-card-text { color: #ffffff; font-size: 1rem; }

@media (max-width: 1024px) {
  .contact-cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 768px) {
  .contact-hero { padding: 110px 20px 50px; }
  .contact-cards { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 480px) {
  .contact-hero { padding: 95px 16px 40px; }
  .contact-title { font-size: clamp(1.8rem, 7vw, 2.6rem); }
  /* Prevent iOS auto-zoom on focus by ensuring >=16px font size */
  .request-form .input-c,
  .request-form textarea,
  .request-form .row input.input-c { font-size: 16px; }
}

/* Contact request section styles (matching theme) */
.contact-request { padding: 40px 20px 80px; position: relative; background: transparent; }
.request-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; align-items: start; }
.request-inner .left h2 { font-size: 1.6rem; color: #65c643; margin: 0 0 8px 0; }
.request-inner .left p { margin: 0 0 12px 0; color: rgba(255,255,255,0.9); }
.request-inner .info { display: grid; gap: 6px; color: rgba(255,255,255,0.9); }
.request-inner .socials { display: flex; gap: 12px; margin-top: 14px; }
.request-inner .socials a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: linear-gradient(135deg, #00ff88, #b74fff); box-shadow: 0 6px 18px rgba(0,0,0,0.35); transition: transform .25s ease, filter .25s ease; }
.request-inner .socials a:hover { transform: translateY(-3px) scale(1.04); filter: brightness(1.08); }
.request-inner .socials svg { width: 20px; height: 20px; fill: #0a0a0f; }

.request-form { display: grid; gap: 12px; min-width: 0; }
.request-form .row { display: flex; gap: 10px; }
.input-c, .request-form textarea { background: rgba(10,10,15,0.65); border: 1px solid rgba(255,255,255,0.16); color: #fff; padding: 12px 14px; border-radius: 10px; outline: none; width: 100%; max-width: 100%; box-sizing: border-box; }
.input-c::placeholder, .request-form textarea::placeholder { color: rgba(255,255,255,0.6); }
.input-c:focus, .request-form textarea:focus { border-color: #65c643; box-shadow: 0 0 0 3px rgba(101,198,67,0.15); }
.btn-submit { align-self: start; padding: 12px 18px; border-radius: 10px; background: linear-gradient(135deg, #00ff88, #b74fff); border: none; color: #0a0a0f; font-weight: 700; cursor: pointer; transition: transform .2s ease, filter .2s ease; }
.btn-submit:hover { transform: translateY(-2px); filter: brightness(1.05); }
.disclaimer { max-width: 900px; margin: 24px auto 0; color: rgba(255,255,255,0.72); text-align: center; font-size: .95rem; }

@media (max-width: 1024px) {
  .request-inner { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .contact-page { overflow-x: hidden; }
  .request-inner { padding: 0 10px; gap: 16px; }
  .request-form .row { flex-direction: column; gap: 12px; }
  .request-form .row input.input-c { width: 100% !important; }
  .request-inner .socials a { width: 34px; height: 34px; }
  .request-inner .socials svg { width: 18px; height: 18px; }
}

.services-title {
    font-size: 3.2rem;
    font-weight: 900;
    margin-bottom: 30px;
    background: linear-gradient(45deg, #00ff88, #b74fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.services-subtitle {
    font-size: 1.6rem;
    color: #65c643;
    margin-bottom: 25px;
    font-weight: 600;
    line-height: 1.4;
}

.services-description {
    font-size: 1.2rem;
    color: #ffffff;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* Services Content */
.services-content {
    padding: 80px 40px;
    background: transparent; /* use global page background like homepage */
    position: relative;
    z-index: 1; /* ensure content overlays webgl host */
    max-width: 1400px;
    margin: 0 auto;
}

/* Accents layer for services content */
.services-accents { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.services-content .services-grid { position: relative; z-index: 1; }

/* Place extra lines and dots in open areas around the grid */
.services-content .accent-line,
.services-content .accent-dot { position: absolute; }

/* gentle motion loop */
.services-content .accent-line { animation: svcLineFloat 14s ease-in-out infinite; opacity: 0.9; }
.services-content .accent-dot  { animation: svcDotFloat 12s ease-in-out infinite; }

/* Stagger timings for variety */
.services-content .accent-line.svc-tr-1 { animation-duration: 14s; animation-delay: 0.2s; }
.services-content .accent-line.svc-ml-1 { animation-duration: 16s; animation-delay: 0.8s; }
.services-content .accent-line.svc-br-1 { animation-duration: 18s; animation-delay: 0.5s; }
.services-content .accent-line.svc-bl-1 { animation-duration: 15s; animation-delay: 1.2s; }

.services-content .accent-dot.svc-tr-1 { animation-duration: 13s; animation-delay: 0.4s; }
.services-content .accent-dot.svc-ml-1 { animation-duration: 15s; animation-delay: 1.0s; }
.services-content .accent-dot.svc-br-1 { animation-duration: 17s; animation-delay: 0.6s; }
.services-content .accent-dot.svc-bl-1 { animation-duration: 14s; animation-delay: 1.4s; }

@keyframes svcLineFloat {
    0%   { transform: translate(0, 0); opacity: 0.85; }
    25%  { transform: translate(10px, -6px); opacity: 1; }
    50%  { transform: translate(6px, 8px); opacity: 0.9; }
    75%  { transform: translate(-8px, 4px); opacity: 1; }
    100% { transform: translate(0, 0); opacity: 0.85; }
}

@keyframes svcDotFloat {
    0%   { transform: translate(0, 0) scale(1); opacity: 0.8; }
    25%  { transform: translate(6px, -4px) scale(1.05); opacity: 1; }
    50%  { transform: translate(4px, 6px) scale(1.08); opacity: 0.9; }
    75%  { transform: translate(-6px, 2px) scale(1.03); opacity: 1; }
    100% { transform: translate(0, 0) scale(1); opacity: 0.8; }
}

@media (prefers-reduced-motion: reduce){
    .services-content .accent-line,
    .services-content .accent-dot { animation: none !important; }
}

@media (prefers-reduced-motion: reduce){
    .accent-line,
    .accent-dot { animation: none !important; }
}

/* Top-right corner pair */
.services-content .accent-line.svc-tr-1 { width: 70px; top: 40px; right: 4%; background: linear-gradient(-90deg, #00ff88, transparent); }
.services-content .accent-dot.svc-tr-1 { width: 7px; height: 7px; top: 72px; right: 6%; background: #b74fff; box-shadow: 0 0 16px #b74fff; }

/* Mid-left area */
.services-content .accent-line.svc-ml-1 { width: 90px; top: 46%; left: 3%; background: linear-gradient(90deg, #ff3db8, transparent); }
.services-content .accent-dot.svc-ml-1 { width: 6px; height: 6px; top: calc(46% + 18px); left: 6%; background: #00ff88; box-shadow: 0 0 14px #00ff88; }

/* Bottom-right area */
.services-content .accent-line.svc-br-1 { width: 80px; bottom: 60px; right: 5%; background: linear-gradient(-90deg, #b74fff, transparent); }
.services-content .accent-dot.svc-br-1 { width: 6px; height: 6px; bottom: 38px; right: 7%; background: #ff3db8; box-shadow: 0 0 14px #ff3db8; }

/* Bottom-left subtle pair */
.services-content .accent-line.svc-bl-1 { width: 60px; bottom: 80px; left: 6%; background: linear-gradient(90deg, #00ff88, transparent); }
.services-content .accent-dot.svc-bl-1 { width: 5px; height: 5px; bottom: 58px; left: 9%; background: #00ff88; box-shadow: 0 0 12px #00ff88; }

@media (max-width: 768px){
    .services-content .accent-line.svc-ml-1 { display: none; }
    .services-content .accent-line.svc-br-1 { width: 60px; right: 6%; bottom: 50px; }
    .services-content .accent-line.svc-tr-1 { width: 50px; right: 6%; top: 30px; }
}

/* Interactive services grid */
.services-content .services-grid { 
    display: grid; 
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px; 
    align-items: stretch; 
    justify-items: stretch;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    perspective: 1000px;
}

/* Mosaic variants */
.services-grid.mosaic .service-card { grid-column: auto; }
/* Ensure the grid itself is centered and items don't stretch oddly */
.services-content .services-grid { justify-items: center; }
.services-grid.mosaic .service-card { justify-self: stretch; }
/* Center the 5th card neatly across layouts */
@media (min-width: 1025px){
    /* Desktop layout: 12-column grid
       - Top row: 3 cards, each 4 columns (equal thirds)
       - Second row: 2 cards, each 6 columns (equal halves)
    */
    .services-content .services-grid.mosaic { grid-template-columns: repeat(12, minmax(0,1fr)); }
    .services-content .services-grid.mosaic > .service-card:nth-child(1){ grid-column: 1 / span 4; }
    .services-content .services-grid.mosaic > .service-card:nth-child(2){ grid-column: 5 / span 4; }
    .services-content .services-grid.mosaic > .service-card:nth-child(3){ grid-column: 9 / span 4; }
    .services-content .services-grid.mosaic > .service-card:nth-child(4){ grid-column: 1 / span 6; }
    .services-content .services-grid.mosaic > .service-card:nth-child(5){ grid-column: 7 / span 6; }
}
/* Tablet Responsiveness */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero {
        padding: 120px 30px 80px;
    }

    .hero h1 {
        font-size: clamp(3rem, 6vw, 4.5rem);
    }

    .hero p {
        font-size: clamp(1.1rem, 3vw, 1.4rem);
        max-width: 80%;
        margin: 0 auto 40px;
    }

    .cta-buttons {
        flex-direction: row;
        gap: 20px;
        justify-content: center;
    }

    .cta-buttons .btn {
        max-width: 200px;
    }

    .services-content {
        padding: 80px 30px;
    }

    .services-content .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .service-card {
        padding: 30px 25px;
    }

    .packages-showcase {
        padding: 80px 30px;
    }

    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .package-card {
        padding: 30px 25px;
    }
}

@media (max-width: 1024px) and (min-width: 641px){
    .services-grid.mosaic { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

/* Visual upgrade accents */
.service-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 100%),
                radial-gradient(90% 60% at 10% 0%, rgba(46,208,255,0.10), transparent 60%),
                radial-gradient(80% 60% at 100% 40%, rgba(183,79,255,0.09), transparent 60%);
    position: relative;
}
.service-card::before {
    content:""; position:absolute; inset:-1px; border-radius: 18px; pointer-events:none;
    background: radial-gradient(60% 60% at 10% 0%, color-mix(in oklab, var(--accent) 45%, transparent), transparent 60%),
                radial-gradient(70% 60% at 100% 40%, color-mix(in oklab, var(--accentB) 45%, transparent), transparent 60%);
    opacity:.28; filter: blur(22px);
}
.service-card.feature-accent::before { opacity:.26; }
.service-card::after {
    content: ""; position:absolute; inset:-1px; border-radius: 18px; pointer-events:none;
    background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.05) 40%, rgba(255,255,255,0.25) 50%, rgba(255,255,255,0.05) 60%, transparent 100%);
    transform: translateX(-120%);
    transition: transform .8s cubic-bezier(.22,.61,.36,1);
}
.service-card:hover::after { transform: translateX(120%); }
.service-card .service-head { position: relative; z-index: 1; }
.service-card .service-body { position: relative; z-index: 1; }

/* Responsive spans */
@media (max-width: 1024px){
    .services-content .services-grid { 
        grid-template-columns: repeat(6, minmax(0,1fr)); 
        grid-template-areas:
            "identity identity identity branding branding branding"
            "development development development partnership partnership partnership"
            "strategy strategy strategy strategy strategy strategy";
        gap: 22px; 
    }
    .services-grid.mosaic .service-card { grid-column: span 3; }
}
@media (max-width: 640px){
    .services-content .services-grid { 
        grid-template-columns: repeat(1, minmax(0,1fr)); 
        grid-template-areas: none; 
        gap: 16px; 
        max-width: 520px; 
    }
    .services-grid.mosaic .service-card { grid-column: span 1; grid-row: span 1; }
}
@media (min-width: 1400px){ 
    .services-content .services-grid { gap: 36px; grid-template-columns: repeat(3, minmax(0, 1fr)); } 
}
@media (max-width: 1024px){ 
    .services-content .services-grid { 
        grid-template-columns: repeat(2, minmax(0, 1fr)); 
        gap: 22px; 
    } 
}
@media (max-width: 640px){ 
    .services-content .services-grid { 
        grid-template-columns: 1fr; 
        gap: 16px; 
        max-width: 520px;
    } 
}

/* Ensure services container does not become a grid due to legacy rules */
.services-content > .container { 
    display: block !important; 
    grid-template-columns: unset !important; 
    width: 100%; 
    max-width: 1400px; 
    margin: 0 auto; 
}

.service-card { 
    position: relative; 
    border-radius: 18px; 
    padding: 24px; 
    background: var(--card-bg, linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.04) 100%));
    border: 1px solid rgba(124, 58, 237, 0.1);
    box-shadow: 0 20px 70px rgba(0,0,0,0.4); 
    overflow: hidden; 
    transform-style: preserve-3d; 
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; 
    will-change: transform, opacity; 
    opacity: 0; 
    transform: translateY(18px) scale(0.98);
    width: 100%;
    justify-self: stretch;
    height: 100%;
    text-align: left;
    display: flex;
    flex-direction: column;
    min-height: 420px;
    --accent: #2ed0ff;
    --accentB: #b74fff;
}
/* Staggered reveal */
.service-card { animation: showServices 0.6s ease 0.5s both; }
.service-card:nth-child(1) { animation-delay: .15s; }
.service-card:nth-child(2) { animation-delay: .25s; }
.service-card:nth-child(3) { animation-delay: .35s; }
.service-card:nth-child(4) { animation-delay: .45s; }
.service-card:nth-child(5) { animation-delay: .55s; }
.service-card.in-view { opacity: 1; transform: translateY(0) scale(1); }
/* Fallback: show services immediately if JS doesn't load */
.service-card { animation: showServices 0.6s ease 0.5s both; }
@keyframes showServices { to { opacity: 1; transform: translateY(0) scale(1); } }
.service-card:hover { border-color: rgba(46,208,255,0.5); box-shadow: 0 24px 70px rgba(0,0,0,0.45), inset 0 0 18px rgba(46,208,255,0.12); }
.service-card { will-change: transform; transform-style: preserve-3d; }
.service-card .tilt-glare { pointer-events: none; }
.service-card .tilt-glare { position:absolute; inset:-12%; pointer-events:none; background: radial-gradient( circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,0.28), rgba(255,255,255,0.08) 35%, transparent 60% ); mix-blend-mode: screen; opacity: 0; transform: translateZ(60px); transition: opacity .25s ease, transform .12s ease; }
.service-card:hover .tilt-glare { opacity: .75; }
/* Per-card ambient snowfall on hover */
.service-card .card-snow { position:absolute; inset:-5% -5% -15% -5%; pointer-events:none; opacity:0; transition: opacity .35s ease; }
.service-card .card-snow::before, .service-card .card-snow::after { content:""; position:absolute; left:0; right:0; top:-10%; height:120%; background-repeat: repeat; transform: translateZ(0); }
.service-card .card-snow::before { background-image: radial-gradient(2px 2px at 20% 0, rgba(255,255,255,0.85) 50%, transparent 51%), radial-gradient(2px 2px at 60% 10%, rgba(255,255,255,0.85) 50%, transparent 51%), radial-gradient(2px 2px at 80% 5%, rgba(255,255,255,0.85) 50%, transparent 51%); background-size: 180px 240px; animation: cardSnowA 18s linear infinite; opacity:.55; }
.service-card .card-snow::after  { background-image: radial-gradient(1.5px 1.5px at 30% 0, rgba(255,255,255,0.95) 50%, transparent 51%), radial-gradient(1.5px 1.5px at 70% 15%, rgba(255,255,255,0.95) 50%, transparent 51%), radial-gradient(1.5px 1.5px at 50% 5%, rgba(255,255,255,0.95) 50%, transparent 51%); background-size: 140px 220px; animation: cardSnowB 22s linear infinite; opacity:.7; }
.service-card:hover .card-snow, .service-card:focus-within .card-snow { opacity:1; }

/* Mobile: Always show snow animation */
@media (max-width: 768px) {
    .service-card .card-snow { 
        opacity: 0.6 !important; 
    }
    .service-card .card-snow::before { 
        animation: cardSnowA 15s linear infinite !important; 
        opacity: 0.4 !important;
    }
    .service-card .card-snow::after { 
        animation: cardSnowB 18s linear infinite !important; 
        opacity: 0.5 !important;
    }
}

@keyframes cardSnowMobile {
    0% { transform: translateY(-10%) translateX(0); }
    50% { transform: translateY(35%) translateX(-8px); }
    100% { transform: translateY(100%) translateX(0); }
}
@keyframes cardSnowA { 0% { transform: translateY(-10%) translateX(0); } 50% { transform: translateY(35%) translateX(-12px); } 100% { transform: translateY(100%) translateX(0); } }
@keyframes cardSnowB { 0% { transform: translateY(-10%) translateX(0); } 50% { transform: translateY(45%) translateX(10px); } 100% { transform: translateY(100%) translateX(0); } }
.service-card .tilt-glare::before,
.service-card .tilt-glare::after {
    content:""; position:absolute; inset:0; pointer-events:none; opacity:.6; filter: blur(0.3px);
    background:
        repeating-linear-gradient(
            90deg,
            color-mix(in oklab, var(--accent) 28%, transparent) 0px,
            color-mix(in oklab, var(--accentB) 28%, transparent) 2px,
            transparent 3px,
            transparent 12px
        );
    mask-image: radial-gradient(120% 120% at 50% 120%, black 40%, transparent 70%);
    transform: translateZ(80px) rotate(0.001deg);
    mix-blend-mode: screen;
}
.service-card .tilt-glare::after {
    background: radial-gradient(60% 20% at 50% 0%, rgba(255,255,255,0.35), transparent 60%),
                conic-gradient(from 0deg, color-mix(in oklab, var(--accent) 50%, transparent), color-mix(in oklab, var(--accentB) 50%, transparent), transparent 60%);
    animation: helixDrift 10s ease-in-out infinite;
    opacity:.5;
}
@keyframes helixDrift {
    0% { transform: translateZ(80px) rotate(0.001deg) translateY(0); opacity:.5; }
    50% { transform: translateZ(80px) rotate(180deg) translateY(6px); opacity:.7; }
    100% { transform: translateZ(80px) rotate(360deg) translateY(0); opacity:.5; }
}
.service-card .service-head { 
    display:flex; 
    align-items:center; 
    justify-content: flex-start; 
    gap: 12px; 
    margin-bottom: 18px; 
    transform: translateZ(40px); 
}
.service-card .service-badge { 
    padding: 8px 14px; 
    border-radius: 999px; 
    font-size: .85rem; 
    font-weight: 800; 
    letter-spacing:.3px; 
    background: rgba(0,255,136,0.15); 
    border:1px solid rgba(0,255,136,0.4); 
    color: #00ff88; 
    text-align: center;
    min-width: 40px;
    animation: badgeFloat 3s ease-in-out infinite;
}

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

@keyframes titleFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
}
.service-card .service-title { 
    font-size: 1.3rem; 
    font-weight: 900; 
    color: #fff; 
    margin: 0; 
    line-height: 1.2;
    text-align: left;
    background: linear-gradient(135deg, rgba(0,255,136,0.7) 0%, rgba(183,79,255,0.6) 50%, rgba(255,61,184,0.7) 100%);
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.1);
    display: inline-block;
    width: auto;
    animation: titleFloat 3s ease-in-out infinite;
}
.service-card .service-body { 
    display:flex; 
    flex-direction: column; 
    gap: 12px; 
    transform: translateZ(26px); 
    flex: 1 1 auto;
}
.service-card .service-desc { 
    color: rgba(255,255,255,0.9); 
    font-size: 1rem; 
    line-height: 1.7; 
    text-align: left;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    overflow: hidden;
}
.service-card .service-points { 
    display:grid; 
    grid-template-columns: 1fr; 
    gap: 10px; 
    margin-top: 8px; 
}
.service-card .service-point { 
    position:relative; 
    padding-left: 24px; 
    color: rgba(255,255,255,0.85); 
    font-size: .95rem; 
    line-height: 1.5;
    text-align: left;
}
.service-card .service-point::before { 
    content: "✦"; 
    position:absolute; 
    left:0; 
    top: .1em; 
    color:#00ff88; 
    text-shadow: 0 0 8px rgba(0,255,136,0.6), 0 0 16px rgba(0,255,136,0.35); 
    font-size: 1.1em;
    animation: iconGlowPulse 2.6s ease-in-out infinite, iconRotateAxis 8s linear infinite;
    transform-origin: 50% 50%;
}
.service-card .service-cta { 
    margin-top: auto; 
    align-self:flex-start; 
    padding: 12px 20px; 
    border-radius: 999px; 
    border:1px solid rgba(255,255,255,0.2); 
    background: linear-gradient(180deg, rgba(22,22,28,0.95) 0%, rgba(10,10,15,0.9) 100%); 
    color:#fff; 
    font-weight:800; 
    font-size:.9rem; 
    letter-spacing:.3px; 
    transition: transform .3s ease, box-shadow .3s ease, background .3s ease; 
    cursor: pointer;
}
.service-card .service-cta:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 16px 32px rgba(0,0,0,0.4); 
    background: linear-gradient(180deg, rgba(0,255,136,0.1) 0%, rgba(22,22,28,0.95) 100%);
}

/* Decorative glow layer, matching package-card style */
.service-card::after { content:""; position:absolute; inset:-1px; border-radius:18px; pointer-events:none; background: linear-gradient(135deg, rgba(0,255,136,0.16), rgba(183,79,255,0.16), rgba(255,61,184,0.12)); background-size: 200% 200%; opacity: 0.6; }
.service-card:hover::after, .service-card:focus-within::after { animation: glowDrift 3.5s ease infinite; opacity: 0.9; }

@media (max-width: 768px){
    .services-content { padding: 60px 20px; }
    .service-card { 
        padding: 22px; 
        max-width: 100%;
        border-radius: 18px;
    }
    .service-card .service-title { 
        font-size: 1.15rem; 
        line-height: 1.3;
    }
    .service-card .service-desc { 
        font-size: .95rem; 
        line-height: 1.6;
    }
    .service-card .service-badge { 
        padding: 6px 12px; 
        font-size: .8rem;
        animation-duration: 4s;
    }

    .service-card .service-title {
        animation-duration: 4s;
    }

    .service-card .service-point::before {
        animation-duration: 3s, 10s;
    }
}

@media (prefers-reduced-motion: reduce){
    .service-card, .service-card:hover { transform: none !important; }
}

/* Animated decorative triangles similar to provided SVG */
.services-content .tri.deco {
    position: absolute;
    width: 140px;
    height: 140px;
    opacity: 0.5;
    filter: drop-shadow(0 8px 24px rgba(183,79,255,0.35));
    animation: triFloat 8s ease-in-out infinite;
    pointer-events: none;
}

.services-content .tri-1 { top: -10px; right: 10%; animation-delay: 0s; }
.services-content .tri-2 { bottom: -20px; left: 12%; animation-delay: 2s; }

@keyframes triFloat {
    0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
    50% { transform: translateY(-16px) rotate(8deg) scale(1.05); }
}

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

/* Grid layout for service cards on desktop */
.services-content .container { display: block; }

@media (min-width: 1400px) {
    .services-content .container {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.service-section { display:none; }

.service-section:hover {
    transform: translateY(-6px) rotateX(1.2deg) rotateY(-1.2deg);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

/* No alternating rows in grid */
.service-section:nth-child(even) {
    flex-direction: column;
}

/* Hide large visuals inside cards for cleaner grid */
.services-content .service-visual {
    display: none;
}

.geometric-shape {
    position: absolute;
    background: linear-gradient(45deg, #ff3db8, #2ed0ff, #b74fff);
    border-radius: 20px;
    animation: shapeFloat 6s ease-in-out infinite;
    mix-blend-mode: screen;
    filter: drop-shadow(0 0 20px rgba(255, 61, 184, 0.3));
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 20%;
    left: 10%;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    right: 10%;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    animation-delay: 2s;
}

.shape-3 {
    width: 180px;
    height: 180px;
    top: 30%;
    right: 20%;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation-delay: 1s;
}

.shape-4 {
    width: 120px;
    height: 120px;
    bottom: 30%;
    left: 20%;
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    animation-delay: 3s;
}

.shape-5 {
    width: 160px;
    height: 160px;
    top: 25%;
    left: 15%;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation-delay: 0.5s;
}

.shape-6 {
    width: 140px;
    height: 140px;
    bottom: 25%;
    right: 15%;
    clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
    animation-delay: 2.5s;
}

.shape-7 {
    width: 190px;
    height: 190px;
    top: 20%;
    right: 25%;
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    animation-delay: 1.5s;
}

.shape-8 {
    width: 130px;
    height: 130px;
    bottom: 20%;
    left: 25%;
    clip-path: polygon(25% 0%, 75% 0%, 100% 25%, 100% 75%, 75% 100%, 25% 100%, 0% 75%, 0% 25%);
    animation-delay: 3.5s;
}

.shape-9 {
    width: 170px;
    height: 170px;
    top: 35%;
    left: 10%;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation-delay: 0.8s;
}

.shape-10 {
    width: 110px;
    height: 110px;
    bottom: 35%;
    right: 10%;
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    animation-delay: 2.8s;
}

.service-text { flex: 1; max-width: 700px; display: flex; flex-direction: column; gap: 10px; }

.service-header {
    margin-bottom: 6px;
}

.service-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2ed0ff;
    margin-bottom: 15px;
    display: inline-block;
    padding: 8px 16px;
    background: rgba(46, 208, 255, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(46, 208, 255, 0.3);
}

.service-title {
    font-size: 1.35rem;
    font-weight: 900;
    color: #0f1b14;
    margin: 4px auto 10px;
    line-height: 1.1;
    letter-spacing: 0.3px;
    text-shadow: none;
    background: linear-gradient(180deg, #69ff9a 0%, #27d86c 100%);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 10px 28px rgba(39,216,108,0.35);
    padding: 12px 22px;
    border-radius: 14px;
    width: fit-content;
}

.service-title-accent {
    height: 10px;
    width: 160px;
    background: linear-gradient(90deg, #2ed0ff, #b74fff, #ff3db8);
    border-radius: 999px;
    filter: drop-shadow(0 6px 18px rgba(183,79,255,0.35));
    margin-bottom: 14px;
}

.service-description {
    font-size: 1.05rem;
    color: #ffffff;
    margin-bottom: 14px;
    font-weight: 600;
    line-height: 1.55;
}

.service-details { font-size: 0.98rem; color: rgba(255,255,255,0.85); line-height: 1.65; margin-bottom: 6px; }

/* 3D gem above each card title */
/* Inline SVG gem sizing and glow */
.service-gem { display: none; }

/* Background floating gems for the whole services area */
/* removed inline SVG background gems — Three.js used instead */

@keyframes gemFloat {
    0%, 100% { transform: translateZ(40px) translateY(0) rotate(0deg); }
    50% { transform: translateZ(40px) translateY(-10px) rotate(3deg); }
}

.packages-section {
    margin: 30px 0;
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.packages-section h3 {
    font-size: 1.3rem;
    color: #2ed0ff;
    margin-bottom: 20px;
    font-weight: 600;
}

.package-item {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
    line-height: 1.5;
}

.package-name {
    color: #ff3db8;
    font-weight: 600;
}

.tech-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin: 25px 0;
}

.tech-item {
    padding: 15px 20px;
    background: rgba(46, 208, 255, 0.1);
    border: 1px solid rgba(46, 208, 255, 0.2);
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
}

.tech-item:hover {
    background: rgba(46, 208, 255, 0.2);
    transform: translateY(-2px);
}

.tech-conclusion {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    margin: 25px 0;
    line-height: 1.5;
}

.strategy-list {
    margin: 25px 0;
}

.strategy-item {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    line-height: 1.5;
    padding-left: 20px;
    position: relative;
}

.strategy-item::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #2ed0ff;
    font-weight: bold;
}

.strategy-name {
    color: #ff3db8;
    font-weight: 600;
}

.strategy-conclusion {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    margin: 25px 0;
    line-height: 1.5;
}

.service-conclusion {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    margin: 25px 0;
    line-height: 1.5;
}

/* Slim right-arrow CTA bar like the reference */
.service-cta-bar {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(180deg, rgba(22,22,28,0.95) 0%, rgba(10,10,15,0.9) 100%);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 999px;
    padding: 10px 16px 10px 16px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.2px;
    box-shadow: 0 10px 26px rgba(0,0,0,0.35);
    position: relative;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
    margin-top: auto;
}
.service-cta-bar::after{
    content: "";
    width: 0; height: 0;
    border-left: 14px solid #ffffff;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    margin-left: 8px;
    filter: drop-shadow(0 4px 10px rgba(255,255,255,0.35));
}
.service-cta-bar:hover{ transform: translateY(-2px); box-shadow: 0 16px 34px rgba(0,0,0,0.45); }

.services-cta {
    padding: 80px 40px;
    background: linear-gradient(135deg, rgba(10, 10, 15, 0.95) 0%, rgba(20, 20, 30, 0.95) 100%);
    text-align: center;
    position: relative;
}

.services-cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 61, 184, 0.1) 0%, transparent 70%);
    z-index: -1;
}

/* Branding Packages */
.packages-showcase {
    position: relative;
    padding: 100px 40px 120px;
    background: transparent;
}

/* Per-card ambient snowfall */
.card-snow { position:absolute; inset:-5% -5% -15% -5%; pointer-events:none; opacity:.65; }
.card-snow::before, .card-snow::after { content:""; position:absolute; left:0; right:0; top:-10%; height:120%; background-repeat: repeat; transform: translateZ(0); }
.card-snow::before { background-image: radial-gradient(2px 2px at 20% 0, rgba(255,255,255,0.85) 50%, transparent 51%), radial-gradient(2px 2px at 60% 10%, rgba(255,255,255,0.85) 50%, transparent 51%), radial-gradient(2px 2px at 80% 5%, rgba(255,255,255,0.85) 50%, transparent 51%); background-size: 180px 240px; animation: cardSnowA 22s linear infinite; opacity:.55; }
.card-snow::after  { background-image: radial-gradient(1.5px 1.5px at 30% 0, rgba(255,255,255,0.95) 50%, transparent 51%), radial-gradient(1.5px 1.5px at 70% 15%, rgba(255,255,255,0.95) 50%, transparent 51%), radial-gradient(1.5px 1.5px at 50% 5%, rgba(255,255,255,0.95) 50%, transparent 51%); background-size: 140px 220px; animation: cardSnowB 28s linear infinite; opacity:.7; }

/* Mobile: Enhanced snow animation for package cards */
@media (max-width: 768px) {
    .package-card .card-snow { 
        opacity: 0.7 !important; 
    }
    .package-card .card-snow::before { 
        animation: cardSnowA 16s linear infinite !important; 
        opacity: 0.5 !important;
    }
    .package-card .card-snow::after { 
        animation: cardSnowB 20s linear infinite !important; 
        opacity: 0.6 !important;
    }
}
@keyframes cardSnowA { 0% { transform: translateY(-10%) translateX(0); } 50% { transform: translateY(35%) translateX(-12px); } 100% { transform: translateY(100%) translateX(0); } }
@keyframes cardSnowB { 0% { transform: translateY(-10%) translateX(0); } 50% { transform: translateY(45%) translateX(10px); } 100% { transform: translateY(100%) translateX(0); } }

/* Snowfall on hover for each package card */
.step-snow { position:absolute; inset:-5% -5% -15% -5%; pointer-events:none; opacity:0; transition: opacity .35s ease; }
.step-snow::before,
.step-snow::after { content:""; position:absolute; left:0; right:0; top:-10%; height:120%; background-repeat: repeat; opacity:.5; transform: translateZ(0); }
.step-snow::before { background-image: radial-gradient(2px 2px at 20% 0, rgba(255,255,255,0.8) 50%, transparent 51%), radial-gradient(2px 2px at 60% 10%, rgba(255,255,255,0.8) 50%, transparent 51%), radial-gradient(2px 2px at 80% 5%, rgba(255,255,255,0.8) 50%, transparent 51%); background-size: 180px 240px; animation: snowDriftA 16s linear infinite; }
.step-snow::after { background-image: radial-gradient(1.5px 1.5px at 30% 0, rgba(255,255,255,0.9) 50%, transparent 51%), radial-gradient(1.5px 1.5px at 70% 15%, rgba(255,255,255,0.9) 50%, transparent 51%), radial-gradient(1.5px 1.5px at 50% 5%, rgba(255,255,255,0.9) 50%, transparent 51%); background-size: 140px 220px; animation: snowDriftB 22s linear infinite; opacity:.6; }

.package-card:hover .step-snow, .package-card:focus-within .step-snow { opacity:1; }

@keyframes snowDriftA { 0% { transform: translateY(-10%) translateX(0); } 50% { transform: translateY(35%) translateX(-12px); } 100% { transform: translateY(100%) translateX(0); } }
@keyframes snowDriftB { 0% { transform: translateY(-10%) translateX(0); } 50% { transform: translateY(45%) translateX(10px); } 100% { transform: translateY(100%) translateX(0); } }


.packages-header { text-align: center; margin-bottom: 40px; }
.packages-title { font-size: 2.4rem; font-weight: 900; }
.packages-subtitle { color: rgba(255,255,255,0.8); margin-top: 10px; }
.packages-title-accent { width: 220px; height: 10px; margin: 16px auto 0; border-radius: 999px;
    background: linear-gradient(90deg, #00ff88, #b74fff, #ff3db8); filter: drop-shadow(0 8px 24px rgba(0,255,136,0.35)); }

.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.packages-grid { perspective: 1200px; }
.package-card { position: relative; padding: 28px 24px; border-radius: 20px; background: var(--card-bg, linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%)); border: 1px solid rgba(124, 58, 237, 0.1); box-shadow: 0 10px 30px rgba(0,0,0,0.25); overflow: hidden; transform-style: preserve-3d; transform: translateZ(0); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; animation: cardIn .6s ease both; will-change: transform; }
.package-card .tilt-glare { position:absolute; inset:-10%; pointer-events:none; background: radial-gradient( circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,0.35), rgba(255,255,255,0.08) 35%, transparent 60% ); mix-blend-mode: screen; opacity: 0; transform: translateZ(60px); transition: opacity .25s ease; }
.package-card:hover .tilt-glare { opacity: .8; }
.package-card .step-icon { transform: translateZ(40px); }
.package-card .step-content { transform: translateZ(30px); }
.package-card .card-snow { transform: translateZ(10px); }
.package-card::before { content:""; position:absolute; inset:0; opacity:0; transition: opacity var(--transition-normal, .35s) ease; border-radius: 20px; }

/* idle: glassy, subtle border already set; hover transforms handled below */

/* process-card-inspired layers and hover effects */
.package-card::before { content:""; position:absolute; inset:-1px; opacity:0; border-radius: 20px; background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.15) 45%, rgba(255,255,255,0.35) 50%, rgba(255,255,255,0.15) 55%, transparent 100%); mix-blend-mode: screen; filter: blur(0.3px); transform: translateX(-160%); will-change: transform, opacity; }
.step-background { position:absolute; inset:0; z-index:1; }
.step-pattern { display: none !important; }
.step-glow { display: none !important; }
.step-icon { position:relative; z-index:2; display:flex; justify-content:center; margin-bottom:10px; }
.step-icon-container { position:relative; width:96px; height:96px; display:flex; align-items:center; justify-content:center; }
.step-symbol { transition: transform 0.6s ease, filter 0.35s ease; filter: drop-shadow(0 0 0 transparent); will-change: transform, opacity; transform-style: preserve-3d; }
.icon-medal { transform: translateZ(50px); }
.icon-medal .sparkle { transform: translateZ(60px); }
.package-card:hover .icon-medal { animation: medalFloat 2.2s ease-in-out infinite; }
@keyframes medalFloat { 0%,100% { transform: translateZ(50px) translateY(0); } 50% { transform: translateZ(50px) translateY(-4px); } }
.step-ring { display: none !important; }
.step-particles { display: none !important; }
.step-content { position:relative; z-index:2; }
.step-overlay { position:absolute; inset:0; border-radius:20px; pointer-events:none; opacity:0; transition: opacity var(--transition-normal, .35s) ease; }

.package-card:hover { transform: translateY(-6px) rotateX(5deg) rotateY(-5deg) scale(1.02); border-color: var(--primary-cyan, #22d3ee); box-shadow: 0 18px 40px rgba(34, 211, 238, 0.18), inset 0 0 20px rgba(34, 211, 238, 0.12); }
.package-card:hover::before, .package-card:focus-within::before { animation: sheenSweep 1.1s ease forwards; opacity: 1; }
.package-card:hover .step-symbol, .package-card:focus-within .step-symbol { transform: translateY(-2px) scale(1.06); filter: drop-shadow(0 0 18px rgba(124,58,237,0.45)); transition: transform 0.6s ease; }

@keyframes sheenSweep { 0% { transform: translateX(-160%) skewX(-10deg); opacity: 0; } 10% { opacity: 0.6; } 50% { opacity: 0.9; } 100% { transform: translateX(160%) skewX(-10deg); opacity: 0; } }
@keyframes glowDrift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes stepPatternDrift { 0% { transform: translate3d(0,0,0); } 50% { transform: translate3d(20px, 20px, 0); } 100% { transform: translate3d(0,0,0); } }
@keyframes stepGlowPulse { 0%,100% { opacity: 0.85; transform: translate(-50%, -50%) scale(1.15); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.25); } }
@keyframes stepRingRotate { 0% { transform: translate(-50%,-50%) rotate(0deg); } 100% { transform: translate(-50%,-50%) rotate(360deg); } }
@keyframes stepParticlesFloat { 0%,100% { transform: translate(-50%,-50%) scale(1); } 50% { transform: translate(-50%,-50%) scale(1.05); } }

/* Tier-specific theme colors on hover */
.package-card.bronze { color: #cd7f32; }
.package-card.silver { color: #c0c0c0; }
.package-card.gold { color: #ffd700; }
.package-card.bronze:hover, .package-card.bronze:focus-within { border-color: #cd7f32; box-shadow: 0 10px 30px rgba(205,127,50,0.25), inset 0 0 20px rgba(205,127,50,0.15); }
.package-card.silver:hover, .package-card.silver:focus-within { border-color: #c0c0c0; box-shadow: 0 10px 30px rgba(192,192,192,0.25), inset 0 0 20px rgba(192,192,192,0.15); }
.package-card.gold:hover,   .package-card.gold:focus-within   { border-color: #ffd700; box-shadow: 0 10px 30px rgba(255,215,0,0.25), inset 0 0 20px rgba(255,215,0,0.15); }

/* Remove snowfall effect visuals (element removed in HTML) */
.step-snow { display: none !important; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .package-card:hover, .package-card:focus-within { transform: none; }
  .package-card:hover .step-pattern,
  .package-card:hover .step-glow,
  .package-card:hover .step-ring,
  .package-card:hover .step-particles,
  .package-card:hover .step-symbol { animation: none; transform: none; }
}

.package-card::after { content: ""; position: absolute; inset: -1px; border-radius: 18px; pointer-events: none; background: linear-gradient(135deg, rgba(0,255,136,0.16), rgba(183,79,255,0.16), rgba(255,61,184,0.12)); background-size: 200% 200%; opacity: 0.6; }
.package-card:hover::after, .package-card:focus-within::after { animation: glowDrift 3.5s ease infinite; opacity: 0.9; }

.package-icon { width: 64px; height: 64px; margin-bottom: 14px; filter: drop-shadow(0 10px 24px rgba(0,0,0,0.35)); }
.package-card h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 8px; }
.package-desc { color: rgba(255,255,255,0.85); margin-bottom: 14px; }
.package-list { list-style: none; padding: 0; margin: 0 0 18px 0; }
.package-list li { position: relative; padding-left: 24px; margin: 10px 0; color: rgba(255,255,255,0.9); }
.package-list li::before {
    content: "✦"; position: absolute; left: 0; top: 0.1em;
    display: inline-block; transform-origin: 50% 50%;
    color: #00ff88;
    text-shadow: 0 0 8px rgba(0,255,136,0.6), 0 0 16px rgba(0,255,136,0.35);
    animation: iconGlowPulse 2.6s ease-in-out infinite, iconRotateSlow 10s linear infinite;
}

@keyframes iconGlowPulse {
    0%, 100% { opacity: 0.85; filter: drop-shadow(0 0 0 rgba(0,0,0,0)); transform: scale(1); }
    50% { opacity: 1; transform: scale(1.08); }
}

@keyframes iconRotateSlow {
    0% { transform: rotate(0deg) scale(1); }
    100% { transform: rotate(360deg) scale(1); }
}

@keyframes iconRotateAxis {
    0% { transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg); }
    25% { transform: rotateX(45deg) rotateY(0deg) rotateZ(0deg); }
    50% { transform: rotateX(45deg) rotateY(45deg) rotateZ(0deg); }
    75% { transform: rotateX(0deg) rotateY(45deg) rotateZ(45deg); }
    100% { transform: rotateX(0deg) rotateY(0deg) rotateZ(360deg); }
}

/* Tier-specific glow colors */
.package-card.bronze .package-list li::before {
    color: #cd7f32;
    text-shadow: 0 0 8px rgba(205,127,50,0.65), 0 0 16px rgba(205,127,50,0.35);
}
.package-card.silver .package-list li::before {
    color: #c0c0c0;
    text-shadow: 0 0 8px rgba(192,192,192,0.7), 0 0 16px rgba(192,192,192,0.4);
}
.package-card.gold .package-list li::before {
    color: #ffd700;
    text-shadow: 0 0 8px rgba(255,215,0,0.7), 0 0 16px rgba(255,215,0,0.45);
}

/* Slightly intensify on card hover */
.package-card:hover .package-list li::before, .package-card:focus-within .package-list li::before {
    animation-duration: 2s, 8s;
}
.package-cta { border: none; border-radius: 22px; padding: 12px 18px; font-weight: 700; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease; }
.package-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 22px rgba(0,0,0,0.25); }

.package-card.bronze .package-cta { background: linear-gradient(45deg, #b87333, #e6a26a); color: #1a1a1a; }
.package-card.silver .package-cta { background: linear-gradient(45deg, #9aa3b2, #e1e6ef); color: #0a0a0f; }
.package-card.gold .package-cta { background: linear-gradient(45deg, #ffcf33, #ff9f1a); color: #1a1a1a; }

/* triangle near packages */
.packages-showcase .tri.deco.tri-3 { right: 6%; top: -20px; width: 160px; height: 160px; animation-delay: 1s; opacity: .55; }

@media (max-width: 1024px){ .packages-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px){ .packages-grid { grid-template-columns: 1fr; } .packages-showcase { padding: 80px 16px 100px; } }

.cta-content {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(45deg, #b74fff, #ff3db8);
    color: white;
    border: none;
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(183, 79, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid #fff;
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.2);
}

/* Active nav link */
.nav-links a.active {
    color: #00ff88;
}

.nav-links a.active::after {
    width: 100%;
}

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

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.2;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.4;
    }
}

/* Card entrance animation */
@keyframes cardIn {
    0% { opacity: 0; transform: translateY(18px) scale(0.98); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Mobile Responsiveness for Services */
@media (max-width: 768px) {
    .services-hero {
        padding: 100px 20px 60px;
    }
    .corner-image-global { top: -36px; width: 260px; height: 260px; }
    
    .services-title {
        font-size: 2.5rem;
    }
    
    .services-subtitle {
        font-size: 1.2rem;
    }
    
    .services-description {
        font-size: 1rem;
    }
    
    .corner-image {
        width: 240px;
        height: 240px;
    }
    
    .corner-image.top-left {
        transform: scaleX(-1) scaleY(-1) scale(0.7);
    }
    
    .corner-image.bottom-right {
        transform: scale(0.7);
    }
    
    .services-content { padding: 60px 20px; }
    .services-content .container { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
    
    .service-section { flex-direction: column; gap: 14px; margin: 0; padding: 18px; min-height: 380px; }
    
    .service-section:nth-child(even) {
        flex-direction: column;
    }
    
    .service-visual { display: none; }
    
    .geometric-shape {
        width: 80px !important;
        height: 80px !important;
    }
    
    .service-title { font-size: 1.2rem; }
    .service-title-accent { width: 120px; height: 8px; margin-bottom: 10px; }
    
    .service-description {
        font-size: 1.1rem;
    }
    
    .service-details {
        font-size: 1rem;
    }
    
    .packages-section {
        padding: 20px;
    }
    
    .tech-list {
        grid-template-columns: 1fr;
    }
    
    .service-cta { width: 100%; text-align: center; }
    /* push corner image further left */
    .corner-image.top-left { left: -48px; }
}

@media (max-width: 480px) {
    .services-hero {
        padding: 90px 15px 50px;
    }
    .services-hero-content { margin-top: 45px; }
    .corner-image-global { position: absolute !important; top: -25px; width: 220px; height: 220px; }
    
    .services-title {
        font-size: 2rem;
    }
    
    .services-subtitle {
        font-size: 1rem;
    }
    
    .services-description {
        font-size: 0.9rem;
    }
    
    .corner-image {
        width: 190px;
        height: 190px;
    }
    
    /* Mobile snow animation for smaller screens */
    .service-card .card-snow { 
        opacity: 0.5 !important; 
    }
    .service-card .card-snow::before { 
        animation: cardSnowA 12s linear infinite !important; 
        opacity: 0.3 !important;
    }
    .service-card .card-snow::after { 
        animation: cardSnowB 14s linear infinite !important; 
        opacity: 0.4 !important;
    }
    
    .package-card .card-snow { 
        opacity: 0.6 !important; 
    }
    .package-card .card-snow::before { 
        animation: cardSnowA 14s linear infinite !important; 
        opacity: 0.4 !important;
    }
    .package-card .card-snow::after { 
        animation: cardSnowB 16s linear infinite !important; 
        opacity: 0.5 !important;
    }
    
    .corner-image.top-left {
        transform: scaleX(-1) scaleY(-1) scale(0.5);
    }
}

/* Extra small screens - Ultra-refined background gradient */

@media (max-width: 360px) {
    body {
        background: radial-gradient(ellipse at top right, #3d0f4a 0%, #2a0a35 10%, #1a0a2e 25%, #0f0515 40%, #0a030d 55%, #050207 70%, #030105 85%, #010002 95%, #000000 100%);
        background-attachment: fixed;
        background-size: 100% 100%;
        background-repeat: no-repeat;
        background-position: top center;
        min-height: 100vh;
        height: auto;
    }
    
    /* Ultra-tight spacing for very small screens */
    .hero {
        padding: 75px 8px 8px;
        gap: 4px;
    }
    
    .hero-title {
        margin-bottom: 4px;
        margin-left: 8px;
        margin-right: 8px;
    }
    
    .hero-subtitle {
        margin-bottom: 6px;
        margin-left: 8px;
        margin-right: 8px;
    }
    
    .hero-description {
        margin-bottom: 8px;
        margin-left: 8px;
        margin-right: 8px;
    }
    
    .hero-link {
        margin-bottom: 10px;
        margin-left: 8px;
        margin-right: 8px;
    }
    
    .hero-buttons {
        margin-left: 8px;
        margin-right: 8px;
        gap: 8px;
    }
    
    .hero-visual {
        margin-left: 3px;
        margin-right: 3px;
    }
    
    .video-container {
        width: 130px;
        height: 110px;
        padding: 5px;
        margin: 1px;
    }
    
    .glow-ring-1 {
        width: 120px;
        height: 120px;
    }
    
    .glow-ring-2 {
        width: 140px;
        height: 140px;
    }
    
    .geo-square-1 {
        width: 15px;
        height: 15px;
        top: 8%;
        right: 30%;
    }
    
    .geo-square-2 {
        width: 12px;
        height: 12px;
        bottom: 12%;
        left: 25%;
    }
    
    .geo-diamond {
        width: 14px;
        height: 14px;
        top: 45%;
        right: 40%;
    }
    
    .geo-triangle {
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-bottom: 12px solid rgba(183, 79, 255, 0.3);
        top: 3%;
        left: 30%;
    }
    
    .geo-circle {
        width: 10px;
        height: 10px;
        bottom: 3%;
        right: 25%;
    }
    
    /* Ensure full coverage on extra small mobile */
    html, body {
        height: 100%;
        min-height: 100vh;
    }
    
    /* Ensure all sections have transparent backgrounds */
    .hero, .services-hero, .services-content, .packages-showcase, .services-cta {
        background: transparent !important;
    }
    
    /* Mobile fallback for continuous gradient - ultra-optimized for small screens */
    body::before {
        content: '';
        position: fixed;
        top: -25px;
        left: -25px;
        right: -25px;
        bottom: -25px;
        width: calc(100vw + 50px);
        height: calc(100vh + 50px);
        background: radial-gradient(ellipse at top right, #3d0f4a 0%, #2a0a35 10%, #1a0a2e 25%, #0f0515 40%, #0a030d 55%, #050207 70%, #030105 85%, #010002 95%, #000000 100%);
        z-index: -1;
        pointer-events: none;
        transform: translateZ(0);
        will-change: transform;
    }

    body::after {
        content: '';
        position: fixed;
        top: -25px;
        left: -25px;
        right: -25px;
        bottom: -25px;
        width: calc(100vw + 50px);
        height: calc(100vh + 50px);
        background-image:
            linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
        background-size: 30px 30px;
        animation: gridMove 20s ease-in-out infinite;
        z-index: -1;
        pointer-events: none;
        transform: translateZ(0);
        will-change: transform;
    }
    
    .corner-image.bottom-right {
        transform: scale(0.5);
    }
    
    .services-content { padding: 50px 15px; }
    .services-content .container { grid-template-columns: 1fr; gap: 14px; }
    
    .service-section { margin: 0; padding: 14px; gap: 12px; border-radius: 14px; animation: cardIn 0.6s ease both; min-height: 360px; }
    
    .service-visual { display: none; }
    
    .geometric-shape {
        width: 60px !important;
        height: 60px !important;
    }
    
    .service-title { font-size: 1.05rem; }
    .service-title-accent { width: 100px; height: 7px; }
    
    .service-description {
        font-size: 1rem;
    }
    
    .service-details {
        font-size: 0.9rem;
    }
    
    .packages-section {
        padding: 15px;
    }
    
    .packages-section h3 {
        font-size: 1.1rem;
    }
    
    .package-item {
        font-size: 0.9rem;
    }
    
    .tech-item {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    .strategy-item {
        font-size: 0.9rem;
    }
    
    .service-cta { padding: 12px 18px; font-size: 0.9rem; }
    /* move corner image to extreme left */
    .corner-image.top-left { left: -64px; }
}