:root {
    --bg-dark: #070B19;
    --bg-surface: #10162A;
    --surface-glass: rgba(16, 22, 42, 0.6);
    --border-glass: rgba(255, 255, 255, 0.1);
    
    --primary-color: #2F80ED; /* Vibrant Blue */
    --accent-color: #00E4B1; /* Cyan from Evup Logo area */
    --gradient-primary: linear-gradient(135deg, var(--primary-color), #00D2FF);
    --gradient-accent: linear-gradient(135deg, #FF416C, #FF4B2B);

    --text-primary: #FFFFFF;
    --text-secondary: #94A3B8;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .logo {
    font-family: var(--font-heading);
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.glass {
    background: var(--surface-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
}

.glass-border {
    padding: 8px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0));
    border: 1px solid var(--border-glass);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* Typography elements */
.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 228, 177, 0.15);
    color: var(--accent-color);
    border: 1px solid rgba(0, 228, 177, 0.3);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
}

h2 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 24px;
}

h2 span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 10px 20px rgba(47, 128, 237, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(47, 128, 237, 0.4);
}

.btn-secondary {
    background: #ffffff;
    color: var(--bg-dark);
}

.btn-secondary:hover {
    background: #e2e8f0;
    transform: translateY(-3px);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-glass);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    color: white;
    text-decoration: none;
    letter-spacing: -1px;
}

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

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links li a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: var(--primary-color);
}

.nav-links .btn {
    color: white; /* Override for the button in nav */
}

/* Hero Section */
.hero {
    position: relative;
    padding: 180px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.blob {
    position: absolute;
    filter: blur(100px);
    border-radius: 50%;
    opacity: 0.5;
    animation: float 20s infinite alternate linear;
}

.blob-1 {
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: var(--primary-color);
}

.blob-2 {
    bottom: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: var(--accent-color);
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-50px, 50px) scale(1.1); }
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-image {
    flex: 1;
    position: relative;
    perspective: 1000px;
}

.floating-mockup {
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.6s ease;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 20px 30px 60px rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.1);
}

.floating-mockup:hover {
    transform: rotateY(-5deg) rotateX(2deg) translateY(-10px);
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* Features */
.features {
    padding: 100px 0;
    position: relative;
}

.section-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 120px;
}

.feature-row.row-reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
    max-width: 500px;
}

.feature-image {
    flex: 1;
}

.feature-image img {
    width: 100%;
    border-radius: 12px;
    display: block;
}

.icon-box {
    width: 50px;
    height: 50px;
    background: rgba(47, 128, 237, 0.1);
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
    border: 1px solid rgba(47, 128, 237, 0.3);
}

.feature-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.check-list {
    list-style: none;
    margin-top: 30px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--text-primary);
    font-weight: 600;
}

.check-list i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
}

.cta-box {
    text-align: center;
    padding: 80px 40px;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--gradient-primary);
    opacity: 0.1;
    z-index: -1;
}

.cta-box h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.cta-box p {
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1.2rem;
}

/* Footer */
footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-glass);
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Animations (Intersection Observer) */
.fade-in-up, .slide-in-left, .slide-in-right {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.fade-in-up {
    transform: translateY(40px);
}

.slide-in-left {
    transform: translateX(-40px);
}

.slide-in-right {
    transform: translateX(40px);
}

.in-view {
    opacity: 1;
    transform: translate(0, 0);
}

.delay-1 {
    transition-delay: 0.2s;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        padding-top: 40px;
    }
    .hero-text {
        max-width: 100%;
    }
    .badge {
        margin: 0 auto 24px;
    }
    h2 {
        font-size: 2.5rem;
    }
    .feature-row, .feature-row.row-reverse {
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }
    .feature-text {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .check-list li {
        justify-content: flex-start;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* simple hidden switch for mobile since requirement is 'beautiful', a real menu needs JS. I'll hide navigation links on small screens to keep it clean */
    }
    h2 {
        font-size: 2rem;
    }
    .cta-box h2 {
        font-size: 2rem;
    }
    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
}

/* Modal CSS */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 11, 25, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    opacity: 1;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--border-glass);
    cursor: zoom-out;
}

.modal.show .modal-content {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 1001;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--accent-color);
    background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .close-modal {
        top: 15px;
        right: 15px;
        font-size: 30px;
    }
}
