:root {
    /* Apple-Inspired Editorial Palette */
    --primary-color: #2DBE60;
    --accent-color: #2DBE60;
    --secondary-color: #0071e3;
    /* Classic Apple Blue for secondary if needed */

    --bg-body: #050a12;
    /* Deep Space Blue */
    --bg-card: rgba(16, 42, 67, 0.7);
    /* iOS/macOS Dark Card */
    --bg-elevated: rgba(26, 66, 105, 0.8);

    --text-main: #f5f5f7;
    /* San Francisco style text */
    --text-body: #a1a1a6;
    --text-muted: #86868b;

    --border-apple: rgba(255, 255, 255, 0.08);
    --radius-standard: 14px;

    --transition-apple: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-apple: 0 8px 32px 0 rgba(0, 0, 0, 0.37);

    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html,
body {
    background: transparent;
    font-family: var(--font-main);
    color: var(--text-main);
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 1.47059;
    letter-spacing: -0.022em;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--accent-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    margin-bottom: 0.55rem;
    font-weight: 600;
    line-height: 1.3;
}

h1 {
    font-size: 2.2rem;
    letter-spacing: -0.015em;
}

h2 {
    font-size: 1.5rem;
}

h3 {
    font-size: 1.25rem;
}

h4 {
    font-size: 1rem;
}

h5 {
    font-size: 0.9rem;
}

h6 {
    font-size: 0.8rem;
}

/* Navbar Premium Dark Theme */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3rem 5%;
    /* Reduced padding */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(11, 28, 45, 0.95);
    /* Dark Navy Background */
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(45, 190, 96, 0.1);
    /* Cyan hint border */
    transition: var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.navbar.scrolled {
    padding: 0.25rem 5%;
    /* Even smaller when scrolled */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    background: rgba(11, 28, 45, 0.98);
}

.logo {
    font-size: 1.4rem;
    /* Reduced from 1.8rem */
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #FFFFFF;
    /* White Logo */
    transition: var(--transition-smooth);
    text-shadow: 0 0 15px rgba(45, 190, 96, 0.3);
}

.logo:hover {
    color: var(--accent-color);
    transform: scale(1.03);
    text-shadow: 0 0 20px rgba(45, 190, 96, 0.6);
}

.navbar .logo img {
    height: 45px;
    /* Reduced from 70px */
    vertical-align: middle;
    transition: var(--transition-smooth);
}

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

.nav-links a {
    color: var(--text-main);
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0.65;
    text-decoration: none;
    transition: var(--transition-apple);
}

.nav-links a:hover,
.nav-links a.active {
    opacity: 1;
}

/* Apple-Style Pill Buttons in Nav */
/* Apple-Style Pill Buttons */
.nav-links .btn-primary {
    padding: 0.5rem 1.2rem;
    font-size: 0.82rem;
}

.btn-primary {
    background: var(--primary-color);
    color: #000000 !important;
    padding: 0.6rem 1.6rem;
    border-radius: 980px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-apple);
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: -0.01em;
}

.btn-primary:hover {
    background: #34d673;
    transform: scale(1.02);
}

.btn-outline {
    background: transparent !important;
    color: var(--primary-color) !important;
    border: 1px solid var(--primary-color) !important;
    border-radius: 980px;
    padding: 0.6rem 1.6rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-apple);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-outline:hover {
    background: rgba(45, 190, 96, 0.1) !important;
    transform: scale(1.02);
}

/* Hero and Layout Cleanup */
.navbar {
    background: rgba(0, 0, 0, 0.85) !important;
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border-apple);
    padding: 0.3rem 8% !important;
    height: 52px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-buttons {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger div {
    width: 24px;
    height: 2px;
    background: #FFFFFF;
    /* White hamburger */
    transition: var(--transition-smooth);
}

main {
    padding-top: 60px;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

.global-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #050a12;
    background-image:
        radial-gradient(circle at 70% 50%, #102a43 0%, #050a12 100%);
    z-index: -1;
    overflow: hidden;
}

/* Energy Blob Animation from snippet */
.energy-blob {
    position: absolute;
    width: 400px;
    height: 400px;
    background: #2DBE60;
    filter: blur(80px);
    opacity: 0.15;
    border-radius: 50%;
    z-index: -1;
    top: 50%;
    left: 70%;
    transform: translate(-50%, -50%);
    animation: pulseGlow 4s infinite ease-in-out;
    pointer-events: none;
}

@keyframes pulseGlow {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.15;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0.25;
    }
}

.global-background::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.global-background::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, transparent 40%, #050a12 100%);
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.25rem 1.5rem;
}

#hero {
    height: 100vh;
    min-height: 520px;
    display: flex;
    align-items: center;
    /* Center vertically */
    padding: 0 5%;
    /* Reset padding */
    position: relative;
}

.hero-split-container {
    display: flex;
    width: 100%;
    height: 100%;
    max-width: 1300px;
    margin: 0 auto;
    align-items: center;
    /* Center align items vertically */
    position: relative;
    z-index: 2;
}

.hero-text-side {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 2rem;
    height: 100%;
    /* Allow full height */
}

.hero-visual-side {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    /* Allow full height for bigger globe */
}

#hero-canvas-container {
    width: 90%;
    /* Slightly reduced */
    height: 75%;
    /* Slightly reduced */
}

/* ... existing tooltip styles ... */

.globe-tooltip {
    position: absolute;
    background: rgba(11, 28, 45, 0.95);
    color: #fff;
    padding: 0.6rem 0.95rem;
    border-radius: 5px;
    border: 1px solid var(--accent-color);
    pointer-events: none;
    display: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    z-index: 10;
    min-width: 150px;
    backdrop-filter: blur(5px);
}

.globe-tooltip h4 {
    color: var(--accent-color);
    margin-bottom: 0.3rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.globe-tooltip p {
    font-size: 0.75rem;
    color: #E2E8F0;
    margin-bottom: 0.3rem;
    line-height: 1.4;
}

.globe-tooltip .tooltip-cta {
    font-size: 0.65rem;
    color: #fff;
    background: var(--secondary-color);
    padding: 0.2rem 0.55rem;
    border-radius: 3px;
    display: inline-block;
    margin-top: 0.25rem;
    font-weight: 600;
}

.hero-content h1 {
    font-size: 2.8rem;
    /* Increased significantly */
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #FFFFFF;
}

.hero-content p {
    font-size: 0.9rem;
    color: #cbd5e1;
    max-width: 460px;
    margin-bottom: 1.6rem;
    line-height: 1.65;
}

#hero .btn-outline {
    color: #fff !important;
    border-color: #fff;
}

/* Standardized Apple-Style Cards */
.service-card,
.tracking-card,
.destination-card {
    background: var(--bg-card);
    backdrop-filter: saturate(180%) blur(20px);
    border: 1px solid var(--border-apple);
    padding: 1.8rem;
    border-radius: var(--radius-standard);
    transition: var(--transition-apple);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: none;
    /* Apple doesn't use heavy shadows for flat-glass cards */
}

.service-card:hover,
.tracking-card:hover,
.destination-card:hover {
    background: var(--bg-elevated);
    border-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.015);
}

.service-card h3,
.destination-card h3,
.tracking-card h2 {
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 0.6rem;
    color: var(--text-main) !important;
}

.service-card p,
.destination-card p,
.tracking-card p {
    font-size: 0.92rem;
    color: var(--text-body);
    line-height: 1.45;
    margin-bottom: 0;
}

/* Specific compact tracking card on specialized pages */
/* Ultra-Mini Tracking Card */
.tracking-container .tracking-card {
    max-width: 400px;
    /* Even smaller */
    margin: 0 auto;
    padding: 1.5rem;
    /* Tighter padding */
}

.tracking-header {
    text-align: center;
    margin-bottom: 2rem;
}

.tracking-header h1 {
    font-size: 1.4rem;
    /* Smaller, more editorial */
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 0.4rem;
}

.tracking-header p {
    font-size: 0.8rem;
    /* Smaller */
    color: var(--text-muted);
}

/* Precision inputs for tracking */
.tracking-card label {
    font-size: 0.7rem !important;
    opacity: 0.8;
}

.tracking-card input,
.tracking-card select {
    padding: 0.8rem !important;
    /* Smaller padding */
    font-size: 0.85rem !important;
}

.tracking-card .btn-primary {
    padding: 0.8rem !important;
    font-size: 0.85rem !important;
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 28, 45, 0.75);
    backdrop-filter: blur(6px);
}

.modal-content {
    background: var(--bg-elevated);
    backdrop-filter: saturate(180%) blur(25px);
    margin: 8% auto;
    padding: 2rem;
    border: 1px solid var(--border-apple);
    width: 90%;
    max-width: 440px;
    border-radius: var(--radius-standard);
    box-shadow: var(--shadow-apple);
    color: var(--text-main);
    position: relative;
}

.close-modal {
    position: absolute;
    top: 0.8rem;
    right: 1.2rem;
    color: var(--text-muted);
    font-size: 1.3rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.close-modal:hover {
    color: var(--accent-color);
    transform: rotate(90deg) scale(1.15);
}

input[type="text"],
input[type="email"],
select,
textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 0.88rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-apple);
    border-radius: 10px;
    /* Precise radius for inputs */
    color: var(--text-main);
    outline: none;
    transition: var(--transition-apple);
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

input[type="text"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
    outline: none;
    background: #fff;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(31, 78, 121, 0.08);
    transform: translateY(-1px);
}

input[type="text"]:hover,
input[type="email"]:hover,
select:hover,
textarea:hover {
    border-color: var(--accent-color);
}

@media (max-width: 968px) {
    .nav-links {
        position: fixed;
        right: 0;
        top: 0;
        height: 100vh;
        width: 100%;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: saturate(180%) blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transform: translateY(-100%);
        /* Fly-down menu style like modern Apple */
        transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1001;
        padding-top: 0;
    }

    .nav-links.nav-active {
        transform: translateY(0);
    }

    .nav-links li {
        margin: 0;
        opacity: 0;
        transform: translateY(10px);
        transition: all 0.4s ease forwards;
    }

    .nav-links.nav-active li {
        opacity: 1;
        transform: translateY(0);
    }

    /* Stagger links */
    .nav-links li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-links li:nth-child(2) {
        transition-delay: 0.15s;
    }

    .nav-links li:nth-child(3) {
        transition-delay: 0.2s;
    }

    .nav-links li:nth-child(4) {
        transition-delay: 0.25s;
    }

    .nav-links li:nth-child(5) {
        transition-delay: 0.3s;
    }

    .nav-links li:nth-child(6) {
        transition-delay: 0.35s;
    }

    .nav-links a {
        font-size: 1.4rem;
        font-weight: 500;
        letter-spacing: -0.02em;
    }

    .hamburger {
        display: flex;
        z-index: 1002;
        padding: 0.5rem;
    }

    /* Hamburger Animation Cross */
    .toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .toggle .line2 {
        opacity: 0;
    }

    .toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}

@media (max-width: 768px) {
    .navbar {
        height: 48px;
        padding: 0 1.2rem !important;
    }

    .navbar .logo img {
        height: 24px;
    }

    #hero {
        padding: 0.5rem 1.2rem 8.5rem;
        /* Nudge content slightly higher */
        height: auto;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .hero-split-container {
        flex-direction: column !important;
        gap: 2rem !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
    }

    .hero-text-side {
        width: 100% !important;
        padding: 0 !important;
        margin: 0 auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .hero-content {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .hero-content h1 {
        font-size: 1.85rem !important;
        /* Slightly smaller for Apple precision */
        line-height: 1.1;
        margin-bottom: 0.8rem;
        letter-spacing: -0.03em;
        width: 100%;
    }

    .hero-content p {
        font-size: 0.88rem !important;
        /* Smaller text for boutique feel */
        line-height: 1.5;
        padding: 0 0.5rem;
        margin-bottom: 1.8rem;
        max-width: 300px !important;
    }

    .hero-buttons {
        gap: 0.6rem;
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 240px;
        /* Slimmer button container */
        margin: 0 auto;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-outline {
        width: 100% !important;
        font-size: 0.82rem;
        /* Reduced font size */
        padding: 0.6rem 1.2rem;
        /* Reduced padding */
        justify-content: center;
    }

    .hero-visual-side {
        width: 100% !important;
        height: 350px !important;
        /* Maximized for impact */
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 1.5rem;
    }

    #hero-canvas-container {
        width: 320px !important;
        /* Ultra-large globe */
        height: 320px !important;
    }

    .container {
        padding: 2.2rem 1.2rem !important;
    }

    .footer-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem;
        text-align: center;
        justify-items: center;
    }

    /* Pro-Mini Cards for Mobile */
    .service-card,
    .destination-card,
    .tracking-card {
        padding: 0.9rem !important;
        border-radius: 8px !important;
        max-width: 310px !important;
        /* Prevent cards from being too wide/bulky */
        margin: 0 auto !important;
        width: 100% !important;
    }

    .service-card h3,
    .destination-card h3,
    .tracking-card h2 {
        font-size: 0.95rem !important;
        margin-bottom: 0.3rem !important;
    }

    .service-card p,
    .destination-card p,
    .tracking-card p {
        font-size: 0.75rem !important;
        line-height: 1.35 !important;
        color: var(--text-muted) !important;
    }

    /* Small Icons for Mobile */
    .service-card div[style*="font-size"],
    .destination-card div[style*="font-size"] {
        font-size: 1.3rem !important;
        margin-bottom: 0.4rem !important;
    }
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

html {
    scroll-behavior: smooth;
}

::selection {
    background: var(--accent-color);
    color: white;
}

/* Micro-Minimalist Footer */
footer {
    background: #000000;
    color: var(--text-muted);
    padding: 1.5rem 0;
    /* Extremely shallow */
    border-top: 1px solid var(--border-apple);
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-grid {
    display: flex;
    /* Single row of columns */
    justify-content: space-between;
    gap: 2rem;
}

.footer-column h4 {
    color: var(--text-main);
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.6rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column p,
.footer-column ul li a,
.footer-column ul li span {
    color: var(--text-muted);
    font-size: 0.65rem;
    line-height: 1.4;
    text-decoration: none;
    transition: var(--transition-apple);
    opacity: 0.6;
}

.footer-column ul li {
    margin-bottom: 0.2rem;
}

.footer-column ul li a:hover {
    color: var(--text-main);
    opacity: 1;
}

/* End of specialized media queries */

/* Clean up old individual canvas styles */
#hero .btn-outline {
    color: #fff !important;
    border-color: #fff;
}