:root {
    --apple-blue: #0071e3;
    --apple-gray: #86868b;
    --apple-light: #f5f5f7;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
    background: linear-gradient(45deg, #2a2a2a, #141414, #3e3e3e);
    color: white;
    min-height: 100vh;
    animation: gradientBG 15s ease infinite;
    background-size: 200% 200%;
    cursor: default;
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 1;
}

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

header {
    background: transparent;
    backdrop-filter: blur(8px);
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 95%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.logo {
    height: 60px;
    width: auto;
    margin-right: -5px;
}

h1 {
    font-size: 2.2rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.i-activator {
    margin-right: 0;
}

h1::before {
    background: linear-gradient(120deg, #fff, #e6e9ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-right: 10px;
}

h1::after {
    background: #000;
    padding: 5px 15px;
    border-radius: 10px;
    color: #fff;
    font-size: 0.9em;
    position: relative;
    z-index: 1;
}

h1::after {
    background: #000;
    border: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

/* Add rainbow border container */
h1 span.mdm-text {
    position: relative;
    padding: 5px 15px;
    background: #000;
    border-radius: 10px;
    color: #fff;
    font-size: 0.9em;
}

h1 span.mdm-text::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(
        45deg,
        #ff0000,
        #ff7300,
        #fffb00,
        #48ff00,
        #00ffd5,
        #002bff,
        #7a00ff,
        #ff00c8,
        #ff0000
    );
    border-radius: 12px;
    z-index: -1;
    animation: animatedBorder 6s linear infinite;
    background-size: 400%;
}

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

@media (max-width: 768px) {
    h1::before {
        font-size: 1.8rem;
    }
    
    h1::after {
        font-size: 0.8em;
        padding: 4px 12px;
    }
}

@media (max-width: 480px) {
    h1::before {
        font-size: 1.5rem;
    }
    
    h1::after {
        font-size: 0.7em;
        padding: 3px 10px;
    }
}

.logo:hover {
    animation: specialLogo 1s ease-in-out forwards;
}

@keyframes specialLogo {
    0% {
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
    }
    25% {
        transform: scale(1.1) rotate(5deg);
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
    }
    50% {
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.7));
    }
    75% {
        transform: scale(1.1) rotate(-5deg);
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
    }
    100% {
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
    }
}

.logo-gif {
    height: 50px;
    width: auto;
    margin-right: 1rem;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    min-height: calc(100vh - 120px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    padding-top: 80px;
}

.hero {
    text-align: center;
    padding: 1rem 0;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.hero-image {
    width: 150px;
    height: auto;
    margin-bottom: 2rem;
    transition: all 0.5s ease;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.2));
    animation: floatHero 6s ease-in-out infinite;
    cursor: pointer;
}

@keyframes floatHero {
    0% {
        transform: translateY(0) rotate(0deg) scale(1);
        filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.2));
    }
    25% {
        transform: translateY(-10px) rotate(3deg) scale(1.02);
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
    }
    50% {
        transform: translateY(0) rotate(-2deg) scale(1.05);
        filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.4));
    }
    75% {
        transform: translateY(-5px) rotate(1deg) scale(1.02);
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
    }
    100% {
        transform: translateY(0) rotate(0deg) scale(1);
        filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.2));
    }
}

.hero-image:hover {
    animation: heroHover 1s ease-in-out forwards;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.5));
}

@keyframes heroHover {
    0% {
        transform: scale(1) rotate(0deg);
    }
    25% {
        transform: scale(1.1) rotate(5deg);
    }
    50% {
        transform: scale(1.15) rotate(-3deg);
    }
    75% {
        transform: scale(1.1) rotate(2deg);
    }
    100% {
        transform: scale(1.12) rotate(0deg);
    }
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    min-height: auto;
    border-radius: 18px;
    text-align: center;
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: default;
}

.feature-card:hover {
    cursor: default;
    transform: none;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    animation: pulse 2s ease-in-out infinite;
}

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

.copy-btn, .contact-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 1rem;
    position: relative;
    border: none;
    z-index: 1;
    backdrop-filter: blur(5px);
    transition: background 0.3s ease;
}

.copy-btn:hover, .contact-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.copy-btn::before, .contact-btn::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(
        45deg,
        #ff0000,
        #ff7300,
        #fffb00,
        #48ff00,
        #00ffd5,
        #002bff,
        #7a00ff,
        #ff00c8,
        #ff0000
    );
    border-radius: 5px;
    z-index: -1;
    animation: rainbow 20s linear infinite;
    background-size: 400%;
}

.copy-btn::after, .contact-btn::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: 1px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    z-index: -1;
}


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

.copy-btn:hover::before, .contact-btn:hover::before {
    animation: rainbow 3s linear infinite;
}

.copy-btn:hover::after, .contact-btn:hover::after {
    background: rgba(255, 255, 255, 0.15);
}

.download, .contact {
    text-align: center;
    margin: 1rem 0;
}

.download-buttons, .contact-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-btn {
    background-color: var(--apple-blue);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 980px;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 1rem;
    text-decoration: none;
    display: inline-block;
}

.contact-btn:hover {
    opacity: 0.9;
}

.telegram {
    background-color: #0088cc;
}

.telegram:hover {
    background-color: #0077b3;
}

.telegram::after {
    background: rgba(0, 136, 204, 0.9);
}

.telegram:hover::after {
    background: rgba(0, 119, 179, 0.9);
}

.whatsapp {
    background-color: #25D366;
}

.whatsapp:hover {
    background-color: #20bd5a;
}

.whatsapp::after {
    background: rgba(37, 211, 102, 0.9);
}

.whatsapp:hover::after {
    background: rgba(32, 189, 90, 0.9);
}

footer {
    text-align: center;
    padding: 0.6rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    font-size: 0.85rem;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: auto;
}

footer p {
    margin: 0;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
}

footer a {
    color: #00a2ff;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    padding: 0 3px;
}

footer a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00a2ff, transparent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

footer a:hover {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(0, 162, 255, 0.5);
}

footer a:hover::before {
    transform: scaleX(1);
}

@media (max-width: 768px) {
    footer {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
}

@media (min-width: 1440px) {
    .header-content,
    main {
        max-width: 1400px;
    }
}

@media (max-width: 1200px) {
    .header-content,
    main {
        max-width: 95%;
    }
}

@media (max-width: 768px) {
    main {
        padding: 0.5rem;
    }

    .hero {
        padding: 0.5rem 0;
    }

    .features {
        gap: 0.8rem;
    }

    .feature-card {
        padding: 1rem;
    }

    .hero h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    header {
        padding: 0.8rem;
    }

    .logo {
        height: 45px;
    }

    h1 {
        font-size: 1.5rem;
    }

    .hero-image {
        width: 100px;
    }

    .header-content,
    main {
        width: 98%;
    }

    .hero h2 {
        font-size: 1.8rem;
    }
}

.download-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    margin: 0.5rem;
    position: relative;
    border: none;
    z-index: 1;
    backdrop-filter: blur(5px);
}

.download-btn::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(
        45deg,
        #ff0000,
        #ff7300,
        #fffb00,
        #48ff00,
        #00ffd5,
        #002bff,
        #7a00ff,
        #ff00c8,
        #ff0000
    );
    border-radius: 12px;
    z-index: -1;
    animation: rainbow 20s linear infinite;
    background-size: 400%;
}

.download-btn::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: 1px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 9px;
    z-index: -1;
}

.download-btn:hover::before {
    animation: rainbow 3s linear infinite;
}

.download-btn:hover::after {
    background: rgba(255, 255, 255, 0.15);
}

.download-btn::before {
    display: none;
}

.cursor,
.cursor-follower,
.spider,
.background-animation,
.background-particle {
    display: none;
}

.terminal-section {
    text-align: center;
    margin: 1rem 0;
}

.terminal-btn {
    background: #000000;
    color: #00ff00;
    padding: 12px 25px;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    position: relative;
    font-family: 'Courier New', monospace;
    transition: all 0.3s ease;
    width: 200px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Simplify Terminal window header */
.terminal-btn::before {
    content: '● ● ●';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 3px 8px;
    background: #333333;
    color: #999;
    font-size: 10px;
    letter-spacing: 2px;
}

.terminal-btn i {
    margin-right: 5px;
    color: #00ff00;
}

.terminal-btn span {
    display: inline-block;
    padding-top: 15px;
}

/* Update hover effects */
.terminal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    background: #000000;
}

/* Update responsive styles */
@media (max-width: 768px) {
    .terminal-btn {
        width: 180px;
        padding: 10px 20px;
    }
}

.terminal-btn::before {
    background: #000000;
}

.terminal-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        transparent 0%,
        rgba(0, 255, 0, 0.1) 1px,
        transparent 2px,
        transparent 100%
    );
    pointer-events: none;
    animation: scan-lines 8s linear infinite;
}

.terminal-btn:hover {
    background: #000000;
    color: #00ff00;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.5),
                inset 0 0 15px rgba(0, 255, 0, 0.4);
    text-shadow: 0 0 8px #00ff00;
}

.terminal-btn:hover::before {
    opacity: 1;
}

.terminal-btn i {
    margin-right: 8px;
    animation: blink 1.5s ease infinite;
}

@keyframes cyber-glow {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 400% 50%;
    }
}

@keyframes scan-lines {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 0 100%;
    }
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

/* Add glitch effect on hover */
.terminal-btn:hover {
    animation: glitch 0.3s cubic-bezier(.25, .46, .45, .94) both infinite;
}

@keyframes glitch {
    0% {
        transform: translate(0);
    }
    20% {
        transform: translate(-2px, 2px);
    }
    40% {
        transform: translate(-2px, -2px);
    }
    60% {
        transform: translate(2px, 2px);
    }
    80% {
        transform: translate(2px, -2px);
    }
    100% {
        transform: translate(0);
    }
}

/* Popup styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
}

.popup-content {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 15px;
    width: 95%;
    max-width: 800px;
    height: auto;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.popup-content h3 {
    color: #333;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.instruction-method {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.instruction-method h4 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.instruction-method h4 i {
    color: #00a2ff;
}

.instruction-method p {
    color: #4a5568;
    margin: 0.7rem 0;
    font-size: 1rem;
    line-height: 1.6;
}

.version-instructions {
    margin-top: 1.5rem;
}

.version-instructions p strong {
    color: #2c3e50;
    font-size: 1.1rem;
    display: block;
    margin-top: 1rem;
}

.version-instructions ul {
    list-style-type: none;
    margin: 0.8rem 0 1.5rem 1.2rem;
}

.version-instructions li {
    color: #4a5568;
    margin: 0.5rem 0;
    position: relative;
    line-height: 1.5;
}

.version-instructions li:before {
    content: "•";
    color: #00a2ff;
    position: absolute;
    left: -1rem;
}

.key {
    background: #2c3e50;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', monospace;
    font-size: 0.9rem;
    display: inline-block;
    margin: 0 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Remove terminal command section */
.terminal-command {
    display: none;
}

/* Update close button */
.close-popup {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #4a5568;
    padding: 5px;
    transition: color 0.3s ease;
}

.close-popup:hover {
    color: #2c3e50;
}

/* Add scrollbar styling */
.popup-content::-webkit-scrollbar {
    width: 8px;
}

.popup-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.popup-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.popup-content::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

/* Update typing animation styles */
.typing-text {
    border-right: 2px solid #00ff00;
    white-space: nowrap;
    overflow: visible;
    display: inline-block;
    min-width: 14ch;
    animation: cursor 0.4s step-end infinite alternate;
}

/* Remove the width animation */
@keyframes cursor {
    50% { border-color: transparent }
}

/* Update hero h2 styles */
.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Add media queries for responsive typing */
@media (max-width: 768px) {
    .typing-text {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .typing-text {
        font-size: 1.5rem;
    }
}

/* Update typewriter animation styles */
.typewriter {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    position: relative;
}

.feature-icon.typing-icon {
    font-size: 1em;
    animation: slideWithText 40s ease infinite;
    margin: 0;
    opacity: 0;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}

.typewriter-text {
    display: inline-block;
    overflow: hidden;
    border-right: 3px solid #00ff00;
    white-space: nowrap;
    margin: 0;
    font-size: 3rem;
    animation: 
        typing 40s ease infinite;
    opacity: 0;
}

/* Update responsive styles */
@media (max-width: 768px) {
    .typewriter-text, .feature-icon.typing-icon {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .typewriter-text, .feature-icon.typing-icon {
        font-size: 1.5rem;
    }
}

@keyframes typing {
    0%, 100% { 
        width: 0;
        opacity: 0;
    }
    2% { 
        width: 0;
        opacity: 1;
    }
    40% { 
        width: 100%;
        opacity: 1;
    }
    90% { 
        width: 100%;
        opacity: 1;
    }
    95% { 
        width: 100%;
        opacity: 0;
    }
}

@keyframes slideWithText {
    0%, 100% { 
        transform: translateX(-20px);
        opacity: 0;
    }
    2% { 
        transform: translateX(-20px);
        opacity: 0;
    }
    4% { 
        transform: translateX(0);
        opacity: 1;
    }
    90% { 
        transform: translateX(0);
        opacity: 1;
    }
    95% { 
        transform: translateX(-20px);
        opacity: 0;
    }
}

/* Update hero h2 styles */
.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Add responsive styles */
@media (max-width: 768px) {
    .typewriter-text {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .typewriter-text {
        font-size: 1.5rem;
    }
}

/* Add styles for terminal image */
.terminal-image-container {
    margin-bottom: 1.5rem;
    text-align: center;
    border-radius: 8px;
    overflow: hidden;
}

.terminal-preview {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.terminal-preview:hover {
    transform: scale(1.02);
}

/* Update popup content padding for better image display */
.popup-content {
    padding: 2rem;
    max-width: 600px;
    width: 90%;
}

@media (max-width: 768px) {
    .terminal-preview {
        max-width: 100%;
    }
}

/* Add new styles for enhanced terminal popup */
.macbook-versions {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.version-tab {
    padding: 0.6rem 1.2rem;
    background: #f0f0f0;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    color: #666;
    user-select: none;
    border: 1px solid transparent;
}

.version-tab:hover {
    background: #e0e0e0;
    transform: translateY(-1px);
}

.version-tab.active {
    background: #2c3e50;
    color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-color: rgba(255,255,255,0.1);
}

.version-content {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.version-content.active {
    display: block;
    opacity: 1;
}

.version-content h4 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    text-align: center;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e1e1e1;
}

.instruction-method {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.instruction-method:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.instruction-method h5 {
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.instruction-method ol {
    margin-left: 1.5rem;
    color: #4a5568;
}

.instruction-method li {
    margin: 0.8rem 0;
    line-height: 1.6;
}

.terminal-tips {
    background: #fff8e5;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.terminal-tips h4 {
    color: #b7791f;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.terminal-tips ul {
    list-style: none;
    margin-left: 1rem;
}

.terminal-tips li {
    color: #744210;
    margin: 0.5rem 0;
    position: relative;
}

.terminal-tips li::before {
    content: "→";
    position: absolute;
    left: -1rem;
    color: #b7791f;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Add responsive styles for version tabs */
@media (max-width: 768px) {
    .macbook-versions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .version-tab {
        width: 100%;
        text-align: center;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .popup-content {
        padding: 1rem;
        width: 98%;
        max-height: 90vh;
    }

    .terminal-preview {
        max-width: 100%;
    }

    .instruction-method {
        padding: 0.8rem;
    }

    h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
}

/* Update contact buttons styles */
.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.contact-btn {
    min-width: 200px;
    text-align: center;
}

@media (max-width: 768px) {
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Update Download Tool section styles */
.download h2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.download h2 i.feature-icon {
    font-size: 1.8rem;
    animation: none;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    margin: 0;
}

/* Update download button icon alignment */
.download-btn i {
    font-size: 1.1rem;
    margin-right: 8px;
    vertical-align: middle;
    line-height: 1;
}

/* Update Contact Us section styles */
.contact h2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.contact h2 i.feature-icon {
    font-size: 1.8rem;
    animation: none;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    margin: 0;
    line-height: 1;
}

/* Update contact button icon alignment */
.contact-btn i {
    font-size: 1.1rem;
    margin-right: 8px;
    vertical-align: middle;
    line-height: 1;
}

/* Remove pulse animation from these sections */
.download .feature-icon,
.contact .feature-icon {
    animation: none;
}

/* Adjust spacing */
.download h2,
.contact h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Add particles container styles */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
    background: transparent;
}

/* Update loading animation styles */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #0c1c3d, #1a3a6a, #2b5087);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease-out;
    backdrop-filter: blur(10px);
}

.loader {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.loader::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 255, 128, 0.2),
        transparent
    );
    animation: shine 1.5s linear infinite;
}

.loader-icon {
    font-size: 4rem;
    color: #00ff88;
    animation: unlockAnimation 2s ease-in-out infinite;
    margin-bottom: 1.5rem;
    display: block;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.8);
}

.loading-text {
    color: #ffffff;
    font-size: 1.3rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    position: relative;
    font-weight: 300;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.loading-text::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent,
        #00ff88,
        #00ffcc,
        #00ff88,
        transparent
    );
    animation: loadingBar 2s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

@keyframes unlockAnimation {
    0% {
        transform: scale(1) rotate(0);
        filter: brightness(1);
    }
    25% {
        transform: scale(1.1) rotate(-5deg);
        filter: brightness(1.2);
    }
    50% {
        transform: scale(1) rotate(0);
        filter: brightness(1);
    }
    75% {
        transform: scale(1.1) rotate(5deg);
        filter: brightness(1.2);
    }
    100% {
        transform: scale(1) rotate(0);
        filter: brightness(1);
    }
}

@keyframes shine {
    to {
        transform: translateX(50%);
    }
}

@keyframes loadingBar {
    0% {
        width: 0;
        opacity: 1;
        box-shadow: 0 0 20px rgba(0, 255, 136, 0.8);
    }
    50% {
        width: 100%;
        opacity: 1;
        box-shadow: 0 0 30px rgba(0, 255, 136, 1);
    }
    100% {
        width: 100%;
        opacity: 0;
        box-shadow: 0 0 20px rgba(0, 255, 136, 0.8);
    }
}

/* Update visitor counter styles */
.visitor-counter {
    position: absolute;
    right: 20px;
    bottom: 50%;
    transform: translateY(50%);
    display: flex;
    align-items: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .visitor-counter {
        position: static;
        margin-top: 10px;
        transform: none;
        justify-content: center;
    }
}

/* Add visitor stats styles */
.visitor-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.5rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.stat-label {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-separator {
    width: 1px;
    height: 30px;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
}

.flip-counter {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: bold;
    color: #00ff88;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
    position: relative;
    transition: all 0.3s ease;
}

.flip-counter.online {
    color: #00ffcc;
    text-shadow: 0 0 10px rgba(0, 255, 204, 0.5);
}

.flip-counter::before {
    display: none;
}

.flip-counter.online::before {
    background: rgba(0, 255, 204, 0.1);
}

@keyframes flipIn {
    0% {
        transform: rotateX(90deg);
        opacity: 0;
    }
    100% {
        transform: rotateX(0);
        opacity: 1;
    }
}

.flip-counter.updated {
    animation: flipIn 0.3s ease-out;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .visitor-stats {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.8rem;
    }

    .stat-separator {
        width: 80%;
        height: 1px;
        margin: 0.2rem 0;
    }
}

.visitor-stats.footer-right {
    margin-top: 0;
    margin-left: auto;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    backdrop-filter: blur(8px);
}

/* Update responsive styles */
@media (max-width: 768px) {
    footer {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .visitor-stats.footer-right {
        width: 100%;
        flex-direction: row;
        justify-content: center;
    }

    .stat-separator {
        height: 20px;
    }
}

/* Adjust the main content to account for fixed navbar */
main {
    padding-top: 80px;
}

/* Ensure particles-js stays behind the navbar */
#particles-js {
    z-index: 0;
}

/* Ensure header has proper z-index */
.header_section {
    z-index: 1000;
}

/* Adjust any conflicting styles */
.header_section .navbar-brand {
    margin: 0;
    padding: 0;
}

.header_section .nav-link {
    text-transform: none;
}

/* Ensure proper spacing */
.hero {
    margin-top: 20px;
}
