@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Orizon Inspired Color Palette */
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-deep: #0a0a2a; /* Deep Indigo for contrast */
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --text-light: #f8fafc;
    
    --accent-indigo: #001aff; /* More vibrant Orizon blue */
    --accent-aqua: #1bffff;
    --gradient-primary: linear-gradient(90deg, #001aff 0%, #6d28d9 100%);
    --gradient-text-style: linear-gradient(90deg, #001aff, #1bffff, #6d28d9);
    --gradient-soft: linear-gradient(135deg, rgba(46, 49, 146, 0.05) 0%, rgba(27, 255, 255, 0.05) 100%);
    
    --radius-pill: 100px;
    --radius-large: 32px;
    --radius-medium: 16px;
    
    --shadow-soft: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 20px rgba(27, 255, 255, 0.3);
    
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-white);
    color: var(--text-dark);
    font-family: var(--font-main);
    line-height: 1.5;
    overflow-x: hidden;
    /* Soft blue glow vignette effect */
    background: radial-gradient(circle at top right, rgba(27, 255, 255, 0.05), transparent 40%),
                radial-gradient(circle at bottom left, rgba(46, 49, 146, 0.05), transparent 40%),
                var(--bg-white);
    position: relative;
}

/* Cursor Glow */
.cursor-glow {
    position: fixed;
    width: 800px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 26, 255, 0.12), transparent 70%);
    filter: blur(100px);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 1s ease;
}

.cursor-glow-top {
    top: -150px;
}

.cursor-glow-bottom {
    bottom: -150px;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Typography Utilities */
h1, h2, h3, h4 {
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.gradient-text {
    background: var(--gradient-text-style);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    font-weight: 800;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    font-size: 16px;
    gap: 12px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(46, 49, 146, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-indigo);
    color: var(--accent-indigo);
}

.btn-outline:hover {
    background: var(--gradient-soft);
    transform: translateY(-2px);
}

/* Navbar & Logo */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 32px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    padding: 16px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

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

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--accent-indigo);
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon::after {
    content: '';
    width: 14px;
    height: 14px;
    border: 3px solid white;
    border-radius: 50%;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-glow {
    background: #1100ff !important;
    box-shadow: 0 10px 30px -5px rgba(17, 0, 255, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.3);
    padding: 14px 28px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    color: white;
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px -5px rgba(17, 0, 255, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

.menu-toggle {
    width: 48px;
    height: 48px;
    background: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--accent-indigo);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 140px 0 60px;
}

.hero-badge {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    margin-bottom: 40px;
}

.hero-main-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: start;
    text-align: left;
}

.hero h1 {
    font-size: clamp(40px, 6vw, 84px);
    margin: 0;
    line-height: 1;
}

.hero p {
    font-size: 20px;
    color: var(--text-dark);
    line-height: 1.4;
    margin: 0;
    max-width: 480px;
}

.hero-visual {
    margin-top: 40px;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.hero-visual img, .hero-visual video {
    width: 100%;
    height: auto;
    display: block;
}

/* Portfolio Section */
.portfolio {
    padding: 100px 0;
}

.portfolio-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-indicator {
    width: 3px;
    height: 24px;
    background: var(--accent-indigo);
}

.header-left h2 {
    font-size: 14px;
    letter-spacing: 0.15em;
    color: var(--text-dark);
    font-weight: 700;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.btn-recent {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 8px 8px 8px 24px;
    border: 1px solid #eee;
    border-radius: 100px;
    text-decoration: none;
    color: var(--accent-indigo);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.btn-recent:hover {
    border-color: var(--accent-indigo);
    background: rgba(0, 26, 255, 0.02);
}

.arrow-circle {
    width: 38px;
    height: 38px;
    background: var(--accent-indigo);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.arrow-circle svg {
    width: 18px;
    height: 18px;
}

.nav-arrows {
    display: flex;
    gap: 12px;
}

.nav-arrow {
    width: 48px;
    height: 48px;
    border: 1px solid #eee;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--accent-indigo);
    transition: all 0.3s ease;
}

.nav-arrow:hover {
    border-color: var(--accent-indigo);
    transform: scale(1.05);
}

.nav-arrow svg {
    width: 20px;
    height: 20px;
}

.portfolio-slider {
    display: flex;
    gap: 24px;
    padding: 20px 40px 60px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.portfolio-slider::-webkit-scrollbar {
    display: none;
}

.portfolio-card {
    min-width: 500px;
    height: 650px;
    border-radius: 50px;
    color: white;
    scroll-snap-align: start;
    transition: transform 0.6s cubic-bezier(0.2, 1, 0.2, 1);
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

.portfolio-card:hover {
    transform: scale(0.985) translateY(-5px);
}

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

.card-content h3 {
    font-size: 42px;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.card-content p {
    font-size: 17px;
    max-width: 400px;
    opacity: 0.8;
    line-height: 1.4;
}

.card-content img {
    width: 100%;
    height: auto;
    display: block;
}

.mockup-parallax {
    margin-top: auto;
    position: relative;
    width: 100%;
    height: auto;
    transform: translate3d(0, 0, 0);
    transition: transform 0.2s cubic-bezier(0.2, 1, 0.2, 1);
}

.card-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 2;
}

.portfolio-card:hover .card-video {
    opacity: 1;
}

.scroll-container {
    margin-top: 40px;
    margin-bottom: 100px;
}

.scroll-track {
    width: 100%;
    height: 2px;
    background: #f1f5f9;
    position: relative;
    border-radius: 2px;
}

.scroll-thumb {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100px;
    background: var(--accent-indigo);
    border-radius: 2px;
    transition: left 0.1s ease-out;
}

/* Services Section */
.services {
    background-color: var(--bg-deep);
    color: var(--text-light);
    padding: 120px 0;
    border-radius: 60px;
    margin: 40px 20px;
}

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

.service-item h3 {
    font-size: 28px;
    margin-bottom: 24px;
}

.service-item p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .portfolio-card {
        min-width: 350px;
        height: 500px;
    }
    .hero h1 {
        font-size: 56px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero {
        padding: 140px 0 60px;
    }
    .hero-visual {
        flex-direction: column;
        align-items: center;
    }
    .mockup {
        width: 240px;
        height: 500px;
    }
}
