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

:root {
    --primary: #543286;
    --primary-dark: #3d2463;
    --black: #000000;
    --white: #ffffff;
    --gray-100: #f8f8f8;
    --gray-200: #e8e8e8;
    --gray-300: #d0d0d0;
    --gray-400: #888888;
    --gray-500: #666666;
    --gray-600: #444444;
    --gray-700: #222222;
    --gray-800: #111111;
    --gray-900: #050505;
    
    --font-primary: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --ease: cubic-bezier(0.23, 1, 0.32, 1);
    --ease-out: cubic-bezier(0.165, 0.84, 0.44, 1);
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    color: var(--gray-800);
    background: var(--white);
    overflow-x: hidden;
    cursor: none;
}

.cursor {
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
    mix-blend-mode: difference;
}

.cursor-follower {
    width: 30px;
    height: 30px;
    border: 1px solid var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: all 0.3s ease;
    opacity: 0.5;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 2rem 0;
    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(0);
    transition: all 0.3s var(--ease);
}

.nav.scrolled {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
    transition: transform 0.3s var(--ease);
}

.nav-logo-text {
    font-size: 1.125rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    color: var(--black);
    transition: color 0.3s var(--ease);
}

.nav-logo:hover .logo-img {
    transform: scale(1.05);
}

.nav-logo:hover .nav-logo-text {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    gap: 3rem;
}

.nav-link {
    color: var(--gray-700);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    position: relative;
    transition: color 0.3s var(--ease);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: width 0.3s var(--ease);
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 8rem 4rem 4rem;
    position: relative;
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-100) 100%);
}

.hero-container {
    max-width: 1400px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    align-items: center;
}

.hero-title {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
}

.hero-title .word {
    display: block;
    overflow: visible;
    padding: 0.1em 0;
}

.hero-title .word:nth-child(2) {
    color: var(--primary);
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--gray-600);
    max-width: 500px;
    font-weight: 400;
}

.hero-visual {
    position: relative;
    height: 600px;
}

.floating-card {
    position: absolute;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.card-1 {
    width: 280px;
    height: 380px;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    animation: float1 20s infinite ease-in-out;
}

.card-2 {
    width: 240px;
    height: 320px;
    top: 100px;
    right: 50px;
    animation: float2 18s infinite ease-in-out;
}

.card-3 {
    width: 200px;
    height: 200px;
    bottom: 20px;
    left: 100px;
    background: var(--gray-100);
    animation: float3 22s infinite ease-in-out;
}

@keyframes float1 {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes float2 {
    0%, 100% { transform: translateY(0) rotate(5deg); }
    50% { transform: translateY(-30px) rotate(-5deg); }
}

@keyframes float3 {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    50% { transform: translateY(-15px) rotate(3deg); }
}

.scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--gray-400);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 3px;
    height: 8px;
    background: var(--gray-400);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}

/* About Section */
.about {
    padding: 8rem 4rem;
    background: var(--white);
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
}

.about-header {
    max-width: 800px;
    margin-bottom: 5rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--gray-600);
    font-weight: 400;
}

.capabilities {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}

.capability {
    padding: 2rem 0;
    border-top: 1px solid var(--gray-200);
}

.capability-number {
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.capability-title {
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.capability-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-600);
}

/* Portfolio Section */
.portfolio {
    padding: 8rem 4rem;
    background: var(--gray-900);
    color: var(--white);
}

.portfolio-container {
    max-width: 1400px;
    margin: 0 auto;
}

.portfolio-header {
    margin-bottom: 4rem;
}

.portfolio-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin: 2rem auto 0;
    font-weight: 400;
}

.section-title.dark {
    color: var(--white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 900px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.portfolio-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 3rem;
    transition: all 0.3s var(--ease);
    cursor: pointer;
}

.portfolio-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.portfolio-category {
    font-size: 0.875rem;
    color: #C6B3F0;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 1rem;
}

.portfolio-title {
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.portfolio-description {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

.portfolio-stats {
    display: flex;
    gap: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

/* Vision Section */
.vision {
    padding: 8rem 4rem;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--white) 100%);
}

.vision-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.vision-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.vision-text {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.vision-cta {
    margin-top: 3rem;
    padding: 3rem;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    position: relative;
    backdrop-filter: blur(10px);
}

.vision-highlight {
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
}

.vision-subtext {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.vision-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid #fff;
}

.vision-button:hover {
    transform: translateY(-3px);
    background: #fff;
    color: #000;
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.2);
}

/* Contact Section */
.contact {
    padding: 8rem 4rem;
    background: var(--gray-900);
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.contact-description {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--gray-400);
    margin-bottom: 3rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
    text-align: left;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
}

.contact-icon {
    width: 24px;
    height: 24px;
    color: #C6B3F0;
    flex-shrink: 0;
    margin-top: 5px;
}

.contact-info h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #C6B3F0;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-info p {
    font-size: 1rem;
    color: var(--gray-400);
    line-height: 1.6;
}

/* Contact Form */
.contact-form {
    margin-top: 3rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: 12px;
    color: var(--gray-900);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s var(--ease);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--gray-500);
}

.contact-form select {
    color: var(--gray-500);
    cursor: pointer;
}

.contact-form select option {
    background: var(--white);
    color: var(--gray-900);
}

.contact-form select:required:invalid {
    color: var(--gray-500);
}

.contact-form select:valid {
    color: var(--gray-900);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(84, 50, 134, 0.1);
}

.contact-form textarea {
    resize: vertical;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 2.5rem;
    margin-top: 2rem;
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    letter-spacing: 0.02em;
}

.contact-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(84, 50, 134, 0.3);
}

.contact-button .arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.3s var(--ease);
}

.contact-button:hover .arrow {
    transform: translateX(5px);
}

/* Footer */
.footer {
    padding: 4rem 4rem 2rem;
    background: var(--gray-900);
    color: var(--white);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-company-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.footer-logo {
    height: 32px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-text {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.footer-address {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

.footer-contact {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

.footer-location {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links {
    display: flex;
    gap: 3rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    transition: color 0.3s var(--ease);
}

.footer-link:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0 2rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .hero-visual {
        height: 400px;
    }
    
    .capabilities {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .metrics-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
    
    .contact-info {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
        max-width: 700px;
    }
}

@media (max-width: 768px) {
    .cursor,
    .cursor-follower {
        display: none;
    }
    
    body {
        cursor: auto;
    }
    
    .hero {
        padding: 6rem 2rem 3rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .nav-menu {
        gap: 2rem;
    }
    
    .about,
    .portfolio,
    .contact,
    .vision {
        padding: 4rem 2rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 400px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-links {
        gap: 1.5rem;
    }
}