/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}

/* Body */
body {
    background: linear-gradient(135deg, #e0f7fa, #f1f8ff);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Container */
.container {
    flex: 1;
    padding: 20px 20px;
    max-width: 1200px;
    margin: auto;
}

/* Hero Card */
.hero-card {
    display: flex;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 25px 20px rgba(0,0,0,0.15);
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.4s ease;
}

.hero-card:hover {
    transform: translateY(-6px);
}

/* Hero Sections */
.hero-left, .hero-right {
    flex: 1;
    padding: 20px;
}

/* Image */
.hero-left {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #d1f4ff, #e8f7ff);
}

.hero-left img {
    max-width: 90%;
    max-height: 300px;
}

/* Text Side */
.hero-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.title-gradient {
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(90deg, #00bcd4, #4caf50, #ff9800);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    margin: 15px 0 30px;
    font-size: 18px;
    color: #555;
}

/* Login Button */
.login-btn {
    display: inline-block;
    width: fit-content;
    justify-content: center;
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #00bcd4, #009688);
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0,150,136,0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.login-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0,150,136,0.5);
}

/* Features Section */
.features {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

/* Feature Cards */
.feature-card {
    background: #ffffff;
    padding: 15px;
    border-radius: 18px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
}

.feature-card h3 {
    margin-bottom: 10px;
    color: #009688;
}

.feature-card p {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

/* Footer */
footer {
    background: #ffffff;
    text-align: center;
    padding: 15px;
    font-size: 14px;
    color: #666;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.05);
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1100;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-card {
        flex-direction: column;
    }

    .hero-left, .hero-right {
        padding: 30px;
    }

    .title-gradient {
        font-size: 38px;
    }
}

/* ====== BACK TO TOP BUTTON (Mobile) ====== */
.back-to-top {
    position: fixed;
    bottom: 140px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #00bcd4, #009688);
    color: white !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(0, 150, 136, 0.4);
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

@media (min-width: 993px) {
    .back-to-top {
        display: none !important;
    }
}
