:root {
    --primary: #06070f;
    --secondary: #0f172a;
    --accent: #1e293b;
    --highlight: #e94560;
    --gold: #c9a84c;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-bg: rgba(15, 23, 42, 0.55);
    --glass-border: rgba(255, 255, 255, 0.08);
    --success: #10b981;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--primary);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
    padding: 2rem 1rem;
}

/* Ambient Glowing Background Blobs */
.ambient-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    mix-blend-mode: screen;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--highlight);
    top: -100px;
    right: -50px;
    animation: float-blob-1 25s infinite alternate;
}

.blob-2 {
    width: 450px;
    height: 450px;
    background: var(--gold);
    bottom: -150px;
    left: -100px;
    animation: float-blob-2 30s infinite alternate;
}

@keyframes float-blob-1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-100px, 80px) scale(1.2); }
}

@keyframes float-blob-2 {
    0% { transform: translate(0, 0) scale(1.1); }
    100% { transform: translate(80px, -120px) scale(0.9); }
}

/* Noise overlay */
body::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 24px 24px;
    z-index: -1;
    opacity: 0.8;
    pointer-events: none;
}

/* Header / Nav Area */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.03);
}

.logo i {
    color: var(--highlight);
    filter: drop-shadow(0 0 8px rgba(233, 69, 96, 0.5));
}

.logo span {
    color: var(--gold);
}

/* Language Switcher */
.language-switcher {
    display: flex;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 0.25rem;
    border-radius: 30px;
    backdrop-filter: blur(10px);
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 0.4rem 1.1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.lang-btn.active {
    background: var(--highlight);
    color: white;
    box-shadow: 0 4px 12px rgba(233, 69, 96, 0.3);
}

.lang-btn:hover:not(.active) {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}

/* Main Container Card */
main {
    width: 100%;
    max-width: 900px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    border-radius: 32px;
    padding: 3.5rem 3rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
    margin-top: 5rem;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Top Status Indicator */
.status-badge {
    background: rgba(201, 168, 76, 0.1);
    color: var(--gold);
    border: 1px solid rgba(201, 168, 76, 0.3);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    animation: pulse-border 2s infinite;
}

.status-badge .dot {
    width: 8px;
    height: 8px;
    background-color: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--gold);
    animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
    0% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.8); opacity: 0.5; }
}

@keyframes pulse-border {
    0% { border-color: rgba(201, 168, 76, 0.3); }
    50% { border-color: rgba(201, 168, 76, 0.6); }
    100% { border-color: rgba(201, 168, 76, 0.3); }
}

/* Main Heading */
h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.2rem;
    background: linear-gradient(135deg, #ffffff 30%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtext {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 680px;
    line-height: 1.7;
    margin-bottom: 3rem;
}

/* Progress Bar Setup */
.progress-container {
    width: 100%;
    max-width: 450px;
    margin-bottom: 3.5rem;
    text-align: left;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
}

.progress-label span:last-child {
    color: var(--gold);
    font-weight: 700;
}

.progress-bar-bg {
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.progress-bar-fill {
    height: 100%;
    width: 85%;
    background: linear-gradient(90deg, var(--highlight), var(--gold));
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(233, 69, 96, 0.4);
    animation: fillBar 1.5s ease-out forwards;
}

@keyframes fillBar {
    from { width: 0%; }
    to { width: 85%; }
}

/* Preview Animated Mockup Dashboard */
.dashboard-preview {
    width: 100%;
    max-width: 580px;
    height: 150px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    margin-bottom: 3.5rem;
    padding: 1rem;
    display: flex;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}

.dashboard-preview::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(233, 69, 96, 0.03) 0%, rgba(201, 168, 76, 0.03) 100%);
    pointer-events: none;
}

/* Mockup Side Menu */
.mock-sidebar {
    width: 45px;
    height: 100%;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 0;
}

.mock-nav-item {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
}

.mock-nav-item.active {
    background: var(--highlight);
    box-shadow: 0 0 8px var(--highlight);
}

/* Mockup Contents */
.mock-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.mock-header {
    height: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    width: 60%;
    display: flex;
    align-items: center;
    padding-left: 0.5rem;
}

.mock-logo {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
}

.mock-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    flex: 1;
    margin-top: 0.8rem;
}

.mock-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 0.8rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    animation: pulse-card 2s infinite alternate;
}

.mock-card:nth-child(2) { animation-delay: 0.4s; }
.mock-card:nth-child(3) { animation-delay: 0.8s; }

@keyframes pulse-card {
    0% { opacity: 0.4; }
    100% { opacity: 0.85; }
}

.mock-line-title {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    width: 70%;
}

.mock-line-val {
    height: 10px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
    width: 40%;
    margin-top: 0.5rem;
}

.mock-card:first-child .mock-line-val { background: var(--highlight); }
.mock-card:last-child .mock-line-val { background: var(--gold); }

/* Icon Overlay Floating */
.floating-gears {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.05);
    display: flex;
    gap: 0.5rem;
}

.gear-small {
    font-size: 1.2rem;
    animation: spin-reverse 8s linear infinite;
}

.gear-large {
    animation: spin 12s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes spin-reverse {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem;
    width: 100%;
    margin-bottom: 4rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    padding: 1.8rem;
    text-align: left;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(233, 69, 96, 0.2);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

.feature-icon-wrapper {
    width: 48px;
    height: 48px;
    background: rgba(233, 69, 96, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    border: 1px solid rgba(233, 69, 96, 0.2);
    color: var(--highlight);
    font-size: 1.2rem;
}

.feature-card:nth-child(2n) .feature-icon-wrapper {
    background: rgba(201, 168, 76, 0.1);
    border-color: rgba(201, 168, 76, 0.2);
    color: var(--gold);
}

.feature-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Action Form (Notify Me) */
.notification-form {
    width: 100%;
    max-width: 500px;
    margin-bottom: 3.5rem;
    position: relative;
}

.form-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-group {
    display: flex;
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 0.3rem;
    transition: var(--transition);
}

.input-group:focus-within {
    border-color: var(--gold);
    box-shadow: 0 0 15px rgba(201, 168, 76, 0.25);
    background: rgba(255, 255, 255, 0.05);
}

.input-group input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 0.8rem 1.5rem;
    color: var(--text-main);
    font-size: 0.95rem;
    border-radius: 50px 0 0 50px;
}

.input-group input::placeholder {
    color: rgba(148, 163, 184, 0.6);
}

.input-group button {
    background: linear-gradient(135deg, var(--highlight), #d13855);
    color: white;
    border: none;
    outline: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(233, 69, 96, 0.25);
}

.input-group button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(233, 69, 96, 0.4);
    background: linear-gradient(135deg, #f0546f, #e94560);
}

/* Back Button Home */
.btn-back-wrapper {
    margin-top: 1rem;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    padding: 0.8rem 2.2rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.btn-back:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
}

.btn-back i {
    transition: transform 0.3s;
}

.btn-back:hover i {
    transform: translateX(-4px);
}

/* Success Toast/Overlay */
.toast-notification {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(16, 185, 129, 0.95);
    border: 1px solid rgba(16, 185, 129, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.4);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    z-index: 100;
    transition: bottom 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s;
    opacity: 0;
    pointer-events: none;
    font-weight: 700;
    font-size: 0.95rem;
}

.toast-notification.show {
    bottom: 40px;
    opacity: 1;
    pointer-events: auto;
}

.toast-notification i {
    background: white;
    color: var(--success);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

/* Footer Info */
footer {
    margin-top: 3rem;
    font-size: 0.8rem;
    color: rgba(148, 163, 184, 0.4);
    text-align: center;
    z-index: 1;
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
    main {
        padding: 2.5rem 1.5rem;
        margin-top: 6rem;
    }

    h1 {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .input-group {
        flex-direction: column;
        background: transparent;
        border: none;
        gap: 0.8rem;
        padding: 0;
    }

    .input-group input {
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid var(--glass-border);
        border-radius: 50px;
        padding: 1rem 1.5rem;
        text-align: center;
        width: 100%;
    }

    .input-group button {
        width: 100%;
        padding: 1rem;
    }
}
