* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

:root {
    --primary: #00d4ff;
    --primary-dark: #0099cc;
    --secondary: #001f3f;
    --accent: #ff006e;
    --text: #ffffff;
    --text-light: #b0b0b0;
    --bg: #0a0e27;
    --card-bg: #1a1f3a;
}

body.dark-mode {
    --bg: #0a0e27;
    --card-bg: #1a1f3a;
    --text: #ffffff;
}

body.light-mode {
    --primary: #0066cc;
    --accent: #ff0066;
    --bg: #f5f5f5;
    --card-bg: #ffffff;
    --text: #1a1a1a;
    --text-light: #666666;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--bg) 0%, #1a0033 100%);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
    transition: 0.3s background;
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeOut 0.5s ease forwards 2s;
}

.loader {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(0, 212, 255, 0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes fadeOut {
    to { opacity: 0; visibility: hidden; }
}

/* Navigation */
.navbar {
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    transition: 0.3s;
}

.navbar.scrolled {
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: 0.3s ease;
}

.logo:hover {
    transform: scale(1.08);
}

.logo-wrapper {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(255, 0, 110, 0.1));
    border: 1px solid rgba(0, 212, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.logo-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.3), transparent);
    animation: logoShine 3s ease-in-out infinite;
}

.logo-icon {
    width: 40px;
    height: 40px;
    animation: logoPulse 2s ease-in-out infinite, logoFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.4));
    position: relative;
    z-index: 1;
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-main {
    font-size: 1.1rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1.5px;
    animation: textGlow 2s ease-in-out infinite;
}

.logo-sub {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1.2px;
    opacity: 0.8;
    text-transform: uppercase;
    animation: subTextPulse 2.5s ease-in-out infinite;
}

@keyframes logoRotate {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(360deg) scale(1.1); }
}

@keyframes logoPulse {
    0%, 100% { 
        filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.4));
        transform: scale(1);
    }
    50% { 
        filter: drop-shadow(0 0 16px rgba(0, 212, 255, 0.7)) drop-shadow(0 0 20px rgba(255, 0, 110, 0.3));
        transform: scale(1.05);
    }
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-4px); }
}

@keyframes logoGlow {
    0%, 100% { text-shadow: 0 0 10px rgba(0, 212, 255, 0.5), 0 0 20px rgba(255, 0, 110, 0.3); }
    50% { text-shadow: 0 0 20px rgba(0, 212, 255, 0.8), 0 0 40px rgba(255, 0, 110, 0.6); }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes ringRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes ringPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.3), inset 0 0 20px rgba(0, 212, 255, 0.1);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 212, 255, 0.6), 0 0 60px rgba(255, 0, 110, 0.3), inset 0 0 30px rgba(0, 212, 255, 0.2);
    }
}

@keyframes dotPulse {
    0%, 100% { 
        box-shadow: 0 0 15px var(--primary), 0 0 30px rgba(0, 212, 255, 0.4);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 25px var(--primary), 0 0 50px rgba(0, 212, 255, 0.6);
        transform: scale(1.3);
    }
}

@keyframes symbolBounce {
    0%, 100% { 
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    50% { 
        transform: translateY(-8px) scale(1.1);
        opacity: 0.9;
    }
}

@keyframes symbolRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes textShimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes studioGlow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(0, 212, 255, 0.4);
    }
    50% {
        text-shadow: 0 0 20px rgba(0, 212, 255, 0.7), 0 0 30px rgba(255, 0, 110, 0.3);
    }
}

@keyframes logoShine {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
}

@keyframes textGlow {
    0%, 100% {
        text-shadow: 0 0 8px rgba(0, 212, 255, 0.3);
    }
    50% {
        text-shadow: 0 0 16px rgba(0, 212, 255, 0.6), 0 0 20px rgba(255, 0, 110, 0.2);
    }
}

@keyframes subTextPulse {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    transition: 0.3s;
    font-weight: 500;
    position: relative;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.3s ease;
}

.nav-links a:hover::before {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary);
}

/* Theme Toggle Button Styling */
.theme-toggle {
    width: 40px;
    height: 40px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
    color: var(--primary);
}

.theme-toggle:hover {
    background: rgba(0, 212, 255, 0.2);
    transform: rotate(180deg) scale(1.1);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

/* Smooth Hamburger Menu Animation */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    margin: 5px 0;
    border-radius: 3px;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a0e27 0%, #1a0033 50%, #2d0052 100%);
    position: relative;
    overflow: hidden;
}

/* Background Stars (Hero Section Only) */
.hero .stars {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero .stars::before,
.hero .stars::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #eee, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 60px 70px, #fff, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 50px 50px, #ddd, rgba(0,0,0,0));
    background-size: 200px 200px;
    animation: twinkle 5s infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    padding: 2rem;
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}

.subtitle {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.description {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cta-button, .demo-button {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s;
    border: none;
}

.cta-button {
    background: linear-gradient(135deg, var(--primary), #0077a3);
    color: var(--secondary);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.8);
}

.demo-button {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: inset 0 0 20px rgba(0, 212, 255, 0.2);
}

.demo-button:hover {
    background: rgba(0, 212, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: inset 0 0 20px rgba(0, 212, 255, 0.5), 0 0 20px rgba(0, 212, 255, 0.5);
}

.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-card {
    position: absolute;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(255, 0, 110, 0.1));
    border: 2px solid var(--primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
    animation: float 3s ease-in-out infinite;
}

.card-1 {
    animation-delay: 0s;
}

.card-2 {
    animation-delay: 1s;
    top: 50px;
    right: 50px;
}

.card-3 {
    animation-delay: 2s;
    bottom: 50px;
    left: 50px;
    color: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 30px rgba(255, 0, 110, 0.3);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1a1f3a 0%, #0a0e27 100%);
}

.services h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(255, 0, 110, 0.05));
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 15px;
    padding: 2.5rem;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.2), transparent);
    transition: 0.5s;
    z-index: 0;
}

.service-card:hover::before {
    left: 100%;
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.3), inset 0 0 20px rgba(0, 212, 255, 0.1);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    transition: 0.3s;
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(10deg);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.features li {
    color: var(--text-light);
    margin: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.features i {
    position: absolute;
    left: 0;
    color: var(--primary);
}

.learn-more-btn {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--text);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
    font-weight: 600;
}

.learn-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.3);
}

/* About Section */
.about {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0a0e27 0%, #1a0033 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(255, 0, 110, 0.1));
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    text-align: center;
}

.stat-item h4 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-light);
}

.about-visual {
    position: relative;
    height: 400px;
}

.circle-animation {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    border: 3px solid var(--primary);
    border-radius: 50%;
    animation: rotate 8s linear infinite;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

.circle-animation::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
}

@keyframes rotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1a1f3a 0%, #0a0e27 100%);
}

.contact h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-top: 0.5rem;
}

.info-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.info-item p {
    color: var(--text-light);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 8px;
    padding: 1rem;
    color: var(--text);
    font-family: inherit;
    transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--text);
    border: none;
    padding: 1.1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.4), 0 4px 15px rgba(255, 0, 110, 0.2);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 35px rgba(0, 212, 255, 0.7), 0 0 50px rgba(255, 0, 110, 0.4), 0 8px 25px rgba(0, 212, 255, 0.3);
}

.submit-btn:active {
    transform: scale(0.96);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

/* Footer */
.footer {
    background: #000814;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h5 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section p {
    color: var(--text-light);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: 0.3s;
}

.footer-section ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    padding-top: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--text-light);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    color: var(--primary);
    transition: 0.3s;
    font-size: 1.2rem;
}

.social-links a:hover {
    background: var(--primary);
    color: var(--secondary);
    transform: rotate(20deg) translateY(-3px);
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(255, 0, 110, 0.05));
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    padding: 4rem 0;
}

.stats-section .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: rgba(0, 212, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: 0.3s;
    animation: fadeInUp 0.6s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    background: rgba(0, 212, 255, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Portfolio Section */
.portfolio {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--bg) 0%, #1a0033 100%);
}

.portfolio h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary);
    border: 1px solid rgba(0, 212, 255, 0.3);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: 0.3s;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.3), transparent);
    transition: left 0.5s;
}

.filter-btn:hover::before {
    left: 100%;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: var(--secondary);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    transform: scale(1.05);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(255, 0, 110, 0.05));
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 1;
    animation: fadeInUp 0.6s ease;
}

.portfolio-item:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 15px 50px rgba(0, 212, 255, 0.25), 0 0 30px rgba(255, 0, 110, 0.1);
}

.portfolio-image {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(255, 0, 110, 0.1));
    font-size: 4rem;
    color: var(--primary);
}

.portfolio-info {
    padding: 1.5rem;
}

.portfolio-info h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.portfolio-info p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.badge {
    display: inline-block;
    background: var(--primary);
    color: var(--secondary);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Pricing Section */
.pricing {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1a1f3a 0%, var(--bg) 100%);
}

.pricing h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(255, 0, 110, 0.05));
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    transition: 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.2);
    transform: scale(1.05);
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--secondary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
}

.price-tag {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.period {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.price-features {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.price-features li {
    color: var(--text-light);
    margin: 0.8rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.price-features i {
    position: absolute;
    left: 0;
    color: var(--primary);
}

.price-features i.fa-times {
    color: #999;
}

.price-btn {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--text);
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.price-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    pointer-events: none;
}

.price-btn:hover::before {
    width: 300px;
    height: 300px;
}

.price-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.3), 0 0 30px rgba(255, 0, 110, 0.2);
}

/* Testimonials */
.testimonials {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--bg) 0%, #1a0033 100%);
}

.testimonials h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(255, 0, 110, 0.05));
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    min-height: 320px;
}

.testimonial-card:hover {
    transform: translateY(-12px);
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 15px 50px rgba(0, 212, 255, 0.25), 0 0 30px rgba(255, 0, 110, 0.1);
}

.testimonial-card .stars {
    color: #ffc107;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
    display: flex;
    gap: 0.5rem;
    justify-content: flex-start;
    font-size: 1.2rem;
    order: 2;
    position: relative;
    width: auto;
    height: auto;
    overflow: visible;
}

.testimonial-text {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
    font-style: italic;
    order: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    order: 3;
}

.author-info h5 {
    margin-bottom: 0.3rem;
    color: var(--primary);
}

.author-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* FAQ Section */
.faq {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1a1f3a 0%, var(--bg) 100%);
}

.faq h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-content {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(255, 0, 110, 0.05));
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: 0.3s;
}

.faq-header {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.3s;
}

.faq-header:hover {
    background: rgba(0, 212, 255, 0.1);
}

.faq-header h4 {
    margin: 0;
    font-size: 1.1rem;
}

.faq-header i {
    color: var(--primary);
    transition: 0.3s;
}

.faq-item.active .faq-header i {
    transform: rotate(180deg);
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.5rem;
}

.faq-item.active .faq-body {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.faq-body p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Team Section */
.team {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1a1f3a 0%, var(--bg) 100%);
}

.team h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(255, 0, 110, 0.05));
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: 0.3s;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.3);
}

.member-image {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.team-member h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.member-role {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.member-bio {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.member-socials {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.member-socials a {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    color: var(--primary);
    transition: 0.3s;
}

.member-socials a:hover {
    background: var(--primary);
    color: var(--secondary);
}

/* Newsletter Section */
.newsletter {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(255, 0, 110, 0.1));
    padding: 4rem 0;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.newsletter-content {
    text-align: center;
}

.newsletter-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.newsletter-content p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    min-width: 250px;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 25px;
    padding: 0.8rem 1.5rem;
    color: var(--text);
    transition: 0.3s;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.newsletter-form button {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    color: var(--text);
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.3);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: linear-gradient(135deg, var(--card-bg) 0%, #2d0052 100%);
    margin: 10% auto;
    padding: 2rem;
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    position: relative;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    position: absolute;
    right: 2rem;
    top: 1rem;
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary);
    cursor: pointer;
    transition: 0.3s;
}

.close:hover {
    color: var(--accent);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none;
    border-radius: 50%;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.3);
    transition: 0.3s;
    z-index: 99;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.5);
}

.scroll-to-top.show {
    display: flex;
}

/* Input Fields Styling */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    background: rgba(0, 212, 255, 0.08);
    border: 1.5px solid rgba(0, 212, 255, 0.3);
    color: var(--text);
    padding: 0.9rem 1.1rem;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

input::placeholder,
textarea::placeholder {
    color: rgba(0, 212, 255, 0.5);
    opacity: 1;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
    outline: none;
    background: rgba(0, 212, 255, 0.12);
    border-color: var(--primary);
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.5), inset 0 0 15px rgba(0, 212, 255, 0.15);
    transform: translateY(-2px);
}

/* Newsletter Subscribe Button */
.newsletter-form button {
    background: linear-gradient(135deg, var(--primary), #0077a3);
    color: var(--text);
    border: none;
    padding: 1rem 2rem;
    border-radius: 0 8px 8px 0;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.newsletter-form button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent);
    transition: left 0.4s;
    pointer-events: none;
}

.newsletter-form button:hover::before {
    left: 100%;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.4);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-visual {
        display: none;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.3rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(10, 14, 39, 0.98);
        gap: 0;
        border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 1rem;
        border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    }

    .hamburger {
        display: flex;
    }

    .services-grid,
    .portfolio-grid,
    .testimonials-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .cta-button, .demo-button {
        width: 100%;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .description {
        font-size: 0.9rem;
    }

    .services h2,
    .portfolio h2,
    .pricing h2,
    .testimonials h2,
    .faq h2,
    .team h2 {
        font-size: 1.8rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .scroll-to-top {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        bottom: 1rem;
        right: 1rem;
    }

    .modal-content {
        width: 95%;
        margin: 50% auto;
        padding: 1.5rem;
    }
}
