@charset "UTF-8";

/* ==========================================================================
   1. Variables & Base Styles
   ========================================================================== */
:root {
    /* カラーパレット：精密機器・ラボをイメージしたダークテーマ */
    --primary-color: #3aa3ff;
    /* 発光する明るい青 (メイン) */
    --accent-color: #00e5ff;
    /* ネオンシアン (アクセント) */
    --text-color: #e6f1ff;
    /* 白に近い水色 (本文) */
    --text-muted: #a8b2d1;
    /* 落ち着いたグレー (補足) */
    --bg-color: #020c1b;
    /* ほぼ黒の深い紺 (ベース背景) */

    /* ガラスモーフィズム設定 */
    --glass-bg: rgba(17, 34, 64, 0.85);
    /* 暗いすりガラス */
    --glass-border: rgba(100, 255, 218, 0.2);
    /* 薄い発光枠 */

    /* フォント設定 */
    --font-main: 'Noto Sans JP', sans-serif;
    --font-en: 'Montserrat', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.8;
    background-color: var(--bg-color);
    overflow-x: hidden;
    /* 横揺れ防止 */
}

body.no-scroll {
    overflow: hidden;
}

/* 背景画像レイヤー（CSSで暗く加工） */
.bg-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* スマホのアドレスバー対策 */
    background-image: url('bg.png');
    background-size: cover;
    background-position: center;
    z-index: 0;
    /* コンテンツのすぐ下に配置 */
    opacity: 0.6;
    /* Increased brightness/visibility */
    filter: grayscale(30%) contrast(120%);
    pointer-events: none;
    /* 背景がクリックを邪魔しないように */
}

/* Scroll Fade Target Background */
.bg-layer-2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('hero_visual.png');
    /* Abstract 3D Image */
    background-size: cover;
    background-position: center;
    z-index: 0;
    opacity: 0;
    /* Start hidden */
    pointer-events: none;
    transition: opacity 0.1s linear;
    /* Optional: darken it a bit to ensure text readability */
    filter: brightness(0.4);
}

.bg-layer-3 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('bg_layer_3.png');
    /* New Abstract Image */
    background-size: cover;
    background-position: center;
    z-index: 0;
    opacity: 0;
    /* Start hidden */
    pointer-events: none;
    transition: opacity 0.1s linear;
    filter: brightness(0.4);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* ==========================================================================
   2. Header & Logo
   ========================================================================== */
.header {
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: rgba(2, 12, 27, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: padding 0.3s;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ロゴエリア（画像＋テキスト） */
.branding {
    display: flex;
    align-items: center;
    gap: 15px;
    /* ロゴと文字の間隔 */
}

.logo-img {
    height: 55px;
    /* ロゴ画像の高さ */
    width: auto;
    display: block;
}

.header-right-mobile {
    display: none;
}

.logo-text {
    font-family: var(--font-en);
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 0.5px;
    color: #fff;
    line-height: 1;
    text-shadow:
        0 0 15px rgba(58, 163, 255, 0.9),
        0 0 30px rgba(58, 163, 255, 0.7),
        0 0 45px rgba(58, 163, 255, 0.5),
        2px 2px 4px rgba(0, 0, 0, 0.9);
}

.logo-text span {
    color: var(--primary-color);
    font-size: 1rem;
    margin-left: 5px;
}

/* ナビゲーション */
.nav ul {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav a {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    font-family: var(--font-main);
}

.nav a:hover {
    color: var(--accent-color);
}

/* お問い合わせボタン（ナビ内） */
.btn-contact-nav {
    border: 1px solid var(--primary-color);
    padding: 8px 20px;
    border-radius: 30px;
    color: var(--primary-color) !important;
}

.btn-contact-nav:hover {
    background: var(--primary-color);
    color: #fff !important;
}

/* Language Switcher */
.lang-switch {
    margin-left: 20px;
    font-family: var(--font-en);
    font-weight: 600;
    font-size: 0.9rem;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 5px 15px;
    border-radius: 20px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.lang-switch:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.lang-switch-mobile {
    display: none;
}


/* ==========================================================================
   3. Hero Section (Top)
   ========================================================================== */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-subtitle {
    font-family: var(--font-en);
    color: var(--accent-color);
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 15px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 25px;
    color: #fff;
    text-shadow: 0 0 20px rgba(58, 163, 255, 0.4);
}

.hero-desc {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: var(--text-muted);
}

.hero-btn-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Hero Split Layout */
.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-img-visual {
    width: 100%;
    max-width: 550px;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(58, 163, 255, 0.2));
    animation: float 6s ease-in-out infinite;
    border-radius: 20px;
    /* Optional: adds a bit of softness to the image box if needed, though image itself might be transparent background */
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}


/* ==========================================================================
   4. Buttons & Common UI
   ========================================================================== */
.btn-primary {
    display: inline-block;
    padding: 15px 35px;
    background: var(--primary-color);
    color: white;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 0 15px rgba(58, 163, 255, 0.4);
    white-space: nowrap;
}

.btn-primary:hover {
    background: #2589e3;
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(58, 163, 255, 0.6);
}

.btn-secondary {
    display: inline-block;
    padding: 15px 35px;
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 50px;
    font-weight: 700;
    white-space: nowrap;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-sm {
    padding: 10px 25px;
    font-size: 0.9rem;
}

.btn-disabled {
    display: inline-block;
    padding: 10px 25px;
    font-size: 0.9rem;
    background: #333;
    color: #888;
    border-radius: 50px;
    cursor: default;
}


/* ==========================================================================
   5. Sections & Layouts
   ========================================================================== */
.section {
    padding: 90px 0;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    font-weight: 700;
    margin-bottom: 50px;
    position: relative;
    color: #fff;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 15px auto 0;
    box-shadow: 0 0 10px var(--accent-color);
}

.section-lead {
    margin-bottom: 50px;
    color: var(--text-muted);
}

.section-title-sm {
    font-size: 1.2rem;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.center-text {
    text-align: center;
}

.bg-darker {
    background: rgba(0, 0, 0, 0.3);
}

/* ガラスカード（共通） */
.glass-panel,
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
}

.glass-card:hover {
    transform: translateY(-5px);
}

.service-card-img {
    width: calc(100% + 60px);
    margin: -30px -30px 20px -30px;
    border-radius: 12px 12px 0 0;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* グリッドシステム */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}


/* ==========================================================================
   6. Component Specific Styles
   ========================================================================== */

/* News List */
.news-list li {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.news-list .date {
    font-family: var(--font-en);
    font-weight: bold;
    color: var(--accent-color);
}

.news-list .tag {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 10px;
    font-size: 0.8rem;
    border-radius: 4px;
    color: #fff;
}


/* Services */
.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.card-icon {
    font-family: var(--font-en);
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 700;
}

.glass-card h3 {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 0;
}

.service-desc {
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.service-detail-list {
    list-style: disc;
    padding-left: 20px;
    font-size: 0.9rem;
    color: #ccc;
}

.service-detail-list li {
    margin-bottom: 5px;
}


/* Works (Development Achievements) */
.works-grid-align-top {
    align-items: start;
}

.works-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.work-card h3.work-client {
    font-size: 1.1rem;
    color: #fff;
    border-left: 4px solid var(--accent-color);
    padding-left: 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.link-icon {
    font-size: 0.8rem;
    color: var(--primary-color);
    opacity: 0.8;
}

.link-icon:hover {
    color: var(--accent-color);
    opacity: 1;
}

.work-detail-list {
    list-style: none;
    padding: 0;
}

.work-detail-list li {
    margin-bottom: 15px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.work-detail-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.work-title {
    display: block;
    font-size: 0.95rem;
    color: #eee;
    margin-bottom: 5px;
}

.work-tags {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: var(--font-en);
}

.work-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.highlight-border {
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 15px rgba(58, 163, 255, 0.1);
}


/* AI Solutions Cards */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.solution-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.solution-img-box {
    height: 180px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.solution-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.5s ease;
}

/* Removed full overlay */

.solution-card:hover .solution-bg-img {
    transform: scale(1.05);
}

/* Old gradient classes removed */
.img-overlay {
    font-family: var(--font-en);
    font-weight: 700;
    font-size: 1.5rem;
    color: #fff;
    z-index: 2;
    /* Neon text effect */
    text-shadow:
        0 0 10px rgba(58, 163, 255, 0.8),
        0 0 20px rgba(58, 163, 255, 0.5),
        2px 2px 4px rgba(0, 0, 0, 0.9);
    /* Strong drop shadow for readability on light areas */

    /* Removed background for cleaner look */
    background: transparent;
    padding: 0;
    border: none;
    backdrop-filter: none;
}

.solution-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.solution-content h3 {
    font-size: 1.2rem;
    margin: 10px 0;
    color: #fff;
}

.solution-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    flex-grow: 1;
}

.badge {
    display: inline-block;
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 4px;
    font-weight: bold;
    margin-bottom: 5px;
}

.badge-local {
    background: rgba(58, 163, 255, 0.2);
    color: #3aa3ff;
    border: 1px solid #3aa3ff;
}

.badge-cloud {
    background: rgba(255, 153, 0, 0.2);
    color: #ff9900;
    border: 1px solid #ff9900;
}

.badge-oracle {
    background: rgba(255, 0, 0, 0.2);
    color: #ff4d4d;
    border: 1px solid #ff4d4d;
}

.spec-list {
    margin: 15px 0;
    padding: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    font-size: 0.85rem;
    color: #ccc;
}

.spec-list li {
    margin-bottom: 5px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    padding-bottom: 3px;
}

.spec-list li:last-child {
    border-bottom: none;
}

.spec-list strong {
    color: var(--accent-color);
    margin-right: 5px;
}


/* Tech Stack Table */
.tech-row {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
}

.tech-row:last-child {
    border-bottom: none;
}

.tech-row dt {
    width: 30%;
    font-weight: bold;
    color: var(--accent-color);
}

.tech-row dd {
    width: 70%;
    color: #eee;
}


/* Company Table */
/* Company Overview Grid */
.company-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    /* Reduced gap */
    padding: 0;
    margin: 0;
}

.company-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 15px;
    /* Reduced padding */
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: row;
    /* Inline layout */
    align-items: baseline;
    /* Align text */
    gap: 15px;
}

.company-item dt {
    font-size: 0.8rem;
    color: var(--accent-color);
    font-weight: bold;
    opacity: 0.8;
    min-width: 80px;
    /* Fixed width for alignment */
    flex-shrink: 0;
}

.company-item dd {
    font-size: 0.9rem;
    color: #fff;
    word-break: break-all;
    line-height: 1.4;
    margin: 0;
}

/* Full width for address or long items */
.company-item.full-width {
    grid-column: 1 / -1;
}

/* Specific adjustment for small screens */
@media (max-width: 600px) {
    .company-list {
        grid-template-columns: 1fr;
    }

    .company-item {
        flex-direction: column;
        /* Stack on mobile if needed, or keep row */
        gap: 5px;
    }
}


/* Contact */
.contact-card {
    max-width: 700px;
    display: inline-block;
}

.contact-action {
    margin: 30px 0;
}

.btn-large {
    font-size: 1.2rem;
    padding: 18px 60px;
    cursor: pointer;
}

.contact-sub strong {
    display: block;
    font-size: 1.2rem;
    margin-top: 5px;
    color: #fff;
    user-select: all;
}


/* Privacy Policy */
.privacy-area {
    margin: 50px auto;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.privacy-details summary {
    cursor: pointer;
    color: var(--accent-color);
    text-align: center;
}

.privacy-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 8px;
    margin-top: 10px;
}


/* Footer */
.footer {
    padding: 30px 0;
    text-align: center;
    font-size: 0.8rem;
    color: #666;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}


/* ==========================================================================
   7. Responsive Design (Mobile)
   ========================================================================== */
@media (max-width: 768px) {
    .header {
        background: rgba(2, 12, 27, 0.95);
        padding: 10px 0;
    }

    .header-inner {
        padding: 0 20px;
    }

    .header-right-mobile {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .lang-switch-mobile {
        display: block;
        margin-left: 0;
        font-size: 0.8rem;
        padding: 4px 12px;
    }

    /* Hamburger Menu Button */
    .hamburger-menu {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 25px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 200;
    }

    .hamburger-menu span {
        width: 100%;
        height: 3px;
        background-color: #fff;
        border-radius: 10px;
        transition: all 0.3s linear;
        position: relative;
        transform-origin: 1px;
    }

    /* Hamburger Animation */
    .hamburger-menu.active span:nth-child(1) {
        transform: rotate(45deg);
    }

    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(20px);
    }

    .hamburger-menu.active span:nth-child(3) {
        transform: rotate(-45deg);
    }

    /* Mobile Nav Overlay */
    .nav {
        display: block;
        /* enable for transition */
        position: fixed;
        top: 0;
        right: -100%;
        /* hide off-screen */
        width: 100%;
        /* Fullscreen or 80% */
        height: 100vh;
        background: rgba(2, 12, 27, 0.98);
        z-index: 150;
        transition: right 0.3s ease-in-out;
        /* Slide in from right */
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .nav.active {
        right: 0;
    }

    .nav ul {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .nav a {
        font-size: 1.5rem;
    }

    /* 簡易化のためメニュー非表示 */

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-image {
        width: 100%;
        max-width: 320px;
        order: -1;
        /* Image on top for mobile? Or keeping text on top? Let's try image top for visual impact on mobile. */
        margin: 0 auto;
    }

    .hero-btn-group {
        justify-content: center;
    }

    .grid-2,
    .grid-3,
    .tech-row {
        display: block;
    }

    /* カード間のマージン */
    .works-column,
    .card,
    .work-card {
        margin-bottom: 30px;
    }

    .tech-row dt {
        width: 100%;
        margin-bottom: 5px;
    }

    .tech-row dd {
        width: 100%;
        margin-bottom: 15px;
    }



    .logo-text {
        font-size: 1.1rem;
    }

    .logo-text span {
        font-size: 0.8rem;
    }

    .logo-img {
        height: 40px;
    }
}

/* コンテンツを背景より手前に表示 */
header,
main,
footer {
    position: relative;
    z-index: 1;
}

/* Subtitle Japanese Styling */
.section-subtitle-ja {
    display: block;
    font-size: 1rem;
    font-weight: normal;
    color: var(--text-muted);
    margin-top: 5px;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   8. FA Highlight Section
   ========================================================================== */
.fa-highlight-section {
    margin-bottom: 50px;
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(58, 163, 255, 0.15);
}

.fa-header {
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.work-client-lg {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.work-client-lg::before {
    content: '';
    display: block;
    width: 6px;
    height: 1.5em;
    background: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
}

.fa-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.fa-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.fa-feature-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    overflow: hidden;
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.fa-feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.fa-img-box {
    width: 100%;
    height: 160px;
    position: relative;
    overflow: hidden;
}

.fa-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
    filter: brightness(0.8);
}

.fa-feature-card:hover .fa-img {
    transform: scale(1.1);
    filter: brightness(1);
}

.fa-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 5px 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--accent-color);
    font-family: var(--font-en);
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.fa-feature-card h4 {
    padding: 15px;
    font-size: 1rem;
    color: #fff;
    line-height: 1.4;
    margin: 0;
}

.fa-tech-desc {
    padding: 0 15px 15px;
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin: 0;
}

/* AI Prototype Promotion CTA */
.solution-cta {
    background: linear-gradient(135deg, rgba(58, 163, 255, 0.1), rgba(0, 229, 255, 0.1)) !important;
    border: 1px solid rgba(58, 163, 255, 0.3) !important;
    padding: 40px !important;
    position: relative;
    overflow: hidden;
}

.solution-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
}

.solution-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.solution-cta-text {
    flex: 1;
    min-width: 300px;
}

.cta-title {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.btn-demo {
    position: relative;
    background: linear-gradient(90deg, #3aa3ff, #00e5ff);
    border: none;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
    animation: btn-pulse 2s infinite;
}

.btn-demo:hover {
    background: linear-gradient(90deg, #2589e3, #00b8cc);
}

.btn-demo.demo-static {
    background: linear-gradient(90deg, #ff9900, #ffcc00);
    box-shadow: 0 0 20px rgba(255, 153, 0, 0.4);
    animation: btn-pulse-orange 2s infinite;
    cursor: default;
    color: #fff;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
}

.btn-demo.demo-static::before {
    display: none;
}

.btn-demo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.5s;
    z-index: -1;
    animation: btn-shine 3s infinite;
}

@keyframes btn-pulse-orange {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 153, 0, 0.7);
        transform: scale(1);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 153, 0, 0);
        transform: scale(1.02);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 153, 0, 0);
        transform: scale(1);
    }
}

@keyframes btn-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.7);
        transform: scale(1);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(0, 229, 255, 0);
        transform: scale(1.02);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 229, 255, 0);
        transform: scale(1);
    }
}

@keyframes btn-shine {
    0% {
        left: -100%;
    }

    20% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

.cta-desc {
    color: var(--text-color);
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.6;
}

.cta-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.cta-list li {
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--accent-color);
    border: 1px solid rgba(0, 229, 255, 0.8);
}

.solution-cta-action {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .solution-cta-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }

    /* Reduce padding on mobile to give more space for text */
    .solution-cta {
        padding: 30px 25px !important;
    }

    .solution-cta-action {
        width: 100%;
        text-align: center;
    }

    .solution-cta-action .btn-primary {
        width: 100%;
    }

    /* Force visibility of list items on mobile */
    .cta-list li {
        border: 1px solid #00e5ff !important;
        background: rgba(255, 255, 255, 0.1) !important;
    }
}