:root {
    --primary-color: #38bdf8;
    /* A slightly brighter blue */
    --secondary-color: #1e293b;
    --accent-color: #38bdf8;
    --text-dark: #e2e8f0;
    --text-light: #94a3b8;
    --background-light: #0f172a;
    --card-bg: rgba(30, 41, 59, 0.5);
    --border-color: rgba(148, 163, 184, 0.2);
}
@property --gradient-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}
body {
    font-family: 'Inter', 'Noto Sans', sans-serif;
    background-color: var(--background-light);
    color: var(--text-dark);
    overflow-x: hidden; /* Prevent horizontal scroll caused by animations */
}
.btn-primary {
    @apply bg-[var(--primary-color)] text-white shadow-lg shadow-blue-500/20 hover:bg-opacity-90 transition-all duration-300 ease-in-out transform hover:scale-105;
}
.btn-secondary {
    @apply bg-[var(--secondary-color)] text-[var(--text-dark)] border border-slate-700 hover:bg-slate-700 transition-colors duration-300;
}

.btn-accent {
    @apply bg-[var(--accent-color)] text-white shadow-lg shadow-blue-500/30 hover:bg-opacity-90 transition-all duration-300 ease-in-out transform hover:scale-105;
}

header {
    background-color: transparent !important;
}

/* Section title animations */
h2 {
    transition: color 0.3s;
}

/* Card styles */
.feature-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04), 0 0 0 1px var(--primary-color);
}

.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 50% 40%, #1d4ed8 0%, #0f172a 70%);
    z-index: 0;
}
#hero h1 {
    font-family: "Syncopate", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.5), 0 0 20px rgba(56, 189, 248, 0.5), 0 0 30px rgba(56, 189, 248, 0.3);
    animation: text-reveal 1.5s ease-in-out forwards;
}

@keyframes text-reveal {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.glowing-btn {
    position: relative;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: transparent;
    transition: all 0.3s ease;
    overflow: hidden;
}
.glowing-btn:before {
    content: "";
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: all 0.5s ease;
    transform: translateX(-100%);
}
.glowing-btn:hover:before {
    transform: translateX(100%);
}
.glowing-btn:hover {
    color: #fff;
    background: var(--primary-color);
    box-shadow: 0 0 20px var(--primary-color);
}

.shiny-text {
  color: #b5b5b5a4; /* Adjust this color to change intensity/style */
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0.8) 50%,
    rgba(255, 255, 255, 0) 60%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  display: inline-block;
}

.shiny-text:hover {
    animation: shine 5s linear infinite;
}

@keyframes shine {
  0% {
    background-position: 100%;
  }
  100% {
    background-position: -100%;
  }
}

.iti {
    width: 100%;
}

.iti__flag-container {
    padding: 1px 10px 1px 10px;
}

.iti__country-list {
    background-color: var(--secondary-color);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.iti__country {
    color: var(--text-light);
}

.iti__country:hover {
    background-color: var(--background-light);
}

.iti__dial-code {
    color: var(--primary-color);
}

.iti--allow-dropdown input, .iti--allow-dropdown input[type=tel] {
    background-color: var(--background-light);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

.timer-unit {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--primary-color);
    border-radius: 0.5rem;
    padding: 1rem 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.3), inset 0 0 15px rgba(56, 189, 248, 0.2);
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
    transition: all 0.3s ease;
}

.timer-unit:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.5), inset 0 0 25px rgba(56, 189, 248, 0.3);
}

#early-access-timer-modal .feature-card {
    max-width: 600px;
    padding: 2.5rem;
}

#early-access-timer-modal .timer-unit {
    font-size: 4rem;
    padding: 1rem 1.5rem;
}

@media (max-width: 768px) {
    #hero h1 {
        font-size: 2.5rem;
    }

    .timer-unit {
        font-size: 3rem;
        padding: 0.5rem 1rem;
    }

    #early-access-timer-modal .timer-unit {
        font-size: 3rem;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 480px) {
    #hero h1 {
        font-size: 2rem;
    }

    .timer-unit {
        font-size: 2rem;
        padding: 0.5rem;
    }

    #early-access-timer-modal .timer-unit {
        font-size: 2rem;
        padding: 0.5rem;
    }

    .glowing-btn {
        padding: 0.5rem 1rem;
    }
}
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.tech-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}
.tech-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: var(--primary-color);
}
.tech-card svg {
    width: 40px;
    height: 40px;
    color: var(--primary-color);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}
.tech-card:hover svg {
    opacity: 1;
}
.tech-card span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-light);
}
#hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}
.particle {
    position: absolute;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0;
    animation: rise 10s infinite linear;
}
@keyframes rise {
    0% {
        transform: translateY(100vh) scale(0.5);
        opacity: 1;
    }
    100% {
        transform: translateY(-10vh) scale(1.5);
        opacity: 0;
    }
}
.glowing-border {
    position: relative;
    border-radius: 1rem;
    padding: 2rem;
    background: #020617;
    overflow: hidden;
}
.glowing-border::before, .glowing-border::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent,
        rgba(56, 189, 248, 0.5),
        transparent 30%
    );
    animation: rotate 6s linear infinite;
}
.glowing-border::after {
    animation-delay: -3s;
}
@keyframes rotate {
    100% {
        transform: rotate(1turn);
    }
}
.glowing-border-content {
    position: relative;
    z-index: 2;
    background: #020617;
    padding: 2rem;
    border-radius: 0.8rem;
}

/* Animation for sections */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
}

section {
    scroll-margin-top: 6rem;
}

section,
footer {
    opacity: 0;
}


#success-message, #error-message {
    transition: opacity 0.5s ease-in-out;
}

.form-input {
    background-color: rgba(30, 41, 59, 0.7);
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.form-input:focus {
    background-color: rgba(30, 41, 59, 1);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.3);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card-alt {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.feature-card-alt:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, rgba(56, 189, 248, 0) 70%);
    transition: opacity 0.5s ease;
    opacity: 0;
    animation: spin 10s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.feature-card-alt:hover:before {
    opacity: 1;
}

.feature-card-alt:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    border-color: rgba(56, 189, 248, 0.4);
}

.feature-card-alt .feature-icon {
    height: 10rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    background: rgba(15, 23, 42, 0.8);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(56, 189, 248, 0.1);
}

.feature-card-alt h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.feature-card-alt p {
    color: var(--text-light);
    line-height: 1.6;
}

.feature-card-alt .view-all-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}
