:root {
    --primary-color: #00D9FF;
    --primary-dark: #00A8CC;
    --secondary-color: #FF6B35;
    --secondary-dark: #E85929;
    --accent-purple: #9B59B6;
    --accent-green: #2ECC71;
    --dark-bg: #0A0E27;
    --dark-bg-light: #151B3F;
    --light-bg: #F8FAFC;
    --text-color: #334155;
    --text-light: #E2E8F0;
    --white: #FFFFFF;
    --gradient-hero: linear-gradient(135deg, #0A0E27 0%, #1a1f4d 50%, #2a1f4d 100%);
    --gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 40px rgba(0, 217, 255, 0.3);
    --font-main: 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    background: linear-gradient(135deg, var(--white) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
    max-width: 800px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 217, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 217, 255, 0.5);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.5);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Header */
.site-header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 217, 255, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    border-radius: 0;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.main-nav ul {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.main-nav a {
    font-weight: 500;
    color: var(--text-color);
    position: relative;
}

.main-nav a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.main-nav a:not(.btn):hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--dark-bg);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
    background: var(--gradient-hero);
    color: var(--white);
    padding: 8rem 0;
    overflow: hidden;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0, 217, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 107, 53, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.2), rgba(155, 89, 182, 0.2));
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary-color);
    border: 1px solid rgba(0, 217, 255, 0.3);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero-text h2 {
    font-size: 1.5rem;
    font-weight: 400;
    color: #CBD5E1;
    margin-bottom: 2rem;
}

.hero-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-image:hover img {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

/* Sections General */
.section {
    padding: 6rem 0;
    position: relative;
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.section-image img:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

/* Travel Trivia */
.trivia-section {
    background: linear-gradient(180deg, var(--white) 0%, var(--light-bg) 100%);
}

.subheading {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.callout-card {
    background: linear-gradient(135deg, #E0F7FF 0%, #F0F9FF 100%);
    padding: 2rem;
    border-radius: 20px;
    margin-top: 2rem;
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.callout-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.callout-card h4 {
    color: var(--dark-bg);
    margin-bottom: 0.5rem;
}

/* LogicLinks AI */
.logiclinks-section {
    background: var(--dark-bg);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.logiclinks-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.text-center {
    text-align: center;
}

.section-header {
    position: relative;
    z-index: 1;
}

.link-highlight {
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 3rem;
    position: relative;
    transition: all 0.3s ease;
}

.link-highlight::after {
    content: '→';
    margin-left: 0.5rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.link-highlight:hover {
    letter-spacing: 1px;
}

.link-highlight:hover::after {
    transform: translateX(5px);
}

.dashboard-preview {
    margin: 0 auto 4rem;
    max-width: 900px;
    position: relative;
    z-index: 1;
}

.dashboard-preview img {
    border-radius: 20px;
    box-shadow: 0 0 60px rgba(0, 217, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.feature-block {
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-purple));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-block:hover::before {
    transform: scaleX(1);
}

.feature-block:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 217, 255, 0.2);
    border-color: rgba(0, 217, 255, 0.3);
}

.feature-block h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.agent-section {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 30px;
    padding: 4rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

/* Siri Section */
.siri-section {
    background: linear-gradient(180deg, #F1F5F9 0%, var(--light-bg) 100%);
}

.two-column-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.column {
    padding: 3rem;
    border-radius: 24px;
    background: var(--white);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.column::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.column:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.column:hover::before {
    opacity: 1;
}

.people-ask {
    border-top: 4px solid var(--secondary-color);
}

.siri-kit {
    border-top: 4px solid var(--primary-color);
}

.question-list li {
    padding: 1.25rem;
    border-bottom: 1px solid #E2E8F0;
    position: relative;
    padding-left: 3rem;
    transition: all 0.3s ease;
}

.question-list li:last-child {
    border-bottom: none;
}

.question-list li::before {
    content: "?";
    position: absolute;
    left: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.5rem;
    width: 2rem;
    height: 2rem;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.question-list li:hover {
    background: rgba(255, 107, 53, 0.05);
    padding-left: 3.5rem;
}

.highlight-text {
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(0, 217, 255, 0.05);
    border-radius: 12px;
    border-left: 3px solid var(--primary-color);
}

/* Footer */
.site-footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 5rem 0 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.cta-section {
    margin-bottom: 3rem;
}

.cta-section h2 {
    background: linear-gradient(135deg, var(--white) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.contact-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem 2rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(0, 217, 255, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.contact-item a {
    color: var(--primary-color);
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 2rem;
    font-size: 0.875rem;
    color: #94A3B8;
}

/* Responsive Design */

/* Tablet and below */
@media (max-width: 1024px) {
    .container {
        width: 95%;
    }

    .hero-content,
    .section-grid {
        gap: 3rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile Landscape and Portrait */
@media (max-width: 768px) {

    /* Header & Logo */
    .site-header {
        padding: 0.75rem 0;
    }

    .logo img {
        height: 40px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        padding: 1rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch;
    }

    .main-nav a {
        padding: 0.75rem;
        display: block;
        text-align: center;
        border-radius: 8px;
    }

    .main-nav a:hover {
        background-color: rgba(0, 217, 255, 0.1);
    }

    .main-nav .btn {
        width: 100%;
    }

    /* Hero Section */
    .hero-section {
        padding: 3rem 0 4rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-image {
        order: -1;
        overflow: hidden;
    }

    .hero-image img {
        transform: none !important;
        position: relative;
        z-index: 1;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    .badge {
        font-size: 0.65rem;
        padding: 0.5rem 1rem;
        text-align: center;
    }

    /* Sections */
    .section {
        padding: 3rem 0;
    }

    .section-grid,
    .two-column-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .reverse-mobile {
        display: flex;
        flex-direction: column-reverse;
    }

    /* LogicLinks Section */
    .dashboard-preview {
        margin: 0 auto 3rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 3rem;
    }

    .feature-block {
        padding: 2rem;
    }

    .agent-section {
        padding: 2rem;
        border-radius: 20px;
    }

    /* Siri Section */
    .column {
        padding: 2rem;
    }

    .question-list li {
        padding: 1rem;
        padding-left: 2.5rem;
    }

    /* Footer */
    .site-footer {
        padding: 3rem 0 1.5rem;
    }

    .contact-details {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .contact-item {
        text-align: center;
    }

    /* Typography Mobile Adjustments */
    h1 {
        font-size: clamp(2rem, 8vw, 2.75rem);
    }

    h2 {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .lead {
        font-size: 1.1rem;
    }

    /* Buttons */
    .btn {
        padding: 0.875rem 1.75rem;
        font-size: 0.95rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .container {
        width: 95%;
        padding: 0 0.5rem;
    }

    .logo img {
        height: 35px;
    }

    .site-header {
        padding: 0.5rem 0;
    }

    .hero-section {
        padding: 2rem 0 3rem;
    }

    .section {
        padding: 2.5rem 0;
    }

    .badge {
        font-size: 0.6rem;
        padding: 0.4rem 0.8rem;
        letter-spacing: 1px;
    }

    h1 {
        font-size: clamp(1.75rem, 7vw, 2.25rem);
    }

    h2 {
        font-size: clamp(1.25rem, 5vw, 1.75rem);
    }

    h3 {
        font-size: 1.125rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .hero-actions {
        gap: 0.75rem;
    }

    .feature-block,
    .column,
    .agent-section {
        padding: 1.5rem;
    }

    .callout-card {
        padding: 1.5rem;
    }

    .question-list li {
        font-size: 0.95rem;
        padding: 0.875rem;
        padding-left: 2.25rem;
    }

    .question-list li::before {
        font-size: 1.25rem;
        width: 1.75rem;
        height: 1.75rem;
    }

    .link-highlight {
        font-size: 1.1rem;
        word-break: break-word;
    }
}

/* Very Small Devices */
@media (max-width: 360px) {
    .logo img {
        height: 30px;
    }

    .container {
        width: 98%;
    }

    h1 {
        font-size: 1.65rem;
    }

    h2 {
        font-size: 1.35rem;
    }

    .btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.85rem;
    }

    .badge {
        font-size: 0.55rem;
        padding: 0.35rem 0.7rem;
    }
}

/* Landscape Mobile Optimization */
@media (max-width: 900px) and (orientation: landscape) {
    .hero-section {
        padding: 2rem 0;
    }

    .section {
        padding: 2rem 0;
    }

    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .hero-image {
        order: 0;
    }
}

/* Scroll Animation */
.observe-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.observe-element.animate-in {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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