@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: radial-gradient(circle at center, #0D0D0D 0%, #1C1C1C 100%);
    color: #FFFFFF;
    line-height: 1.8;
    overflow-x: hidden;
    perspective: 1500px;
    animation: bodyFadeIn 3s ease-in-out;
}

@keyframes bodyFadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

::selection {
    color: #FFFFFF;
    background: #FF4500;
    text-shadow: 0 0 12px #000;
}

.parallax-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://source.unsplash.com/1600x900/?technology,futuristic') center center/cover no-repeat;
    filter: blur(15px) brightness(0.4) contrast(1.4);
    z-index: -1;
    transform: scale(1.3) rotateZ(3deg);
    animation: moveBackground 12s ease-in-out infinite alternate;
}

@keyframes moveBackground {
    0% { transform: scale(1.3) rotateZ(3deg) translateY(0); }
    100% { transform: scale(1.3) rotateZ(3deg) translateY(-50px); }
}

.container {
    width: 80%;
    max-width: 1400px;
    margin: 150px auto;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.35);
    overflow: hidden;
    animation: containerAnimation 3s ease-in-out;
}

@keyframes containerAnimation {
    0% { opacity: 0; transform: scale(0.6) rotateX(-15deg); }
    100% { opacity: 1; transform: scale(1) rotateX(0); }
}

.header {
    text-align: center;
    padding: 5rem 3rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.1));
    border-bottom: 2px solid rgba(255, 255, 255, 0.4);
    animation: headerAnimation 3s ease-in-out;
}

@keyframes headerAnimation {
    0% { opacity: 0; transform: rotateX(-100deg) rotateY(-15deg); }
    100% { opacity: 1; transform: rotateX(0) rotateY(0); }
}

.title {
    font-size: 6rem;
    color: #FFFFFF;
    text-shadow: 10px 10px 30px rgba(0, 0, 0, 1);
    background: linear-gradient(135deg, #9B59B6, #3498DB, #E74C3C, #F39C12);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textGlow 3s infinite alternate, titleAnimation 3.5s ease-in-out;
}

@keyframes textGlow {
    from { text-shadow: 10px 10px 35px rgba(155, 89, 182, 1); }
    to { text-shadow: 10px 10px 35px rgba(243, 156, 18, 1); }
}

@keyframes titleAnimation {
    0% { transform: scale(0.4) rotateY(-900deg) rotateX(-450deg); }
    100% { transform: scale(1) rotateY(0) rotateX(0); }
}

.subtitle {
    font-size: 2rem;
    color: #E0E0E0;
    text-shadow: 5px 5px 15px rgba(0, 0, 0, 0.8);
    margin-top: 2rem;
    animation: subtitleAnimation 3s ease-in-out;
}

@keyframes subtitleAnimation {
    0% { opacity: 0; transform: translateX(-200px); }
    100% { opacity: 1; transform: translateX(0); }
}

.content {
    padding: 5rem 4.5rem;
    transform-style: preserve-3d;
    animation: contentAnimation 3s ease-in-out;
}

@keyframes contentAnimation {
    0% { opacity: 0; transform: rotateY(-150deg) translateZ(-150px); }
    100% { opacity: 1; transform: rotateY(0) translateZ(0); }
}

.api-endpoint, .documentation, .features, .support {
    background: rgba(0, 0, 0, 0.8);
    padding: 3.5rem;
    border-radius: 25px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin-bottom: 4rem;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    animation: sectionAnimation 3s ease-in-out;
}

@keyframes sectionAnimation {
    0% { opacity: 0; transform: translateY(100px) rotateX(150deg); }
    100% { opacity: 1; transform: translateY(0) rotateX(0); }
}

.api-endpoint:hover, .documentation:hover, .features:hover, .support:hover {
    transform: translateY(-20px) scale(1.15);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 1);
}

.api-endpoint::before, .documentation::before, .features::before, .support::before {
    content: '';
    position: absolute;
    top: -60%;
    left: -60%;
    width: 260%;
    height: 260%;
    background: conic-gradient(transparent, rgba(231, 76, 60, 1), transparent);
    z-index: -1;
    animation: rotateBg 4s linear infinite;
}

.documentation::before {
    background: conic-gradient(transparent, rgba(52, 152, 219, 1), transparent);
}

.features::before {
    background: conic-gradient(transparent, rgba(46, 204, 113, 1), transparent);
}

.support::before {
    background: conic-gradient(transparent, rgba(241, 196, 15, 1), transparent);
}

@keyframes rotateBg {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.api-endpoint h2, .documentation h2, .features h2, .support h2 {
    font-size: 3.5rem;
    margin-bottom: 2.5rem;
    color: #E74C3C;
    text-transform: uppercase;
    letter-spacing: 3px;
    animation: textPopIn 2s ease-out;
}

.documentation h2 {
    color: #3498DB;
}

.features h2 {
    color: #2ECC71;
}

.support h2 {
    color: #F1C40F;
}

@keyframes textPopIn {
    0% { opacity: 0; transform: scale(0.3); }
    100% { opacity: 1; transform: scale(1); }
}

.endpoint-info {
    font-size: 1.5rem;
    line-height: 2.1;
    animation: fadeInUp 2s ease-out;
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(35px); }
    100% { opacity: 1; transform: translateY(0); }
}

.copy-btn {
    margin-top: 3rem;
    padding: 1.2rem 4rem;
    background: linear-gradient(135deg, #E74C3C, #C0392B);
    color: #FFFFFF;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: transform 0.4s ease, background 0.4s ease;
    box-shadow: 0 15px 40px rgba(231, 76, 60, 0.7);
    animation: btnHover 2s ease infinite alternate;
}

@keyframes btnHover {
    from { transform: translateY(0); }
    to { transform: translateY(-12px); }
}

.btn {
    display: inline
    -block;
    padding: 1.2rem 4rem;
    background: linear-gradient(135deg, #3498DB, #2980B9);
    color: #FFFFFF;
    border-radius: 15px;
    text-decoration: none;
    transition: transform 0.4s ease, background 0.4s ease;
    box-shadow: 0 15px 40px rgba(52, 152, 219, 0.7);
    animation: btnHover 2s ease infinite alternate;
    }
    
    .footer {
    text-align: center;
    padding: 3.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.1));
    border-top: 2px solid rgba(255, 255, 255, 0.4);
    animation: fadeInUp 2.5s ease-out 0.5s both;
    }
    
    .footer p {
    margin-bottom: 2rem;
    font-size: 1.5rem;
    color: #B0B0B0;
    animation: fadeInUp 2s ease-out 0.7s both;
    }
    
    .social-icons a {
    color: #B0B0B0;
    margin: 0 2.5rem;
    font-size: 2.5rem;
    transition: color 0.4s ease, transform 0.4s ease;
    animation: fadeInUp 2s ease-out 1.2s both;
    }
    
    .social-icons a
    {
    color: #FFFFFF;
    transform: scale(1.5) rotate(-20deg);
    }