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

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #22d3ee;
    --dark-bg: #0f172a;
    --dark-surface: #1e293b;
    --light-text: #f1f5f9;
    --gray-text: #94a3b8;
    --accent-purple: #a855f7;
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --gradient-secondary: linear-gradient(135deg, #22d3ee 0%, #6366f1 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 30px rgba(99, 102, 241, 0.3);
}

body {
    font-family: 'Segoe UI', 'Noto Sans Thai', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--dark-bg);
    color: var(--light-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.crypteco-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.crypteco-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
    padding: 20px 0;
}

.crypteco-header.crypteco-scrolled {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    padding: 15px 0;
}

.crypteco-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.crypteco-logo {
    font-size: 26px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    cursor: pointer;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.crypteco-nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.crypteco-nav-link {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.crypteco-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.crypteco-nav-link:hover::after,
.crypteco-nav-link.crypteco-active::after {
    width: 100%;
}

.crypteco-nav-link:hover {
    color: var(--secondary-color);
}

.crypteco-nav-link.crypteco-active {
    color: var(--primary-color);
}

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

.crypteco-mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--light-text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.crypteco-main {
    margin-top: 100px;
}

.crypteco-breadcrumb {
    padding: 20px 0;
    background: rgba(30, 41, 59, 0.5);
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}

.crypteco-breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.crypteco-breadcrumb-nav a {
    color: var(--gray-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.crypteco-breadcrumb-nav a:hover {
    color: var(--primary-color);
}

.crypteco-breadcrumb-separator {
    color: var(--gray-text);
}

.crypteco-breadcrumb-current {
    color: var(--light-text);
    font-weight: 500;
}

.crypteco-service-detail-header {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.crypteco-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.crypteco-header-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
}

.crypteco-shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    top: -100px;
    right: 10%;
}

.crypteco-shape-2 {
    width: 350px;
    height: 350px;
    background: var(--secondary-color);
    bottom: -100px;
    left: 10%;
}

.crypteco-detail-header-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.crypteco-detail-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 25px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.crypteco-detail-subtitle {
    font-size: 18px;
    color: var(--gray-text);
    line-height: 1.8;
    margin-bottom: 40px;
}

.crypteco-detail-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.crypteco-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.crypteco-feature-icon {
    font-size: 28px;
}

.crypteco-feature-text h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--light-text);
    margin-bottom: 2px;
}

.crypteco-feature-text p {
    font-size: 12px;
    color: var(--gray-text);
}

.crypteco-detail-header-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.crypteco-service-scope {
    padding: 100px 0;
    background: var(--dark-bg);
}

.crypteco-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.crypteco-section-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.crypteco-section-subtitle {
    font-size: 18px;
    color: var(--gray-text);
}

.crypteco-scope-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.crypteco-scope-card {
    background: rgba(30, 41, 59, 0.5);
    border-radius: 16px;
    padding: 40px 30px;
    border: 1px solid rgba(99, 102, 241, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.crypteco-scope-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    background: rgba(30, 41, 59, 0.8);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.2);
}

.crypteco-scope-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: relative;
    transition: all 0.4s ease;
}

.crypteco-scope-icon span {
    font-size: 38px;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.crypteco-icon-architecture {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(168, 85, 247, 0.15) 100%);
}

.crypteco-icon-microservices {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(34, 211, 238, 0.15) 100%);
}

.crypteco-icon-integration {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.15) 0%, rgba(168, 85, 247, 0.15) 100%);
}

.crypteco-scope-card:hover .crypteco-scope-icon span {
    transform: scale(1.2);
}

.crypteco-scope-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--light-text);
}

.crypteco-scope-description {
    font-size: 15px;
    color: var(--gray-text);
    line-height: 1.7;
}

.crypteco-solutions {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--dark-surface) 100%);
}

.crypteco-solutions-list {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.crypteco-solution-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.crypteco-solution-reverse {
    direction: rtl;
}

.crypteco-solution-reverse>* {
    direction: ltr;
}

.crypteco-solution-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--light-text);
}

.crypteco-solution-description {
    font-size: 16px;
    color: var(--gray-text);
    line-height: 1.8;
    margin-bottom: 25px;
}

.crypteco-solution-features {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.crypteco-solution-features li {
    font-size: 15px;
    color: var(--gray-text);
    padding-left: 25px;
    position: relative;
}

.crypteco-solution-features li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 700;
}

.crypteco-solution-image {
    position: relative;
}

.crypteco-solution-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.crypteco-case-studies {
    padding: 100px 0;
    background: var(--dark-bg);
}

.crypteco-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.crypteco-case-card {
    background: rgba(30, 41, 59, 0.6);
    border-radius: 16px;
    padding: 35px 30px;
    border: 1px solid rgba(99, 102, 241, 0.1);
    transition: all 0.3s ease;
}

.crypteco-case-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.2);
}

.crypteco-case-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.crypteco-case-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--light-text);
    flex: 1;
}

.crypteco-case-category {
    font-size: 12px;
    padding: 6px 12px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 20px;
    font-weight: 600;
    white-space: nowrap;
}

.crypteco-case-description {
    font-size: 15px;
    color: var(--gray-text);
    line-height: 1.7;
    margin-bottom: 25px;
}

.crypteco-case-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding-top: 25px;
    border-top: 1px solid rgba(99, 102, 241, 0.2);
}

.crypteco-case-stat {
    text-align: center;
}

.crypteco-stat-value {
    display: block;
    font-size: 24px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.crypteco-stat-label {
    display: block;
    font-size: 12px;
    color: var(--gray-text);
}

.crypteco-service-inquiry {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--dark-surface) 0%, var(--dark-bg) 100%);
}

.crypteco-inquiry-wrapper {
    background: rgba(99, 102, 241, 0.1);
    border: 2px solid rgba(99, 102, 241, 0.2);
    border-radius: 24px;
    padding: 60px 50px;
    position: relative;
    overflow: hidden;
}

.crypteco-inquiry-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.crypteco-inquiry-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.crypteco-inquiry-title {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--light-text);
}

.crypteco-inquiry-description {
    font-size: 17px;
    color: var(--gray-text);
    line-height: 1.8;
    margin-bottom: 40px;
}

.crypteco-inquiry-info {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 40px;
}

.crypteco-inquiry-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.crypteco-inquiry-icon {
    font-size: 32px;
}

.crypteco-inquiry-item h4 {
    font-size: 14px;
    color: var(--gray-text);
    margin-bottom: 4px;
}

.crypteco-inquiry-item p {
    font-size: 16px;
    font-weight: 600;
    color: var(--light-text);
}

.crypteco-inquiry-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.crypteco-btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.crypteco-btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-glow);
}

.crypteco-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.5);
}

.crypteco-btn-secondary {
    background: transparent;
    color: var(--light-text);
    border: 2px solid var(--primary-color);
}

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

.crypteco-btn-large {
    padding: 18px 40px;
    font-size: 18px;
}

.crypteco-footer {
    background: rgba(15, 23, 42, 0.95);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(99, 102, 241, 0.2);
}

.crypteco-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.crypteco-footer-col .crypteco-logo {
    margin-bottom: 20px;
    font-size: 28px;
}

.crypteco-footer-description {
    font-size: 15px;
    color: var(--gray-text);
    line-height: 1.7;
    max-width: 300px;
}

.crypteco-footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--light-text);
}

.crypteco-footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.crypteco-footer-links a {
    color: var(--gray-text);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
}

.crypteco-footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.crypteco-footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 15px;
    color: var(--gray-text);
}

.crypteco-footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(99, 102, 241, 0.1);
}

.crypteco-footer-bottom p {
    color: var(--gray-text);
    font-size: 14px;
}

.crypteco-privacy-banner {
    position: fixed;
    bottom: -200px;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    z-index: 9999;
    border-top: 2px solid var(--primary-color);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    transition: bottom 0.5s ease;
}

.crypteco-privacy-banner.crypteco-show {
    bottom: 0;
}

.crypteco-privacy-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.crypteco-privacy-text {
    font-size: 14px;
    color: var(--gray-text);
    line-height: 1.6;
    margin: 0;
}

.crypteco-privacy-text a {
    color: var(--secondary-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.crypteco-privacy-text a:hover {
    color: var(--primary-color);
}

.crypteco-privacy-accept {
    padding: 10px 30px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.crypteco-privacy-accept:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

@media (max-width: 1024px) {
    .crypteco-container {
        padding: 0 30px;
    }

    .crypteco-nav {
        padding: 0 30px;
    }

    .crypteco-detail-header-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .crypteco-scope-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .crypteco-solution-item,
    .crypteco-solution-reverse {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: 40px;
    }

    .crypteco-cases-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .crypteco-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .crypteco-nav-menu {
        position: fixed;
        top: 100px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background: rgba(15, 23, 42, 0.98);
        padding: 40px 30px;
        gap: 20px;
        transition: left 0.3s ease;
        backdrop-filter: blur(10px);
    }

    .crypteco-nav-menu.crypteco-active {
        left: 0;
    }

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

    .crypteco-logo {
        font-size: 20px;
    }

    .crypteco-container {
        padding: 0 20px;
    }

    .crypteco-nav {
        padding: 0 20px;
    }

    .crypteco-detail-title {
        font-size: 36px;
    }

    .crypteco-detail-subtitle {
        font-size: 16px;
    }

    .crypteco-section-title {
        font-size: 32px;
    }

    .crypteco-scope-grid {
        grid-template-columns: 1fr;
    }

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

    .crypteco-case-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .crypteco-inquiry-wrapper {
        padding: 40px 30px;
    }

    .crypteco-inquiry-title {
        font-size: 28px;
    }

    .crypteco-inquiry-info {
        flex-direction: column;
        gap: 25px;
    }

    .crypteco-inquiry-actions {
        flex-direction: column;
    }

    .crypteco-footer-grid {
        grid-template-columns: 1fr;
    }

    .crypteco-privacy-content {
        flex-direction: column;
        padding: 0 20px;
        gap: 15px;
        text-align: center;
    }

    .crypteco-privacy-accept {
        width: 100%;
    }
}