
/* Global Styles */

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

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Header */

header {
    text-align: center;
    padding: 60px 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

header h1 {
    font-size: 3em;
    font-weight: bold;
    letter-spacing: 2px;
    background: linear-gradient(90deg, #00c6ff, #0072ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: aurora-move 15s linear infinite;
}

/* Navigation */

nav {
    margin-top: 20px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: #ffffff;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #00c6ff;
}

/* Main Content */

main {
    padding: 60px 0;
}

.section {
    margin-bottom: 60px;
}

.section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    background: linear-gradient(to right, #00c6ff, #0072ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section p {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: #ddd;
}

.section img {
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}

.code-block {
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 10px;
    overflow-x: auto;
    margin-bottom: 20px;
}

.code-block pre {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1em;
    color: #00ffea;
}

.code-block code {
    display: block;
}

/* Example Data Display */

.example-data {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 60px;
}

.example-data h2 {
    font-size: 2em;
    margin-bottom: 20px;
    border-bottom: 2px solid #00c6ff;
    display: inline-block;
    padding-bottom: 10px;
}

.example-data ul {
    list-style: disc inside;
}

.example-data ul li {
    margin-bottom: 10px;
    color: #ccc;
}

/* Interactive Elements */

button, .btn {
    background: linear-gradient(45deg, #00c6ff, #0072ff);
    border: none;
    padding: 15px 30px;
    color: #ffffff;
    font-size: 1em;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 198, 255, 0.4);
}

button:hover, .btn:hover {
    background: linear-gradient(45deg, #0072ff, #00c6ff);
    transform: scale(1.05);
}

/* Footer */

footer {
    text-align: center;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

footer p {
    color: #bbb;
    font-size: 0.9em;
}

/* Animations */

@keyframes aurora-move {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animated {
    animation: fadeIn 2s ease-in-out;
}

/* Glassmorphism */

.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Responsive Design */

@media (max-width: 1440px) {
    header h1 {
        font-size: 2.5em;
    }

    .section h2 {
        font-size: 2em;
    }
}

@media (max-width: 1200px) {
    .container {
        width: 85%;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 10px 0;
    }
}

@media (max-width: 1024px) {
    .section {
        margin-bottom: 40px;
    }

    .section h2 {
        font-size: 1.8em;
    }

    button, .btn {
        padding: 12px 25px;
    }
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }

    .section h2 {
        font-size: 1.5em;
    }

    button, .btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .example-data {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .container {
        width: 95%;
        padding: 30px 10px;
    }

    nav ul {
        flex-direction: column;
    }

    .section h2 {
        font-size: 1.3em;
    }

    .code-block pre {
        font-size: 0.9em;
    }

    .example-data h2 {
        font-size: 1.5em;
    }

    .example-data ul li {
        font-size: 0.9em;
    }
}

@media (max-width: 320px) {
    header h1 {
        font-size: 1.5em;
    }

    .section h2 {
        font-size: 1.2em;
    }

    .code-block pre {
        font-size: 0.8em;
    }

    .example-data {
        padding: 20px;
    }
}

/* Links */

a {
    color: #00c6ff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Images */

img.decorative {
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
    object-fit: cover;
}

/* Tables */

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

table th, table td {
    border: 1px solid #444;
    padding: 10px;
    text-align: left;
}

table th {
    background: rgba(0, 198, 255, 0.2);
}

table td {
    background: rgba(255, 255, 255, 0.1);
}

/* Code Highlights */

code {
    background: #1e1e1e;
    padding: 2px 6px;
    border-radius: 4px;
}

/* Tooltip */

.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%; 
    left: 50%; 
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(45deg, #00c6ff, #0072ff);
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.btn-primary:hover {
    background: linear-gradient(45deg, #0072ff, #00c6ff);
    transform: scale(1.05);
}

/* Additional Animations */

@keyframes data-flow {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.data-flow-animation {
    animation: data-flow 10s linear infinite;
}


