/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    background: linear-gradient(135deg, #0c0c0c 0%, #1a1a2e 25%, #16213e 50%, #0f3460 75%, #533483 100%);
    position: relative;
}

/* Animated background */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(0, 191, 255, 0.1), rgba(30, 144, 255, 0.1));
    animation: float 20s infinite linear;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 10%;
    animation-delay: -5s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    top: 80%;
    left: 20%;
    animation-delay: -10s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    top: 10%;
    right: 30%;
    animation-delay: -15s;
}

.shape-5 {
    width: 140px;
    height: 140px;
    top: 40%;
    left: 50%;
    animation-delay: -7s;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.7;
    }
    33% {
        transform: translateY(-30px) rotate(120deg);
        opacity: 0.4;
    }
    66% {
        transform: translateY(30px) rotate(240deg);
        opacity: 0.7;
    }
    100% {
        transform: translateY(0px) rotate(360deg);
        opacity: 0.7;
    }
}

/* Glass morphism effects */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.glass-button {
    background: rgba(0, 191, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 191, 255, 0.2);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 20px rgba(0, 191, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Container and layout */
.container {
    max-width: 480px;
    margin: 0 auto;
    padding: 2rem 1rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
}

/* Profile section */
.profile-section {
    text-align: center;
    padding: 3rem 2rem;
    animation: slideInUp 0.8s ease-out;
}

.logo-container {
    position: relative;
    display: inline-block;
    margin-bottom: 2.5rem;
}

.logo-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 140px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    border: 2px solid rgba(0, 191, 255, 0.3);
    box-shadow: 
        0 0 40px rgba(0, 191, 255, 0.4),
        0 0 80px rgba(0, 191, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    animation: pulse-glow 3s ease-in-out infinite;
}

.company-logo {
    width: 70%;
    height: auto;
    filter: brightness(1.2) drop-shadow(0 4px 8px rgba(0, 191, 255, 0.3));
    transition: all 0.3s ease;
}

.logo-glow {
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border-radius: 35px;
    background: linear-gradient(45deg, transparent, rgba(0, 191, 255, 0.3), transparent);
    animation: rotate 4s linear infinite;
    z-index: -1;
}

.logo-wrapper:hover .company-logo {
    transform: scale(1.05);
    filter: brightness(1.4) drop-shadow(0 6px 12px rgba(0, 191, 255, 0.5));
}

.company-name {
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 191, 255, 0.3);
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff, #00BFFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.company-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    font-weight: 500;
    line-height: 1.6;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.company-tagline {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    letter-spacing: 0.5px;
    line-height: 1.5;
    margin-bottom: 2rem;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
}

.company-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(0, 191, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(0, 191, 255, 0.1);
    backdrop-filter: blur(10px);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.stat-number {
    font-size: 1.4rem;
    font-weight: 800;
    color: #00BFFF;
    text-shadow: 0 0 10px rgba(0, 191, 255, 0.5);
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-divider {
    width: 1px;
    height: 30px;
    background: linear-gradient(to bottom, transparent, rgba(0, 191, 255, 0.5), transparent);
}

/* Links section */
.links-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    animation: slideInUp 0.8s ease-out 0.2s both;
}

.link-button {
    display: block;
    text-decoration: none;
    padding: 1.2rem 1.5rem;
    position: relative;
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.button-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.icon {
    font-size: 1.3rem;
    color: #00BFFF;
    transition: all 0.3s ease;
}

.button-text {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.external-icon {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.button-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    background: linear-gradient(45deg, rgba(0, 191, 255, 0.2), rgba(30, 144, 255, 0.2));
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 1;
}

/* Hover effects */
.link-button:hover {
    transform: translateY(-4px) scale(1.02);
    background: rgba(0, 191, 255, 0.15);
    border-color: rgba(0, 191, 255, 0.4);
    box-shadow: 
        0 12px 40px rgba(0, 191, 255, 0.25),
        0 0 60px rgba(0, 191, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.link-button:hover .button-glow {
    opacity: 1;
    animation: glow-pulse 2s ease-in-out infinite;
}

.link-button:hover .icon {
    color: #ffffff;
    transform: scale(1.1);
}

.link-button:hover .button-text {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(0, 191, 255, 0.5);
}

.link-button:hover .external-icon {
    color: #ffffff;
    transform: translateX(3px);
}

.link-button:active {
    transform: translateY(-2px) scale(1.01);
}

/* Footer */
.footer {
    text-align: center;
    padding: 1.5rem;
    animation: slideInUp 0.8s ease-out 0.4s both;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.pulse-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00BFFF;
    animation: pulse-dot 2s ease-in-out infinite;
}

.dot:nth-child(2) {
    animation-delay: 0.5s;
}

.dot:nth-child(3) {
    animation-delay: 1s;
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 
            0 0 40px rgba(0, 191, 255, 0.4),
            0 0 80px rgba(0, 191, 255, 0.2);
    }
    50% {
        box-shadow: 
            0 0 60px rgba(0, 191, 255, 0.6),
            0 0 120px rgba(0, 191, 255, 0.3);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes glow-pulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Responsive design */
@media (max-width: 480px) {
    .container {
        padding: 1.5rem 1rem;
        gap: 1.5rem;
    }
    
    .profile-section {
        padding: 2.5rem 1.5rem;
    }
    
    .logo-wrapper {
        width: 120px;
        height: 120px;
    }
    
    .company-logo {
        width: 65%;
    }
    
    .company-name {
        font-size: 2.2rem;
    }
    
    .company-description {
        font-size: 1.1rem;
    }
    
    .company-tagline {
        font-size: 0.9rem;
    }
    
    .company-stats {
        flex-direction: column;
        gap: 1rem;
        padding: 1.2rem;
    }
    
    .stat-divider {
        width: 30px;
        height: 1px;
        background: linear-gradient(to right, transparent, rgba(0, 191, 255, 0.5), transparent);
    }
    
    .stat-number {
        font-size: 1.2rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .link-button {
        padding: 1rem 1.2rem;
    }
    
    .button-text {
        font-size: 0.9rem;
    }
    
    .icon {
        font-size: 1.2rem;
    }
}

@media (max-width: 360px) {
    .company-name {
        font-size: 2rem;
    }
    
    .company-description {
        font-size: 1rem;
    }
    
    .company-tagline {
        font-size: 0.85rem;
    }
    
    .logo-wrapper {
        width: 100px;
        height: 100px;
    }
    
    .button-content {
        gap: 0.8rem;
    }
    
    .button-text {
        font-size: 0.85rem;
        letter-spacing: 0.5px;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .glass-card {
        background: rgba(255, 255, 255, 0.1);
        border: 2px solid rgba(255, 255, 255, 0.3);
    }
    
    .glass-button {
        background: rgba(0, 191, 255, 0.2);
        border: 2px solid rgba(0, 191, 255, 0.4);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .floating-shapes {
        display: none;
    }
}