* {
    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-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
    overflow: hidden;
}

.crypteco-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}

.crypteco-hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: crypteco-float 8s ease-in-out infinite;
}

.crypteco-shape-1 {
    width: 500px;
    height: 500px;
    background: var(--primary-color);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.crypteco-shape-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-purple);
    bottom: -150px;
    left: -100px;
    animation-delay: 2s;
}

.crypteco-shape-3 {
    width: 300px;
    height: 300px;
    background: var(--secondary-color);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 4s;
}

@keyframes crypteco-float {

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

    50% {
        transform: translateY(-30px) scale(1.05);
    }
}

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

.crypteco-hero-content {
    animation: crypteco-fade-in-left 1s ease;
}

.crypteco-hero-title {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

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

.crypteco-title-sub {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--light-text);
}

.crypteco-hero-description {
    font-size: 18px;
    color: var(--gray-text);
    margin-bottom: 40px;
    max-width: 500px;
    line-height: 1.8;
}

.crypteco-hero-cta {
    display: flex;
    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-hero-image {
    animation: crypteco-fade-in-right 1s ease;
    position: relative;
}

.crypteco-hero-img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(99, 102, 241, 0.3));
    animation: crypteco-float-gentle 6s ease-in-out infinite;
}

@keyframes crypteco-float-gentle {

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

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

@keyframes crypteco-fade-in-left {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

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

@keyframes crypteco-fade-in-right {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

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

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

.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-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.crypteco-service-card {
    background: rgba(30, 41, 59, 0.6);
    border-radius: 16px;
    padding: 40px 30px;
    transition: all 0.4s ease;
    border: 1px solid rgba(99, 102, 241, 0.1);
    backdrop-filter: blur(10px);
}

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

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

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

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

.crypteco-icon-system-design::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-service-card:hover .crypteco-icon-system-design::before {
    opacity: 0.2;
}

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

.crypteco-icon-consulting::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-service-card:hover .crypteco-icon-consulting::before {
    opacity: 0.2;
}

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

.crypteco-icon-solutions::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-service-card:hover .crypteco-icon-solutions::before {
    opacity: 0.2;
}

.crypteco-service-card:hover .crypteco-service-icon span {
    transform: scale(1.15) rotate(5deg);
}

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

.crypteco-service-description {
    font-size: 16px;
    color: var(--gray-text);
    margin-bottom: 20px;
    line-height: 1.7;
}

.crypteco-service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.crypteco-service-link:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

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

.crypteco-why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

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

.crypteco-why-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.crypteco-why-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.crypteco-why-number {
    font-size: 32px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
}

.crypteco-why-text h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--light-text);
}

.crypteco-why-text p {
    font-size: 16px;
    color: var(--gray-text);
    line-height: 1.7;
}

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

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

.crypteco-statistics {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent-purple) 100%);
    position: relative;
    overflow: hidden;
}

.crypteco-statistics::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.crypteco-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
    z-index: 1;
}

.crypteco-stat-item {
    text-align: center;
    padding: 20px;
}

.crypteco-stat-number {
    font-size: 56px;
    font-weight: 800;
    color: white;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.crypteco-stat-number::after {
    content: '+';
}

.crypteco-stat-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.crypteco-testimonials {
    padding: 100px 0;
    background: var(--dark-surface);
}

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

.crypteco-testimonial-card {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(99, 102, 241, 0.1);
    transition: all 0.3s ease;
}

.crypteco-testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

.crypteco-testimonial-header {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
}

.crypteco-testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primary-color);
}

.crypteco-testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.crypteco-testimonial-info h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--light-text);
}

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

.crypteco-testimonial-text {
    font-size: 16px;
    color: var(--gray-text);
    line-height: 1.7;
    margin-bottom: 20px;
}

.crypteco-testimonial-rating {
    display: flex;
    gap: 5px;
}

.crypteco-testimonial-rating span {
    color: #fbbf24;
    font-size: 18px;
}

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

.crypteco-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -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-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-hero .crypteco-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .crypteco-title-main {
        font-size: 42px;
    }

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

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

    .crypteco-why-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

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

    .crypteco-testimonials-grid {
        grid-template-columns: 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-title-main {
        font-size: 32px;
    }

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

    .crypteco-hero-description {
        font-size: 16px;
    }

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

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

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

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

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