:root {
    --bg-color: #0f0c29;
    --text-color: #ffffff;
    --primary-gradient: linear-gradient(to right, #30142b, #24243e);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --highlight: #00d2ff;
    --cursor-size: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
    /* Hide default cursor */
}

body {
    font-family: 'Outfit', sans-serif;
    min-height: 100vh;
    background: var(--bg-color);
    background: linear-gradient(45deg, #0f0c29, #302b63, #24243e);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
    padding: 2rem 0;
}

/* Floating orbs background effect */
body::before,
body::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

body::before {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.4), transparent);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

body::after {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.4), transparent);
    bottom: -100px;
    right: -100px;
    animation-delay: 10s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Custom Cursor */
.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--highlight);
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-outline {
    width: var(--cursor-size);
    height: var(--cursor-size);
    border: 2px solid var(--highlight);
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9998;
    pointer-events: none;
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

/* Glass Container */
.glass-container {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    width: 90%;
    max-width: 1000px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    text-align: center;
    transition: transform 0.3s ease;
    position: relative;
    margin: 2rem 0;
}

/* Navigation Buttons */
.nav-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

/* Simple Button Styles */
.btn {
    padding: 0.75rem 1.75rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
    color: #fff;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

/* Button Color Variants */
.btn-cyan {
    border-color: #00d2ff;
    color: #00d2ff;
}

.btn-cyan:hover {
    background: rgba(0, 210, 255, 0.15);
}

.btn-pink {
    border-color: #ff006e;
    color: #ff006e;
}

.btn-pink:hover {
    background: rgba(255, 0, 110, 0.15);
}

.btn-green {
    border-color: #00ff88;
    color: #00ff88;
}

.btn-green:hover {
    background: rgba(0, 255, 136, 0.15);
}

header {
    margin-bottom: 3rem;
    position: relative;
}

.status-indicator {
    width: 12px;
    height: 12px;
    background-color: #00ff88;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px #00ff88;
    margin-bottom: 1rem;
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {

    0%,
    100% {
        box-shadow: 0 0 10px #00ff88;
    }

    50% {
        box-shadow: 0 0 20px #00ff88, 0 0 30px #00ff88;
    }
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 0.5rem;
}

.highlight {
    color: var(--highlight);
    text-shadow: 0 0 20px rgba(0, 210, 255, 0.5);
}

.subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hostname-display {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 0.5rem;
    letter-spacing: 0.5px;
}

/* Grid Menu */
.grid-menu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 210, 255, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(0, 210, 255, 0.2);
}

/* Hover effect on card - expanding overlay */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 210, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover::before {
    opacity: 1;
}

.card h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    z-index: 1;
}

.card p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    z-index: 1;
}

.card-icon {
    font-size: 2.5rem;
    margin-top: 1rem;
    opacity: 0.8;
    z-index: 1;
}

footer {
    margin-top: 3rem;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
}

/* Hide custom cursor on touch devices */
@media (hover: none) and (pointer: coarse) {
    * {
        cursor: auto !important;
    }

    .cursor-dot,
    .cursor-outline {
        display: none;
    }
}

/* Tablet and below */
@media (max-width: 1024px) {
    .glass-container {
        padding: 2rem;
        width: 92%;
    }

    h1 {
        font-size: 3rem;
    }

    .grid-menu {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 0.9rem;
    }

    .glass-container {
        padding: 1.5rem;
        width: 95%;
        border-radius: 16px;
    }

    .nav-buttons {
        gap: 0.8rem;
        margin-bottom: 2rem;
    }

    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.85rem;
        letter-spacing: 0.5px;
    }

    .grid-menu {
        gap: 1rem;
    }

    .card {
        padding: 1.5rem;
    }

    .card h2 {
        font-size: 1.3rem;
    }

    header {
        margin-bottom: 2rem;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    body {
        align-items: flex-start;
        padding-top: 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 0.8rem;
    }

    .glass-container {
        padding: 1.2rem;
        margin: 1rem auto;
        width: 90%;
    }

    .nav-buttons {
        gap: 0.6rem;
        margin-bottom: 1.5rem;
    }

    .btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.75rem;
        flex: 1 1 auto;
        min-width: 80px;
        text-align: center;
    }

    .grid-menu {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .card {
        padding: 1.2rem;
    }

    .card-icon {
        font-size: 2rem;
    }
}

/* Form Styles */
form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin-top: 1.5rem;
}

label {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

input[type="text"],
input[type="password"],
select {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

input[type="text"]:focus,
input[type="password"]:focus,
select:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--highlight);
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.2);
}

select option {
    background-color: var(--bg-color);
    color: #fff;
}

/* Submit Button */
input[type="submit"] {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(45deg, #00d2ff, #3a7bd5);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    box-shadow: 0 5px 15px rgba(0, 210, 255, 0.4);
}

input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 210, 255, 0.6);
}

input[type="submit"]:active {
    transform: translateY(0);
}

/* Nameserver Box */
.nameserver-box {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    width: 100%;
    text-align: left;
    display: none;
    /* Hidden by default */
    animation: fadeIn 0.5s ease;
}

.nameserver-box p {
    margin: 0.5rem 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.nameserver-box strong {
    color: var(--highlight);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Error Message */
.error {
    background: rgba(255, 0, 80, 0.15);
    border: 1px solid rgba(255, 0, 80, 0.3);
    color: #ff4d4d;
    padding: 1rem;
    border-radius: 8px;
    width: 100%;
    margin-bottom: 1.5rem;
    text-align: center;
}


/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    animation: fadeInModal 0.3s ease-out;
}

@keyframes fadeInModal {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    background: rgba(20, 20, 40, 0.95);
    /* Darker opaque background for modal */
    margin: auto;
    padding: 2.5rem;
    border: 1px solid var(--highlight);
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.2);
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 15px;
    right: 25px;
    cursor: pointer;
    transition: color 0.3s;
}

.close-btn:hover,
.close-btn:focus {
    color: var(--highlight);
    text-decoration: none;
}

/* Phone Input Group */
.phone-input-group {
    display: flex;
    gap: 10px;
}

.phone-input-group select {
    width: 120px;
    flex-shrink: 0;
}

textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    resize: vertical;
    outline: none;
    transition: all 0.3s ease;
}

textarea:focus {
    border-color: var(--highlight);
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.2);
}

.contact-info {
    margin-top: 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

.contact-info a {
    color: var(--highlight);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: #fff;
    text-shadow: 0 0 10px var(--highlight);
}