*,
body {
    margin: 0;
}

/* Prevent mobile zoom on all input fields - font-size must be at least 16px */
@media (max-width: 768px) {
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="number"],
  input[type="tel"],
  input[type="url"],
  input[type="search"],
  input[type="date"],
  input[type="time"],
  input[type="datetime-local"],
  input[type="month"],
  input[type="week"],
  textarea,
  select {
    font-size: 16px !important;
  }
}
.container,
body {
    font-family: Poppins, sans-serif;
}
.bottom-nav,
.profile-img {
    transform: translateX(-50%);
}
@keyframes gradientAnimation {
    0%,
    100% {
        background-position: 0 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}
.gradient-text {
    background: linear-gradient(90deg, #00a2ff, #0056b3, #002855);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}
.cta-btn,
.hero-content h1,
h2 {
    font-weight: 700;
}
.moving-gradient-bg {
    display: none !important;
}
.mobile-hero {
    display: none;
}
.desktop-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 10%;
    text-align: left;
}
.hero-content {
    max-width: 50%;
}
.hero-content h1 {
    font-size: 3rem;
}
.hero-content p {
    font-size: 1.2rem;
    margin-top: 10px;
    max-width: 450px;
}
.cta-btn {
    display: inline-block;
    color: #fff;
    background: linear-gradient(90deg, #0056b3, #007bff);
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s, background 0.3s;
    margin-top: 15px;
}
.create-btn,
.footer-links a,
.save-btn,
.save-contact-card,
.update-profile-btn {
    transition: 0.3s ease-in-out;
}
.cta-btn:hover {
    background: linear-gradient(90deg, #003d82, #0056b3);
    transform: scale(1.05);
}
.cta-btn.secondary {
    background: #222;
    margin-left: 10px;
}
.cta-btn.secondary:hover {
    background: #444;
}
.hero-image img {
    width: 600px;
}
@media (max-width: 768px) {
    .moving-gradient-bg {
        background-size: 300% 300%;
        animation: 20s infinite gradientAnimation;
    }
    .footer,
    .mobile-hero,
    .mobile-hero .cta-btn {
        text-align: center;
        display: flex;
    }
    .desktop-hero {
        display: none;
    }
    .mobile-hero {
        flex-direction: column;
        align-items: center;
        padding: 50px 20px;
    }
    .mobile-hero img {
        width: 120px;
        margin-bottom: 20px;
    }
    .mobile-hero h1 {
        font-size: 2rem;
        font-weight: 700;
        margin-bottom: 10px;
    }
    .mobile-hero p {
        font-size: 1.1rem;
        max-width: 90%;
        margin: 0 auto;
        color: #333;
    }
    .mobile-hero .cta-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        gap: 10px;
        margin-top: 15px;
    }
    .mobile-hero .cta-btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
        align-items: center;
        padding: 12px;
        font-size: 16px;
        font-weight: 700;
        color: #fff;
        background: linear-gradient(90deg, #007bff, #0056b3);
        border-radius: 8px;
        text-decoration: none;
        transition: transform 0.3s, background 0.3s;
    }
    .mobile-hero .cta-btn.secondary {
        background: #222;
        margin-left: 0;
    }
    .mobile-hero .cta-btn.secondary:hover {
        background: #444;
    }
    .mobile-hero .cta-btn:hover {
        background: linear-gradient(90deg, #003d82, #0056b3);
        transform: scale(1.05);
    }
    .footer {
        background: linear-gradient(to right, #1e3c72, #2a5298);
        color: #fff;
        padding: 20px 30px;
        font-size: 1rem;
        border-top-left-radius: 25px;
        border-top-right-radius: 25px;
        box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
        position: relative;
        bottom: 0;
        box-sizing: border-box;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-top: 0 !important;
        width: 100vw;
        max-width: 100%;
        margin: 0;
    }
}
.container,
.footer {
    width: 100%;
    text-align: center;
}
.footer-content {
    max-width: 1100px;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.footer-text {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.9;
    margin-bottom: 10px;
    color: #fff;
}
.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 8px;
}
.footer-links a {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    white-space: nowrap;
    font-size: 0.85rem;
    padding: 5px 8px;
}
.footer-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}
.footer-bottom {
    margin-top: 10px;
    font-size: 0.85rem;
    opacity: 0.8;
    color: #fff;
}
.footer,
.footer-links a i {
    font-size: 1rem;
}
.footer {
    background: linear-gradient(to right, #1e3c72, #2a5298);
    padding: 20px 30px;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
}
.footer-content {
    padding: 5px 0;
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    max-width: 90%;
}
.footer-bottom p {
    font-size: 0.8rem;
    color: #fff;
}
body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #ffffff;
}
* {
    box-sizing: border-box;
    padding: 0;
}
.container {
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    max-width: 550px;
    padding: 20px;
    margin: 20px auto;
    color: #fff;
}
.floating-phone,
h2 {
    margin-bottom: 15px;
}
.auth-container h2 {
    color: #000 !important;
    background: 0 0 !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
}
h2 {
    font-size: 1.8rem;
    background: linear-gradient(90deg, #fff, #f8f8f8);
    -webkit-background-clip: text;
}
main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.mobile-showcase {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    animation: 1s ease-in-out fadeInUp;
}
.floating-phone {
    width: 80%;
    max-width: 300px;
    animation: 3s ease-in-out infinite float;
}
.mobile-showcase h2 {
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(90deg, #00a2ff, #0056b3, #002855);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}
.mobile-showcase p {
    font-size: 1rem;
    max-width: 90%;
    color: #333;
    font-weight: 500;
    text-align: center;
    margin: 0 auto;
    line-height: 1.6;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}
.input-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
    width: 100%;
}
.input-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f0f8ff;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    position: relative;
    width: 100%;
}
.bottom-nav,
.floating-qr-btn,
.navbar {
    position: fixed;
    z-index: 1000;
}
.input-group i {
    color: #007bff;
    font-size: 1.2rem;
    padding-left: 10px;
}
.input-group label {
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    color: #000;
    gap: 8px;
    flex-shrink: 0;
    min-width: 180px;
}
.input-group input {
    flex-grow: 1;
    border: none;
    outline: 0;
    background: 0 0;
    font-size: 1rem;
    padding: 10px;
    color: #333;
    font-weight: 700;
    border-radius: 6px;
    width: 100%;
}

/* Ensure input-group inputs also have 16px on mobile */
@media (max-width: 768px) {
  .input-group input {
    font-size: 16px !important;
  }
}
.bottom-nav a,
.nav-links a {
    text-decoration: none;
    color: #333 !important;
}
.input-group input:focus {
    border-bottom: 2px solid #007bff;
    transition: 0.3s;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}
.input-group input::placeholder {
    color: rgba(0, 0, 0, 0.7);
    font-weight: 400;
}
form:not(.edit-profile-form):not(.ab-signup-form):not(.ab-dot-onboard-form):not(.ab-setup-upgrade-form) button {
    width: 100%;
    padding: 12px;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
}

@media (max-width: 600px) {
    .input-grid {
        flex-direction: column;
    }
    .container {
        max-width: 90vw;
    }
    .input-group label {
        font-size: 0.9rem;
    }
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    top: 0;
    left: 0;
    right: 0;
}
.logo img {
    height: 40px;
}
.nav-links {
    display: flex;
    gap: 25px;
}
.nav-links a {
    display: flex;
    align-items: center;
}
.bottom-nav {
    bottom: 10px;
    left: 50%;
    width: 90%;
    max-width: 380px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    padding: 10px;
    border-radius: 50px;
    backdrop-filter: blur(8px);
}
.bottom-nav a {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5px;
}
.bottom-nav a i {
    font-size: 1.1rem;
    margin-bottom: 2px;
    transition: 0.2s ease-in-out;
}
.bottom-nav a:hover {
    color: #007bff;
    transform: scale(1.05);
}
@media (min-width: 769px) {
    .footer {
        background: linear-gradient(to right, #1e3c72, #2a5298) !important;
    }
    .bottom-nav {
        display: none;
    }
}
.navbar {
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.nav-links a {
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease-in-out;
    display: flex;
    align-items: center;
    gap: 6px;
}
.nav-links a:active,
.nav-links a:focus,
.nav-links a:hover {
    color: #007bff !important;
}
.bottom-nav a {
    font-size: 0.9rem;
    font-weight: 700;
}
.bottom-nav .logout,
.nav-links .logout {
    color: #d9534f !important;
}

/* Hero page: dark nav to match hero banner, sticks to top of page (desktop only) */
@media (min-width: 768px) {
    .navbar.navbar--hero {
        position: static;
        background: rgba(15, 23, 42, 0.92);
        box-shadow: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .navbar.navbar--hero .nav-links a {
        color: rgba(255, 255, 255, 0.9) !important;
    }
    .navbar.navbar--hero .nav-links a:hover,
    .navbar.navbar--hero .nav-links a:focus,
    .navbar.navbar--hero .nav-links a:active {
        color: #fff !important;
    }
    .navbar.navbar--hero .nav-links .logout {
        color: rgba(254, 202, 202, 0.95) !important;
    }
    .navbar.navbar--hero .nav-links .logout:hover {
        color: #fecaca !important;
    }
    .navbar.navbar--hero .logo img {
        filter: brightness(0) invert(1);
    }
}

.save-contact-card {
    background: linear-gradient(to right, #5dade2, #e3f2fd);
    border-radius: 15px;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
    padding: 20px;
    text-align: center;
    max-width: 350px;
    margin: 25px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.create-btn,
.save-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: gold;
    color: #000;
    padding: 10px 18px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.shop-button,
.update-profile-btn {
    display: inline-block;
    font-weight: 700;
    text-decoration: none;
}
.create-btn:hover,
.save-btn:hover {
    background: #ffc107;
    transform: scale(1.05);
}
.create-btn:active,
.save-btn:active {
    transform: scale(0.95);
}
.profile-reminder {
    margin-top: 25px;
    padding: 15px;
    background: rgba(0, 123, 255, 0.1);
    border-radius: 10px;
    text-align: center;
}
.profile-reminder p {
    font-size: 1rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 10px;
}
.update-profile-btn {
    background: linear-gradient(to right, #9dcf08, #5dade2);
    color: #fff;
    font-size: 1rem;
    padding: 10px 16px;
    border-radius: 8px;
}
.update-profile-btn:hover {
    background: linear-gradient(to right, #0056b3, #498abd) transform;
}
.shop-card {
    background: linear-gradient(145deg, #f8f9fa, #e3eaf3);
    border-radius: 14px;
    box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease-in-out;
}
.shop-card:hover {
    transform: scale(1.03);
}
.shop-icon {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 10px;
}
.shop-card h2 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media (max-width: 480px) {
    .shop-card h2 {
        font-size: 1.4rem;
    }
}
.shop-card p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 15px;
}
.discount {
    font-size: 1.1rem;
    font-weight: 700;
    color: #d9534f;
}
.shop-button {
    padding: 12px 20px;
    font-size: 1rem;
    color: #fff;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 10px;
    transition: 0.3s ease-in-out;
    margin-top: 15px;
    box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.15);
}
.shop-button:hover {
    background: linear-gradient(135deg, #0056b3, #003c7a);
    box-shadow: 3px 6px 12px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}
.connect-section {
    text-align: center;
    padding: 40px;
}
.connect-card {
    background: linear-gradient(135deg, #fff, #f8f9fa);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 650px;
    margin: auto;
}
.btn,
.social-btn {
    font-weight: 700;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-size: 1rem;
    transition: 0.3s;
    text-decoration: none;
}
.connect-icon {
    width: 120px;
    height: auto;
    margin-bottom: 15px;
}
.social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
}
.social-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
}
.shop {
    background: linear-gradient(45deg, #fc0, #f90);
    color: #333;
}
.instagram {
    background: linear-gradient(45deg, #fd1d1d, #e1306c);
    color: #fff;
}
.linkedin {
    background: linear-gradient(45deg, #0077b5, #004b85);
    color: #fff;
}
.email {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: #fff;
}
.btn:hover,
.social-btn:hover {
    opacity: 0.85;
    transform: scale(1.05);
}
.btn-group {
    margin-top: 20px;
    display: flex;
    gap: 12px;
}
.btn {
    display: inline-block;
    padding: 12px 20px;
}
.edit-btn {
    background: linear-gradient(45deg, #007bff, #004b85);
    color: #fff;
}
.back-btn {
    background: linear-gradient(45deg, #333, #555);
    color: #fff;
}
.cta-btn {
    font-size: 1rem;
    padding: 12px;
}
.floating-qr-btn {
    bottom: 20px;
    right: 20px;
    background: #007bff;
    color: #fff;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: 0.3s;
}
.edit-profile-btn a,
.pro-badge {
    display: inline-block;
    font-weight: 700;
    color: #fff;
}
.floating-qr-btn i {
    font-size: 1.8rem;
}
.edit-profile-btn a:hover,
.floating-qr-btn:hover {
    background: #0056b3;
}
.edit-profile-btn {
    margin-top: 15px;
    text-align: center;
}
.edit-profile-btn a {
    padding: 10px 18px;
    font-size: 1rem;
    background: #007bff;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.3s;
}
.pro-badge {
    background: linear-gradient(90deg, gold, orange);
    font-size: 0.9rem;
    padding: 5px 10px;
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    margin-left: 10px;
    flex-shrink: 0;
    position: relative;
}
@media (max-width: 768px) {
    .mobile-showcase {
        display: flex;
    }
    .input-group {
        flex-direction: column;
        align-items: flex-start;
    }
    .input-group label {
        min-width: auto;
    }
    .input-group input {
        width: 100%;
    }
    .navbar {
        display: none;
    }
    .connect-card {
        padding: 20px;
    }
    .social-links {
        flex-direction: column;
        gap: 8px;
    }
    .btn-group {
        flex-direction: column;
        gap: 10px;
    }
    .profile-card p {
        display: inline-block;
        width: 45%;
        vertical-align: top;
        margin: 8px 2.5%;
        text-align: left;
    }
    .profile-card p i {
        display: inline-block;
        margin-right: 5px;
        vertical-align: middle;
    }
    .floating-qr-btn {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
    }
    .floating-qr-btn i {
        font-size: 1.5rem;
    }
    .qr-modal-content {
        width: 90%;
    }
    .profile-name-container {
        flex-direction: column;
    }
    .pro-badge {
        margin-left: 0;
        margin-top: 5px;
    }
}
.profile-banner {
    background: #007bff;
    height: 180px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    border-radius: 12px 12px 0 0;
}
.profile-container {
    position: relative;
    background: #fff;
    width: 90%;
    max-width: 600px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 30px;
    margin: -60px auto 0;
    z-index: 2;
    flex-wrap: nowrap;
    gap: 8px;
    align-items: center;
    justify-content: center;
}
.profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    position: absolute;
    top: -60px;
    left: 50%;
    z-index: 3;
}
.profile-title {
    font-size: 1.1rem;
    color: #555;
    margin-top: 5px;
}
.profile-name-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
    flex-wrap: wrap;
    text-align: center;
}
.profile-name-wrapper {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}
.profile-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    white-space: nowrap;
    text-align: center;
}
.footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}
.footer-nav a {
    color: #fff;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}
.footer-nav a:hover {
    color: #00c6ff;
}
.mobile-hero,
.mobile-showcase {
    background: #fff;
}
.hero-video {
    object-fit: contain;
    max-height: 100vh;
}
.broll-video-container {
    height: 60vh;
}
@media (max-width: 768px) {
    .footer-nav {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-nav a {
        display: block;
        margin-bottom: 8px;
    }
    .hero-video-container {
        height: auto;
        min-height: 50vh;
    }
    .hero-video {
        width: 100%;
        height: auto;
        max-height: none;
    }
    .broll-video-container {
        height: auto;
    }
}
.hero-video-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    overflow: hidden;
}
.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media (max-width: 768px) {
    .hero-video-container {
        max-width: 90%;
        height: 300px;
    }
    .hero-video {
        object-fit: contain;
    }
}
.center-spacer {
    width: 50%;
    height: 2px;
    background: rgba(0, 0, 0, 0.2);
    margin: 20px auto;
    border-radius: 4px;
}
.section-spacing {
    padding: 20px 0;
}

/* Signup button override */
form.signup-form button.signup-btn {
    background: linear-gradient(90deg, #3b82f6, #2563eb) !important;
    color: #fff !important;
}
form.signup-form button.signup-btn:hover {
    background: linear-gradient(90deg, #60a5fa, #3b82f6) !important;
}
