@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700&family=Poppins:wght@300;400;500;700&display=swap');


:root {
    --header-height: 3.5rem;
    --primary-color: #4a69ff; 
    --secondary-color: #6c42f5; 
    --primary-gradient: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Poppins', sans-serif;
    --font-size-h1: 2.25rem;
    --font-size-h2: 1.5rem;
    --font-size-h3: 1.25rem;
    --font-size-normal: 1rem;
    --font-size-small: 0.875rem;
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --fig-primary: #4a69ff;    
    --fig-secondary: #6c42f5;   
    --fig-gradient: linear-gradient(135deg, var(--fig-secondary), var(--fig-primary));
    --fig-bg-dark: #0a0b1a;    
    --fig-border-dark: rgba(74, 105, 255, 0.2); 
    --fig-text-muted: #a0a0c0;   
}


body.dark-theme {
    --bg-color: #0a0b1a; 
    --bg-color-alt: #12142d;
    --card-color: #1a1c3a;
    --border-color: rgba(74, 105, 255, 0.2);
    --text-color: #e0e0ff;
    --text-color-muted: #a0a0c0;
    --text-color-heading: #ffffff;
}

body.light-theme {
    --bg-color: #f8f9fe;
    --bg-color-alt: #ffffff;
    --card-color: #ffffff;
    --border-color: #e0e0e0;
    --text-color: #444;
    --text-color-muted: #666;
    --text-color-heading: #1a1a3a;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: var(--font-size-normal);
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: var(--transition-fast);
}

[class^="ri-"] {
    display: inline-block; 
    width: 1.2em;         
    height: 1.2em;     
    aspect-ratio: 1/1;     
    vertical-align: middle; 
}

.service__card-icon,
.tech__item i,
.contact__info-link i,
.footer__social-link i {
    width: auto; 
}

h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--text-color-heading);
    font-weight: 700;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1120px;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
}

.grid {
    display: grid;
    gap: 1.5rem;
}

.section {
    padding: 6rem 0 2rem;
}

.section__title {
    font-size: var(--font-size-h2);
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.section__subtitle {
    display: block;
    text-align: center;
    font-size: var(--font-size-small);
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.section__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 3px;
}

.button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-family: var(--font-heading);
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
    z-index: 0;
}

.button--primary {
    background: var(--primary-gradient);
    color: #fff;
    box-shadow: 0 5px 15px rgba(74, 105, 255, 0.3);
}

.button--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(74, 105, 255, 0.5);
}

.button--ghost {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.button--ghost:hover {
    background: var(--primary-color);
    color: var(--bg-color);
}

.button--small {
    padding: 0.5rem 1rem;
}

.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    background: transparent; 
    transition: var(--transition-fast);
}

.header-shadow {
    background: rgba(10, 11, 26, 0.5);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.light-theme .header-shadow {
    background: rgba(248, 249, 254, 0.5);
}

.nav {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}



.nav__logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-color-heading);
    display: flex;
    align-items: center;
}

.nav__logo-img {
    height: 40px;
    width: auto;
    margin-right: 7px;
}

.nav__logo-span {
    color: var(--primary-color);
    margin-right: 4px;
}

.nav__list {
    display: flex;
    gap: 2rem;
}

.nav__link {
    font-weight: 500;
    color: var(--text-color);
    transition: var(--transition-fast);
}

.nav__link:hover {
    color: var(--primary-color);
}

.nav__toggles {
    display: flex;
    gap: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
}

.theme-popup {
    position: absolute;
    top: 100%; 
    margin-top: 12px;
    width: 400px;
    font-size: 18px;
    right: 10%;
    transform: translateX(50%);
    
    background: var(--card-color);
    color: var(--text-color-heading);
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
    z-index: 100;
}

.theme-button-container {
    position: relative;
}

.theme-popup::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 97%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--card-color);
    
    filter: drop-shadow(0 -1px 0 var(--border-color));
}

.theme-popup.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.theme-popup.hide {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
}

.nav__close {
    display: none;
}

.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--bg-color);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(315deg, var(--bg-color) 50%, var(--primary-color) 100%);
    opacity: 0.1;
    z-index: 0;
    animation: subtleGradient 20s ease infinite;
}

@keyframes subtleGradient {
    0% { transform: translateX(0%); }
    50% { transform: translateX(-25%); }
    100% { transform: translateX(0%); }
}

.hero__background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(74, 105, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74, 105, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
    z-index: -1;
}

.hero__container {
    position: relative;
    z-index: 2;
}

.hero__data {
    max-width: 600px;
}

.hero__title {
    font-size: var(--font-size-h1);
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.hero__title-span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    color: transparent;
}

.hero__description {
    font-size: var(--font-size-normal);
    color: var(--text-color-muted);
    margin-bottom: 2.5rem;
}

.hero__buttons {
    display: flex;
    gap: 1rem;
}

.about__container {
    grid-template-columns: 1fr;
    gap: 3rem;
}

.about__description {
    margin-bottom: 2rem;
    color: var(--text-color-muted);
    line-height: 1.7;
}

.about__stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    text-align: center;
}

.about__stat-number {
    font-size: var(--font-size-h2);
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.about__stat-title {
    font-size: var(--font-size-small);
    color: var(--text-color-muted);
}

.services__container {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 2rem;
}

.service__card {
    background: var(--card-color);
    padding: 2.5rem 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.service__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(74, 105, 255, 0.1);
    border-color: var(--primary-color);
}

.service__card-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: block;
}

.service__card-title {
    font-size: var(--font-size-h3);
    margin-bottom: 0.5rem;
}

.service__card-description {
    color: var(--text-color-muted);
    font-size: var(--font-size-small);
}

.tech__description {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    color: var(--text-color-muted);
}

.tech__grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 2rem;
    justify-items: center;
    max-width: 800px;
    margin: auto;
}

.tech__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color-muted);
    transition: var(--transition-fast);
}

.tech__item i,
.tech__item img {
    font-size: 3rem; 
    width: 48px;     
    height: 48px;    
    transition: var(--transition-fast);
}

.tech__item img {
    filter: grayscale(1) opacity(0.7); 
}

.tech__item span {
    font-size: var(--font-size-small);
}

.tech__item:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.tech__item:hover img {
    filter: grayscale(0) opacity(1); 
}

.testimonials__container {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.testimonial__card {
    background: var(--card-color);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 1rem;
}

.testimonial__text {
    font-style: italic;
    color: var(--text-color-muted);
    margin-bottom: 1rem;
}

.testimonial__name {
    font-weight: 500;
    color: var(--text-color-heading);
}

.plans__container {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    justify-content: center;
    gap: 2rem;
}

.plan__card {
    background: var(--card-color);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition-fast);
    position: relative;
}

.plan__card--featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(74, 105, 255, 0.1);
}

.plan__featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-gradient);
    color: #fff;
    padding: 0.25rem 1rem;
    border-radius: 2rem;
    font-size: var(--font-size-small);
    font-weight: 500;
}

.plan__title {
    font-size: var(--font-size-h3);
    margin-bottom: 1rem;
}

.plan__price {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    display: block;
}
.plan__price strong {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    color: var(--primary-color);
}
.plan__price small {
    font-size: var(--font-size-normal);
    color: var(--text-color-muted);
}

.plan__list {
    text-align: left;
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.plan__list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color-muted);
}
.plan__list i {
    font-size: 1.25rem;
}
.plan__list .ri-check-line {
    color: var(--primary-color);
}

.plans__note {
    text-align: center;
    margin-top: 2rem;
    font-size: var(--font-size-small);
    color: var(--text-color-muted);
}

.contact__container {
    grid-template-columns: 1fr;
    gap: 3rem;
}

.contact__description {
    color: var(--text-color-muted);
    margin-bottom: 2rem;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact__info-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.contact__info-link i {
    font-size: 1.25rem;
    color: var(--primary-color);
}

.contact__info-link:hover {
    color: var(--primary-color);
}

.contact__form {
    display: grid;
    gap: 1.5rem;
}

.contact__form-group {
    position: relative;
}

.contact__form-input {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    background: var(--bg-color-alt);
    border-radius: 0.5rem;
    color: var(--text-color-heading);
    font-family: var(--font-body);
    font-size: var(--font-size-normal);
    outline: none;
    transition: var(--transition-fast);
}

.contact__form-input:focus {
    border-color: var(--primary-color);
}

.contact__form-label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: var(--text-color-muted);
    pointer-events: none;
    transition: var(--transition-fast);
}

.contact__form-input:focus + .contact__form-label,
.contact__form-input:not(:placeholder-shown) + .contact__form-label {
    top: -0.75rem;
    left: 0.75rem;
    font-size: var(--font-size-small);
    background: var(--bg-color-alt);
    padding: 0 0.25rem;
    color: var(--primary-color);
}

textarea.contact__form-input {
    resize: vertical;
    min-height: 150px;
}

.contact__form-status {
    text-align: center;
    margin-top: 1rem;
    font-size: var(--font-size-small);
}

.footer {
    background: var(--bg-color-alt);
    border-top: 1px solid var(--border-color);
    padding-top: 4rem;
    margin-top: 4rem;
}

.footer__container {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer__description {
    font-size: var(--font-size-small);
    color: var(--text-color-muted);
    margin-top: 0.5rem;
}

.footer__title {
    font-size: var(--font-size-h3);
    margin-bottom: 1rem;
}

.footer__list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer__link {
    color: var(--text-color-muted);
    transition: var(--transition-fast);
}

.footer__link:hover {
    color: var(--primary-color);
}

.footer__social {
    display: flex;
    gap: 1rem;
}

.footer__social-link {
    font-size: 1.5rem;
    color: var(--text-color-muted);
    transition: var(--transition-fast);
}

.footer__social-link:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer__copy {
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-color);
    font-size: var(--font-size-small);
    color: var(--text-color-muted);
}

.scrollup {
    position: fixed;
    right: 1.5rem;
    bottom: -30%; 
    background: var(--primary-gradient);
    color: #fff;
    padding: 0.6rem 0.8rem;  
    border-radius: 0.5rem;    
    font-size: 1.5rem;      
    z-index: 50;
    transition: var(--transition-medium);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.scrollup:hover {
    transform: translateY(-4px);
}

.show-scroll {
    bottom: 3rem;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-medium), transform var(--transition-medium);
}

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

@media screen and (min-width: 768px) {
    .container {
        margin-left: auto;
        margin-right: auto;
    }

    .section {
        padding: 8rem 0 2rem;
    }

    .hero__container {
        height: 100vh;
        align-items: center;
    }

    .about__container {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }

    .contact__container {
        grid-template-columns: 1fr 1fr;
        align-items: flex-start;
    }
}

@media screen and (min-width: 1024px) {
    :root {
        --font-size-h1: 3.5rem;
        --font-size-h2: 2rem;
        --font-size-h3: 1.5rem;
        --font-size-normal: 1rem;
    }

    .nav__close,
    .nav__toggle {
        display: none;
    }

    .nav__list {
        display: flex;
    }
}

@media screen and (max-width: 767px) {
.nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    
    background: rgba(10, 11, 26, 0.85);

    padding: 6rem 2rem 0;
    
    z-index: 200;
    
    transition: var(--transition-fast);
    backdrop-filter: blur(5px);
}


.theme-popup {
    font-size: 13px;
    width: 300px;
    right: 5px;
    top: 35px;
}

    .nav__list {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
    }

    .nav__link {
        font-size: var(--font-size-h3);
    }

    .nav__close {
        display: block;
        position: absolute;
        top: 1rem;
        right: 1.5rem;
        font-size: 2rem;
        cursor: pointer;
    }

    .show-menu {
        right: 0;
    }

    .hero__container {
        padding-top: var(--header-height);
    }

    .hero__title {
        font-size: 1.8rem;
    }

    .testimonials__container,
    .plans__container {
        grid-template-columns: 1fr;
    }
    
    .plan__card--featured {
        transform: scale(1); 
    }

    .footer__container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer__list {
        align-items: center;
    }
    .footer__social {
        justify-content: center;
    }

}

#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: var(--bg-color); 
    opacity: 0.2;
}

.main, .footer {
    position: relative; 
}

.hero::before {
    display: none; 
}

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--fig-bg-dark); 
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s, visibility 0.5s;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
}

.loader-visual {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: grid;
    place-items: center;
}

.loader-circle {
    width: 80px;
    height: 80px;
    border: 3px solid var(--fig-border-dark); 
    border-top-color: var(--fig-primary);    
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1; 
    grid-area: 1 / 1; 
}

.loader-logo {
    width: 60px; 
    height: auto;
    opacity: 0.8;
    filter: brightness(1.2);
    z-index: 2;
    grid-area: 1 / 1; 
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loader-text {
    font-family: 'Orbitron', sans-serif; 
    font-size: clamp(1.8rem, 2.2rem, 3rem);
    font-weight: 700;
    background: var(--fig-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    overflow: hidden;
    white-space: nowrap;
    border-right: 4px solid var(--fig-primary); 
    width: 0;
    animation: 
      typing 2s steps(18, end) 0.5s forwards,
      blink-caret 0.75s step-end 2.5s infinite;
}

.loader-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1rem, 4vw, 1.25rem); 
    color: var(--fig-text-muted); 
    margin-top: 1rem;
    display: flex;
    gap: 0.25em; 
    flex-wrap: wrap;
    justify-content: center;
}

.loader-subtitle span {
    opacity: 0;
    display: inline-block;
    transform: translateY(10px);
    animation: fade-in-up 0.8s ease-out forwards;
}

.loader-subtitle span:nth-child(1) { animation-delay: 2.5s; }
.loader-subtitle span:nth-child(2) { animation-delay: 2.7s; }
.loader-subtitle span:nth-child(3) { animation-delay: 2.9s; }
.loader-subtitle span:nth-child(4) { animation-delay: 3.1s; }
.loader-subtitle span:nth-child(5) { animation-delay: 3.3s; }

@keyframes typing {
    from { width: 0; }
    to { width: 100%; } 
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: var(--fig-primary); }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero__visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.tech-globe {
    width: 300px;
    height: 300px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-globe__logo {
    position: relative; 
    z-index: 2; 
    width: 50%; 
    height: auto;
    opacity: 0.8;
    animation: pulse-glow-logo 4s ease-in-out infinite;
}

@keyframes pulse-glow-logo {
    0%, 100% {
        transform: scale(0.95);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

.tech-globe::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(74, 105, 255, 0.3) 0%, rgba(108, 66, 245, 0.1) 50%, transparent 70%);
    animation: pulse-glow 4s ease-in-out infinite;
    z-index: 1;
}

.tech-globe__ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid;
    border-color: rgba(74, 105, 255, 0.1);
    border-top-color: var(--primary-color);
    animation: spin 3s linear infinite;
    z-index: 3;
}

.tech-globe__ring:nth-child(2) {
    width: 80%;
    height: 80%;
    border-top-color: var(--secondary-color);
    animation: spin 5s linear infinite reverse;
    z-index: 3;
}

.tech-globe__ring:nth-child(3) {
    width: 60%;
    height: 60%;
    border-color: rgba(108, 66, 245, 0.1);
    border-top-color: #fff;
    animation: spin 2s linear infinite;
    z-index: 3;
}

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

@media (max-width: 767px) {
    .hero__visual {
        display: none;
    }
}

@media screen and (min-width: 768px) {
    .hero__container {
        grid-template-columns: 1fr 1fr; 
        align-items: center;
    }
}

.light-theme #particles-js {
    opacity: 0.6; 
}

.light-theme .tech-globe::before {
    background: radial-gradient(circle, rgba(74, 105, 255, 0.35) 0%, rgba(108, 66, 245, 0.2) 50%, transparent 70%);
}

.light-theme .tech-globe__ring {
    border-color: rgba(74, 105, 255, 0.3);
}

.light-theme .tech-globe__ring:nth-child(3) {
    border-color: rgba(108, 66, 245, 0.3); 
}
.light-theme .tech-globe__logo {
    opacity: 1; 
}