* {
    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-services-header {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    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-header-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

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

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

.crypteco-service-categories {
    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-categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.crypteco-category-card {
    background: rgba(30, 41, 59, 0.6);
    border-radius: 20px;
    padding: 50px 40px;
    border: 2px solid rgba(99, 102, 241, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.crypteco-category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.crypteco-category-card:hover::before {
    transform: scaleX(1);
}

.crypteco-category-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.3);
    background: rgba(30, 41, 59, 0.9);
}

.crypteco-category-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: relative;
    transition: all 0.4s ease;
}

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

.crypteco-category-card:hover .crypteco-category-icon span {
    transform: scale(1.15);
}

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

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

.crypteco-category-features {
    list-style: none;
    margin-bottom: 30px;
}

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

.crypteco-category-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 18px;
}

.crypteco-category-btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

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

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

.crypteco-process-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.crypteco-process-timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.crypteco-process-item {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
    position: relative;
}

.crypteco-process-item:last-child {
    margin-bottom: 0;
}

.crypteco-process-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
    box-shadow: var(--shadow-glow);
    position: relative;
    z-index: 1;
}

.crypteco-process-content {
    flex: 1;
    padding-top: 10px;
}

.crypteco-process-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--light-text);
}

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

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

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

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

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

.crypteco-advantage-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-advantage-icon span {
    font-size: 38px;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

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

.crypteco-icon-cloud::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1 0%, #22d3ee 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.crypteco-advantage-card:hover .crypteco-icon-cloud::before {
    opacity: 0.2;
}

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

.crypteco-icon-database::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #a855f7 0%, #6366f1 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.crypteco-advantage-card:hover .crypteco-icon-database::before {
    opacity: 0.2;
}

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

.crypteco-icon-api::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #22d3ee 0%, #6366f1 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.crypteco-advantage-card:hover .crypteco-icon-api::before {
    opacity: 0.2;
}

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

.crypteco-icon-security::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.crypteco-advantage-card:hover .crypteco-icon-security::before {
    opacity: 0.2;
}

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

.crypteco-icon-devops::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #a855f7 0%, #22d3ee 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.crypteco-advantage-card:hover .crypteco-icon-devops::before {
    opacity: 0.2;
}

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

.crypteco-icon-performance::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: var(--gradient-secondary);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.crypteco-advantage-card:hover .crypteco-icon-performance::before {
    opacity: 0.2;
}

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

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

.crypteco-advantage-description {
    font-size: 15px;
    color: var(--gray-text);
}

.crypteco-cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--dark-surface) 0%, var(--dark-bg) 100%);
    position: relative;
    overflow: hidden;
}

.crypteco-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: var(--primary-color);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.2;
}

.crypteco-cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.crypteco-cta-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.crypteco-cta-description {
    font-size: 18px;
    color: var(--gray-text);
    margin-bottom: 40px;
    line-height: 1.7;
}

.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-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;
}

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

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

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

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

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

.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: 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-page-title {
        font-size: 36px;
    }

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

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

    .crypteco-category-card {
        padding: 40px 30px;
    }

    .crypteco-process-timeline::before {
        left: 30px;
    }

    .crypteco-process-number {
        width: 60px;
        height: 60px;
        font-size: 22px;
    }

    .crypteco-process-item {
        gap: 25px;
    }

    .crypteco-process-title {
        font-size: 20px;
    }

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

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

    .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%;
    }
}