html {
    font-size: 15px; /* Slightly smaller base font */
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.625; /* Increased line height for better readability */
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.25 !important;
    letter-spacing: -0.01em !important; /* Less tight than tracking-tight */
}

.glassmorphism {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.dark .glassmorphism {
    background: rgba(30, 41, 59, 0.75);
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delay {
    animation: float 6s ease-in-out 2s infinite;
}

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

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

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.phone-pulse::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: inherit;
    border-radius: inherit;
    animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    z-index: -1;
}

.zalo-color {
    background-color: #0068ff;
}

.gradient-border {
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6, #3b82f6);
    z-index: -1;
}

.card-hover {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-hover:hover {
    transform: translateY(-8px);
}

.feature-icon {
    background: linear-gradient(135deg, #dbeafe, #ede9fe);
}

.dark .feature-icon {
    background: linear-gradient(135deg, #1e3a8a33, #4c1d9533);
}

details summary::-webkit-details-marker {
    display: none;
}

details[open] summary .faq-arrow {
    transform: rotate(180deg);
}

/* 3D Graphic Components */
.perspective-2000 {
    perspective: 2000px;
}

.transform-style-3d {
    transform-style: preserve-3d;
}

.float-3d-card {
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    transform: rotateX(0) rotateY(0) rotateZ(0);
}

.float-3d-card:hover {
    transform: rotateX(0) rotateY(0) rotateZ(0) scale(1.02);
}

.glass-item {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

.dark .glass-item {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.animate-float-slow {
    animation: float-slow 8s ease-in-out infinite;
}

@keyframes float-delay {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.animate-float-delay {
    animation: float-delay 6s ease-in-out 1s infinite;
}

.glow-primary {
    box-shadow: 0 0 40px -10px rgba(59, 130, 246, 0.5);
}

.glow-emerald {
    box-shadow: 0 0 40px -10px rgba(16, 185, 129, 0.5);
}
