:root {
    --bg: #09090b;
    --text: #f8fafc;
    --text-muted: #94a3b8;
    
    --cloud: #38bdf8;
    --cloud-glow: rgba(56, 189, 248, 0.25);
    
    --refri: #34d399;
    --refri-glow: rgba(52, 211, 153, 0.25);
    
    --print: #f43f5e;
    --print-glow: rgba(244, 63, 94, 0.25);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

body::after {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, var(--bg) 100%);
    pointer-events: none;
    z-index: -1;
}

.bg-elements {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -2;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.6;
    animation: float 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.blob-1 {
    top: -10%; left: -10%;
    width: 600px; height: 600px;
    background: var(--cloud-glow);
    animation-duration: 25s;
}

.blob-2 {
    bottom: -10%; right: -10%;
    width: 600px; height: 600px;
    background: var(--refri-glow);
    animation-delay: -5s;
    animation-duration: 22s;
}

.blob-3 {
    top: 40%; left: 40%;
    width: 500px; height: 500px;
    background: var(--print-glow);
    animation-delay: -10s;
    animation-duration: 28s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 100px) scale(1.1); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero {
    text-align: center;
    padding: 8rem 0 4rem;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #ffffff, #a1a1aa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInDown 1s ease-out;
}

.hero .subtitle {
    font-size: 1.6rem;
    color: var(--text-muted);
    font-weight: 300;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    padding: 2rem 0 6rem;
}

/* Glassmorphism Spotlight Card */
.card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.4s ease, box-shadow 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
    --mouse-x: 50%;
    --mouse-y: 50%;
}

.card.show {
    animation: cardAppear 0.8s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}

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

.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y), rgba(255,255,255,0.06), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
    pointer-events: none;
}

.card:hover::before {
    opacity: 1;
}

.card > * {
    position: relative;
    z-index: 1;
}

.card:hover {
    transform: translateY(-8px);
}

.card-cloud:hover { border-color: rgba(56, 189, 248, 0.3); box-shadow: 0 10px 40px rgba(56, 189, 248, 0.05); }
.card-refri:hover { border-color: rgba(52, 211, 153, 0.3); box-shadow: 0 10px 40px rgba(52, 211, 153, 0.05); }
.card-3d:hover { border-color: rgba(244, 63, 94, 0.3); box-shadow: 0 10px 40px rgba(244, 63, 94, 0.05); }

.card-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.card:hover .card-icon {
    transform: scale(1.1);
}

.card-icon svg {
    width: 32px;
    height: 32px;
}

.card-cloud .card-icon svg { stroke: var(--cloud); }
.card-refri .card-icon svg { stroke: var(--refri); }
.card-3d .card-icon svg { stroke: var(--print); }

.card h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.card p {
    color: var(--text-muted);
    font-weight: 300;
    font-size: 1.05rem;
}

footer {
    text-align: center;
    padding: 3rem 0;
    color: var(--text-muted);
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.9rem;
    font-weight: 300;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.service-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
    max-width: 800px;
    margin: 2rem auto 3rem auto;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-feature:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.service-feature.reverse {
    flex-direction: column;
}

.service-feature-img {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    height: 350px;
    max-width: 100%;
}

.service-feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.5s ease;
}

.service-feature:hover .service-feature-img img {
    transform: scale(1.05);
}

.service-feature-text {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.service-feature-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text);
    font-weight: 600;
}

.service-feature-text p {
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1.7;
    max-width: 700px;
}

@media (max-width: 768px) {
    .hero h1 { font-size: 3rem; }
    .hero .subtitle { font-size: 1.2rem; }
    .services {grid-template-columns: 1fr;}
    
    .service-feature {
        padding: 1.5rem;
        gap: 1.5rem;
        margin: 2rem auto;
    }
    .service-feature-img {
        height: 200px;
    }
}
