* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: #1e293b;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

p, li, span, div {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 3rem;
    align-items: center;
    position: relative;
}

nav a {
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.5rem 0.75rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    overflow: hidden;
}

nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.2), transparent);
    transition: left 0.6s ease;
}

nav a:hover {
    color: #1e293b;
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.15);
}

nav a:hover::before {
    left: 100%;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav a:hover::after {
    width: 80%;
}

nav a.active {
    color: #1e293b;
    border-color: rgba(59, 130, 246, 0.6);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(139, 92, 246, 0.15));
    box-shadow: 0 2px 15px rgba(59, 130, 246, 0.2);
}

nav a.active::after {
    width: 80%;
}

main {
    padding-top: 80px;
    min-height: calc(100vh - 80px);
}

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(148, 163, 184, 0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 0;
}

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

.hero-graphics {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(90deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
    75% {
        transform: translateY(-10px) rotate(270deg);
    }
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.06), rgba(139, 92, 246, 0.06));
    backdrop-filter: blur(6px);
    border: 1px solid rgba(148, 163, 184, 0.15);
    animation: float 3s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    width: 30px;
    height: 30px;
    top: 15%;
    left: 8%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    width: 25px;
    height: 25px;
    top: 60%;
    right: 12%;
    animation-delay: 0.6s;
}

.floating-element:nth-child(3) {
    width: 20px;
    height: 20px;
    top: 25%;
    right: 25%;
    animation-delay: 1.2s;
}

.floating-element:nth-child(4) {
    width: 22px;
    height: 22px;
    top: 70%;
    left: 18%;
    animation-delay: 0.3s;
}

.floating-element:nth-child(5) {
    width: 18px;
    height: 18px;
    top: 10%;
    right: 35%;
    animation-delay: 0.9s;
}

.floating-element:nth-child(6) {
    width: 28px;
    height: 28px;
    top: 45%;
    left: 65%;
    animation-delay: 1.5s;
}

.floating-element:nth-child(7) {
    width: 15px;
    height: 15px;
    top: 35%;
    left: 25%;
    animation-delay: 1.8s;
}

.floating-element:nth-child(8) {
    width: 24px;
    height: 24px;
    top: 80%;
    right: 20%;
    animation-delay: 2.1s;
}

.page-graphics {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
}

.page-graphics .floating-element {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.04), rgba(139, 92, 246, 0.04));
    backdrop-filter: blur(4px);
    border: 1px solid rgba(148, 163, 184, 0.1);
    animation: float 3s ease-in-out infinite;
}

.page-graphics .floating-element:nth-child(1) {
    width: 20px;
    height: 20px;
    top: 12%;
    left: 6%;
    animation-delay: 0s;
}

.page-graphics .floating-element:nth-child(2) {
    width: 18px;
    height: 18px;
    top: 50%;
    right: 10%;
    animation-delay: 0.5s;
}

.page-graphics .floating-element:nth-child(3) {
    width: 15px;
    height: 15px;
    top: 20%;
    right: 18%;
    animation-delay: 1s;
}

.page-graphics .floating-element:nth-child(4) {
    width: 16px;
    height: 16px;
    top: 60%;
    left: 12%;
    animation-delay: 0.3s;
}

.page-graphics .floating-element:nth-child(5) {
    width: 14px;
    height: 14px;
    top: 8%;
    right: 25%;
    animation-delay: 0.8s;
}

.page-graphics .floating-element:nth-child(6) {
    width: 19px;
    height: 19px;
    top: 40%;
    left: 50%;
    animation-delay: 1.3s;
}

.page-graphics .floating-element:nth-child(7) {
    width: 12px;
    height: 12px;
    top: 30%;
    left: 20%;
    animation-delay: 1.6s;
}

.page-graphics .floating-element:nth-child(8) {
    width: 17px;
    height: 17px;
    top: 75%;
    right: 15%;
    animation-delay: 1.9s;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #1e293b 0%, #3b82f6 50%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    max-width: 1200px;
    line-height: 1.1;
}

.hero .tagline {
    font-size: 1.25rem;
    color: #64748b;
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    font-weight: 500;
    line-height: 1.6;
}

.divisions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.division-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 16px;
    padding: 3rem;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.division-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.division-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(59, 130, 246, 0.05), transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.division-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

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

.division-card:hover::after {
opacity: 1;
}

.card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.division-card:hover .card-image img {
    transform: scale(1.05);
}

.division-card h3 {
font-size: 1.8rem;
font-weight: 700;
margin-bottom: 1rem;
background: linear-gradient(135deg, #1e293b 0%, #3b82f6 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
letter-spacing: -0.01em;
}

.division-card p {
color: #475569;
margin: 0 0 2rem 0;
line-height: 1.7;
}

.division-card ul {
list-style: none;
padding: 0;
margin: 0;
}

.division-card ul li {
color: #475569;
font-size: 0.95rem;
margin-bottom: 0.8rem;
padding-left: 1.5rem;
position: relative;
line-height: 1.6;
}

.division-card ul li::before {
content: '';
position: absolute;
left: 0;
top: 0.6rem;
width: 6px;
height: 6px;
background: linear-gradient(135deg, #3b82f6, #8b5cf6);
border-radius: 50%;
box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

.division-link {
display: inline-flex;
align-items: center;
gap: 0.5rem;
color: #3b82f6;
text-decoration: none;
font-weight: 600;
transition: all 0.3s ease;
position: relative;
padding: 0.5rem 0;
}

.division-link::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 0;
height: 2px;
background: linear-gradient(90deg, #3b82f6, #8b5cf6);
transition: width 0.3s ease;
}

.division-link:hover {
color: #1e40af;
transform: translateX(5px);
}

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

.cta-section {
text-align: center;
padding: 6rem 2rem;
background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
position: relative;
overflow: hidden;
}

.cta-section::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-image: 
radial-gradient(circle at 70% 30%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
radial-gradient(circle at 30% 70%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
z-index: 0;
}

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

.cta-section h2 {
font-size: 3rem;
font-weight: 800;
margin-bottom: 1.5rem;
background: linear-gradient(135deg, #1e293b 0%, #3b82f6 50%, #8b5cf6 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
letter-spacing: -0.02em;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
    min-height: 48px;
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

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

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(59, 130, 246, 0.4);
}

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

footer {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    color: #64748b;
    font-size: 0.9rem;
    backdrop-filter: blur(20px);
}

@media (max-width: 768px) {
    nav {
        padding: 1rem 2rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .nav-links {
        gap: 0.3rem;
        flex-wrap: nowrap;
        justify-content: center;
        max-width: 100%;
        display: flex;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    nav a {
        font-size: 0.65rem;
        padding: 0.3rem 0.4rem;
        border-radius: 4px;
        text-align: center;
        min-height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    nav a.active {
        border-color: rgba(59, 130, 246, 0.5);
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(139, 92, 246, 0.15));
        box-shadow: 0 2px 10px rgba(59, 130, 246, 0.3);
    }
    
    main {
        padding-top: 140px;
    }
    
    .hero {
        padding: 2rem 1rem;
        min-height: auto;
    }
    
    .hero-graphics {
        display: none;
    }
    
    .page-graphics {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.1;
    }
    
    .hero .tagline {
        font-size: 1rem;
    }
    
    .divisions {
        grid-template-columns: 1fr;
        padding: 2rem 1rem;
        gap: 1.5rem;
    }
    
    .division-card {
        padding: 2rem 1.5rem;
    }
    
    .card-image {
        height: 180px;
    }
    
    .division-card::before {
        opacity: 0.5;
    }
    
    .division-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    }
    
    .division-card h3 {
        font-size: 1.3rem;
    }
    
    .division-card p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .division-card ul li {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
    }
    
    .cta-section {
        padding: 3rem 1rem;
    }
    
    .cta-section h2 {
        font-size: 1.8rem;
    }
    
    .cta-button {
        padding: 0.9rem 2rem;
        font-size: 0.95rem;
    }
    
    footer {
        padding: 1.5rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    nav {
        padding: 1rem;
    }
    
    .logo {
        font-size: 1.1rem;
    }
    
    .nav-links {
        gap: 0.2rem;
        flex-wrap: nowrap;
        justify-content: center;
        max-width: 100%;
        display: flex;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    nav a {
        font-size: 0.6rem;
        padding: 0.25rem 0.3rem;
        border-radius: 3px;
        text-align: center;
        min-height: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    nav a.active {
        border-color: rgba(59, 130, 246, 0.4);
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(139, 92, 246, 0.12));
        box-shadow: 0 1px 8px rgba(59, 130, 246, 0.25);
    }
    
    main {
        padding-top: 160px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero .tagline {
        font-size: 0.9rem;
    }
    
    .hero-graphics {
        display: none;
    }
    
    .page-graphics {
        display: none;
    }
    
    .card-image {
        height: 160px;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        min-height: 44px;
    }
    
    .divisions {
        padding: 1.5rem 0.75rem;
        gap: 1rem;
    }
    
    .division-card {
        padding: 1.5rem 1rem;
    }
    
    .division-card::before {
        opacity: 0.3;
    }
    
    .division-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    }
    
    .division-card h3 {
        font-size: 1.2rem;
    }
    
    .division-card p {
        font-size: 0.9rem;
    }
    
    .division-card ul li {
        font-size: 0.85rem;
    }
    
    .cta-section {
        padding: 2rem 0.75rem;
    }
    
    .cta-section h2 {
        font-size: 1.5rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}
