/* CSS Variables */
:root {
    /* macOS 26 Palette */
    --primary-accent: #007AFF;
    /* Vivid Blue */
    --primary-gradient: linear-gradient(135deg, #00C6FF 0%, #0072FF 100%);

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.10);
    --backdrop-blur: blur(20px);

    /* Text */
    --text-primary: #1D1D1F;
    --text-secondary: #86868B;

    /* UI Elements */
    --bg-page: #F5F5F7;
    --radius-large: 24px;
    --radius-pill: 9999px;

    --container-width: 1300px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: "SF Pro Display", "SF Pro Text", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-primary);
    background-color: #F0F4F8;
    background-image:
        radial-gradient(at 0% 0%, hsla(217, 90%, 85%, 1) 0, transparent 50%),
        radial-gradient(at 100% 0%, hsla(250, 60%, 90%, 1) 0, transparent 50%);
    background-attachment: fixed;
    /* Parallax-like feel */
    line-height: 1.5;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

h2 {
    font-size: 40px !important;
    font-weight: 600 !important;
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
}

h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

p {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn1 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 17px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.btn-black {
    color: white;
}

.btn-black:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary1 {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 8px 16px rgba(0, 122, 255, 0.25), 0 2px 4px rgba(0, 122, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary1:hover {
    transform: translateY(-2px);
    color: #ffffff !important;
    text-decoration: none !important;
    box-shadow: 0 12px 24px rgba(0, 122, 255, 0.35), 0 4px 8px rgba(0, 122, 255, 0.1);
}

.btn-outline1 {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 122, 255, 0.2);
    color: var(--primary-accent);
    margin-left: 16px;
}

.btn-outline1:hover {
    color: #007AFF !important;
    text-decoration: none !important;
    background: rgba(255, 255, 255, 0.8);
    border-color: var(--primary-accent);
    transform: translateY(-2px);
}

.icon-btn1 svg {
    margin-left: 8px;
}

/*nav Section */
.navbar{
    padding: .375rem 1rem;
    background: rgba(0, 0, 0, .1);
}
.icon-chiyou-logo {
    color: rgba(10, 28, 62, .9);;
}
.navbar-dark .navbar-nav .nav-link {
    color: rgba(0, 0, 0, .8) !important;
}
@media (min-width: 992px) {
    .navbar ul li:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}
/* Hero Section */
.hero {
    position: relative;
    padding-top: 65px;
    /* Reduced from 130px */
    padding-bottom: 10px;
    text-align: center;
    overflow: hidden;
    color: var(--text-primary);
    background: transparent;
}

/* Wave Decoration */
/* Wave Decoration - Removed for dark theme or updated if needed */
.hero::after {
    display: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    /* Image is 20% wider than text */
    align-items: center;
    position: relative;
    z-index: 10;
    /* Ensure text is above image layer */
}

.hero-text {
    /* Occupies the first column naturally */
    max-width: 100%;
}

.hero-image {
    /* Occupies the second column */
    position: relative;
    z-index: 1;
    /* margin-left removed for default spacing */
    display: flex;
    justify-content: flex-start;
    /* Aligns image to the start of its offset area */
    pointer-events: none;
}

.hero-image img {
    display: block;
    width: 100%;
    /* Reset to natural column width */
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.25));
}





@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.hero .hero-title,
.hero .hero-subtitle,
.hero .compatibility {
    text-align: left;
}

.hero .hero-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-title {
    font-size: 72px;
    /* Increased from 56px */
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    line-height: 1.1;
}

.title-line-1 {
    font-weight: 700;
    color: #1D1D1F;
    white-space: nowrap;
}

.title-line-2 {
    font-weight: 700;
    color: #1D1D1F;
    padding-bottom: 4px;
    /* Prevent clipping */
    white-space: nowrap;
}

.hero-subtitle {
    font-size: 22px;
    /* Increased from 18px */
    color: #424245;
    margin-bottom: 40px;
    font-weight: 500;
}

.hero-actions {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.hero-features-list {
    display: flex;
    align-items: center;
    gap: 24px;
}

.feature-item {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    color: var(--text-secondary);
    gap: 6px;
    font-weight: 500;
    /* Removed glass box styling as requested */
}

.scroll-indicator {
    margin-top: 60px;
    animation: bounce 2s infinite;
    opacity: 0.5;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}


/* Benefits Grid */
.benefits {
    padding: 80px 0;
    background-color: #fff;
    position: relative;
    z-index: 1;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.benefit-card {
    text-align: center;
    padding: 0 20px;
}

.icon-circle {
    width: 64px;
    height: 64px;
    background: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

/* Feature Sections */
.feature-section {
    padding: 100px 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.feature-reverse .feature-grid {
    direction: rtl;
    /* Easy way to flip order */
}

/* Reset text direction for content inside flipped grid */
.feature-reverse .feature-grid>* {
    direction: ltr;
}

.feature-text h2 {
    margin-bottom: 20px;
}

.feature-text p {
    font-size: 19px;
    max-width: 480px;
}

.feature-img img {
    border-radius: var(--radius-large);
    width: 100%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.feature-img:hover img {
    transform: translateY(-5px);
}

.highlight-search img {
    /* Special styling for search bar to look floating */
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    max-width: 80%;
    margin: 0 auto;
}


/* Testimonials */
.testimonials {
    padding: 100px 0;
    background-color: transparent;
    /* Let mesh gradient show */
}

.section-title {
    margin-bottom: 60px;
}

.review-card {
    background: var(--glass-bg);
    padding: 30px;
    border-radius: var(--radius-large);
    box-shadow: var(--glass-shadow);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--backdrop-blur);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.review-header h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 2px;
}

.role {
    font-size: 14px;
    color: var(--text-secondary);
}

/* CTA Section */
/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: transparent;
}

.cta-card {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-radius: 40px;
    padding: 80px 40px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow:
        0 40px 100px rgba(0, 122, 255, 0.2),
        /* Deep ambient glow */
        0 10px 30px rgba(0, 0, 0, 0.05),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    /* Inner border */
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.cta-buttons {
    margin-top: 40px;
}

.compatibility-small {
    font-size: 13px;
    color: #666;
    margin-top: 16px;
}

/* Footer */
.site-footer {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--glass-border);
}

.copyright {
    font-size: 13px;
    color: #888;
}

/* Responsive */
@media (max-width: 960px) {
    .hero-title {
        font-size: 48px;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero .hero-title,
    .hero .hero-subtitle,
    .hero .compatibility {
        text-align: center;
    }

    .hero .hero-cta {
        align-items: center;
    }

    .grid-3 {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .feature-reverse .feature-grid {
        direction: ltr;
        /* Reset visual order on mobile */
    }

    .feature-text p {
        margin: 0 auto;
    }

    .feature-section {
        padding: 60px 0;
    }
}

/* Scroll Animations */
.scroll-hidden {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for grid items */
.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}