@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root{
    --bg-color: #000;
    --bg-secondary: #0a0a0a;
    --btn-color: #fdfdfd;
    --btn-bg: #FFB800;
    --primary-color: #FFB800;
    --primary-dark: #E6A600;
    --primary-light: #FFCC33;
    --accent-color: #10B981;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --border-color: rgba(255, 255, 255, 0.1);
    --card-bg: rgba(255, 255, 255, 0.03);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.08);
    --shadow-glow: 0 0 80px rgba(255, 184, 0, 0.15);
    --shadow-card: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

html {
    scroll-behavior: smooth;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
    background: #000;
    position: relative;
    overflow-x: hidden;
}

/* Premium background gradient */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at top right, rgba(255, 184, 0, 0.08) 0%, transparent 50%),
                radial-gradient(ellipse at bottom left, rgba(16, 185, 129, 0.05) 0%, transparent 50%),
                linear-gradient(180deg, #000 0%, #0a0a0a 100%);
    pointer-events: none;
    z-index: -2;
}

/* Noise texture overlay for premium depth */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.02;
    z-index: -1;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' /%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
}

/* Premium glass-morphism header */
header{
    color: #b1b1b1;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
}

header > .collapsible-header{
    display: flex;
    gap: 1rem;
    width: 100%;
    background-color: inherit;
    place-content: center;
    overflow: hidden;
    transition: width 0.3s ease;
}

.animated-collapse{
    transition: width 0.3s ease;
}

.header-links {
    display: flex;
    align-items: center;
    min-width: fit-content;
    border-radius: 8px;
    padding: 8px 16px;
    position: relative;
    font-weight: 500;
    letter-spacing: 0.025em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-links::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.header-links:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.header-links:hover::after {
    width: 80%;
}

.primary-text-color{
    color: var(--primary-color);
}

/* Premium gradient text effect */
.gradient-text {
    background: linear-gradient(135deg,
        #ffffff 0%,
        var(--primary-color) 25%,
        var(--primary-light) 50%,
        #ffffff 75%,
        var(--primary-color) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 8s ease infinite;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.signup-img-section{
    background-image: url("../assets/images/home/darkbg.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Premium glow effect */
.hero-img-bg-grad {
    background: radial-gradient(circle,
        var(--primary-color) 0%,
        rgba(255, 184, 0, 0.4) 30%,
        rgba(255, 204, 51, 0.2) 60%,
        transparent 100%);
    filter: blur(100px);
    opacity: 0.6;
    animation: pulseGlow 4s ease-in-out infinite;
    transform: scale(1.5);
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.4; transform: scale(1.5); }
    50% { opacity: 0.8; transform: scale(1.8); }
}

/* Premium 3D phone mockup effect */
#dashboard {
    transform: perspective(3000px) translateY(0px) scale(0.85) rotateX(10deg);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    animation: floatPhone 6s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(255, 184, 0, 0.15));
    transform-style: preserve-3d;
    margin-bottom: 20px; /* Add space for the 3D rotation */
}

@keyframes floatPhone {
    0%, 100% { transform: perspective(3000px) translateY(0px) scale(0.85) rotateX(10deg); }
    50% { transform: perspective(3000px) translateY(-10px) scale(0.87) rotateX(8deg); }
}

#dashboard:hover {
    transform: perspective(3000px) translateY(-5px) scale(0.9) rotateX(5deg);
}

/* Ensure dashboard container doesn't cut off the image */
#dashboard-container {
    padding-bottom: 30px;
    overflow: visible !important;
    min-height: auto;
}

.border-gradient{
    background: rgb(219,215,213);
    background: linear-gradient(180deg, rgba(219,215,213,1) 35%, rgba(214,211,233,0) 71%);
    padding: 2px;
    border-radius: 10px;
}

.border-gradient>div{
    background-color: var(--bg-color);
    border-radius: inherit;
}

.opacity-0{
    opacity: 0 !important;
}

.opacity-100{
    opacity: 100 !important;
}

/* Premium button styles */
.btn {
    padding: 14px 28px;
    width: max-content;
    border-radius: 12px;
    color: var(--btn-color);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    justify-content: center;
    align-items: center;
    display: flex;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.025em;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(255, 184, 0, 0.2),
                0 2px 5px rgba(0, 0, 0, 0.2);
}

.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 184, 0, 0.3),
                0 4px 10px rgba(0, 0, 0, 0.3);
}

.btn:hover::before {
    left: 100%;
}

.btn:active {
    transform: translateY(0) scale(1);
}

.btn:disabled {
    cursor: default;
    opacity: 0.5;
    transform: none;
}

.input{
    padding: 10px;
    background-color: transparent;
    border-radius: 5px;
    min-width: 100px;
    border: 1px solid #818080;
}

.input:active, .input:focus, .input:focus-within{
    border: 1px solid var(--input-hover-bd-color) !important;
}

.carousel-container {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    max-width: 800px;
}

.carousel {
    display: inline-block;
    animation: scroll 10s linear infinite;
}

.carousel-img {
    display: inline-block;
    margin: 0 20px;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.footer-link{
    color: #c7c6c6;
    transition: color 0.3s;
}

.footer-link:hover{
    color: #fff;
}

/* Style for the collapsible content such as faq commonly known as: accordion */
.faq-accordion {
    background-color: inherit;
    color: #f2f2f2;
    cursor: pointer;
    padding: 15px 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    transition: height 0.4s;
}

.faq .content {
    padding: 0px 18px;
    color: #e4e4e4;
    height: max-content;
    overflow: hidden;
    background-color: transparent;
    text-align: justify;
    max-height: 0px;
    transition: max-height 0.4s, padding 0.4s;
}

@media not all and (min-width: 1024px) {
    header .collapsible-header {
        position: fixed;
        right: 0px;
        flex-direction: column;
        opacity: 0;
        height: 100vh;
        min-height: 100vh;
        height: 100dvh;
        width: 0vw;
        justify-content: space-between;
        padding: 5px;
        padding-top: 5%;
        padding-bottom: 5%;
        place-items: end;
        background: rgba(4, 4, 4, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        color: #ffffff;
        overflow-y: auto;
        border-left: 1px solid var(--glass-border);
        box-shadow: -20px 0 40px rgba(0, 0, 0, 0.5);
    }

    .header-links{
        color: rgb(255, 255, 255);
    }
}

/* Mobile responsiveness fixes */
@media (max-width: 640px) {
    .feature-card {
        padding: 1.5rem;
        gap: 1rem;
        min-height: auto;
    }

    .testimonial-card {
        padding: 1.25rem;
    }

    #dashboard {
        transform: perspective(3000px) translateY(0px) scale(0.8) rotateX(5deg);
        margin-bottom: 20px;
    }

    #dashboard-container {
        padding-bottom: 30px;
        min-height: 350px;
    }
}

/* Premium glass card styles */
.glass-card {
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.05) 0%,
        rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255, 184, 0, 0.06),
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 184, 0, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3),
                0 10px 20px rgba(255, 184, 0, 0.1);
}

.glass-card:hover::before {
    opacity: 1;
}

/* Premium feature card styles */
.feature-card {
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.05) 0%,
        rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    overflow: visible;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 200px;
    width: 100%;
    max-width: 450px;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.feature-card::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg,
        var(--primary-color),
        transparent,
        var(--accent-color));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: xor;
    -webkit-mask-composite: xor;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0.03) 100%);
}

.feature-card:hover::after {
    opacity: 0.5;
}

/* Premium testimonial cards */
.testimonial-card {
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.04) 0%,
        rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1.5rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 250px;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-10px) rotate(-1deg);
    border-color: rgba(255, 184, 0, 0.3);
    box-shadow: 0 20px 60px rgba(255, 184, 0, 0.1),
                0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Premium scroll animations */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Ensure cards are visible by default */
.feature-card,
.testimonial-card {
    opacity: 1 !important;
    visibility: visible !important;
}

.stagger {
    transition-delay: calc(var(--delay) * 0.1s);
}

/* Improved FAQ accordion */
.faq {
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.02) 0%,
        rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.faq:hover {
    border-color: rgba(255, 184, 0, 0.2);
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.05) 0%,
        rgba(255, 255, 255, 0.02) 100%);
}

.faq.active {
    border-color: var(--primary-color);
    background: linear-gradient(135deg,
        rgba(255, 184, 0, 0.08) 0%,
        rgba(255, 184, 0, 0.02) 100%);
}

/* Premium CTA section */
.signup-img-section {
    background: linear-gradient(135deg,
        rgba(255, 184, 0, 0.1) 0%,
        rgba(16, 185, 129, 0.05) 100%),
        url("../assets/images/home/darkbg.png");
    background-position: center;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

.signup-img-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.signup-img-section > * {
    position: relative;
    z-index: 1;
}