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

:root {
    --primary-blue: #0154FE;
    --primary-purple: #DB11FB;
    --bg-dark: #0A0E27;
    --bg-secondary: #0F1629;
    --bg-card: #1A1F3A;
    --text-light: #B0B8D4;
    --text-white: #FFFFFF;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    overflow-x: hidden;
}

/* ========== GRADIENT & SHINE EFFECTS ========== */

/* Gradient Text with Shine Animation */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-logo-text {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    font-weight: 900;
    letter-spacing: 2px;
    animation: shimmer 3s infinite linear;
    background-size: 200% 200%;
}

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

/* Shining Text Effect */
.shine-text {
    position: relative;
    overflow: hidden;
}

.shine-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.3) 50%, 
        transparent 100%);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    50%, 100% {
        left: 100%;
    }
}

/* Shine Effect for Elements */
.shine-effect {
    position: relative;
    overflow: hidden;
}

.shine-effect::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.15) 50%,
        transparent 70%
    );
    animation: diagonal-shine 4s infinite;
}

@keyframes diagonal-shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    50%, 100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

/* Shine Border Effect */
.shine-border {
    position: relative;
    border: 2px solid transparent;
    background: var(--bg-card);
    background-clip: padding-box;
}

.shine-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        var(--primary-blue), 
        var(--primary-purple), 
        var(--primary-blue));
    border-radius: inherit;
    z-index: -1;
    background-size: 300% 300%;
    animation: gradient-rotate 4s linear infinite;
}

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

/* Glow Pulse Effect */
.glow-pulse {
    animation: glow-pulse-animation 2s ease-in-out infinite;
}

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

/* Gradient Backgrounds */
.gradient-bg-1 {
    background: linear-gradient(135deg, #0154FE, rgba(1, 84, 254, 0.6));
}

.gradient-bg-2 {
    background: linear-gradient(135deg, #8B35F9, rgba(139, 53, 249, 0.6));
}

.gradient-bg-3 {
    background: linear-gradient(135deg, #DB11FB, rgba(219, 17, 251, 0.6));
}

/* ========== LOGO STYLES ========== */

.logo-image {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(1, 84, 254, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(219, 17, 251, 0.5);
}

/* ========== PARTICLES BACKGROUND ========== */

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

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background-color: rgba(1, 84, 254, 0.25);
    border-radius: 50%;
    animation: float 7s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(1, 84, 254, 0.5);
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(var(--tx), var(--ty));
    }
}

/* ========== CONTAINER ========== */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 100px;
    position: relative;
    z-index: 1;
}

/* ========== HEADER ========== */

#header {
    position: relative;
    z-index: 1000;
    padding: 30px 0;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-text {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-item {
    color: var(--text-light);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s ease;
    position: relative;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    transition: width 0.3s ease;
}

.nav-item:hover {
    color: var(--text-white);
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

/* ========== BUTTONS ========== */

.btn-gradient {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(1, 84, 254, 0.4), 0 0 20px rgba(219, 17, 251, 0.3);
}

.btn-large {
    padding: 18px 40px;
    font-size: 16px;
}

.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid rgba(1, 84, 254, 0.5);
    padding: 16px 40px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-outline:hover {
    background: rgba(1, 84, 254, 0.1);
    border-color: var(--primary-blue);
    box-shadow: 0 0 20px rgba(1, 84, 254, 0.3);
}

.btn-white {
    background: white;
    color: var(--primary-blue);
    border: none;
    padding: 20px 50px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3), 0 0 20px rgba(1, 84, 254, 0.2);
}

/* ========== MOBILE DRAWER ========== */

.mobile-drawer {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--bg-dark);
    z-index: 2000;
    transition: left 0.3s ease;
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.5);
}

.mobile-drawer.active {
    left: 0;
}

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

.drawer-header {
    margin-bottom: 20px;
}

.drawer-header .logo-image {
    width: 40px;
    height: 40px;
}

.drawer-header .logo-text {
    font-size: 20px;
}

.drawer-divider {
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(1, 84, 254, 0.5), 
        rgba(219, 17, 251, 0.5), 
        transparent);
    margin-bottom: 20px;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-nav-item {
    color: var(--text-light);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 16px 0;
    border-bottom: 1px solid rgba(26, 31, 58, 0.5);
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.mobile-nav-item:hover {
    color: var(--text-white);
    padding-left: 10px;
}

.mobile-cta {
    margin-top: auto;
}

.mobile-cta .btn-gradient {
    width: 100%;
    padding: 14px;
    text-align: center;
}

/* ========== HERO SECTION ========== */

#hero {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 100px;
}

.hero-text {
    flex: 1;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(1, 84, 254, 0.1);
    border: 1px solid rgba(1, 84, 254, 0.3);
    border-radius: 20px;
    color: var(--primary-blue);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-bottom: 30px;
}

.hero-title {
    font-size: 72px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
}

.hero-description {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 50px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

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

.phone-glow {
    position: absolute;
    width: 450px;
    height: 400px;
    background: radial-gradient(circle, 
        rgba(1, 84, 254, 0.3), 
        rgba(219, 17, 251, 0.2), 
        transparent);
    border-radius: 50%;
    animation: float-phone 3s ease-in-out infinite;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: var(--bg-card);
    border-radius: 40px;
    position: relative;
    animation: float-phone 3s ease-in-out infinite;
    z-index: 2;
    box-shadow: 0 20px 60px rgba(1, 84, 254, 0.3);
}

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

.phone-screen {
    margin: 12px;
    height: calc(100% - 24px);
    background: linear-gradient(135deg, #1E2347, #0F1324);
    border-radius: 28px;
    overflow: hidden;
    position: relative;
}

.phone-content {
    padding: 50px 25px 25px;
    height: 100%;
}

.phone-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    height: 100%;
    align-content: start;
}

.grid-item {
    aspect-ratio: 1;
    background: linear-gradient(135deg, 
        rgba(1, 84, 254, 0.3), 
        rgba(219, 17, 251, 0.3));
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(1, 84, 254, 0.2);
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 25%;
    right: 25%;
    height: 25px;
    background: var(--bg-dark);
    border-radius: 0 0 15px 15px;
}

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

#services {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

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

.section-subtitle {
    color: var(--primary-blue);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.section-title {
    font-size: 48px;
    font-weight: 900;
}

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

.service-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(1, 84, 254, 0.3);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(1, 84, 254, 0.3);
}

.service-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.service-description {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ========== STATS SECTION ========== */

#stats {
    padding: 80px 0;
    background: linear-gradient(180deg, 
        rgba(1, 84, 254, 0.05), 
        rgba(219, 17, 251, 0.05), 
        transparent);
    position: relative;
    z-index: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 56px;
    font-weight: 900;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: var(--text-light);
    font-weight: 500;
}

/* ========== PORTFOLIO SECTION ========== */

#portfolio {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.portfolio-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 0 100px 20px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.portfolio-slider::-webkit-scrollbar {
    height: 8px;
}

.portfolio-slider::-webkit-scrollbar-track {
    background: rgba(26, 31, 58, 0.5);
    border-radius: 10px;
}

.portfolio-slider::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    border-radius: 10px;
}

.portfolio-item {
    min-width: 320px;
    background: linear-gradient(135deg, var(--bg-card), #0F1324);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(1, 84, 254, 0.3);
}

.portfolio-image {
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-content {
    padding: 25px;
}

.portfolio-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.portfolio-category {
    font-size: 14px;
    color: var(--text-light);
}

/* ========== CTA SECTION ========== */

#cta {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    padding: 80px;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(1, 84, 254, 0.4);
}

.cta-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 18px;
    margin-bottom: 40px;
}

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

#footer {
    padding: 60px 0;
    border-top: 1px solid rgba(1, 84, 254, 0.1);
    position: relative;
    z-index: 1;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    color: var(--text-light);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--text-white);
}

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

@media (max-width: 1024px) {
    .container {
        padding: 0 40px;
    }

    .hero-title {
        font-size: 56px;
    }

    .section-title {
        font-size: 40px;
    }

    .portfolio-slider {
        padding: 0 40px 20px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    /* Header */
    #header {
        padding: 20px 0;
    }

    .logo-image {
        width: 40px;
        height: 40px;
    }

    .logo-text {
        font-size: 18px;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    /* Hero */
    #hero {
        padding: 40px 0;
    }

    .hero-content {
        flex-direction: column;
        gap: 50px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-large, .btn-outline {
        width: 100%;
        justify-content: center;
        padding: 16px 30px;
        font-size: 15px;
    }

    .phone-mockup {
        width: 220px;
        height: 440px;
    }

    /* Services */
    #services {
        padding: 60px 0;
    }

    .section-title {
        font-size: 32px;
    }

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

    /* Stats */
    #stats {
        padding: 40px 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
    }

    .stat-number {
        font-size: 40px;
    }

    .stat-label {
        font-size: 13px;
    }

    /* Portfolio */
    #portfolio {
        padding: 60px 0;
    }

    .portfolio-slider {
        padding: 0 0 0 20px;
    }

    .portfolio-item {
        min-width: 280px;
    }

    /* CTA */
    #cta {
        padding: 40px 0;
    }

    .cta-box {
        padding: 40px 20px;
    }

    .cta-title {
        font-size: 28px;
    }

    .cta-description {
        font-size: 15px;
    }

    /* Footer */
    #footer {
        padding: 40px 0;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px 20px;
    }
}