:root {
    --bg-color: #050505; 
    --text-color: #f0f0f0;
    --primary-blue: #007AFF;
    --ai-glow: #8a2be2;
    --card-bg: rgba(255, 255, 255, 0.03); 
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-head: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif; 
    --font-main: -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6; 
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

.ambient-bg {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -1;
    background: #050505;
    overflow: hidden;
}
.ambient-blob {
    position: absolute;
    filter: blur(120px);
    opacity: 0.4;
    animation: float 20s infinite ease-in-out alternate;
}
.blob-1 {
    width: 500px; height: 500px;
    background: var(--primary-blue);
    top: -10%; left: -10%;
}
.blob-2 {
    width: 600px; height: 600px;
    background: var(--ai-glow);
    bottom: -20%; right: -10%;
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(10vw, 10vh) scale(1.2); }
}

header {
    position: fixed;
    top: 0; width: 100%;
    padding: 20px 60px; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(5, 5, 5, 0.6); 
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px; 
    color: #fff;
}
.logo span { 
    background: linear-gradient(90deg, var(--primary-blue), #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav ul { display: flex; gap: 40px; }
nav a { 
    font-size: 0.95rem; 
    font-weight: 500; 
    color: #aaa; 
}
nav a:hover { color: #fff; }

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.hero-tag {
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.85rem;
    color: #ddd;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s ease-out;
}
.hero-tag span { color: var(--primary-blue); font-weight: bold; }

.hero h1 {
    font-family: var(--font-head);
    font-size: 3.8rem; 
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #fff;
    animation: fadeInUp 1s ease-out;
    letter-spacing: -0.5px;
}

.hero h1 span {
    background: linear-gradient(135deg, #fff 0%, #888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    max-width: 680px;
    font-size: 1.15rem;
    font-weight: 300;
    color: #a0a0a0;
    margin-bottom: 40px;
    animation: fadeInUp 1.2s ease-out;
    line-height: 1.7;
}

.hero p strong {
    color: #fff;
    font-weight: 500;
}

.cta-btn {
    padding: 16px 40px;
    background: #fff; 
    color: #000;
    border: none;
    border-radius: 50px; 
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.4s;
    animation: fadeInUp 1.4s ease-out;
    box-shadow: 0 0 20px rgba(255,255,255,0.2);
}

.cta-btn:hover {
    transform: translateY(-2px);
    background: var(--primary-blue);
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 122, 255, 0.4);
}

section {
    padding: 120px 12%; 
    position: relative;
}

.section-title {
    font-family: var(--font-head);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: #fff;
    letter-spacing: -0.5px;
}

.section-subtitle {
    color: var(--primary-blue);
    font-family: var(--font-head);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

.section-desc {
    font-size: 1.1rem;
    color: #999;
    max-width: 600px;
    margin-bottom: 50px;
    line-height: 1.6;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 24px;
    transition: 0.4s;
}

.value-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.value-icon {
    font-size: 2rem;
    margin-bottom: 20px;
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-blue), var(--ai-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.value-card h3 {
    font-family: var(--font-head);
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 12px;
    font-weight: 700;
}

.value-card p {
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.6;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.work-card {
    position: relative;
    height: 420px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: 0.5s;
    background: #0a0a0a;
}

.work-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(0, 122, 255, 0.15), transparent 70%);
    z-index: 1;
    transition: 0.5s;
}

.work-content {
    position: relative;
    z-index: 2;
    padding: 35px;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.5) 70%, transparent 100%);
}

.work-tag {
    font-size: 0.75rem;
    color: #fff;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 15px;
    display: inline-block;
    border: 1px solid rgba(255,255,255,0.05);
    font-weight: 500;
}

.work-card h3 { 
    font-family: var(--font-head);
    font-size: 1.6rem; 
    color: #fff; 
    margin-bottom: 10px; 
    font-weight: 800;
}

.work-card p { 
    font-size: 0.95rem; 
    color: #bbb;
    line-height: 1.5;
}

.work-card:hover {
    transform: scale(1.02);
    border-color: rgba(255,255,255,0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.work-card:hover .work-bg {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.hire-banner {
    text-align: center;
    padding: 100px 20px;
    background: linear-gradient(to bottom, transparent, rgba(0, 122, 255, 0.05));
    border-top: 1px solid var(--glass-border);
}

.hire-banner h2 {
    font-family: var(--font-head);
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 800;
}

.hire-banner p {
    color: #aaa;
    font-size: 1.05rem;
    max-width: 500px;
    margin: 0 auto 35px;
}

footer {
    border-top: 1px solid var(--glass-border);
    padding: 80px 12% 40px;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(20px);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-info h4 { 
    font-family: var(--font-head);
    color: #fff; 
    margin-bottom: 20px; 
    font-size: 1.1rem; 
    font-weight: 700;
}

.footer-info p, .footer-link { 
    color: #777; 
    margin-bottom: 10px; 
    font-size: 0.95rem; 
}

.footer-link:hover { color: #fff; }

.copyright {
    text-align: center;
    border-top: 1px solid var(--glass-border);
    padding-top: 30px;
    color: #555;
    font-size: 0.85rem;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 900px) {
    .value-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 3rem; }
}
@media (max-width: 768px) {
    header { padding: 20px; }
    nav { display: none; }
    section { padding: 80px 6%; }
    .hero h1 { font-size: 2.8rem; }
}