:root {
    --bg-color: #030305;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --accent-1: #00f2fe; /* Cyan */
    --accent-2: #4facfe; /* Blue */
    --accent-3: #7b2cbf; /* Purple */
    --glass-bg: rgba(20, 20, 25, 0.4);
    --glass-border: rgba(255, 255, 255, 0.08);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
}

/* Background Animation */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, #0c0c14 0%, var(--bg-color) 100%);
}

.shape {
    position: absolute;
    filter: blur(90px);
    border-radius: 50%;
    animation: float 25s infinite alternate ease-in-out;
    opacity: 0.5;
}

.shape-1 {
    width: 45vw;
    height: 45vw;
    background: var(--accent-1);
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 40vw;
    height: 40vw;
    background: var(--accent-2);
    bottom: -10%;
    right: -10%;
    animation-delay: -5s;
}

.shape-3 {
    width: 35vw;
    height: 35vw;
    background: var(--accent-3);
    top: 30%;
    left: 30%;
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(10%, 5%) scale(1.1); }
    66% { transform: translate(-5%, 15%) scale(0.9); }
    100% { transform: translate(15%, -10%) scale(1.05); }
}

/* Perspective Grid for Motion Tech Vibe */
.grid-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60vh;
    perspective: 1000px;
    z-index: 0;
    overflow: hidden;
    mask-image: linear-gradient(to bottom, transparent, black 60%);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 60%);
}

.grid-overlay {
    position: absolute;
    bottom: 0;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: 
        linear-gradient(rgba(0, 242, 254, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 242, 254, 0.15) 1px, transparent 1px);
    background-size: 60px 60px;
    transform: rotateX(75deg);
    transform-origin: bottom center;
    animation: gridMove 1.5s linear infinite;
}

@keyframes gridMove {
    0% { background-position: 0 0; }
    100% { background-position: 0 60px; }
}

/* Main Content */
.container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 900px;
    padding: 2rem;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 5rem 4rem;
    text-align: center;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255,255,255,0.1);
    transform: translateY(30px);
    opacity: 0;
    animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.2s;
}

@keyframes fadeUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.logo-container {
    margin-bottom: 2.5rem;
    display: flex;
    justify-content: center;
}

.logo {
    height: 160px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.1));
}

.title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 3.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--text-primary);
    color: var(--bg-color);
    padding: 1.1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 25px -10px rgba(0, 242, 254, 0.5);
    position: relative;
    overflow: hidden;
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.6s ease;
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 35px -10px rgba(0, 242, 254, 0.6);
    background: #f4f4f5;
}

.cta-button:hover::after {
    left: 100%;
}

.cta-button svg {
    transition: transform 0.3s ease;
}

.cta-button:hover svg {
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .glass-card {
        padding: 3rem 1.5rem;
    }
    
    .title {
        font-size: 2.8rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
    }
    
    .grid-container {
        height: 40vh;
    }
}

/* Services Page Styles */
.services-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1000px;
    padding: 6rem 2rem 4rem;
    margin: 0 auto;
}

.page-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.page-header .title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.product-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.product-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    display: flex;
    gap: 2.5rem;
    align-items: center;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, border-color 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.product-card:nth-child(1) { animation-delay: 0.2s; }
.product-card:nth-child(2) { animation-delay: 0.4s; }
.product-card:nth-child(3) { animation-delay: 0.6s; }

.product-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.product-image {
    width: 240px;
    height: 240px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.product-info {
    flex: 1;
}

.product-title {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.product-description {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .product-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
    .product-image {
        width: 100%;
        height: 200px;
    }
    .page-header .title {
        font-size: 2.5rem;
    }
}

