@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --primary: #2dd4bf;
    --primary-dark: #0d9488;
    --secondary: #3b82f6;
    --accent: #f59e0b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --text-main: #0f172a;
    --text-dim: #64748b;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 100px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* BACKGROUND BLOBS */
.blob-area {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.1), rgba(59, 130, 246, 0.1));
    filter: blur(80px);
    border-radius: 50%;
    animation: moveBlob 20s infinite alternate-reverse;
}

.blob-1 {
    top: 10%;
    left: 10%;
    width: 400px;
    height: 400px;
}

.blob-2 {
    top: 60%;
    left: 70%;
    width: 350px;
    height: 350px;
    animation-duration: 25s;
}

.blob-3 {
    top: 40%;
    left: -10%;
    width: 500px;
    height: 500px;
    opacity: 0.5;
    animation-duration: 30s;
}

@keyframes moveBlob {
    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);
    }
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.outfit {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 5%;
    background: var(--glass);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    padding: 0.8rem 5%;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-size: 1.5rem;
    color: var(--text-main);
}

.logo img {
    width: 42px;
    height: auto;
    border-radius: 12px;
    mix-blend-mode: normal;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: rotate(15deg) scale(1.1);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dim);
    font-weight: 500;
    transition: var(--transition-smooth);
}

.nav-links a:hover {
    color: var(--primary);
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 15px rgba(45, 212, 191, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(45, 212, 191, 0.4);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(30deg);
    transition: none;
}

.btn-primary:hover::after {
    left: 120%;
    transition: all 0.7s ease-in-out;
}

/* PRICING STYLES */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    border: 1px solid #eee;
    transition: var(--transition-smooth);
}

.pricing-card.popular {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.price {
    font-size: 3rem;
    font-weight: 700;
    margin: 1rem 0;
    color: var(--text-main);
}

.price span {
    font-size: 1rem;
    color: var(--text-dim);
}

/* CONTACT FORM */
.contact-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 1rem;
    border: 1px solid #eee;
    border-radius: var(--radius-md);
    font-family: inherit;
    transition: var(--transition-smooth);
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.1);
}

/* MODAL OVERLAYS */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-overlay.active {
    display: flex;
}

.modal-content-inner {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dim);
    transition: var(--transition-smooth);
}

.modal-close:hover {
    color: var(--text-main);
    transform: rotate(90deg);
}

/* Legal content styles inside modal */
.modal-content-inner h2 {
    font-size: 1.8rem;
    color: var(--text-main);
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(45, 212, 191, 0.3);
    margin-bottom: 1.5rem;
}

.modal-content-inner h3 {
    font-size: 1.2rem;
    color: var(--text-main);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    padding-left: 0.75rem;
    border-left: 3px solid var(--primary);
}

.modal-content-inner h4 {
    font-size: 1rem;
    color: #334155;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.modal-content-inner p {
    color: #475569;
    line-height: 1.75;
    margin-bottom: 0.75rem;
}

.modal-content-inner .legal-intro {
    font-size: 1.05rem;
    color: #334155;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.modal-content-inner ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.modal-content-inner ul li {
    color: #475569;
    line-height: 1.9;
    position: relative;
}

.modal-content-inner ul li::marker {
    color: var(--primary);
}

.modal-content-inner .legal-date {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

/* HERO SECTION */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 10%;
    position: relative;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-content h1 span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-dim);
    margin-bottom: 2.5rem;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    max-width: 480px;
    filter: drop-shadow(0 0 40px rgba(45, 212, 191, 0.3));
    animation: float 6s ease-in-out infinite;
    mix-blend-mode: screen;
    transform: scaleX(-1);
    /* Effectively removes black backgrounds, making it look floating */
    transition: transform 0.4s cubic-bezier(0.1, 0.7, 0.1, 1);
    cursor: crosshair;
}

.hero-image:hover img {
    transform: scaleX(-1.04) rotate(-1deg) translateY(-10px);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    33% {
        transform: translateY(-20px) rotate(2deg);
    }

    66% {
        transform: translateY(-5px) rotate(-1deg);
    }
}

/* FLOATING DECORATIONS ENHANCED */
.floating-icon {
    position: absolute;
    background: var(--glass);
    backdrop-filter: blur(5px);
    width: 70px;
    height: 70px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    color: var(--primary);
    font-size: 1.8rem;
    z-index: 5;
    animation: floatIcon 10s infinite ease-in-out;
}

@keyframes floatIcon {

    0%,
    100% {
        transform: translate(0, 0) rotate(0);
    }

    33% {
        transform: translate(20px, -30px) rotate(15deg);
    }

    66% {
        transform: translate(-15px, 20px) rotate(-10deg);
    }
}

.icon-1 {
    top: 15%;
    right: 5%;
    animation-delay: 0s;
}

.icon-2 {
    bottom: 25%;
    left: 5%;
    color: var(--secondary);
    animation-delay: 2s;
}

.icon-3 {
    top: 35%;
    left: 10%;
    color: var(--accent);
    animation-delay: 4s;
}

.icon-4 {
    bottom: 10%;
    right: 15%;
    color: var(--primary-dark);
    animation-delay: 6s;
}

/* STATS GRID */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    background: var(--bg-white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    margin: -80px 10% 40px;
    position: relative;
    z-index: 10;
}

.stat-item {
    text-align: center;
}

.stat-item h4 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-dim);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
}

/* SECTIONS */
.section {
    padding: 100px 10%;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(45, 212, 191, 0.2);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: rgba(45, 212, 191, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-size: 1.8rem;
}

/* TESTIMONIALS */
.testimonial-card {
    background: var(--glass);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.testimonial-text {
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-info strong {
    display: block;
}

.user-info span {
    font-size: 0.85rem;
    color: var(--text-dim);
}

/* TRACKING DEMO */
.tracking-demo {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    gap: 2rem;
    align-items: center;
    box-shadow: var(--shadow-md);
    margin-top: 4rem;
}

.track-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: var(--radius-md);
    background: var(--bg-light);
    flex: 1;
}

.track-item i {
    font-size: 1.5rem;
    color: var(--primary);
}

/* UTILS */
.d-flex {
    display: flex;
}

.gap-4 {
    gap: 1rem;
}

.text-center {
    text-align: center;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 140px;
    }

    .hero-content {
        margin-bottom: 3rem;
    }

    .navbar {
        padding: 1rem 5%;
    }

    .nav-links {
        display: none;
    }

    .stats-grid {
        margin: 0 5% 40px;
    }

    .tracking-demo {
        flex-direction: column;
    }
}

/* ANIMATIONS */
[data-reveal] {
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-reveal="up"] {
    transform: translateY(40px);
}

[data-reveal="left"] {
    transform: translateX(-40px);
}

[data-reveal="right"] {
    transform: translateX(40px);
}

[data-reveal="zoom"] {
    transform: scale(0.9);
}

[data-reveal].active {
    opacity: 1;
    transform: translate(0) scale(1);
}

.reveal-delay-1 {
    transition-delay: 0.15s;
}

.reveal-delay-2 {
    transition-delay: 0.3s;
}

.reveal-delay-3 {
    transition-delay: 0.45s;
}

/* TRACKING GRID */
.tracking-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.track-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.track-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(45, 212, 191, 0.15);
}

.track-card-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.track-card-info {
    flex: 1;
}

.track-card-info strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
    color: var(--text-main);
}

.track-card-info small {
    display: block;
    color: var(--text-dim);
    font-size: 0.82rem;
    line-height: 1.5;
}

.track-badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 8px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* CAROUSEL */
.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.carousel-track-container {
    overflow: hidden;
    flex: 1;
    border-radius: var(--radius-lg);
}

.carousel-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
    flex-shrink: 0;
}

.carousel-btn {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-dim);
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
    z-index: 2;
}

.carousel-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 2rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #cbd5e1;
    cursor: pointer;
    transition: var(--transition-smooth);
    padding: 0;
}

.carousel-dot.active {
    background: var(--primary);
    transform: scale(1.3);
}

/* USER AVATAR */
.user-avatar {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
}

/* LEGAL PAGES */
.legal-page {
    padding: 140px 5% 80px;
    max-width: 1500px;
    margin: 0 auto;
}

.legal-page-inner {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 5rem;
    box-shadow: var(--shadow-lg);
}

.legal-page h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.legal-page h2 {
    font-size: 1.3rem;
    color: var(--text-main);
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
    padding-left: 0.75rem;
    border-left: 3px solid var(--primary);
}

.legal-page h3 {
    font-size: 1.05rem;
    color: #334155;
    margin-top: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.legal-page p {
    color: #475569;
    line-height: 1.75;
    margin-bottom: 0.75rem;
}

.legal-page .legal-intro {
    font-size: 1.05rem;
    color: #334155;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.legal-page ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-page ul li {
    color: #475569;
    line-height: 1.9;
}

.legal-page ul li::marker {
    color: var(--primary);
}

.legal-page .legal-date {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

/* RESPONSIVE ADDITIONS */
@media (max-width: 992px) {
    .carousel-btn {
        width: 36px;
        height: 36px;
        min-width: 36px;
        font-size: 0.85rem;
    }

    .tracking-grid {
        grid-template-columns: 1fr;
    }

    .legal-page {
        padding: 120px 5% 60px;
    }

    .legal-page-inner {
        padding: 2rem 1.5rem;
    }
}

/* SUPPORT PAGE */
.support-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 5rem;
    margin-top: 3rem;
}

.support-header h1 {
    font-size: 3.5rem !important;
    margin-bottom: 1.5rem !important;
}

.support-header p {
    font-size: 1.25rem !important;
    max-width: 600px !important;
}

.support-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.support-card-mini {
    background: #F8FAFC;
    padding: 2.5rem;
    border-radius: 24px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: var(--transition-smooth);
    border: 1px solid #E2E8F0;
}

.support-card-mini:hover {
    background: #fff;
    transform: translateX(12px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.support-card-mini i {
    font-size: 2.2rem;
    color: var(--primary);
    width: 50px;
    text-align: center;
}

.support-card-mini strong {
    display: block;
    font-size: 1.3rem;
    color: var(--text-main);
    margin-bottom: 0.4rem;
}

.support-card-mini p {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-dim);
}

/* CONTACT FORM */
.contact-form-container {
    background: #fff;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 1rem;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 1.5rem;
    border-radius: 20px;
    border: 1px solid #E2E8F0;
    background: #F8FAFC;
    font-size: 1.2rem;
    color: var(--text-main);
    transition: var(--transition-smooth);
    outline: none;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.1);
}

@media (max-width: 992px) {
    .support-info {
        display: none;
    }

    .support-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .legal-page {
        padding: 100px 0 40px;
        max-width: 100%;
    }

    .legal-page-inner {
        padding: 2.5rem 1.5rem;
        border-radius: 0;
        box-shadow: none;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .support-header h1 {
        font-size: 2.2rem !important;
    }

    .support-header p {
        font-size: 1.1rem !important;
    }
}