:root {
    --bg-color: #050505;
    --text-color: #ffffff;
    --text-muted: #94a3b8;
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --indigo: #6366f1;
    --amber: #f59e0b;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(59, 130, 246, 0.3);
    --container-width: 1200px;
    --font-heading: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Background Elements */
.dot-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: -1;
    pointer-events: none;
}

.blob {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -2;
    opacity: 0.15;
    pointer-events: none;
}

.blob-1 {
    top: -200px;
    left: -100px;
    background: radial-gradient(circle, var(--primary), transparent);
    animation: blob-float 20s infinite alternate;
}

.blob-2 {
    bottom: -200px;
    right: -100px;
    background: radial-gradient(circle, var(--indigo), transparent);
    animation: blob-float 25s infinite alternate-reverse;
}

.blob-3 {
    top: 40%;
    left: 30%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #8b5cf6, transparent);
    opacity: 0.1;
    animation: blob-float 15s infinite alternate;
}

@keyframes blob-float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(100px, 50px) scale(1.1);
    }

    66% {
        transform: translate(-50px, 150px) scale(0.9);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

/* Notifications */
.notification-container {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    pointer-events: none;
    width: 90%;
    max-width: 400px;
}

.notification {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 1rem;
    pointer-events: auto;
    animation: slideDown 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    transition: all 0.5s ease;
}

.notification.success {
    border-left: 4px solid #10b981;
}

.notification.error {
    border-left: 4px solid #ef4444;
}

.notification-icon {
    font-size: 1.25rem;
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.1rem;
}

.notification-message {
    font-size: 0.8rem;
    color: var(--text-muted);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.notification.fade-out {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
header {
    padding: 1.5rem 0;
}

.logo {
    height: 60px;
    width: auto;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 0 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    color: #93c5fd;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
}

.badge-icon {
    width: 1rem;
    height: 1rem;
}

.badge::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    top: 0;
    left: -200%;
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -200%;
    }

    100% {
        left: 200%;
    }
}

h1 {
    font-size: clamp(2rem, 8vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

h1 span {
    background: linear-gradient(135deg, #fff 0%, #3b82f6 50%, #8b5cf6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-desc {
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 2.5rem;
    padding: 0 1rem;
}

/* Countdown */
.countdown {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.time-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1rem;
    border-radius: 1rem;
    min-width: 70px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.time-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.time-box:hover {
    transform: translateY(-5px);
    border-color: var(--glass-border-hover);
}

.time-box:hover::before {
    opacity: 1;
}

.time-box span {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-weight: 900;
    position: relative;
    z-index: 1;
}

.time-box label {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    margin-top: 0.25rem;
    position: relative;
    z-index: 1;
}

/* CTA Form */
.cta-form {
    width: 100%;
    max-width: 500px;
    padding: 0 1rem;
    margin: 10 auto;
}


#demo-form,
#demo-form-bottom {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 1.25rem;
    border-radius: 1.5rem;
    backdrop-filter: blur(20px);
    width: 100%;
    max-width: 100%;
}

input[type="email"],
input[type="text"],
textarea {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.875rem 1rem;
    color: white;
    font-size: 1rem;
    outline: none;
    min-width: 0;
    width: 100%;
    border-bottom: 1px solid var(--glass-border);
    transition: border-color 0.3s ease;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

textarea {
    resize: none;
    font-family: inherit;
}

/* Adjust button alignment in horizontal forms */
#demo-form button,
#demo-form-bottom button {
    align-self: stretch;
}

@media (min-width: 480px) {
    textarea {
        padding-top: 0.875rem;
        /* Exactly the same as vertical padding of inputs */
    }
}

input[type="email"]:focus,
input[type="text"]:focus,
textarea:focus {
    border-color: var(--primary);
}

input[type="email"]::placeholder,
input[type="text"]::placeholder,
textarea::placeholder {
    color: var(--text-muted);
}

button[type="submit"] {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.875rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 4px 15px -1px rgba(59, 130, 246, 0.4);
    white-space: nowrap;
}

button[type="submit"]:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -1px rgba(59, 130, 246, 0.5);
}

button[type="submit"]:active {
    transform: translateY(0);
}

.form-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 1rem;
    text-align: center;
}

/* About Section */
.about {
    padding: 4rem 0;
}

.about-content {
    padding: 2rem;
    border-radius: 1.5rem;
    text-align: center;
}

.about-content h2 {
    font-size: clamp(1.5rem, 5vw, 2.25rem);
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.highlight {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-text {
    color: var(--text-muted);
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.about-text strong {
    color: var(--text-color);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 0.75rem;
    border: 1px solid var(--glass-border);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.about-feature:hover {
    border-color: var(--glass-border-hover);
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* Section Titles */
.section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 2.5rem;
}

/* Preview Section */
.preview {
    padding: 6rem 0;
    text-align: center;
}

.preview-header {
    margin-bottom: 4rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.mockup-container {
    padding: 1rem;
    border-radius: 1.5rem;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    aspect-ratio: 16 / 9;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.browser-dots {
    display: flex;
    gap: 6px;
    padding: 0 0 1rem 0.5rem;
    flex-shrink: 0;
}

.browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.browser-dots span:nth-child(1) {
    background: #ff5f56;
}

.browser-dots span:nth-child(2) {
    background: #ffbd2e;
}

.browser-dots span:nth-child(3) {
    background: #27c93f;
}

.dashboard-mockup {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 0.75rem;
    display: block;
    transition: transform 0.5s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.mockup-container:hover .dashboard-mockup {
    transform: scale(1.01);
}

/* Features Section */
.features {
    padding: 4rem 0;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.card {
    padding: 2rem;
    border-radius: 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(600px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(255, 255, 255, 0.05), transparent 40%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.card:hover::after {
    opacity: 1;
}

.card:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: var(--glass-border-hover);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5), 0 0 20px rgba(59, 130, 246, 0.1);
}

.glass {
    background: var(--glass-bg);
    border-radius: 1.5rem;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.icon-box {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.icon-box svg {
    width: 1.5rem;
    height: 1.5rem;
}

.blue {
    background: rgba(37, 99, 235, 0.2);
    color: #60a5fa;
}

.indigo {
    background: rgba(79, 70, 229, 0.2);
    color: #818cf8;
}

.amber {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
}

h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Users Section */
.users-section {
    padding: 4rem 0;
}

.users-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.user-benefit {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 1.25rem;
    transition: all 0.3s ease;
}

.user-benefit:hover {
    border-color: var(--glass-border-hover);
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.user-benefit h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.user-benefit p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Final CTA */
.final-cta {
    padding: 4rem 0;
}

.cta-box {
    padding: 3rem 2rem;
    border-radius: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.cta-box h2 {
    font-size: clamp(1.5rem, 5vw, 2rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-box>p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
}

.cta-form-inline {
    max-width: 500px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .cta-form-inline {
        max-width: 900px;
    }
}

/* Footer */
/* Vision Section */
.vision {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.vision-content {
    padding: 4rem 2rem;
    text-align: center;
    border-radius: 2.5rem;
    position: relative;
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.05), transparent 40%),
        radial-gradient(circle at bottom left, rgba(139, 92, 246, 0.05), transparent 40%),
        var(--glass-bg);
}

.vision-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.vision-title {
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 900;
    margin-bottom: 2rem;
    line-height: 1.1;
}

.vision-text {
    font-size: clamp(1.1rem, 3vw, 1.35rem);
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 3rem;
    font-style: italic;
    font-weight: 400;
}

.vision-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

.vision-stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
}

@media (min-width: 1024px) {
    .vision-content {
        padding: 6rem 4rem;
    }
}

footer {
    padding: 3rem 0;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.socials {
    display: flex;
    gap: 1.5rem;
}

.socials a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.socials a:hover {
    color: white;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ========================================
   RESPONSIVE DESIGN - Mobile First
   ======================================== */

/* Small devices (phones, 480px and up) */
@media (min-width: 480px) {
    .container {
        padding: 0 2rem;
    }

    .time-box {
        min-width: 80px;
        padding: 1.25rem;
    }



    button[type="submit"] {
        padding: 0.875rem 1.75rem;
    }

    .about-content {
        padding: 2.5rem;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {

    header {
        padding: 2rem 0;
    }

    .logo {
        height: 80px;
    }

    .nav-social span {
        display: inline;
    }

    .hero {
        padding: 6rem 0 4rem;
    }

    .badge {
        font-size: 0.875rem;
        padding: 0.5rem 1.25rem;
    }

    .countdown {
        gap: 1.5rem;
    }

    .time-box {
        min-width: 80px;
        padding: 1.25rem;
    }

    .time-box label {
        font-size: 0.75rem;
    }



    .about {
        padding: 6rem 0;
    }


    .features,
    .users-section {
        padding: 6rem 0;
    }

    .grid,
    .users-grid {
        gap: 2rem;
    }

    .card {
        padding: 2.5rem;
    }

    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }

    #demo-form,
    #demo-form-bottom {
        flex-direction: row;
        align-items: flex-start;
    }

}

/* Large devices (desktops, 1024px and up) */
@media (min-width: 1024px) {
    .hero {
        padding: 10rem 0 7rem;
    }

    .about,
    .features,
    .users-section,
    .final-cta {
        padding: 10rem 0;
    }

    .hero-desc {
        max-width: 700px;
    }

    .about-features {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .users-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        padding: 0 3rem;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {

    .card:hover,
    .time-box:hover,
    .about-feature:hover,
    .user-benefit:hover {
        transform: none;
    }

    button[type="submit"]:hover {
        transform: none;
    }

    .card:active {
        transform: scale(0.98);
    }

    button[type="submit"]:active {
        transform: scale(0.95);
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}